Chocobozzz
a02b93ce75
Fix lint
2020-08-07 08:28:14 +02:00
Chocobozzz
cb4eb74485
Increase redundancy check params timeout
2020-07-31 16:18:40 +02:00
Chocobozzz
39433fa56c
Fix client tests
2020-07-31 13:20:25 +02:00
Chocobozzz
41130b4ce3
Fix tests
2020-07-31 11:35:19 +02:00
Chocobozzz
668b7f096e
Add openapi doc
2020-07-31 11:35:19 +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
edbc932546
Add server API to abuse messages
2020-07-31 11:35:19 +02:00
Chocobozzz
20516920d2
Increase timeout for moderation notifications
2020-07-31 11:32:04 +02:00
Chocobozzz
f9d2deae3a
Correctly test ldap
2020-07-31 11:32:04 +02:00
Chocobozzz
f4659d73fb
Don't run in parallel cli and plugin tests
2020-07-31 11:32:04 +02:00
Chocobozzz
7abb5c5da1
Use parallel to run tests in parallel
2020-07-31 11:32:04 +02:00
Chocobozzz
b488ba1e26
Don't rely on youtube for tests
...
Use another import URL when possible, and disable import tests when we
want to do a youtube import test
2020-07-31 11:32:04 +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
7b3909644d
test search for subscriptions and video-channels
2020-07-29 18:15:53 +02:00
Chocobozzz
17aa80ed01
Merge branch 'release/2.3.0' into develop
2020-07-10 15:23:31 +02:00
Chocobozzz
1dee8d68cb
Fix video import tests
2020-07-10 14:56:17 +02:00
Chocobozzz
310b5219b3
Add new abuses tests
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
ea7337cfde
add check-params test for user list
...
fixes #2918
2020-07-03 10:29:03 +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
Chocobozzz
7820a54e5e
Close mock blocklit server when tests end
2020-06-26 14:51:01 +02:00
Chocobozzz
db48de8597
Block infohash spammers from tracker
2020-06-25 16:28:07 +02:00
Chocobozzz
d4bf24df8e
Add auto block videos plugin tests
2020-06-25 16:28:07 +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
07aea1a264
Use TS_NODE_FILES instead of --files
...
Because --files does not work
2020-06-18 17:14:02 +02:00
Chocobozzz
c24aac6bc7
Fix tests
2020-06-18 13:39:13 +02:00
Chocobozzz
faa9d434b4
Update server dependencies
2020-06-17 11:42:50 +02:00
Chocobozzz
8eb07b0130
Split notification tests
2020-06-16 15:55:42 +02:00
Chocobozzz
1ba471c55f
Add videos count in channels list
2020-06-16 14:13:01 +02:00
Chocobozzz
1a40132c67
Use default nsfw instance policy for search index
2020-06-12 16:27:41 +02:00
Chocobozzz
5a61ffbb7c
Optimize views per day in video channels
2020-06-12 16:27:41 +02:00
Chocobozzz
8b381422b8
Fix lint
2020-06-12 08:27:59 +02:00
Rigel Kent
3487330d30
preserve original variable names server-side
2020-06-10 21:12:09 +02:00
Rigel Kent
5baee5fca4
rename blacklist to block/blocklist, merge block and auto-block views
...
- also replace whitelist with allowlist
- add advanced filters for video-block-list view
- move icons in video-block-list and video-abuse-list to left side
for visibility
- add robot icon to depict automated nature of a block in
video-block-list
resolves #2790
2020-06-10 21:12:05 +02:00
Chocobozzz
f9b6d51f48
Fix tests
2020-06-10 15:35:20 +02:00
Chocobozzz
3521ab8fc0
Add search index tests
2020-06-10 14:02:41 +02:00
Chocobozzz
3b0bd70aa0
Add search target check params
2020-06-10 14:02:41 +02:00
Chocobozzz
5fb2e2888c
First implem global search
2020-06-10 14:02:41 +02:00
Rigel Kent
62e7be634b
change fixtures to reflect output size of jimp
2020-06-10 14:01:49 +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
72c33e716f
Support broadcast messages
2020-05-29 09:32:12 +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
9a7fd9600b
Fix external auth email/password update
...
Also check if an actor does not already exist when creating the user
2020-05-20 10:17:27 +02:00
Rigel Kent
2158ac9034
Add server plugin filter hooks for import with torrent and url ( #2621 )
...
* Add server plugin filter hooks for import with torrent and url
* WIP: pre and post-import filter hooks
* Rebased
* Cleanup filters to accept imports
Co-authored-by: Chocobozzz <me@florianbigard.com>
2020-05-14 11:10:26 +02:00
Chocobozzz
a06581f296
Fix tests
2020-05-13 11:57:34 +02:00
Chocobozzz
2ca154da93
Fix auto follow index URL
2020-05-12 09:37:39 +02:00
Chocobozzz
d253bfaaa5
Add other tests to external auth
2020-05-11 18:32:58 +02:00
Chocobozzz
c9215a1be0
Update code contributors
2020-05-11 13:43:56 +02:00
Chocobozzz
95cd31f1fe
Allow to auto follow a specific URL
2020-05-11 10:53:06 +02:00
Chocobozzz
3a7a261f33
Add test for auto mute list router
2020-05-11 10:15:56 +02:00
Rigel Kent
df4c603dea
Switch emails to pug templates and provide richer html/text-only versions
2020-05-08 15:31:51 +02:00
Chocobozzz
91b8e675e2
Improve auto mute tests
2020-05-07 17:08:16 +02:00
Chocobozzz
8bff1fe009
Add auto mute plugin tests
2020-05-07 16:34:09 +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
fde37dc99c
Add ability for video owners to delete comments
2020-05-05 17:22:11 +02:00
Chocobozzz
298b3fd315
Increase video comments limit
2020-05-05 16:48:30 +02:00
Chocobozzz
8bb71f2e33
Add auth plugin info in users list
2020-05-05 13:54:30 +02:00
Chocobozzz
97b65ce58a
Fix plugin storeData
2020-05-04 16:21:39 +02:00
Chocobozzz
a4995eb7ac
Add ability to unregister plugin auths
2020-05-04 16:21:39 +02:00
Chocobozzz
a5896799f1
Add plugin settings change watcher
2020-05-04 16:21:39 +02:00
Chocobozzz
9107d791e2
Add external login tests
2020-05-04 16:21:39 +02:00
Chocobozzz
98813e69bc
Check auth plugin result
2020-05-04 16:21:39 +02:00
Chocobozzz
829b794a85
Add plugin ldap tests
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
d1261d9a3c
Add links from user-edit
2020-05-01 16:41:02 +02:00
Rigel Kent
197876ea87
Add tests for video-abuse persistence after video deletion
2020-05-01 16:41:02 +02:00
Chocobozzz
68b6fd21b1
Don't leak unlisted videos in comments feed
2020-04-21 09:01:39 +02:00
Chocobozzz
b3af2601da
Add ability to remove privacies using plugins
2020-04-20 15:42:27 +02:00
Chocobozzz
2fd59d7d89
Add ability to sort by originallyPublishedAt
2020-04-20 14:05:52 +02:00
Kim
b1770a0af4
Add thumbnail / preview generation from url on the fly ( #2646 )
...
* Add thumbnails generation on the fly to URL import
* Display generated preview to import first edit
* Use ternary to get type inference
* Move preview/thumbnail test just after import
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
2020-04-20 10:28:38 +02:00
Chocobozzz
6ed2e4eaf3
Fix tests correctly
2020-04-20 09:35:51 +02:00
Chocobozzz
0dd57e4d43
Fix tests
2020-04-20 09:04:38 +02:00
Chocobozzz
5600def4c8
Fix user video quota with webtorrent disabled
2020-04-16 15:13:46 +02:00
Chocobozzz
62068f4153
Merge branch 'pr/2629' into develop
2020-04-15 14:16:40 +02:00
Chocobozzz
652c64165b
Fix import captions test
2020-04-15 14:15:44 +02:00
kimsible
ba6e9e8f1d
Add unit tests for captions via URL import
2020-04-14 17:23:01 +02:00
Rigel Kent
bb152476c8
Refactor follow/mute as modals in admin, add actions in abuse list
2020-04-14 15:53:37 +02:00
Chocobozzz
3f956d431c
Add misc endpoints and helpers to npm test
2020-04-14 08:57:52 +02:00
Chocobozzz
5e2b2e2775
Add ability for plugins to add custom routes
2020-04-10 15:23:25 +02:00
Chocobozzz
ab3ead3a6f
Add ability to remove a video from a plugin
2020-04-09 11:37:44 +02:00
Chocobozzz
1b05d82d86
Add SQL query support in plugins
2020-04-09 11:00:30 +02:00
Chocobozzz
8c9e787526
Add ability to accept or not remote redundancies
2020-04-07 15:32:20 +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
76314386ae
Add overview of a user's actions in user-edit ( #2558 )
2020-03-27 15:19:03 +01:00
Chocobozzz
cf5d7d9d94
Try to fix tracker tests issues
2020-03-20 16:17:14 +01:00
Chocobozzz
baab47ca81
Fix total videos stats
2020-03-13 14:54:00 +01:00
Chocobozzz
764a965778
Implement pagination for overviews endpoint
2020-03-11 15:02:20 +01:00
Rigel Kent
482fa503e5
Use grid to organise settings in admin, my-account
2020-03-10 16:23:40 +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
bdd428a6d9
Update dependencies
2020-02-28 16:21:34 +01:00
John Livingston
45f1bd72a0
Creating a user with an empty password will send an email to let him set his password ( #2479 )
...
* Creating a user with an empty password will send an email to let him set his password
* Consideration of Chocobozzz's comments
* Tips for optional password
* API documentation
* Fix circular imports
* Tests
2020-02-17 10:16:52 +01:00
Chocobozzz
a15871560f
Move to eslint
2020-02-03 08:31:02 +01:00
Chocobozzz
c7f36e4f48
Fix transcoding
2020-01-29 16:54:52 +01:00
Rigel Kent
837666fe48
Add tests for video downscale framerate matching
2020-01-29 13:42:15 +01:00
Chocobozzz
e669ff5873
Add redundancy CLI doc
2020-01-28 13:57:49 +01:00
Chocobozzz
26fcf2efeb
Add redundancy CLI
2020-01-28 11:35:26 +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
89566f77fd
Increase blacklist import timeout
2020-01-23 11:09:25 +01:00
Chocobozzz
6848b9f4b2
Use a filtered proxy without variables
2020-01-22 09:36:03 +01:00
Chocobozzz
c25e8ce505
Fix subscriptions tests
2020-01-10 15:37:01 +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
7cde3b9c2e
Update validator dependency
2020-01-07 15:56:07 +01:00
Rigel Kent
32c68d67d9
Tests for totalRepliesFromVideoAuthor
2020-01-03 16:25:31 +01:00
Chocobozzz
ac0868bcc0
Improve SQL query for my special playlists
2020-01-03 14:17:57 +01:00
Rigel Kent
29128b2f5c
Add miniature quick actions to add video to Watch later playlist
2020-01-02 14:50:14 +01:00
Chocobozzz
cca1e13b96
Add test to search in my videos
2019-12-30 14:31:39 +01:00
Rigel Kent
9d45db2919
Fix my-account{videos,video-playlists} loading mecanism
2019-12-29 02:10:17 +01:00
Chocobozzz
822c7e610d
Fix playlist search
2019-12-27 09:04:04 +01:00
Chocobozzz
dddc8b1fe0
Don't notify on muted instance
2019-12-19 11:34:00 +01:00
Chocobozzz
22a73cb879
Add internal privacy mode
2019-12-12 16:51:59 +01:00
Chocobozzz
566c125d6e
Serve audit logs to client
2019-12-11 14:14:01 +01:00
Chocobozzz
3cf53828db
Add ability to search by UUID
2019-12-09 15:32:53 +01:00
Chocobozzz
6f3fe96f40
Add action hooks to user routes
2019-12-06 15:59:12 +01:00
Chocobozzz
941c5eac17
Add missing hotkeys to the watch page
2019-12-06 10:05:49 +01:00
Chocobozzz
1061c73fde
Add ability to filter per job type
2019-12-04 14:49:59 +01:00
Chocobozzz
c883db6d03
Move deleted comment on new follow tests
2019-12-04 11:48:12 +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
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
2fa9c40e20
Fix tests
2019-11-27 10:29:27 +01:00
Chocobozzz
52201311e1
Add codec information in HLS playlist
2019-11-26 16:25:36 +01:00
Julien Maulny
66a3674004
Fix lint
2019-11-25 16:59:09 +01:00
Chocobozzz
3a149e9f8b
Add audio only transcoding tests
2019-11-25 10:59:49 +01:00
frankdelange
5c7d650827
Add audio-only option to transcoders and player
...
This patch adds an audio-only option to PeerTube by means of a new transcoding configuration which creates mp4 files which only contain an audio stream. This new transcoder has a resolution of '0' and is presented in the preferences and in the player resolution menu as 'Audio-only' (localised). When playing such streams the player shows the file thumbnail as background and disables controls autohide.
Audio-only files can be shared and streamed just like any other file. They can be downloaded as well, the resulting file will be an mp4 container with a single audio stream.
This patch is a proof of concept to show the feasibility of 'true' audio-only support. There are better ways of doing this which also enable multiple audio streams for a given video stream (e.g. DASH) but as this would entail a fundamental change in the way PeerTube works it is a bridge too far for a simple proof of concept.
2019-11-25 10:59:47 +01:00
Chocobozzz
dee6fe1e4f
Add ability to generate HLS in CLI
2019-11-25 10:59:47 +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
4ce7eb71ba
Add plugin hook on registration
2019-10-25 13:54:32 +02:00
Chocobozzz
e39cfd1d91
Fix misc tests
2019-10-22 09:25:35 +02:00
Chocobozzz
4c8ef0ec68
Add tsconfig-paths registration to mocha
2019-10-21 16:24:06 +02:00
Chocobozzz
464687bb96
Fix bug with tsconfig paths
2019-10-21 16:02:15 +02:00
Chocobozzz
39a26b2e41
Fix caption validators test
2019-10-18 16:39:17 +02:00
Chocobozzz
c1e5bd23d5
Try to fix tests
2019-09-24 10:19:55 +02:00