aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/database-utils.ts
Commit message (Collapse)AuthorAgeFilesLines
* Migrate server to ESMChocobozzz2023-08-111-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 jobsChocobozzz2023-05-191-0/+9
|
* Fix reset sequelize instanceChocobozzz2023-05-111-10/+1
|
* Fix retrying update on sql serialization conflictChocobozzz2023-02-141-4/+2
|
* Reduce db retry log on failureChocobozzz2022-07-131-1/+1
|
* esModuleInterop to trueChocobozzz2021-08-271-2/+2
|
* Filter host for channels and playlists searchChocobozzz2021-07-281-29/+2
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-261-7/+24
|
* Introduce debug commandChocobozzz2021-07-201-5/+5
|
* Fix run committed transationChocobozzz2021-06-091-1/+3
|
* Try to speed up AP update transactionChocobozzz2021-06-081-8/+17
|
* Stricter models typingChocobozzz2021-05-121-2/+2
|
* Update channel updatedAt when uploading a videoChocobozzz2021-05-101-2/+16
|
* Add priority to transcoding jobsChocobozzz2021-01-251-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 webtorrentChocobozzz2019-11-251-1/+11
| | | | In favour of HLS
* Add gitlab ci supportChocobozzz2019-07-291-1/+9
|
* Update sequelizeChocobozzz2019-04-241-3/+2
|
* Cleanup utils helperChocobozzz2018-08-141-1/+9
|
* Begin advanced searchChocobozzz2018-07-241-1/+1
|
* Fix transaction retryer error logChocobozzz2018-06-271-1/+1
|
* Add ability for uploaders to schedule video updateChocobozzz2018-06-141-1/+5
|
* Refractor retry transaction functionChocobozzz2018-06-131-15/+34
|
* Use ISO 639 for languagesChocobozzz2018-04-231-1/+1
|
* Fix error loggingChocobozzz2018-03-261-1/+1
|
* Fix issues with truncated description and utf charactersChocobozzz2018-03-211-1/+0
|
* Upgrade server depencenciesChocobozzz2018-03-131-1/+1
|
* Move job queue to redisChocobozzz2018-01-251-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 accountsChocobozzz2018-01-041-1/+11
|
* Cleanup helpersChocobozzz2017-11-271-1/+0
|
* Add follow testsChocobozzz2017-11-271-5/+8
|
* Server shares user videosChocobozzz2017-11-271-4/+4
|
* Upgrade server packagesChocobozzz2017-10-311-1/+1
|
* Use async/await in controllersChocobozzz2017-10-261-1/+0
|
* Remove "function" in favor of () => {}Chocobozzz2017-07-111-9/+5
|
* Fix error loggingChocobozzz2017-07-071-1/+1
|
* Move to promisesChocobozzz2017-07-051-47/+22
| | | | Closes https://github.com/Chocobozzz/PeerTube/issues/74
* Type functionsChocobozzz2017-06-101-6/+7
|
* require -> importChocobozzz2017-06-051-1/+1
|
* Type modelsChocobozzz2017-05-251-2/+2
|
* First typescript iterationChocobozzz2017-05-201-0/+69