Commit Graph

239 Commits (cb38deb288eddb2a3f42e38a5fcf23fb7dd5affb)

Author SHA1 Message Date
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
Chocobozzz 7a8a855139
Upgrade hls.js 2022-09-12 08:44:49 +02:00
Chocobozzz ab2e90f3ca
Fix webtorrent player 2022-09-12 08:25:59 +02:00
Chocobozzz ec8c188b14
Update client dep 2022-09-09 14:59:09 +02:00
Chocobozzz bfcaa9c194
Upgrade client dependencies 2022-07-27 15:24:51 +02:00
Chocobozzz a77c5ff362
Fix stucked HLS player 2022-07-21 12:08:47 +02:00
Chocobozzz d30110407f
Fix live player 2022-07-19 14:10:25 +02:00
Chocobozzz 592b1a1b07
Fix HLS player seeking 2022-07-11 15:15:10 +02:00
Chocobozzz 2873f00bd8
Fix embed compat with safari 10 2022-06-24 15:26:45 +02:00
Chocobozzz f552ca84a5
Upgrade client dependencies 2022-06-13 14:05:46 +02:00
Chocobozzz 93c728a25a
Replace all glyphicon icons 2022-06-13 11:23:36 +02:00
Chocobozzz 4c8749cb9e
Migrate to bootstrap 5 2022-06-10 09:21:00 +02:00
Chocobozzz eaa529528c
Support ICU in TS components 2022-06-08 13:40:40 +02:00
Chocobozzz ff3911ad07
Upgrade client E2E dependencies 2022-05-20 11:50:42 +02:00
Chocobozzz 3eda9b775a Support interactive video stats graph 2022-04-15 09:49:35 +02:00
Chocobozzz dfacda49ab
Upgrade client dependencies 2022-03-21 14:34:52 +01:00
Chocobozzz 01dd04cd5a
Display avatar in embed poster 2022-03-08 16:36:08 +01:00
Chocobozzz 6385fe5803
Fix stuck hls player with bad redundancy 2022-03-03 14:30:55 +01:00
Chocobozzz 8d8b6510c1
Fix local e2e tests due to chromedriver bug 2022-02-23 09:23:39 +01:00
Chocobozzz 57a9b61a4a
Update client dependencies 2022-02-09 16:11:12 +01:00
Chocobozzz 3b83faccff
Upgrade minor dependencies 2022-01-18 10:49:56 +01:00
Chocobozzz 2f0a0ae217
Upgrade uploadx dependency 2022-01-18 10:47:26 +01:00
Chocobozzz edb12cc9a5
Upgrade client dependencies 2022-01-14 14:28:20 +01:00
Chocobozzz d7b052ff4e
Move to our own player hotkeys 2022-01-13 11:16:35 +01:00
Chocobozzz 522260bc49
Fix hls upload stats 2022-01-10 15:08:40 +01:00