aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools
Commit message (Collapse)AuthorAgeFilesLines
* Fix import script when using the search indexChocobozzz2021-02-191-9/+7
|
* Upgrade tools dependenciesChocobozzz2021-02-032-421/+534
|
* Update server dependenciesChocobozzz2021-02-0310-145/+141
|
* add option for video-import CLI to wait between two video imports (#3310)Florent2021-01-251-58/+63
| | | | | | | | * peertube-import-videos: Add --wait-interval option * peertube-import-videos: various code style improvements Co-authored-by: Florent F <florent.fayolle69@gmail.com> Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
* stricter youtubedl format selectors (#3516)Rigel Kent2021-01-151-2/+2
| | | | | | | | | | | | | | * stricter youtubedl format selectors make sure selectors avoid av1, and otherwise match as closely to the maximum resolution enabled for transcoding * add support for merge formats in youtubedl * avoid vp9.2 in youtubedl to avoid any HDR * move getEnabledResolutions, safer replace of imported extension * add test for youtube-dl selectors
* StylingChocobozzz2020-12-301-6/+9
|
* (#3520) [cli] Hardened `auth add`: No longer fails with extraneous characters.Theodore R. Smith2020-12-271-0/+11
| | | | | | | | | | | | | | | | **The Solution:** I have hardened `auth add` by stripping out everything from the third '/' to the end of the instance URL. **The Problem:** When adding an authorization for the peertube-cli, before this commit you could not have anything after the domain_name:port. For instance, if there was a trailing / in your instance URL, before this commit it will always fail with expected 200 "OK", got 404 "Not Found". It took me over 20 minutes to figure out that this was the problem. See Issue #3091.
* Fix channels import with a channel with playlistsChocobozzz2020-12-141-3/+8
|
* More robust import script when using since/untilChocobozzz2020-12-141-12/+11
|
* emit more specific status codes on video upload (#3423)Rigel Kent2020-12-081-2/+3
| | | | | - reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses
* Add inspect to test scriptChocobozzz2020-11-301-1/+1
|
* Support encoding profilesChocobozzz2020-11-251-0/+105
|
* remove outdated badges, add authorization to caption routesRigel Kent2020-11-201-3/+0
|
* Fix CLI import scriptChocobozzz2020-11-171-29/+41
|
* Fix auth add cli examplesChocobozzz2020-08-241-4/+4
|
* Split types and typingsChocobozzz2020-06-181-0/+1
|
* Update server dependenciesChocobozzz2020-06-171-1/+1
|
* Fix CLI buildChocobozzz2020-05-071-1/+1
|
* Fix import/upload CLI optionsChocobozzz2020-04-161-2/+3
|
* Catch error in import scriptChocobozzz2020-04-141-6/+10
|
* Add log in peertube watch script on errorChocobozzz2020-04-141-1/+6
|
* Fix repl scriptChocobozzz2020-04-091-3/+2
|
* Update CLI dependenciesChocobozzz2020-04-023-262/+359
|
* Fix CLI tools typingsChocobozzz2020-04-011-3/+3
|
* Update dependenciesChocobozzz2020-02-283-6/+3
|
* peertube-import-videos passes remaining options down to youtube-dlRaphaël Droz2020-02-121-3/+5
|
* Move to eslintcontainChocobozzz2020-02-039-122/+138
|
* Optimize peertube scriptChocobozzz2020-01-281-1/+2
|
* Force node 10 usageChocobozzz2020-01-281-4/+0
|
* Add redundancy CLIChocobozzz2020-01-287-38/+236
|
* Fix URL normalization in import scriptChocobozzz2019-12-301-1/+1
|
* Auto add https:// in import script URLsChocobozzz2019-12-301-17/+24
|
* Fix hours in peertube-import-videosFlorent F2019-11-041-0/+1
| | | | | Youtube doesn't store the hour of the publish date so set it to zero in order to compare it.
* Fix remove end slash functionChocobozzz2019-11-041-5/+3
|
* Use typescript paths in cli scripts tooChocobozzz2019-10-218-0/+24
|
* Upgrade tools depChocobozzz2019-10-212-342/+518
|
* fix a few typos (#2141)Lukas Winkler2019-09-231-1/+1
| | | | | | | | * fix a few typos * apply changes to original files instead * additional correction
* peertube-import-videos.ts: add --tmpdir, --first, --last and --verbose ↵Frank de Lange2019-08-262-37/+81
| | | | | | | | | | | | | | | | | | | | [level] parameters (#2045) * peertube-import-videos.ts: add --tmpdir <tmpdir> parameter, used to designate working directory for downloading and converting imported videos * peertube-import-videos.ts: add --first and --last parameters to limit processing of the returned playlist to the first/last N elements * peertube-import-videos.ts: add --verbose [verbosity] parameter, set this from 0 (only errors are reported) to 4 (for trace debugging), default is 2 (info). When --verbose is used without the optional parameter the logging level is set to 3 (debug). At level 1 (warn) it will only report on successfully uploaded videos (and/or errors), use this when running peertube-import-videos in a cron job to mirror a channel. * package.json: remove dependency on loglevel cli.ts: add getLogger(loglevel), to be used in CLI tools, add --verbose to set log level peertube-import-videos: use getLogger (from cli) instead of loglevel, add error_exit (log error and exit), move --verbose to cli.ts, etc. * cli.ts: remove superfluous reference to default logging level * peertube-import-videos: exit_error -> exitError
* Add since parameter to peertube-import-videos (#1991)Florent F2019-08-011-1/+35
| | | | | | * Add since parameter to peertube-import-videos * PR remarks + --until <date>
* Correctly import tags in CLIChocobozzz2019-07-292-7/+5
|
* Fix peertube auth helpChocobozzz2019-07-251-3/+3
|
* Upgrade tools dependenciesChocobozzz2019-07-252-450/+214
|
* Add plugin API testsChocobozzz2019-07-241-4/+4
|
* Add CLI plugins testsChocobozzz2019-07-241-1/+1
|
* WIP plugins: update pluginChocobozzz2019-07-241-1/+43
|
* WIP plugins: move plugin CLI in peertube scriptChocobozzz2019-07-246-62/+224
| | | | Install/uninstall/list plugins remotely
* peertube auth add wants a URL (and not a host)Chocobozzz2019-07-041-1/+2
|
* Fix CLI default boolean valuesChocobozzz2019-06-171-3/+10
|
* Add ability to override CLI import attributesChocobozzz2019-06-133-59/+100
|
* Add more CLI testsChocobozzz2019-06-139-131/+283
|