Commit Graph

1081 Commits

Author SHA1 Message Date
Chocobozzz
494df94036
Fix abuse crash on deleted video 2021-02-26 09:28:50 +01:00
Chocobozzz
031ea8efed
Use named chunk for embed on analyze 2021-02-25 15:01:29 +01:00
Chocobozzz
d61893f723 Async torrent creation 2021-02-25 15:01:07 +01:00
Chocobozzz
d7df188f23
Fix separate SQL query for video get 2021-02-25 11:18:11 +01:00
Chocobozzz
2a021e6cb6
Fix thread replies API response 2021-02-19 10:52:31 +01:00
Chocobozzz
9d6b9d10ef
Fix video comments display with deleted comments 2021-02-19 10:06:52 +01:00
Chocobozzz
8efc27bf14 Cleanup 2021-02-18 13:38:09 +01:00
Chocobozzz
f66db4d5c8 Fix feeds 2021-02-18 13:38:09 +01:00
Chocobozzz
b3d5cb92b1 Add ability to update torrents cache in client 2021-02-18 13:38:09 +01:00
Chocobozzz
d9a2a03196 Don't guess remote tracker URL 2021-02-18 13:38:09 +01:00
Chocobozzz
90a8bd305d Dissociate video file names and video uuid 2021-02-18 13:38:09 +01:00
Chocobozzz
374b725df5 Optimize remote thumbnail processing 2021-02-16 10:36:44 +01:00
Chocobozzz
a35a22797c Remove previous thumbnail if needed 2021-02-16 10:36:44 +01:00
Chocobozzz
6302d599cd Generate a name for caption files 2021-02-16 10:36:44 +01:00
Chocobozzz
a8b1b40485 Generate a name for thumbnails
Allows aggressive caching
2021-02-16 10:36:44 +01:00
Chocobozzz
44d1f7f2e8
Painfully debug concurrent import jobs 2021-02-09 11:46:30 +01:00
Chocobozzz
9129b7694d Allow to specify transcoding and import jobs concurrency 2021-02-08 15:38:45 +01:00
Chocobozzz
81b46cbc34 Optimize videos list API endpoint 2021-02-08 15:38:45 +01:00
Rigel Kent
3d4e112d16 add best trending strategy based on Reddit's best
inspired from https://www.reddit.com/r/changelog/comments/7spgg0/best_is_the_new_hotness/
this implementation only adds freshness, and doesn't personalize based
on subscribed communities yet.
2021-02-04 09:04:47 +01:00
Chocobozzz
2e1e4af03b
Fix get video from redudancy 2021-02-03 09:57:47 +01:00
Chocobozzz
ba5a8d89bb
Update server dependencies 2021-02-03 09:45:08 +01:00
Chocobozzz
89613cb444
Purge entire video from redundancy 2021-02-02 08:50:30 +01:00
Chocobozzz
6949a1a111
Fix tests 2021-02-01 15:03:28 +01:00
Chocobozzz
7448551fe5
Fix redundancy with HLS only files 2021-02-01 11:23:12 +01:00
Chocobozzz
1896bca09e
Support transcoding options/encoders by plugins 2021-01-28 15:55:39 +01:00
Rigel Kent
923d3d5ad5 add test and openapi for hot sort parameter 2021-01-28 15:55:34 +01:00
Rigel Kent
3da68f0a78 add default trending page choice, revert comments count for hot strategy 2021-01-28 15:55:34 +01:00
Rigel Kent
28eeb811c4 only count comments from people other than the video author 2021-01-28 15:55:34 +01:00
Rigel Kent
5bcbcbe338 modularize abstract video list header and implement video hotness recommendation variant 2021-01-28 15:55:34 +01:00
Chocobozzz
7a4994873c
Fix rss feed with HLS videos 2021-01-27 16:42:13 +01:00
Chocobozzz
6939cbac48 Safely remove webtorrent files
Only remove them on max quality HLS playlist generation
2021-01-25 14:38:52 +01:00
Chocobozzz
77d7e851dc Add priority to transcoding jobs
(1 = highest priority)

100 for new resolutions
10 for original file optimization

