Commit Graph

1601 Commits (244e955e4e15975ac1dec6d852fb966b854ebe10)

Author SHA1 Message Date
Chocobozzz 9157d5981f
Improve plugin package.json error message 2019-09-11 10:19:03 +02:00
Chocobozzz 5faed16653
Fix migrations 2019-09-06 08:59:02 +02:00
Chocobozzz 5819e694ba
Better video publishing notification 2019-09-05 10:30:51 +02:00
Chocobozzz 00aab0666c
Merge branch 'release/1.4.0' into develop 2019-09-05 10:19:35 +02:00
Chocobozzz be04c6fdab Add hardware information in instance config 2019-09-05 10:17:02 +02:00
Chocobozzz 8ae03c3718 Add creation reason 2019-09-05 10:17:02 +02:00
Chocobozzz 589d9f55f6 Add config instance warning modal 2019-09-05 10:17:02 +02:00
Chocobozzz 43d0ea7f4b Add welcome modal 2019-09-05 10:17:02 +02:00
Chocobozzz ccc00cb2aa Add more attributes to about page 2019-09-05 10:17:02 +02:00
Chocobozzz 2ba613a543 Fix tests 2019-09-04 16:24:58 +02:00
Chocobozzz e1b49ee534 Implement auto follow in client 2019-09-04 16:24:58 +02:00
Chocobozzz 10a105f0c8 Add notification on auto follow index 2019-09-04 16:24:58 +02:00
Chocobozzz 6f1b4fa417 Add auto follow instances index support 2019-09-04 16:24:58 +02:00
Chocobozzz 8424c4026a Add auto follow back support for instances 2019-09-04 16:24:58 +02:00
Chocobozzz 951532924c
Fix blacklist sort 2019-09-04 16:23:37 +02:00
Chocobozzz dedc7abb7b
Fix auto blacklist view 2019-09-04 15:03:50 +02:00
Chocobozzz f8278b9605
Fix bug in redundancy eviction 2019-09-04 14:40:39 +02:00
Chocobozzz 2fd9737886
Fix redundancy too heavy with streaming playlists 2019-08-30 11:05:27 +02:00
Chocobozzz 0b5c385b45
Handle reports from mastodon 2019-08-30 09:40:32 +02:00
Chocobozzz 4b1f1b810a
Lowercase video tags search 2019-08-29 16:47:32 +02:00
Chocobozzz ad513607a3
Remove old JSON LD signature implementation
Only PeerTube was compatible with it, and the library has moved on
RsaSignature2018 and removed RsaSignature2017 support. We had to create
a dirty fork of the RsaSignature2017 branch, which is not ideal.

