Commit Graph

454 Commits

Author SHA1 Message Date
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 b4516abc39
Bumped to version v5.2.0 2023-06-21 09:06:13 +02:00
Chocobozzz 9a64621975
Bumped to version v5.2.0-rc.1 2023-05-30 10:18:25 +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 ae0e4fdbd1
Bumped to version v5.1.0 2023-03-21 09:11:02 +01:00
Chocobozzz 1bc7aaf47f
Bumped to version v5.1.0-rc.1 2023-02-28 11:18:32 +01: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 458685e0d0
Merge branch 'release/5.0.0' into develop 2023-01-05 10:33:40 +01:00
Chocobozzz 2cb9f8b9c7
Bumped to version v5.0.1 2023-01-05 10:26:56 +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 fc83f323a8
Rollback to hls.js 1.2.5
Prevent a bug where the video doesn't end
2022-12-21 11:23:36 +01:00
Chocobozzz 0e7c4b03c3
Add back to live feature 2022-12-20 16:28:15 +01:00
Chocobozzz ce502d09a9
Bumped to version v5.0.0 2022-12-13 08:32:14 +01:00
Chocobozzz 495c81400d
Bumped to version v5.0.0-rc.1 2022-11-29 08:44:30 +01:00
Chocobozzz f7b00376a8
Update socket io 2022-11-28 09:16:34 +01:00
Chocobozzz 77239b425a
Merge branch 'release/4.3.0' into develop 2022-11-17 08:58:33 +01:00
Chocobozzz b961118540
Bumped to version v4.3.1 2022-11-17 08:48:47 +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 4a9de87793
Bumped to version v4.3.0 2022-09-21 11:30:14 +02:00
Chocobozzz e1e823faaa
Bumped to version v4.3.0-rc.1 2022-09-12 10:48:46 +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 a2fb5fb8b1
Merge branch 'release/4.2.0' into develop 2022-06-28 14:37:30 +02:00
Chocobozzz 28368da087
Bumped to version v4.2.2 2022-06-28 14:31:07 +02:00
Chocobozzz 2873f00bd8
Fix embed compat with safari 10 2022-06-24 15:26:45 +02:00
Chocobozzz 082d32eb88
Merge branch 'release/4.2.0' into develop 2022-06-21 11:00:23 +02:00
Chocobozzz 3471c631ad
Bumped to version v4.2.1 2022-06-21 09:14:42 +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