Add a malus for transcoding jobs depending on how many uploads the user did in the
last 7 days
2021-01-25 14:38:52 +01:00
Chocobozzz
24516aa26a
Refactor transcoding job handlers 2021-01-21 15:58:17 +01:00
Chocobozzz
a4d2ca0715
Add user video list hooks 2021-01-20 15:28:34 +01:00
Rigel Kent
d8b34ee55b
Allow user to search through their watch history (#3576)
* allow user to search through their watch history

* add tests for search in watch history

* Update client/src/app/shared/shared-main/users/user-history.service.ts
2021-01-13 09:16:15 +01:00
Chocobozzz
1acb947504
Retrieve user by id instead of username 2021-01-11 13:53:08 +01:00
Chocobozzz
47d8e266f1
Support activeMonth and activeHalfyear in nodeinfo 2020-12-30 11:41:36 +01:00
Chocobozzz
9cfeb3cf98
Fix redundancy federation in some cases 2020-12-17 09:23:57 +01:00
Chocobozzz
1ab6024345
Fix live badge in videos list 2020-12-16 14:19:43 +01:00
Chocobozzz
b49f22d8f9 Upgrade sequelize to v6 2020-12-09 11:41:22 +01:00
Chocobozzz
a59f210ff3 Refactor a little bit client canonical URL 2020-12-08 11:15:11 +01:00
Chocobozzz
bb4ba6d94c
Add permanent live support 2020-12-03 15:21:16 +01:00
Chocobozzz
2650d6d489
Fix live replay duration glitch 2020-12-02 10:18:15 +01:00
Chocobozzz
49cff3a4c9
Keep displayName as valid playlist sort 2020-12-01 15:08:59 +01:00
Chocobozzz
fb4b3f91dc
Count only active lives for account limit 2020-11-26 14:08:31 +01:00
Chocobozzz
d07b2944db
Fix comment account external URL
It did not work, and I think it's better to target the local account
page anyway
2020-11-25 15:11:57 +01:00
Rigel Kent
afff310e50 allow private syndication feeds via a user feedToken 2020-11-25 11:07:56 +01:00
Chocobozzz
daf6e48010 Split ffmpeg utils with ffprobe utils 2020-11-25 10:07:51 +01:00
Chocobozzz
de94ac86a2
Fix incorrect IDs in AP federation 2020-11-20 11:21:08 +01:00
Chocobozzz
0aa52e1707
Add ability to display all channel/account videos 2020-11-18 15:29:38 +01:00
Chocobozzz
7f88a58e3f
Try to fix playlist tests 2020-11-18 13:41:27 +01:00
Chocobozzz
875f0610e4
Don't take into account ended lives in concurrent lives check 2020-11-18 11:32:57 +01:00
Chocobozzz
ea3674d04d
Remove notifications of muted accounts/servers 2020-11-18 11:32:57 +01:00
Chocobozzz
f127331459
Add admin view to manage comments 2020-11-16 13:48:58 +01:00
Chocobozzz
0f8d00e314
Implement video comment list in admin 2020-11-13 16:38:23 +01:00
Chocobozzz
5c0904fc66
Cleanup lives on server restart 2020-11-13 14:36:30 +01:00
Arman
b8fa24491c
remove duplicate file checks in video model (#3289)
- server/models/video/video.ts (delete duplicate): build duplicate file id addition in buildAPIResult
2020-11-11 20:44:58 +01:00
Chocobozzz
2af337c839
Cleanup follows of orphean actors 2020-11-10 16:29:35 +01:00
Chocobozzz
7a4ea93246
Remove deprecated abuse api 2020-11-10 14:50:16 +01:00
Chocobozzz
0b84383d48
Fix stat file size with HLS 2020-11-10 08:07:21 +01:00
Chocobozzz
9e2b2e76ba Don't add live videos in redundancy 2020-11-09 15:33:04 +01:00
Chocobozzz
c8f3cfeba7 Fix tests 2020-11-09 15:33:04 +01:00
Chocobozzz
053aed43fb Regenerate miniature on live save 2020-11-09 15:33:04 +01:00
Chocobozzz
bd54ad1953 Add live notification tests 2020-11-09 15:33:04 +01:00
Chocobozzz
68e70a745b Add save replay live tests 2020-11-09 15:33:04 +01:00
Chocobozzz
97969c4edf Add check constraints live tests 2020-11-09 15:33:04 +01:00
Chocobozzz
af4ae64f6f Begin live tests 2020-11-09 15:33:04 +01:00
Chocobozzz
a056ca4813 Add max lives limit 2020-11-09 15:33:04 +01:00
Chocobozzz
31c82cd914 Fix replay saving 2020-11-09 15:33:04 +01:00
Chocobozzz
b5b687550d Add ability to save live replay 2020-11-09 15:33:04 +01:00
Chocobozzz
ef680f6835 Save 2020-11-09 15:33:04 +01:00
Chocobozzz
fb7194043d Check live duration and size 2020-11-09 15:33:04 +01:00
Chocobozzz
a5cf76afa3 Add watch messages if live has not started 2020-11-09 15:33:04 +01:00
Chocobozzz
de6310b2fc Handle live federation 2020-11-09 15:33:04 +01:00
Chocobozzz
c6c0fa6cd8 Live streaming implementation first step 2020-11-09 15:33:04 +01:00
Chocobozzz
6055411221
Fix abuse reportee search query 2020-08-26 15:44:19 +02:00
Chocobozzz
a293ac71d8
Fix lint 2020-08-24 16:21:16 +02:00
Chocobozzz
de97d62109
Remove debug logs 2020-08-24 16:13:38 +02:00
Chocobozzz
97816649b7
Fix RSS feed when HLS only is enabled 2020-08-24 16:11:37 +02:00
Chocobozzz
7294aab0c8 Add ability to set custom field to video form 2020-08-21 15:39:51 +02:00
Chocobozzz
1c58423f6c
Optimize comment RSS sql query 2020-08-20 11:05:45 +02:00
Chocobozzz
371906639e Add ability to a video multiple times in a playlist 2020-08-19 11:30:21 +02:00
Chocobozzz
951b582f52
Add ability to share playlists in modal 2020-08-07 13:43:48 +02:00
Chocobozzz
6fad8e51c4 Handle playlist oembed 2020-08-07 08:58:29 +02:00
Chocobozzz
bd45d503e5 Reorganize shared models 2020-08-07 08:28:14 +02:00
Chocobozzz
594d3e48d8 Add abuse messages/states notifications 2020-07-31 11:35:19 +02:00
Chocobozzz
94148c9028 Add abuse messages management in my account 2020-07-31 11:35:19 +02:00
Chocobozzz
441e453ae5 Add abuse message management in admin 2020-07-31 11:35:19 +02:00
Chocobozzz
edbc932546 Add server API to abuse messages 2020-07-31 11:35:19 +02:00
Kim
8d987ec63e
Add fcbk open-graph and twitter-card metas for accounts, video-channels, playlists urls (#2996)
* Add open-graph and twitter-card metas to accounts and video-channels

* Add open-graph and twitter-card to video-playlists watch view

* Refactor meta-tags creation server-side

* Add client.ts tests for account, channel and playlist tags

* Correct lint forbidden spaces

* Correct test regression on client.ts

Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-07-31 11:29:15 +02:00
Rigel Kent
225a7682e6 adapt notifications buttons for small screens 2020-07-29 18:15:53 +02:00
Rigel Kent
4f5d045960 harmonize search for libraries 2020-07-29 18:15:53 +02:00
Rigel Kent
bc99dfe54e variable columns for users list, more columns possible, badge display for statuses 2020-07-29 18:15:53 +02:00
Chocobozzz
8ca56654a1 Add ability to report comments in front end 2020-07-10 14:02:41 +02:00
Chocobozzz
310b5219b3 Add new abuses tests 2020-07-10 14:02:41 +02:00
Chocobozzz
811cef146c Use raw sql for abuses 2020-07-10 14:02:41 +02:00
Chocobozzz
4f32032fed Add migrations 2020-07-10 14:02:41 +02:00
Chocobozzz
57f6896f67 Implement abuses check params 2020-07-10 14:02:41 +02:00
Chocobozzz
d95d155988 Use 3 tables to represent abuses 2020-07-10 14:02:41 +02:00
Rigel Kent
8491293b02
add blocked filter in users list to filter banned users
fixes #2914
2020-07-02 22:50:33 +02:00
Rigel Kent
d473fd94ce
allow muting from the miniature options
initial implementation with a listing refresh except on search results
2020-06-28 16:55:17 +02:00
Rigel Kent
4c9e9d2ee9
align ownership change video list table with moderation tables 2020-06-28 16:20:23 +02:00
Rigel Kent
00494d6e2a
allow limiting video-comments rss feeds to an account or video channel 2020-06-27 13:20:59 +02:00
Chocobozzz
67ed6552b8 Reorganize client shared modules 2020-06-23 16:00:49 +02:00
Rigel Kent
1ebddadd07
predefined report reasons & improved reporter UI (#2842)
- added `startAt` and `endAt` optional timestamps to help pin down reported sections of a video
- added predefined report reasons
- added video player with report modal
2020-06-22 13:00:39 +02:00
Chocobozzz
26d6bf6533
Split types and typings 2020-06-18 10:46:27 +02:00
Chocobozzz
faa9d434b4
Update server dependencies 2020-06-17 11:42:50 +02:00
Chocobozzz
1ba471c55f
Add videos count in channels list 2020-06-16 14:13:01 +02:00
Chocobozzz
fd261a8de9
Fix video view filename 2020-06-15 15:18:54 +02:00
Chocobozzz
5a61ffbb7c
Optimize views per day in video channels 2020-06-12 16:27:41 +02:00
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
Chocobozzz
def2a70b7e
Fix search SQL query where duplication 2019-12-23 13:44:24 +01:00
Chocobozzz
611a72ae15
Add index for recently added SQL query 2019-12-23 13:44:24 +01:00
Chocobozzz
0dfee3a3ac
Optimize local sql query 2019-12-23 13:44:23 +01:00
Chocobozzz
1c5fed88c5
Litte SQL optimzation in videos list 2019-12-23 13:44:23 +01:00
Chocobozzz
dddc8b1fe0
Don't notify on muted instance 2019-12-19 11:34:00 +01:00
Chocobozzz
2a5518a667
Fix lint & tests 2019-12-18 16:47:54 +01:00
Chocobozzz
2735a154dc
Fix video import with long thumbnail url 2019-12-17 09:55:33 +01:00
Rigel Kent
bee29df8a9 autoplay next video support for playlists 2019-12-13 09:13:43 +01:00
Chocobozzz
22a73cb879
Add internal privacy mode 2019-12-12 16:51:59 +01:00
Chocobozzz
907b8f9347
Use a migration script to generate HLS torrent files 2019-12-12 10:56:34 +01:00
Chocobozzz
458218d2ba
Don't add the unique preferredUsername index for now
We'll do it in the next release so admins can prepare it
2019-12-12 10:56:34 +01:00
Chocobozzz
92e0f42e8c
Don't use the max quality file when transcoding to a new resolution 2019-12-11 09:51:17 +01:00
Chocobozzz
3cf53828db
Add ability to search by UUID 2019-12-09 15:32:53 +01:00
Chocobozzz
941c5eac17
Add missing hotkeys to the watch page 2019-12-06 10:05:49 +01:00
Chocobozzz
77e0851758
Ensure local actors preferredName don't already exist
Before applying this commit, check you don't have duplicates local
actors in your database:

select "preferredUsername" from actor where "serverId" is null group by "preferredUsername" having count(*) > 0

If you have some results, it seems you have duplicate channels/accounts.
For every entry, you'll have to change the preferredUsername of the
entry you want (so they are unique). The updated actors could have some
federations issues. Sorry.
2019-12-05 14:57:14 +01:00
Julien Maulny
b5206dfc45 Fix retrieving of deleted comments when subscribing to a new instance 2019-12-04 09:36:45 +01:00
Julien Maulny
69222afac8 Soft delete video comments instead of detroy 2019-12-04 09:36:45 +01:00
Chocobozzz
cb5ce4cb13
Add more filters to admin follows table 2019-11-29 11:16:43 +01:00
Chocobozzz
97ecddae10
Filter on follows actor types in about page 2019-11-29 10:55:17 +01:00
Chocobozzz
b8f4167fb6
Only display accepted followers/followings in about page 2019-11-28 11:37:32 +01:00
Chocobozzz
66fb2aa39b
Don't always replace actor avatar 2019-11-25 10:59:44 +01:00
Chocobozzz
d7a25329f9
Add ability to disable webtorrent
In favour of HLS
2019-11-25 10:59:43 +01:00
Chocobozzz
862ead21a3
Fix and cleanup actor follow inbox sql query 2019-10-23 12:06:26 +02:00
Chocobozzz
47581df073
Fix federation with some actors
That don't have a shared inbox, or a URL
2019-10-23 11:33:53 +02:00
Chocobozzz
d5d9b6d7bf
Update server dependencies 2019-10-21 15:03:28 +02:00
Chocobozzz
687c6180bc
Fix federation issue with some actor descriptions 2019-10-21 09:52:51 +02:00
LoveIsGrief
6aa5414813 Autoplay next recommended video (#2137)
* Start working on autoplay of next video

* Ignore changes made by gitpod

* Apply changes from PR#1370

* Correct the spelling of recommendations

* Fix linting errors

* Move boolean check to existing onEnded handler

* Pick a random video until the recommendations are improved

* Add simple tests for autoPlayNextVideo

* Fix lint

...again
2019-09-24 08:48:01 +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
43d0ea7f4b Add welcome modal 2019-09-05 10:17:02 +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
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
f0a47bc92a
Hide video abuses from muted accounts 2019-08-29 14:31:04 +02:00
Chocobozzz
d636ab58d0
Fix html tag with blacklisted video 2019-08-22 10:46:54 +02:00
Chocobozzz
b5fecbf441
Type toActivityPubObject functions 2019-08-21 15:23:04 +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
511765c9f8
Remove comment federation by video owner 2019-08-07 15:35:29 +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
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
29d4e1375f
Fix HLS transcoding 2019-08-01 14:19:18 +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
ba211e7386
Add public settings endpoint 2019-07-26 15:18:29 +02:00
Chocobozzz
aa3796bda5
Sort on videoQuotaUsed in backend 2019-07-25 11:15:03 +02:00
Chocobozzz
5b77537ce5 Correctly notify on auto blacklist 2019-07-24 10:58:16 +02:00
Chocobozzz
89cd127560 Add hook filters tests 2019-07-24 10:58:16 +02:00
Chocobozzz
b4055e1c23 Add server hooks 2019-07-24 10:58:16 +02:00
Chocobozzz
9fa6ca160a Some plugins fixes and doc enhancements 2019-07-24 10:58:16 +02:00
Chocobozzz
109d893ff5 Fix lint 2019-07-24 10:58:16 +02:00
Chocobozzz
6702a1b2cc Add ability to search available plugins 2019-07-24 10:58:16 +02:00
Chocobozzz
503c6f440a Add peertube plugin index website models 2019-07-24 10:58:16 +02:00
Chocobozzz
30ff39e7f0 Move createTorrent in webtorrent utils 2019-07-24 10:58:16 +02:00
Chocobozzz
b2195fafc2 WIP plugins: add storage manager 2019-07-24 10:58:16 +02:00
Chocobozzz
b5f919ac8e WIP plugins: update plugin 2019-07-24 10:58:16 +02:00
Chocobozzz
8d2be0ed7b WIP plugins: move plugin CLI in peertube script
Install/uninstall/list plugins remotely
2019-07-24 10:58:16 +02:00
Chocobozzz
dba85a1e9e WIP plugins: add plugin settings/uninstall in client 2019-07-24 10:58:16 +02:00
Chocobozzz
ad91e7006e WIP plugins: plugin settings on server side 2019-07-24 10:58:16 +02:00
Chocobozzz
ffb321bedc WIP plugins: load theme on client side 2019-07-24 10:58:16 +02:00
Chocobozzz
7cd4d2ba10 WIP plugins: add theme support 2019-07-24 10:58:16 +02:00
Chocobozzz
2c0539420d WIP plugins: static files 2019-07-24 10:58:16 +02:00
Chocobozzz
f023a19c3e WIP plugins: install/uninstall 2019-07-24 10:58:16 +02:00
Chocobozzz
345da516fa WIP plugins: add ability to register plugins 2019-07-24 10:58:16 +02:00
Nassim Bounouas
50b4dcce56 Fix/connection with email (#1917)
* #1916 Load user by email - insensitive query

* Revert "Case insensitive login"

This reverts commit c1521ca3d7.

* #1916 Load user - insensitive query for username and sensitive for email

* #1916 Unit test for insensitive username login && documentation
2019-07-02 11:16:33 +02:00
Chocobozzz
3caf77d3b1
Add language filters in user preferences 2019-06-19 15:05:36 +02:00
Chocobozzz
d1ab89deb7
Handle email update on server 2019-06-11 14:31:11 +02:00
Chocobozzz
7d14d4d2ca
Server: Bulk update videos support field 2019-05-31 16:44:46 +02:00
Chocobozzz
57cfff7885
Remove unused actor uuid field 2019-05-31 14:49:31 +02:00
Chocobozzz
91b6631984
Add pagination to account video channels endpoint 2019-05-29 15:09:38 +02:00
Chocobozzz
21d141c296
Merge branch 'release/v1.3.0' into develop 2019-05-21 13:32:00 +02:00
Chocobozzz
ac3d2e0569
Fix blacklist sort 2019-05-21 12:09:58 +02:00
Chocobozzz
432ebe8bdd
Merge branch 'release/v1.3.0' into develop 2019-05-21 11:21:56 +02:00
Chocobozzz
b9dde7d96b
Fix thumbnails in video blacklist list endpoint 2019-05-21 10:59:29 +02:00
Chocobozzz
536598cfaf
Add audio support in upload 2019-05-16 17:16:47 +02:00
Chocobozzz
241c3357d1
Fix account description error 2019-05-13 14:37:30 +02:00
Chocobozzz
a18f275d30
Fix thumbnail when listing my videos 2019-05-13 09:45:36 +02:00