Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'feature/esm-and-nx' into develop | Chocobozzz | 2023-08-17 | 824 | -2372/+78646 |
|\ | |||||
| * | Migrate server to ESM | Chocobozzz | 2023-08-11 | 824 | -2372/+78645 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | Use typed pick | Chocobozzz | 2023-07-26 | 1 | -1/+1 |
| | |||||
* | Update runner version | Chocobozzz | 2023-06-29 | 1 | -1/+1 |
| | |||||
* | Prevent stalled jobs | Chocobozzz | 2023-06-29 | 3 | -71/+125 |
| | |||||
* | Shuffle servers when checking available jobs | Chocobozzz | 2023-06-29 | 3 | -2/+26 |
| | | | | To not favour a specific instance | ||||
* | Update peertube-runner version | Chocobozzz | 2023-06-19 | 2 | -1/+7 |
| | |||||
* | More robust runner update handler | Chocobozzz | 2023-06-19 | 1 | -5/+13 |
| | |||||
* | Specify runner name when unregistering the runner | Chocobozzz | 2023-05-26 | 6 | -9/+13 |
| | |||||
* | Don't send an error on live abort | Chocobozzz | 2023-05-23 | 1 | -4/+13 |
| | |||||
* | End runner live transcoding on update error | Chocobozzz | 2023-05-22 | 1 | -2/+5 |
| | |||||
* | Force stop remote live transcoding | Chocobozzz | 2023-05-22 | 1 | -0/+5 |
| | |||||
* | Publish runner | Chocobozzz | 2023-05-19 | 1 | -1/+1 |
| | |||||
* | More robust chunk handler | Chocobozzz | 2023-05-19 | 1 | -20/+46 |
| | |||||
* | peertube runner tests in parallel | Chocobozzz | 2023-05-19 | 1 | -1/+1 |
| | |||||
* | Prefer to wait before processing new jobs | Chocobozzz | 2023-05-19 | 1 | -1/+3 |
| | |||||
* | Fix peertube runner concurrency | Chocobozzz | 2023-05-19 | 1 | -4/+24 |
| | |||||
* | Better runner error UX when server is not run | Chocobozzz | 2023-05-16 | 2 | -5/+21 |
| | |||||
* | Add peertube-runner version info | Chocobozzz | 2023-05-09 | 1 | -0/+3 |
| | |||||
* | Add node shebang | Chocobozzz | 2023-05-09 | 2 | -1/+3 |
| | |||||
* | Use @peertube org for npm | Chocobozzz | 2023-05-09 | 1 | -1/+1 |
| | |||||
* | Add npmignore to peertube-runner | Chocobozzz | 2023-05-09 | 1 | -0/+6 |
| | |||||
* | Update gitignore | Chocobozzz | 2023-05-09 | 1 | -0/+1 |
| | |||||
* | Breaking: remove node 14 support | Chocobozzz | 2023-05-09 | 1 | -1/+2 |
| | |||||
* | Prefer video studio instead of video edition | Chocobozzz | 2023-05-09 | 7 | -205/+84 |
| | | | | Clearer and easier to find in the project | ||||
* | Support studio transcoding in peertube runner | Chocobozzz | 2023-05-09 | 7 | -43/+244 |
| | |||||
* | Enable external plugins to test the PR | Chocobozzz | 2023-05-09 | 6 | -15/+48 |
| | |||||
* | Add peertube runner cli | Chocobozzz | 2023-05-09 | 28 | -0/+2032 |
| | |||||
* | Update doc anchor links | Chocobozzz | 2023-02-23 | 1 | -1/+1 |
| | |||||
* | Move to new documentation links | Chocobozzz | 2023-02-22 | 1 | -1/+1 |
| | |||||
* | Fix types package dependencies | Chocobozzz | 2021-12-28 | 1 | -12/+26 |
| | |||||
* | Add version to generate types packages | Chocobozzz | 2021-12-28 | 1 | -1/+9 |
| | |||||
* | Move types package in packages/ | Chocobozzz | 2021-12-28 | 8 | -0/+183 |