Commit Graph

263 Commits

Author SHA1 Message Date
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 d1b3bfcac6
Update angular to v19 2025-02-03 16:35:26 +01:00
Chocobozzz 3bb87248d1
Update client dependencies 2025-02-03 16:01:57 +01:00
Chocobozzz e56365e6af
Add get status button to test embed page 2024-11-25 10:39:08 +01:00
Chocobozzz 863de5b25a
Client dep maintenance upgrade 2024-11-25 10:12:05 +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 c2ff5c112b
Drop ios 12 support 2024-11-04 10:25:31 +01:00
Chocobozzz d54e5178bc
Remove ng-select
Component is too complex and causes accessibility issues
2024-10-02 15:51:04 +02:00
Chocobozzz ad71614706
Fix ng-select accessibility 2024-09-27 16:02:31 +02:00
Chocobozzz c5b66526eb
Fix sass mixed declarations deprecation warning
https://sass-lang.com/documentation/breaking-changes/mixed-decls/
2024-08-19 09:35:41 +02:00
Chocobozzz 1261bdf1d8
Update client dependencies 2024-08-16 15:20:43 +02:00
Chocobozzz 16d9204ea8
Replace sanitize-html by dompurify in frontend
It's lighter and we don't have native dependencies warnings in web
browser
2024-08-16 10:41:02 +02:00
Chocobozzz be4bf80883
Add transcription widget 2024-08-14 10:34:44 +02:00
Chocobozzz f1aae9163f
Fix hls seeking 2024-07-02 10:45:42 +02:00
Chocobozzz b10482e0e0
Fix lint 2024-06-27 14:34:18 +02:00
Chocobozzz 564089d3e6
Fix E2E tests 2024-06-27 11:48:03 +02:00
Chocobozzz 9772280e99
Upgrade to angular 18 & vite 2024-06-26 08:33:54 +02:00
Chocobozzz ec33467261
Update client dependencies 2024-06-24 10:01:38 +02:00
Chocobozzz 9e2700b89d
Fix lint 2024-02-22 10:32:28 +01:00
Chocobozzz d7edb2f8fe
Update client dependencies 2024-02-21 16:23:37 +01:00
Chocobozzz d1adcfadfd
Update angular to v17 2024-01-05 10:47:14 +01:00
Chocobozzz 7f8979e544
Update client dependencies 2024-01-05 09:43:19 +01:00
Chocobozzz 4aeb1de909
Update p2p media loader 2023-11-06 11:20:23 +01: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 18dd8fd541
Upgrade ng-select to fix cross icon accessibility 2023-10-23 08:57:24 +02:00
Chocobozzz 30ad7fdf69
Upgrade client dependencies 2023-10-11 11:42:57 +02:00
Chocobozzz 50e415e12e
Allow to disable all hotkeys
Added angular2-hotkeys dependency inside PeerTube, to tweak some
settings

It will also allow us to support non latin keyboard in the future as we
can choose the "mouse trap" dependency
2023-10-09 15:33:19 +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 a1bd2b77d9
Remove webtorrent support from client 2023-07-10 16:08:28 +02:00
Chocobozzz 866c5f667d
Simplify ICU in components 2023-06-29 09:49:06 +02:00
Chocobozzz 22b34b2d75
Upgrade @peertube/xliffmerge 2023-05-25 10:50:29 +02:00
Chocobozzz 2290864bc7
Update chart.js 2023-05-25 10:04:32 +02:00
Chocobozzz 8777a98e3a
Revert hls.js upgrade
See https://github.com/Chocobozzz/PeerTube/issues/5790
2023-05-25 09:58:27 +02:00
Chocobozzz 51afea5411
Update client dependencies 2023-05-25 09:24:55 +02:00
Chocobozzz 52798aa5f2
Update angular 2023-05-23 11:27:09 +02:00
Chocobozzz 41cde76bbf
Update common client packages 2023-05-23 09:42:10 +02:00
Chocobozzz bc3bd960e3
Upgrade hls.js
Should fix a fragment loading crash
2023-05-10 14:20:40 +02:00
Chocobozzz 5b94394a1a
Fix E2E with firefox 2023-02-27 11:58:35 +01:00
Chocobozzz 0cdc545fe0
Update client dependencies 2023-02-16 15:41:19 +01:00
Chocobozzz 838950fd6b
Upgrade to latest angular version 2023-02-16 14:21:11 +01:00
Chocobozzz e81d45b4cb
Fix mention detection 2023-02-15 11:12:23 +01:00
Chocobozzz 5bdfa604f1 Add E2E client tests for signup approval 2023-01-19 13:53:40 +01:00
Chocobozzz 4afc70239d
Fix incorrect merge with hls.js dependency 2022-12-28 16:11:39 +01:00
Chocobozzz 5070a99560
Upgrade player p2p dependency 2022-12-23 14:02:22 +01:00
Chocobozzz 0e7c4b03c3
Add back to live feature 2022-12-20 16:28:15 +01:00
Chocobozzz f7b00376a8
Update socket io 2022-11-28 09:16:34 +01:00
Chocobozzz 27744d8e56
Upgrade chromedriver 2022-11-15 15:56:10 +01:00
Chocobozzz 6bcb559fc9
Update client dependencies 2022-11-15 14:17:14 +01:00
Chocobozzz 7246e7a9a3
Rollback dependencies that want node 16
Node 14 is still a LTS for a few months
2022-10-28 17:30:11 +02: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