aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/peertube-upload.ts
Commit message (Collapse)AuthorAgeFilesLines
* Migrate server to ESMChocobozzz2023-08-111-77/+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)
* Move cli.ts in a private shared directoryChocobozzz2023-02-151-1/+1
| | | | It's only used by cli scripts of this directory
* Handle quota for 413Chocobozzz2022-01-191-1/+1
|
* Better 413 error handling in cli scriptChocobozzz2022-01-181-1/+7
|
* Stop using tsconfig registerChocobozzz2022-01-061-3/+0
| | | | Prefer to replace paths at compile time
* Shorter server command namesChocobozzz2021-07-201-1/+1
|
* Introduce videos commandChocobozzz2021-07-201-5/+6
|
* Adapt CLI to new commandsChocobozzz2021-07-201-5/+4
|
* Fix CLI toolsChocobozzz2021-07-201-4/+5
|
* Update tools dependenciesChocobozzz2021-06-251-1/+1
|
* Update server dependenciesChocobozzz2021-02-031-10/+12
|
* Move to eslintcontainChocobozzz2020-02-031-10/+11
|
* Use typescript paths in cli scripts tooChocobozzz2019-10-211-0/+3
|
* Correctly import tags in CLIChocobozzz2019-07-291-5/+1
|
* WIP plugins: move plugin CLI in peertube scriptChocobozzz2019-07-241-36/+19
| | | | Install/uninstall/list plugins remotely
* Add ability to override CLI import attributesChocobozzz2019-06-131-35/+17
|
* Add more CLI testsChocobozzz2019-06-131-35/+35
|
* Fix upload scriptChocobozzz2019-06-111-2/+1
|
* Fix optional privacy in upload endpointChocobozzz2019-04-251-64/+32
|
* Shared utils -> extra-utilsChocobozzz2019-04-241-2/+2
| | | | Because they need dev dependencies
* Merge branch 'develop' into pr/1217Chocobozzz2019-02-111-2/+2
|\
| * Move utils to /sharedbuoyantair2018-10-291-2/+2
| | | | | | | | | | | | | | Move utils used by /server/tools/* & /server/tests/**/* into /shared folder. Issue: #1336
* | Rename downloadingEnabled property to downloadEnabledLucas Declercq2018-10-081-2/+2
| |
* | Fix some defaults values + indentationLucas Declercq2018-10-081-1/+1
| |
* | Add downloadingEnabled property to video modelLucas Declercq2018-10-061-0/+2
|/
* Define channelId property beforehandAndrew Morgan2018-10-011-5/+2
|
* Allow specification of Channel ID in peertube-upload.jsAndrew Morgan2018-10-011-1/+6
|
* Improve upliad script error handling for tokenChocobozzz2018-09-261-4/+12
|
* one cli to unite them allRigel Kent2018-09-141-0/+127
Ash nazg thrakatulûk agh burzum-ishi krimpatul - refactor import-videos to use the youtubeDL helper - add very basic tests for the cli