Commit Graph

771 Commits

Author SHA1 Message Date
Chocobozzz
f046e2fa5c Fix video follow SQL 2020-06-10 14:02:41 +02:00
Chocobozzz
5fb2e2888c First implem global search 2020-06-10 14:02:41 +02:00
Chocobozzz
b84d4c809f
Fix video comments feed SQL query 2020-06-09 14:52:55 +02:00
Chocobozzz
4282dafc82
Add AP icons breaking change 2020-06-04 15:22:08 +02:00
Chocobozzz
5cb9f0f4f7
Send complete video description in AP messages 2020-06-04 15:17:20 +02:00
Chocobozzz
5072b90922
Sort AP files by resolution desc 2020-06-04 15:03:30 +02:00
Levi Bard
3092e9bbb0
Make federation of unlisted videos an instance-level server preference (#2802)
* Add preference for federating unlisted videos

* Connect unlisted video federation with new preference

* Apply pull request feedback

* Fix lint issues

* Remove preference for federating unlisted videos from web admin interface
2020-06-03 09:42:07 +02:00
Chocobozzz
696d83fd13 Block comments from muted accounts/servers
Add better control for users of comments displayed on their videos:

 * Do not forward comments from muted remote accounts/servers (muted by the current server or by the video owner)
 * Do not list threads and hide replies (with their children) of accounts/servers muted by the video owner
 * Hide from RSS comments of muted accounts/servers by video owners

Use case:
  * Try to limit spam propagation in the federation
  * Add ability for users to automatically hide comments on their videos from undesirable accounts/servers (the comment section belongs to videomakers, so they choose what's posted there)
2020-05-29 09:32:20 +02:00
Chocobozzz
8adf0a767f Fix comments deleted display 2020-05-29 09:21:26 +02:00
Chocobozzz
444c0a0e01 Add ability to bulk delete comments 2020-05-29 09:21:26 +02:00
Chocobozzz
7405b6ba89
Add missing channel playlists AP endpoint 2020-05-13 14:49:11 +02:00
Chocobozzz
0f06c4de69
Add unique key on actor preferredUsername 2020-05-11 11:06:12 +02:00
Chocobozzz
716adfaed6
Fix refresh token 2020-05-07 16:36:04 +02:00
Chocobozzz
80fdaf0645
Add moderation helpers to plugins 2020-05-07 15:07:01 +02:00
Chocobozzz
3cc665f48f
Add last login date to users 2020-05-07 10:39:09 +02:00
Chocobozzz
feb34f6b6b Use video abuse filters on client side 2020-05-07 08:33:34 +02:00
Chocobozzz
1df8a4d79a
Fix comments feed with musted accounts 2020-05-06 14:12:12 +02:00
Chocobozzz
fc8aabd0bf
parseQueryStringFilter cleanup 2020-05-06 10:31:52 +02:00
Chocobozzz
1c32067367
Fix HLS audio only transcoding 2020-05-05 16:27:46 +02:00
Chocobozzz
7139845894
Sort outbox by desc created at order 2020-05-05 14:08:07 +02:00
Chocobozzz
8bb71f2e33
Add auth plugin info in users list 2020-05-05 13:54:30 +02:00
Chocobozzz
7557704eec
Fix compat with peertube 2.1 2020-05-05 09:15:41 +02:00
Chocobozzz
97b65ce58a Fix plugin storeData 2020-05-04 16:21:39 +02:00
Chocobozzz
15b4bcdf04 Fix plugin get settings 2020-05-04 16:21:39 +02:00
Chocobozzz
bc90883f1a Handle external login errors 2020-05-04 16:21:39 +02:00
Chocobozzz
055cfb11a9 Add plugin auth migrations 2020-05-04 16:21:39 +02:00
Chocobozzz
e307e4fce3 Add ability for auth plugins to hook tokens validity 2020-05-04 16:21:39 +02:00
Chocobozzz
e1c5503114 Support logout and add id and pass tests 2020-05-04 16:21:39 +02:00
Chocobozzz
8dc8a34ee8 Avoir some circular dependencies 2020-05-04 16:21:39 +02:00
Chocobozzz
7fed637506 Begin auth plugin support 2020-05-04 16:21:39 +02:00
Rigel Kent
25a42e293b Fix rowsPerPage change, add filter clear button, update video-abuse-list search query param dynamically 2020-05-04 15:01:44 +02:00
Rigel Kent
9b1fa49b60 Support is:blacklisted as video-abuse-list filter 2020-05-04 15:01:44 +02:00
Rigel Kent
0d3a2982a9 Switching to a named filters/single input on video-abuse 2020-05-04 15:01:44 +02:00
Rigel Kent
197876ea87 Add tests for video-abuse persistence after video deletion 2020-05-01 16:41:02 +02:00
Rigel Kent
efa012edad Add reportee stats for deleted videos 2020-05-01 16:41:02 +02:00
Rigel Kent
0251197e24 Factorize rest-table and fix/simplify SQL 2020-05-01 16:41:02 +02:00
Rigel Kent
e0a929179a Add filter inputs for blacklisted videos and muted accounts/servers 2020-05-01 16:41:02 +02:00
Rigel Kent
5fd4ca0051 Add nth abuse count for a given video, add reporter/reportee reports stats 2020-05-01 16:41:02 +02:00
Rigel Kent
844db39ee5 Add search for video, reporter and channel name fields 2020-05-01 16:41:02 +02:00
Rigel Kent
86521a67b2 Add video channel and video thumbnail, rework video appearance in row 2020-05-01 16:41:02 +02:00
Rigel Kent
68d19a0ace Make sure a report doesn't get deleted upon the deletion of its video 2020-05-01 16:41:02 +02:00
Chocobozzz
c18431505f
Add API doc for playlists 2020-04-21 15:04:39 +02:00
Chocobozzz
193272b8a0
Do not display deleted comments in RSS feed 2020-04-21 09:27:42 +02:00
Chocobozzz
68b6fd21b1
Don't leak unlisted videos in comments feed 2020-04-21 09:01:39 +02:00
Chocobozzz
2fd59d7d89
Add ability to sort by originallyPublishedAt 2020-04-20 14:05:52 +02:00
Chocobozzz
8f31261f77
Fix videos languages filter SQL query 2020-04-20 10:24:58 +02:00
Chocobozzz
14cbb9a65a
Fix languageOneOf filter with only _unknown 2020-04-16 17:00:40 +02:00
Chocobozzz
5600def4c8
Fix user video quota with webtorrent disabled 2020-04-16 15:13:46 +02:00
Chocobozzz
652c64165b
Fix import captions test 2020-04-15 14:15:44 +02:00
Chocobozzz
8c9e787526
Add ability to accept or not remote redundancies 2020-04-07 15:32:20 +02:00
Chocobozzz
51892fe042
Fix typo in db field check 2020-04-03 14:08:27 +02:00
Rigel Kent
3d527ba173 Use inner join and document code for viewr stats for channels 2020-03-31 10:29:24 +02:00
Rigel Kent
714bfcc556 Tests for viewsPerDay 2020-03-31 10:29:24 +02:00
Rigel Kent
747c562837 Put channel stats behind withStats flag 2020-03-31 10:29:24 +02:00
Rigel Kent
8165d00ac6 View stats for channels 2020-03-31 10:29:24 +02:00
Rigel Kent
76314386ae
Add overview of a user's actions in user-edit (#2558) 2020-03-27 15:19:03 +01:00
Chocobozzz
5db4545cd2
Fix internal videos in playlists 2020-03-20 09:55:57 +01:00
Chocobozzz
891a819661
Optimize sql requests on broadcast 2020-03-19 11:04:05 +01:00
Chocobozzz
baab47ca81
Fix total videos stats 2020-03-13 14:54:00 +01:00
Chocobozzz
fab6746354
Fix sitemap endpoint 2020-03-11 15:02:20 +01:00
Chocobozzz
7b81edc854
Video file metadata PR cleanup 2020-03-10 16:18:29 +01:00
Rigel Kent
8319d6ae72
Add video file metadata to download modal, via ffprobe (#2411)
* Add video file metadata via ffprobe

* Federate video file metadata

* Add tests for file metadata generation

* Complete tests for videoFile metadata federation

* Lint migration and video-file for metadata

* Objectify metadata from getter in ffmpeg-utils

* Add metadataUrl to all videoFiles

* Simplify metadata API middleware

* Load playlist in videoFile when requesting metadata
2020-03-10 14:39:40 +01:00
Chocobozzz
6b842050f7
Wrap videos list query in raw SQL 2020-03-10 14:03:58 +01:00
Chocobozzz
5f3e2425f1
Rewrite video list in raw SQL 2020-03-10 14:03:58 +01:00
Chocobozzz
1647e4effd
Fix CPU usage on PostgreSQL 2020-02-25 16:30:09 +01:00
Jorge Silva
3f87a46f1d Update default user theme to instance-default
(cherry picked from commit 72fa5cb1272b0b897f5a975615619e354055e5bd)
2020-02-12 11:39:51 +01:00
Chocobozzz
6872996d29
Be more robust with missing thumbnails/previews 2020-02-06 17:39:19 +01:00
Chocobozzz
2c8776fc31
Optimize view endpoint 2020-02-04 16:18:01 +01:00
Chocobozzz
943e519390
Don't refresh videos when processing views
It allows us to use a cache
2020-02-04 15:58:59 +01:00
Chocobozzz
7eba5e1fa8
Add model cache for video
When fetching only immutable attributes
2020-02-04 15:00:47 +01:00
Chocobozzz
0ffd6d32c1
Use a singleton for model cache 2020-02-04 11:26:51 +01:00
Chocobozzz
7cd1b12c19
Merge branch 'release/2.1.0' into develop 2020-02-04 09:20:16 +01:00
Chocobozzz
22f18a4a19
Fix embed on mastodon 2020-02-04 09:19:56 +01:00
Chocobozzz
a15871560f
Move to eslint 2020-02-03 08:31:02 +01:00
Chocobozzz
ca6d36227a
Add url field in caption and use it for thumbnails 2020-01-30 11:53:38 +01:00
Chocobozzz
d5692d4088
Merge branch 'release/2.1.0' into develop 2020-01-29 14:42:02 +01:00
Chocobozzz
9c9a166783
Fix AP icon URL for imported videos 2020-01-29 14:41:42 +01:00
Chocobozzz
0374b6b5cd
Cleanup server fixme 2020-01-28 14:45:17 +01:00
Chocobozzz
b764380ac2 Add ability to list redundancies 2020-01-28 11:35:26 +01:00
Chocobozzz
ffc65cbd2a
Remove HLS torrents 2020-01-24 16:48:05 +01:00
Chocobozzz
dce659fa7c
Fix federation when updating a video 2020-01-10 10:30:36 +01:00
Chocobozzz
c4a1811ea8
Use lower instead of ilike to login users 2020-01-09 14:00:34 +01:00
Chocobozzz
6b0c3c7ca9
Optimize list my playlists SQL query 2020-01-09 09:27:21 +01:00
Chocobozzz
119b16e5ac
Optimize notification endpoint 2020-01-09 09:27:18 +01:00
Chocobozzz
e612209767
Try to fix subscriptions inconsistencies 2020-01-08 15:44:41 +01:00
Chocobozzz
fe98765624
Add ability to skip count query 2020-01-08 14:15:16 +01:00
Chocobozzz
ddc07312b0
Optimize videos list SQL queries workflow 2020-01-08 11:36:57 +01:00
Chocobozzz
8ee988c316
Optimize videos list SQL query 2020-01-08 11:16:34 +01:00
Chocobozzz
7cde3b9c2e
Update validator dependency 2020-01-07 15:56:07 +01:00
Chocobozzz
ac0868bcc0
Improve SQL query for my special playlists 2020-01-03 14:17:57 +01:00
Chocobozzz
35f28e94c7
Add infohash cache 2020-01-03 13:47:45 +01:00
Chocobozzz
562724a1ed
Fix totalRepliesFromVideoAuthor SQL request 2020-01-03 11:53:51 +01:00
Rigel Kent
29128b2f5c
Add miniature quick actions to add video to Watch later playlist 2020-01-02 14:50:14 +01:00
Rigel Kent
5b0413ddaa
Add author indicator to the comment replies loader 2019-12-28 11:48:53 +01:00
Rigel Kent
bf64ed4196
Add search bars for a user's videos and playlist library 2019-12-28 01:10:26 +01:00
Rigel Kent
c1125bcadc
Add comment filtering by reply count 2019-12-27 17:02:44 +01:00
Chocobozzz
e4a686b4a2
Cache some SQL queries 2019-12-27 13:33:16 +01:00
Chocobozzz
822c7e610d
Fix playlist search 2019-12-27 09:04:04 +01:00
Chocobozzz
227eb02f9a
Case insensitive tags search 2019-12-27 08:51:26 +01:00
Rigel Kent
c06af5012e
Add playlist search option and search input for add-to-video-playlist dropdown
fixes #2138
2019-12-26 11:52:52 +01:00