aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/logger.ts
Commit message (Collapse)AuthorAgeFilesLines
* Migrate server to ESMChocobozzz2023-08-111-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 functionChocobozzz2022-08-171-2/+2
|
* Introduce experimental telemetryChocobozzz2022-07-061-42/+59
|
* Update server dependenciesChocobozzz2022-06-211-1/+1
|
* Fix lintChocobozzz2021-10-261-1/+1
|
* Remove sync call in loggerChocobozzz2021-10-221-4/+0
| | | | Winston already does it
* Fix email logger typingsChocobozzz2021-10-111-3/+3
|
* esModuleInterop to trueChocobozzz2021-08-271-16/+16
|
* Refactor video links buildersChocobozzz2021-07-261-1/+22
|
* Add tags to logs in AP videosChocobozzz2021-06-021-1/+4
|
* Introduce tags to the loggerChocobozzz2021-03-241-1/+9
| | | | | That could help to filter unneeded logs and/or select particular components
* Update server dependenciesChocobozzz2021-02-031-1/+1
|
* Support transcoding options/encoders by pluginsChocobozzz2021-01-281-0/+8
|
* Reformat sql console outputChocobozzz2021-01-261-7/+10
|
* Disable sql prettifier by defaultChocobozzz2021-01-261-2/+5
| | | | It adds too much lines, leading to difficulties when reading dev logs
* prettify SQL queries during debug (#3635)Rigel Kent2021-01-251-2/+10
| | | | | | | * prettify SQL queries during debug * Use sql-formatter Co-authored-by: Chocobozzz <me@florianbigard.com>
* Avoid too large cert error messagesChocobozzz2020-11-251-0/+2
|
* Refactor plugin helpers factoryChocobozzz2020-04-091-22/+29
|
* Move to eslintcontainChocobozzz2020-02-031-6/+7
|
* Add tests for video downscale framerate matchingRigel Kent2020-01-291-1/+1
|
* Add max file size, max files and ip anonymize log optionsChocobozzz2019-12-121-3/+3
|
* Serve audit logs to clientChocobozzz2019-12-111-1/+2
|
* Avoid circular error in loggerChocobozzz2019-11-051-10/+20
|
* Feature/logrotation (#1881)Nassim Bounouas2019-06-111-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 fileChocobozzz2019-04-111-1/+1
|
* Add logs endpointChocobozzz2019-04-101-6/+5
|
* Decrease log file max sizeChocobozzz2018-10-011-1/+1
|
* Add sql trace in error log on sequelize errorChocobozzz2018-08-311-1/+7
|
* replace fs by fs-extra to prevent EMFILE errorRigel Kent2018-08-271-2/+2
|
* Add ability to import video with youtube-dlChocobozzz2018-08-061-1/+1
|
* Add audit logs moduleAurélien Bertron2018-07-311-1/+1
|
* Fiw winston meta logChocobozzz2018-07-301-24/+16
|
* expliciting type checks and predicates (server only)Rigel Kent2018-07-251-1/+2
|
* Upgrade dependenciesChocobozzz2018-06-261-7/+1
|
* Fix error loggingChocobozzz2018-03-261-3/+13
|
* Add logging for emailsChocobozzz2018-03-221-1/+29
|
* Fix logging timestampChocobozzz2018-03-081-2/+2
|
* Add links to comment mentionsChocobozzz2018-02-211-1/+1
|
* Unlisted videos are not displayed on Mastodon nowChocobozzz2018-02-211-5/+11
|
* Handle thumbnail updateChocobozzz2018-02-141-1/+1
|
* Fix crash with websocket trackerChocobozzz2018-02-091-2/+2
|
* Fix timestamp loggingChocobozzz2018-02-091-1/+1
|
* Add ability to reset our passwordChocobozzz2018-01-301-0/+1
|
* Fix testsChocobozzz2018-01-191-1/+2
|
* Add ability to configure log levelChocobozzz2018-01-191-12/+48
|
* Move models to typescript-sequelizeChocobozzz2017-12-131-1/+1
|
* Cleanup helpersChocobozzz2017-11-271-2/+0
|
* require -> importChocobozzz2017-06-051-3/+3
|
* Type modelsChocobozzz2017-05-251-7/+0
|
* First typescript iterationChocobozzz2017-05-201-0/+48