Now we use the Mastodon implementation, that most other AP
implementations that support JSONLD signatures use.
2019-08-29 16:15:41 +02:00
Chocobozzz f0a47bc92a
Hide video abuses from muted accounts 2019-08-29 14:31:04 +02:00
Chocobozzz 3155c8606c
Fix default true values when uploding videos 2019-08-28 16:03:26 +02:00
Frank Sträter b1b7f7160b Bug fix logical and/or boolean selector 2019-08-28 12:58:47 +02:00
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
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 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 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 485b2fb2cc
Relax plugin package.json validation 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 d1c0a964a2
Relax plugin package.json validation 2019-08-22 09:41:49 +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
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 96ca24f00e
Fix tests 2019-08-20 10:22:05 +02:00
Chocobozzz 453e83ea5d
Stronger model typings 2019-08-19 17:26:35 +02:00
Chocobozzz 9e3e3617dc
Fix redundancy tests 2019-08-13 10:22:54 +02:00
Chocobozzz 0b353d1d8a
Fix redundancy exceeding the limit 2019-08-12 08:46:46 +02:00
Chocobozzz e2600d8b26
Add avatar to prune script 2019-08-09 15:04:36 +02:00
Chocobozzz 5bb2eb5660
Fix avatar url validation 2019-08-09 11:49:37 +02:00
Chocobozzz 557b13ae24
Lazy load avatars 2019-08-09 11:32:40 +02:00
Chocobozzz 5224c394b3
Stronger actor association typing in AP functions 2019-08-09 08:17:16 +02:00
Chocobozzz 511765c9f8
Remove comment federation by video owner 2019-08-07 15:35:29 +02:00
Chocobozzz 51c3544718
Deprecate Node 8
The support ends on December 2019: https://github.com/nodejs/Release#release-schedule
2019-08-07 12:07:59 +02:00
Chocobozzz 0763044f7d
Fix comment notifications 2019-08-07 12:07:59 +02:00
Chocobozzz 327b331889
Limit maximum actor follow score 2019-08-07 12:07:58 +02:00
Chocobozzz 6b9c966f64
Automatically remove bad followings 2019-08-06 17:26:51 +02:00
Chocobozzz f847ccb33c
Optimize watch endpoint 2019-08-06 17:20:19 +02:00
Chocobozzz 1198edf4bb
Fix user notifications on new follow 2019-08-02 10:53:36 +02:00
Chocobozzz 44b88f180b
Fix broken follow notification 2019-08-02 09:46:48 +02:00
Chocobozzz 65af03a241
Automatically update playlist thumbnails 2019-08-01 16:54:24 +02:00
Chocobozzz a21e25ff64
Fix like/dislike federation 2019-08-01 14:26:49 +02:00
Chocobozzz 29d4e1375f
Fix HLS transcoding 2019-08-01 14:19:18 +02:00
Florent F d0198ff99f Add since parameter to peertube-import-videos (#1991)
* Add since parameter to peertube-import-videos

* PR remarks + --until <date>
2019-08-01 10:21:55 +02:00
Chocobozzz 970ceac0a6
Fix multiple server tests 2019-08-01 10:15:28 +02:00
Chocobozzz bfbd912886 Fix broken playlist api 2019-08-01 09:11:04 +02:00
Chocobozzz a95a4cc891
Moderators can only manage users 2019-07-30 09:59:19 +02:00
Chocobozzz 34dd7cb4ca
Fix quota in instance features table 2019-07-29 16:30:01 +02:00
Chocobozzz cd4cb177e6
Improve static files cache 2019-07-29 15:20:36 +02:00
Chocobozzz 094ff8e692
Fix mocha commands 2019-07-29 14:16:03 +02:00
Chocobozzz 6f530096cb
Correctly import tags in CLI 2019-07-29 14:10:31 +02:00
Chocobozzz 2284f20207
Add gitlab ci support 2019-07-29 13:40:39 +02:00
Chocobozzz d75db01f14
Add plugin translation system 2019-07-26 15:18:30 +02:00
Chocobozzz ee286591a5
Plugins can update video constants
Categories, licences and languages
2019-07-26 15:18:30 +02:00
Chocobozzz ba211e7386
Add public settings endpoint 2019-07-26 15:18:29 +02:00
Chocobozzz 23bdacf8ec
Add setting helper to client plugins 2019-07-26 15:18:28 +02:00
Chocobozzz 2b65c4e535
Fix scheduled privacy and verify email validations 2019-07-25 17:28:45 +02:00
Chocobozzz 552d95b1e6
Move controller in dedicated functions 2019-07-25 16:56:41 +02:00
Chocobozzz c8861d5dc0
Fix express validator 2019-07-25 16:23:44 +02:00
Chocobozzz 47e26ec761
Fix peertube auth help 2019-07-25 12:03:13 +02:00
Chocobozzz aa3796bda5
Sort on videoQuotaUsed in backend 2019-07-25 11:15:03 +02:00
Chocobozzz a353a4d77c
Upgrade tools dependencies 2019-07-25 11:00:42 +02:00
Chocobozzz 523990dbe6
Upgrade server dependencies 2019-07-25 11:00:41 +02:00
Chocobozzz 9ae88819c2
Change plugin models names 2019-07-24 11:17:42 +02:00
Chocobozzz 5f189c9c85 Add hooks documentation 2019-07-24 10:58:16 +02:00
Chocobozzz 24163420dd Add retries to travis mocha 2019-07-24 10:58:16 +02:00
Chocobozzz 5b77537ce5 Correctly notify on auto blacklist 2019-07-24 10:58:16 +02:00
Chocobozzz 7c421bb198 Fix auto blacklist 2019-07-24 10:58:16 +02:00
Chocobozzz 3e753302d8 Refactor middleware helpers 2019-07-24 10:58:16 +02:00
Chocobozzz a8b666e9f1 Add plugin static files cache 2019-07-24 10:58:16 +02:00
Chocobozzz 7663e55a2c Log error on unknown hook 2019-07-24 10:58:16 +02:00
Chocobozzz 587568e1cc Add plugin table migration table 2019-07-24 10:58:16 +02:00
Chocobozzz 6691c52280 Add filter hooks tests 2019-07-24 10:58:16 +02:00
Chocobozzz 89cd127560 Add hook filters tests 2019-07-24 10:58:16 +02:00
Chocobozzz 09071200c7 Add plugin API tests 2019-07-24 10:58:16 +02:00
Chocobozzz 9b474844e8 Add CLI plugins tests 2019-07-24 10:58:16 +02:00
Chocobozzz 32fe001389 Provide logger to plugins 2019-07-24 10:58:16 +02:00
Chocobozzz 60cfd4cb54 Add plugins check params tests 2019-07-24 10:58:16 +02:00
Chocobozzz b4055e1c23 Add server hooks 2019-07-24 10:58:16 +02:00