Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate server to ESM | Chocobozzz | 2023-08-11 | 1 | -121/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | Avoid aborting completing jobs | Chocobozzz | 2023-05-19 | 1 | -0/+9 |
| | |||||
* | Fix reset sequelize instance | Chocobozzz | 2023-05-11 | 1 | -10/+1 |
| | |||||
* | Fix retrying update on sql serialization conflict | Chocobozzz | 2023-02-14 | 1 | -4/+2 |
| | |||||
* | Reduce db retry log on failure | Chocobozzz | 2022-07-13 | 1 | -1/+1 |
| | |||||
* | esModuleInterop to true | Chocobozzz | 2021-08-27 | 1 | -2/+2 |
| | |||||
* | Filter host for channels and playlists search | Chocobozzz | 2021-07-28 | 1 | -29/+2 |
| | |||||
* | Use random names for VOD HLS playlists | Chocobozzz | 2021-07-26 | 1 | -7/+24 |
| | |||||
* | Introduce debug command | Chocobozzz | 2021-07-20 | 1 | -5/+5 |
| | |||||
* | Fix run committed transation | Chocobozzz | 2021-06-09 | 1 | -1/+3 |
| | |||||
* | Try to speed up AP update transaction | Chocobozzz | 2021-06-08 | 1 | -8/+17 |
| | |||||
* | Stricter models typing | Chocobozzz | 2021-05-12 | 1 | -2/+2 |
| | |||||
* | Update channel updatedAt when uploading a video | Chocobozzz | 2021-05-10 | 1 | -2/+16 |
| | |||||
* | Add priority to transcoding jobs | Chocobozzz | 2021-01-25 | 1 | -0/+8 |
| | | | | | | | | | | (1 = highest priority) 100 for new resolutions 10 for original file optimization Add a malus for transcoding jobs depending on how many uploads the user did in the last 7 days | ||||
* | Add ability to disable webtorrent | Chocobozzz | 2019-11-25 | 1 | -1/+11 |
| | | | | In favour of HLS | ||||
* | Add gitlab ci support | Chocobozzz | 2019-07-29 | 1 | -1/+9 |
| | |||||
* | Update sequelize | Chocobozzz | 2019-04-24 | 1 | -3/+2 |
| | |||||
* | Cleanup utils helper | Chocobozzz | 2018-08-14 | 1 | -1/+9 |
| | |||||
* | Begin advanced search | Chocobozzz | 2018-07-24 | 1 | -1/+1 |
| | |||||
* | Fix transaction retryer error log | Chocobozzz | 2018-06-27 | 1 | -1/+1 |
| | |||||
* | Add ability for uploaders to schedule video update | Chocobozzz | 2018-06-14 | 1 | -1/+5 |
| | |||||
* | Refractor retry transaction function | Chocobozzz | 2018-06-13 | 1 | -15/+34 |
| | |||||
* | Use ISO 639 for languages | Chocobozzz | 2018-04-23 | 1 | -1/+1 |
| | |||||
* | Fix error logging | Chocobozzz | 2018-03-26 | 1 | -1/+1 |
| | |||||
* | Fix issues with truncated description and utf characters | Chocobozzz | 2018-03-21 | 1 | -1/+0 |
| | |||||
* | Upgrade server depencencies | Chocobozzz | 2018-03-13 | 1 | -1/+1 |
| | |||||
* | Move job queue to redis | Chocobozzz | 2018-01-25 | 1 | -0/+1 |
| | | | | | | | We'll use it as cache in the future. /!\ You'll loose your old jobs (pending jobs too) so upgrade only when you don't have pending job anymore. | ||||
* | Refresh remote accounts | Chocobozzz | 2018-01-04 | 1 | -1/+11 |
| | |||||
* | Cleanup helpers | Chocobozzz | 2017-11-27 | 1 | -1/+0 |
| | |||||
* | Add follow tests | Chocobozzz | 2017-11-27 | 1 | -5/+8 |
| | |||||
* | Server shares user videos | Chocobozzz | 2017-11-27 | 1 | -4/+4 |
| | |||||
* | Upgrade server packages | Chocobozzz | 2017-10-31 | 1 | -1/+1 |
| | |||||
* | Use async/await in controllers | Chocobozzz | 2017-10-26 | 1 | -1/+0 |
| | |||||
* | Remove "function" in favor of () => {} | Chocobozzz | 2017-07-11 | 1 | -9/+5 |
| | |||||
* | Fix error logging | Chocobozzz | 2017-07-07 | 1 | -1/+1 |
| | |||||
* | Move to promises | Chocobozzz | 2017-07-05 | 1 | -47/+22 |
| | | | | Closes https://github.com/Chocobozzz/PeerTube/issues/74 | ||||
* | Type functions | Chocobozzz | 2017-06-10 | 1 | -6/+7 |
| | |||||
* | require -> import | Chocobozzz | 2017-06-05 | 1 | -1/+1 |
| | |||||
* | Type models | Chocobozzz | 2017-05-25 | 1 | -2/+2 |
| | |||||
* | First typescript iteration | Chocobozzz | 2017-05-20 | 1 | -0/+69 |