Commit Graph

3970 Commits

Author SHA1 Message Date
Frank de Lange bda3b70537 peertube-import-videos.ts: add --tmpdir, --first, --last and --verbose [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
2019-08-26 11:35:28 +02:00
Chocobozzz f01dc977ae
Bumped to version v1.4.0 2019-08-26 08:49:46 +02:00
Chocobozzz ee41d06e14
Fix changelog 2019-08-26 08:49:22 +02:00
Chocobozzz d8319c63a0
Update changelog 2019-08-23 15:42:56 +02:00
Chocobozzz f3ea7ecee1
Update angular cli 2019-08-23 10:28:21 +02:00
Chocobozzz da33241770
Improve HLS redundancy 2019-08-23 10:28:21 +02:00
Chocobozzz 69752cd458
Update angular cli 2019-08-23 10:27:59 +02:00
Chocobozzz 8f9d3767b3
Improve HLS redundancy 2019-08-23 10:19:58 +02:00
John Livingston 20ec03846d fixes 2065: optimisation (#2073)
* fixes 2065: optimisation

* Update peertube-socket.ts
2019-08-23 09:05:30 +02:00
Chocobozzz d11c28a36b
Fix build 2019-08-23 08:56:57 +02:00
Chocobozzz 001ed2d40c
Merge branch 'release/1.4.0' into develop 2019-08-22 17:16:48 +02:00
Chocobozzz 60c2bc80b8
Go back when cancel NSFW modal
Instead of redirecting on the homepage
2019-08-22 17:14:44 +02:00
Chocobozzz 4334445d04
Dismiss modals on pop state 2019-08-22 16:13:26 +02:00
Chocobozzz f9e387ed05
Fix plugin card background color with dark theme 2019-08-22 16:01:06 +02:00
Chocobozzz 446d9f8cc7
Fix e2e tests 2019-08-22 15:12:44 +02:00
Chocobozzz 26ff0279d0
Fix lazy static route with unknown avatars 2019-08-22 14:52:41 +02:00
Chocobozzz d5c8932a60
Merge branch 'release/1.4.0' into develop 2019-08-22 14:46:47 +02:00
Chocobozzz 820546916c
Add fi_FI support 2019-08-22 14:45:16 +02:00
Chocobozzz 6eb62c3390
Fix video rows overflow
In discover and account channel videos pages
2019-08-22 13:59:54 +02:00
Frank Sträter 2a8ae7595c Update API documentation for accounts and config (#2072)
* Update Actor and Account schemas

* Fix mixed up paramaters for /accounts

* Update ServerConfig schema

* Add ServerConfigAbout and ServerConfigCustom schemas
2019-08-22 13:33:07 +02:00
Chocobozzz a3671f0709
Fix video playlist element removal 2019-08-22 11:33:18 +02:00
Chocobozzz ebe7f58726
Fix image and plugin CSP 2019-08-22 11:14:01 +02:00
Chocobozzz 217ffacfdd
Try to fix video duplication 2019-08-22 11:03:50 +02:00
Chocobozzz dea16773df
Fix user creation by moderators 2019-08-22 10:59:14 +02:00
Chocobozzz d636ab58d0
Fix html tag with blacklisted video 2019-08-22 10:46:54 +02:00
Chocobozzz 5c5e587307
Merge branch 'feature/strong-model-types' into develop 2019-08-22 10:43:11 +02:00
Chocobozzz 1b42d73f44
Fix socket notification with multiple user tabs 2019-08-22 10:33:58 +02:00
Chocobozzz 916937d7da
email object -> email subject 2019-08-22 10:33:58 +02:00
Chocobozzz 122dbb5705
Cleanup SASS imports 2019-08-22 10:33:57 +02:00
Chocobozzz eddd920987
Replace "overview" by "discover" in client titles 2019-08-22 10:33:57 +02:00
Chocobozzz 485b2fb2cc
Relax plugin package.json validation 2019-08-22 10:33:56 +02:00
Chocobozzz 14cc552b79
Fix docker build on gitlab cci 2019-08-22 10:33:56 +02:00
Chocobozzz 015d9dec91
Fix socket notification with multiple user tabs 2019-08-22 10:33:22 +02:00
Chocobozzz 7c58378a57
email object -> email subject 2019-08-22 10:22:01 +02:00
Chocobozzz 79a899410f
Cleanup SASS imports 2019-08-22 10:02:32 +02:00
Chocobozzz 6e44fb3763
Replace "overview" by "discover" in client titles 2019-08-22 09:49:22 +02:00
Chocobozzz d1c0a964a2
Relax plugin package.json validation 2019-08-22 09:41:49 +02:00
Lukas Winkler 24339368e2 fix URL in README 2019-08-22 09:21:33 +02:00
Chocobozzz 8dd2d05058
Improve plugin management documentation 2019-08-22 09:17:41 +02:00
Chocobozzz 13126d9961
Add plugin in CLI tools table of contents 2019-08-22 09:10:00 +02:00
Chocobozzz b5fecbf441
Type toActivityPubObject functions 2019-08-21 15:23:04 +02:00
Chocobozzz f92e7f76d4
Fix ownership change 2019-08-21 08:57:00 +02:00
Frank Sträter 0ad45af705 Improved description of all file uploads (#2053)
* Add format:binary for file uploads

* Fix wrongly named field for encoding

* Fix typo in field name

* Add contentType for torrentfile and captionfile

* Add contentType for videofile
2019-08-21 08:32:15 +02:00
Chocobozzz 1ca9f7c3f7
Type toFormattedJSON 2019-08-20 19:23:10 +02:00
Chocobozzz 0283eaac2a
Cleanup model types 2019-08-20 14:53:42 +02:00
Chocobozzz c9917782ea
Fix docker build on gitlab cci 2019-08-20 14:31:17 +02:00
Chocobozzz ee7ea34e62
Merge branch 'release/1.4.0' into develop 2019-08-20 14:19:21 +02:00
Chocobozzz 4ba5632266
Build docker image on gitlab 2019-08-20 14:17:32 +02:00
Chocobozzz 96ca24f00e
Fix tests 2019-08-20 10:22:05 +02:00
Chocobozzz 0c503f5c87
Fix bad import on FF ESR 2019-08-20 09:01:19 +02:00