Commit Graph

112 Commits

Author SHA1 Message Date
Chocobozzz 347fd59f4b
Safari desktop 13 is not supported anymore 2025-02-12 15:20:35 +01:00
Chocobozzz bb62408e81
Update browser stack tests 2025-02-11 10:25:43 +01:00
Chocobozzz 50b067f9cd
Separate player in dedicated build
* Separate player in a dedicated build, that we can control using vite.
   We had too many issues with Angular build system and we can now
   have the same build between the embed and the client. We can also
   embed SVG directly in the CSS
 * Upgrade p2p-media-loader to v2
 * Update internal infohashes to reflect this p2p-media-loader protocol
   change (they are updated at PeerTube startup)
 * Minimum required iOS version is now v14
2025-02-10 15:38:20 +01:00
Chocobozzz 43a053eb49
Fix local e2e tests 2024-12-16 10:34:12 +01:00
Chocobozzz 2214fedd8e
Fix Browserstack tests
Signed-off-by: Chocobozzz <me@florianbigard.com>
2024-11-27 07:15:19 +01:00
Chocobozzz c94ec79107
Fix E2E tests 2024-11-26 15:07:22 +01:00
Chocobozzz f83674c143
Global client redesign
* Split "my library" into "video space (channels, videos...)" and "my library (playlists, history...)"
 * Split "admin" into "overview (users, videos...)", "moderation (abuses, blocks, registrations...)" and "settings (configuration, runners...)"
 * Reorganize the header and the left menu: account settings/notifications are now in the header
 * Add instance information context in the left menu
 * Merge dedicated videos pages for "recently added", "trending", "local videos" into a "browse videos" page that includes quick filters
 * Clean up entire CSS
 * Clean CSS variables so it's easier to theme PeerTube (some new variables fallback to old variables to limit currnet themes breakages)
 * Replace the current light theme into a new one (beige)
 * Add a dark (brown) theme (included in PeerTube core)
 * Fix accessibility issues with old light theme colors (white on orange button for example)
 * Redesign the left menu, the horizontal menu, form controls and buttons, "Discover videos" page and common video filters panel
 * Replace/remove/add some global icon
2024-11-23 14:44:49 +01:00
Chocobozzz 6a24502912
Fix lint 2024-09-18 09:56:00 +02:00
Chocobozzz 7ead42ae6e
Add keep alive to browser stack tests 2024-09-18 09:20:15 +02:00
Chocobozzz 99d702e71b
Fix browserstack tests 2024-09-06 10:04:49 +02:00
Chocobozzz 564089d3e6
Fix E2E tests 2024-06-27 11:48:03 +02:00
Chocobozzz 29fc2db3a2
Fix E2E tests 2024-03-06 14:32:28 +01:00
Chocobozzz 2fc3b90cb7
Fix local E2E tests 2024-03-06 10:36:40 +01:00
Chocobozzz 275ba643eb
Simplify two columns layout 2024-03-01 15:01:34 +01:00
Chocobozzz 9e2700b89d
Fix lint 2024-02-22 10:32:28 +01:00
Chocobozzz f9c89b98f7 Add user import/export in client 2024-02-21 13:49:08 +01:00
Chocobozzz 13b78db38e
Cleanup input switch 2023-11-27 10:11:29 +01:00
Chocobozzz 96bb9de7d0
Fix E2E tests 2023-11-06 08:56:56 +01:00
Chocobozzz d3c9a2e5b9
Add script to move videos to file system 2023-11-02 09:21:49 +01:00
Chocobozzz 19dbbdafcc
Fix local E2E timeout 2023-10-30 10:32:37 +01:00
Chocobozzz 507467b6a6
Fix local e2e tests 2023-10-27 16:53:41 +02:00
Chocobozzz 414875a220
Fix running server in E2E tests 2023-10-27 10:44:01 +02:00
Chocobozzz 0c63b37eb3
Remove unnecessary wdio services
See https://webdriver.io/blog/2023/07/31/driver-management/
2023-10-27 10:22:38 +02:00
Chocobozzz 3a4992633e
Migrate server to ESM
Sorry for the very big commit that may lead to git log issues and merge
conflicts, but it's a major step forward:

 * Server can be faster at startup because imports() are async and we can
   easily lazy import big modules
 * Angular doesn't seem to support ES import (with .js extension), so we
   had to correctly organize peertube into a monorepo:
    * Use yarn workspace feature
    * Use typescript reference projects for dependencies
    * Shared projects have been moved into "packages", each one is now a
      node module (with a dedicated package.json/tsconfig.json)
    * server/tools have been moved into apps/ and is now a dedicated app
      bundled and published on NPM so users don't have to build peertube
      cli tools manually
    * server/tests have been moved into packages/ so we don't compile
      them every time we want to run the server
 * Use isolatedModule option:
   * Had to move from const enum to const
     (https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums)
   * Had to explictely specify "type" imports when used in decorators
 * Prefer tsx (that uses esbuild under the hood) instead of ts-node to
   load typescript files (tests with mocha or scripts):
     * To reduce test complexity as esbuild doesn't support decorator
       metadata, we only test server files that do not import server
       models
     * We still build tests files into js files for a faster CI
 * Remove unmaintained peertube CLI import script
 * Removed some barrels to speed up execution (less imports)
