Commit Graph

504 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
Chocobozzz eaa529528c
Support ICU in TS components 2022-06-08 13:40:40 +02:00
Chocobozzz 8b126121da
Bumped to version v4.2.0 2022-06-07 09:52:42 +02:00
Chocobozzz 2e94ddee41
Bumped to version v4.2.0-rc.1 2022-05-23 08:29:22 +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 70f3012acd
Bumped to version v4.1.1 2022-03-08 10:41:59 +01:00
Chocobozzz e55079c90b
Fix stuck hls player with bad redundancy 2022-03-08 09:45:40 +01:00
Chocobozzz 57a8d07ed4
Bumped to version v4.1.0 2022-02-23 09:31:11 +01:00
Chocobozzz 8d8b6510c1
Fix local e2e tests due to chromedriver bug 2022-02-23 09:23:39 +01:00
Chocobozzz adc61ac6a3
Bumped to version v4.1.0-rc.1 2022-02-10 09:57:09 +01:00
Chocobozzz 57a9b61a4a
Update client dependencies 2022-02-09 16:11:12 +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
Chocobozzz 36ebdfac6e
Webpack is a dev dependency 2022-01-03 15:18:57 +01:00
Chocobozzz 2b54a986c7
Upgrade client dep 2021-12-24 15:05:48 +01:00
Chocobozzz 37a5d6318b
Bumped to version v4.0.0 2021-12-13 09:22:25 +01:00
Chocobozzz 7e587ea46d
Bumped to version v4.0.0-rc.1 2021-11-30 09:01:37 +01:00
Chocobozzz 735a8705c8
Remove duplicate IDs 2021-11-29 09:30:32 +01:00
Chocobozzz 0c8af78521
Upgrade client dependencies 2021-11-22 16:12:01 +01:00
Chocobozzz 5638df0895
Update xliffmerge 2021-11-15 15:56:58 +01:00
Chocobozzz cd2fad008a
Update angular 2021-11-10 16:33:55 +01:00
Chocobozzz 9bedf70b23
Update client dependencies 2021-11-10 16:11:28 +01:00
Chocobozzz 950b3ce7f0
Migrate to @peertube/videojs-contextmenu
To fix a bug with latest videojs
2021-10-26 11:24:05 +02:00
Chocobozzz 0067a77d23
Improve playback with bad redundancies 2021-10-14 17:06:41 +02:00
Chocobozzz f8ddccf239
Upgrade linkifyjs 2021-10-12 15:16:31 +02:00
Chocobozzz 6214bc7dde
Update client dependencies 2021-10-12 14:47:19 +02:00
Chocobozzz d00e9c54f3
Merge branch 'next' into develop 2021-10-11 09:37:30 +02:00
Chocobozzz eecd7ac359
Bumped to version v3.4.1 2021-10-11 09:37:27 +02:00
Chocobozzz e367da949b
Cleanup player quality change 2021-09-10 15:06:57 +02:00
Chocobozzz c6fb386adc
Bumped to version v3.4.0 2021-09-09 10:54:23 +02:00
Chocobozzz 6527eb0ccf
Compat embed with ios 11 2021-09-01 15:55:54 +02:00
Chocobozzz 3419e0e1fe
Migrate to webdriverio 2021-09-01 15:06:46 +02:00
Chocobozzz 92cb986263
Bumped to version v3.4.0-rc.1 2021-08-31 08:43:11 +02:00
Chocobozzz 40e7ed0714
Try to fix weird CI test crashes 2021-08-27 11:30:08 +02:00
Chocobozzz 818045ef04
Update client dependencies 2021-08-26 10:01:42 +02:00
Chocobozzz 9df52d660f
Migrate client to eslint 2021-08-18 08:35:06 +02:00
Chocobozzz adb8809d43
Fix webpack config 2021-08-17 14:31:30 +02:00
Chocobozzz 1d4591fd9c
Remove solution style ts config 2021-08-17 14:06:56 +02:00
Chocobozzz 134006b0d4
Update client dependencies 2021-08-11 11:49:01 +02:00
Chocobozzz 3e254de8be HLS v1 support 2021-08-05 10:57:49 +02:00
Chocobozzz f49ff55162
Bumped to version v3.3.0 2021-07-20 15:08:50 +02:00
Chocobozzz deecf33724
Bumped to version v3.3.0-rc.1 2021-07-05 15:19:45 +02:00
Chocobozzz 2b58ca796d
Upgrade client dependencies 2021-06-25 15:37:50 +02:00
Chocobozzz 1a148b4792
Bumped to version v3.2.1 2021-06-01 11:03:52 +02:00
Chocobozzz fd43faf2fd Upgrade angular to latest patch version 2021-05-27 16:00:13 +02:00
Chocobozzz 662351e626 Update embed webpack config 2021-05-27 16:00:13 +02:00