Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate server to ESM | Chocobozzz | 2023-08-11 | 1 | -208/+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) | ||||
* | Reimplement a typed omit function | Chocobozzz | 2022-08-17 | 1 | -2/+2 |
| | |||||
* | Introduce experimental telemetry | Chocobozzz | 2022-07-06 | 1 | -42/+59 |
| | |||||
* | Update server dependencies | Chocobozzz | 2022-06-21 | 1 | -1/+1 |
| | |||||
* | Fix lint | Chocobozzz | 2021-10-26 | 1 | -1/+1 |
| | |||||
* | Remove sync call in logger | Chocobozzz | 2021-10-22 | 1 | -4/+0 |
| | | | | Winston already does it | ||||
* | Fix email logger typings | Chocobozzz | 2021-10-11 | 1 | -3/+3 |
| | |||||
* | esModuleInterop to true | Chocobozzz | 2021-08-27 | 1 | -16/+16 |
| | |||||
* | Refactor video links builders | Chocobozzz | 2021-07-26 | 1 | -1/+22 |
| | |||||
* | Add tags to logs in AP videos | Chocobozzz | 2021-06-02 | 1 | -1/+4 |
| | |||||
* | Introduce tags to the logger | Chocobozzz | 2021-03-24 | 1 | -1/+9 |
| | | | | | That could help to filter unneeded logs and/or select particular components | ||||
* | Update server dependencies | Chocobozzz | 2021-02-03 | 1 | -1/+1 |
| | |||||
* | Support transcoding options/encoders by plugins | Chocobozzz | 2021-01-28 | 1 | -0/+8 |
| | |||||
* | Reformat sql console output | Chocobozzz | 2021-01-26 | 1 | -7/+10 |
| | |||||
* | Disable sql prettifier by default | Chocobozzz | 2021-01-26 | 1 | -2/+5 |
| | | | | It adds too much lines, leading to difficulties when reading dev logs | ||||
* | prettify SQL queries during debug (#3635) | Rigel Kent | 2021-01-25 | 1 | -2/+10 |
| | | | | | | | * prettify SQL queries during debug * Use sql-formatter Co-authored-by: Chocobozzz <me@florianbigard.com> | ||||
* | Avoid too large cert error messages | Chocobozzz | 2020-11-25 | 1 | -0/+2 |
| | |||||
* | Refactor plugin helpers factory | Chocobozzz | 2020-04-09 | 1 | -22/+29 |
| | |||||
* | Move to eslintcontain | Chocobozzz | 2020-02-03 | 1 | -6/+7 |
| | |||||
* | Add tests for video downscale framerate matching | Rigel Kent | 2020-01-29 | 1 | -1/+1 |
| | |||||
* | Add max file size, max files and ip anonymize log options | Chocobozzz | 2019-12-12 | 1 | -3/+3 |
| | |||||
* | Serve audit logs to client | Chocobozzz | 2019-12-11 | 1 | -1/+2 |
| | |||||
* | Avoid circular error in logger | Chocobozzz | 2019-11-05 | 1 | -10/+20 |
| | |||||
* | Feature/logrotation (#1881) | Nassim Bounouas | 2019-06-11 | 1 | -10/+17 |
| | | | | | | | | | | | | | | * #1775 Configure the activation or deactivation of winston log rotation * Winston log rotation enabled by default #1775 * #1775 tslint correction * #1775 FileTransportOptions typed and configuration files * #1775 tslint correction * #1775 log.rotation.enabled configuration binding | ||||
* | Move config in its own file | Chocobozzz | 2019-04-11 | 1 | -1/+1 |
| | |||||
* | Add logs endpoint | Chocobozzz | 2019-04-10 | 1 | -6/+5 |
| | |||||
* | Decrease log file max size | Chocobozzz | 2018-10-01 | 1 | -1/+1 |
| | |||||
* | Add sql trace in error log on sequelize error | Chocobozzz | 2018-08-31 | 1 | -1/+7 |
| | |||||
* | replace fs by fs-extra to prevent EMFILE error | Rigel Kent | 2018-08-27 | 1 | -2/+2 |
| | |||||
* | Add ability to import video with youtube-dl | Chocobozzz | 2018-08-06 | 1 | -1/+1 |
| | |||||
* | Add audit logs module | Aurélien Bertron | 2018-07-31 | 1 | -1/+1 |
| | |||||
* | Fiw winston meta log | Chocobozzz | 2018-07-30 | 1 | -24/+16 |
| | |||||
* | expliciting type checks and predicates (server only) | Rigel Kent | 2018-07-25 | 1 | -1/+2 |
| | |||||
* | Upgrade dependencies | Chocobozzz | 2018-06-26 | 1 | -7/+1 |
| | |||||
* | Fix error logging | Chocobozzz | 2018-03-26 | 1 | -3/+13 |
| | |||||
* | Add logging for emails | Chocobozzz | 2018-03-22 | 1 | -1/+29 |
| | |||||
* | Fix logging timestamp | Chocobozzz | 2018-03-08 | 1 | -2/+2 |
| | |||||
* | Add links to comment mentions | Chocobozzz | 2018-02-21 | 1 | -1/+1 |
| | |||||
* | Unlisted videos are not displayed on Mastodon now | Chocobozzz | 2018-02-21 | 1 | -5/+11 |
| | |||||
* | Handle thumbnail update | Chocobozzz | 2018-02-14 | 1 | -1/+1 |
| | |||||
* | Fix crash with websocket tracker | Chocobozzz | 2018-02-09 | 1 | -2/+2 |
| | |||||
* | Fix timestamp logging | Chocobozzz | 2018-02-09 | 1 | -1/+1 |
| | |||||
* | Add ability to reset our password | Chocobozzz | 2018-01-30 | 1 | -0/+1 |
| | |||||
* | Fix tests | Chocobozzz | 2018-01-19 | 1 | -1/+2 |
| | |||||
* | Add ability to configure log level | Chocobozzz | 2018-01-19 | 1 | -12/+48 |
| | |||||
* | Move models to typescript-sequelize | Chocobozzz | 2017-12-13 | 1 | -1/+1 |
| | |||||
* | Cleanup helpers | Chocobozzz | 2017-11-27 | 1 | -2/+0 |
| | |||||
* | require -> import | Chocobozzz | 2017-06-05 | 1 | -3/+3 |
| | |||||
* | Type models | Chocobozzz | 2017-05-25 | 1 | -7/+0 |
| | |||||
* | First typescript iteration | Chocobozzz | 2017-05-20 | 1 | -0/+48 |