2023-08-11 15:02:33 +02:00
Chocobozzz c6a3445360
Fix lint 2023-07-17 14:17:18 +02:00
Chocobozzz d0b7d66f58
Fix password E2E tests 2023-07-17 11:46:24 +02:00
Chocobozzz e29221f855
Fix e2e tests 2023-07-17 11:31:46 +02:00
Chocobozzz 28dd2f14f5
Some player fixes on Android, Safari and iOS 2023-07-17 11:31:46 +02:00
Wicklow cbe06f779f
Add e2e tests for password protected videos (#5860) 2023-07-17 11:31:42 +02:00
Chocobozzz 288e1d37e9
Fix lint 2023-07-12 13:39:37 +02:00
Chocobozzz 784e2ad5c3
Prefer web videos in favour of webtorrent 2023-07-11 09:21:13 +02:00
Chocobozzz a41b944398
Fix local e2e tests 2023-05-25 11:41:29 +02:00
Chocobozzz 51afea5411
Update client dependencies 2023-05-25 09:24:55 +02:00
Chocobozzz d0fbc9fd0a
Fix lint 2023-05-24 15:27:15 +02:00
Chocobozzz 7815dc450e
Prevent invalid end watch section warnings 2023-05-10 14:23:59 +02:00
Chocobozzz 748c6e4ef6
Breaking: drop firefox 68 support
Only support firefox >= 78
2023-02-28 10:06:52 +01:00
Chocobozzz a9536a4be9
Update E2E 2023-02-28 09:29:17 +01:00
Chocobozzz 92a6e85fe7
Breaking: remove ios 11, safari 11 support
Angular doesn't support these web browsers anymore
Safari 11 and iOS 11 are not supported anymore by Apple
2023-02-27 15:28:57 +01:00
Chocobozzz 5b94394a1a
Fix E2E with firefox 2023-02-27 11:58:35 +01:00
Chocobozzz e65ef81cf5
Update server dependencies 2023-02-16 11:56:58 +01:00
Chocobozzz 1ec4835dca
Create screenshots directory when needed 2023-02-15 16:26:21 +01:00
Wicklow 6053e6f53c Fix signup e2e test 2023-02-10 11:01:21 +01:00
Chocobozzz 5bdfa604f1 Add E2E client tests for signup approval 2023-01-19 13:53:40 +01:00
Chocobozzz 71e3e879c0
Support reinjecting token in private m3u8 playlist 2022-12-02 15:25:20 +01:00
Chocobozzz 27744d8e56
Upgrade chromedriver 2022-11-15 15:56:10 +01:00
Chocobozzz ca4bd9667d
Start E2E videos at 00:00:00 2022-11-02 14:09:54 +01:00
Chocobozzz eaa5dc3161
Reapply playsinline on player fallback 2022-10-31 13:47:55 +01:00
Chocobozzz b9b3d18dd9
Improve login test reliability for ios 2022-10-31 09:57:17 +01:00
Chocobozzz 57702d2537
Remove browserstack.err 2022-10-31 09:56:40 +01:00
Chocobozzz 814e9e07ba
Improve E2E tests
Add tests for private video static endpoints
Fix tests for local firefox
2022-10-28 15:22:40 +02:00