Chocobozzz
55d5fbc583
Fix lint
2020-11-20 11:35:33 +01:00
Chocobozzz
de94ac86a2
Fix incorrect IDs in AP federation
2020-11-20 11:21:08 +01:00
Chocobozzz
10c8b0b743
Fix comments federation
2020-11-10 15:26:33 +01:00
Chocobozzz
403c69c5a3
Check threads resolve on non federated videos
2020-11-10 14:34:04 +01:00
Chocobozzz
c655c9ef6f
Update ffmpeg static version for tests
2020-11-09 15:33:04 +01:00
Chocobozzz
e4bf785617
Handle views for live videos
2020-11-09 15:33:04 +01:00
Chocobozzz
053aed43fb
Regenerate miniature on live save
2020-11-09 15:33:04 +01:00
Chocobozzz
68e70a745b
Add save replay live tests
2020-11-09 15:33:04 +01:00
Chocobozzz
af4ae64f6f
Begin live tests
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
1ef65f4c03
Refactor video creation
2020-11-09 15:33:04 +01:00
Chocobozzz
371906639e
Add ability to a video multiple times in a playlist
2020-08-19 11:30:21 +02:00
Chocobozzz
30bc55c88b
Refactor video extensions logic in server
2020-08-11 07:57:20 +02:00
Chocobozzz
bd45d503e5
Reorganize shared models
2020-08-07 08:28:14 +02:00
Chocobozzz
d95d155988
Use 3 tables to represent abuses
2020-07-10 14:02:41 +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
e74bda21d1
Speed up videos indexation
...
And fetch video attributes after
2020-06-12 16:27:41 +02:00
Chocobozzz
5fb2e2888c
First implem global search
2020-06-10 14:02:41 +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
444c0a0e01
Add ability to bulk delete comments
2020-05-29 09:21:26 +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
80fdaf0645
Add moderation helpers to plugins
2020-05-07 15:07:01 +02:00
Chocobozzz
e307e4fce3
Add ability for auth plugins to hook tokens validity
2020-05-04 16:21:39 +02:00
Chocobozzz
8dc8a34ee8
Avoir some circular dependencies
2020-05-04 16:21:39 +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
6cb5564490
Fix add comment in threads with deleted comments
2020-03-20 14:43:12 +01:00
Chocobozzz
ac940348cd
Fix lint
2020-03-10 16:37:25 +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
366caf8b71
Fix build with typescript 3.8
2020-02-28 16:51:25 +01:00
Chocobozzz
bdd428a6d9
Update dependencies
2020-02-28 16:21:34 +01:00
Chocobozzz
134cf2bce9
Merge branch 'release/2.1.0' into develop
2020-02-17 15:44:53 +01:00
Chocobozzz
2db48acc46
Correctly fix auto follows
2020-02-17 15:44:06 +01:00
Chocobozzz
2ad9dcda24
Merge branch 'release/2.1.0' into develop
2020-02-17 15:34:42 +01:00
Chocobozzz
1c5fbed209
Fix avatar update
2020-02-17 15:33:42 +01:00
Chocobozzz
7d233f1dd9
Manual approves followers only for the instance
...
And not for accounts or channels of the instance
2020-02-17 14:27:29 +01:00
Chocobozzz
5224f71303
Correctly check remote extension
2020-02-12 10:26:35 +01:00
Chocobozzz
c6de3a85ee
Fix remote avatar without AP mediatype field
2020-02-12 10:23:24 +01:00
Chocobozzz
58b6fdcafc
Small cleanup
2020-02-06 17:41:25 +01:00
Chocobozzz
6872996d29
Be more robust with missing thumbnails/previews
2020-02-06 17:39:19 +01:00
Chocobozzz
084a2cd0f6
Optimize context for CacheFile
2020-02-04 16:34:46 +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
f51c02c77f
Fix lint
2020-02-04 09:12:42 +01:00
Chocobozzz
598edb8af1
Reduce AP context size on specific activities
2020-02-03 11:31:23 +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
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
e612209767
Try to fix subscriptions inconsistencies
2020-01-08 15:44:41 +01:00
Chocobozzz
22a73cb879
Add internal privacy mode
2019-12-12 16:51: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
2fa9c40e20
Fix tests
2019-11-27 10:29:27 +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
a82ddfad00
Fix lint
2019-10-23 13:15:18 +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
2ba613a543
Fix tests
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
0b5c385b45
Handle reports from mastodon
2019-08-30 09:40:32 +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
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
0763044f7d
Fix comment notifications
2019-08-07 12:07:59 +02:00
Chocobozzz
6b9c966f64
Automatically remove bad followings
2019-08-06 17:26:51 +02:00
Chocobozzz
1198edf4bb
Fix user notifications on new follow
2019-08-02 10:53:36 +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
Chocobozzz
970ceac0a6
Fix multiple server tests
2019-08-01 10:15:28 +02:00
Chocobozzz
2284f20207
Add gitlab ci support
2019-07-29 13:40:39 +02:00
Chocobozzz
5b77537ce5
Correctly notify on auto blacklist
2019-07-24 10:58:16 +02:00
Chocobozzz
6691c52280
Add filter hooks tests
2019-07-24 10:58:16 +02:00
Chocobozzz
b4055e1c23
Add server hooks
2019-07-24 10:58:16 +02:00
Chocobozzz
d89954ff0b
Log typo
2019-07-03 16:07:30 +02:00
Chocobozzz
7d14d4d2ca
Server: Bulk update videos support field
2019-05-31 16:44:46 +02:00
Chocobozzz
9977c12838
Remove old activities processor
2019-05-31 15:36:50 +02:00
Chocobozzz
ee79b60e4e
More robust federation
...
In particular when fetching pleroma outbox
2019-05-31 15:17:04 +02:00
Chocobozzz
57cfff7885
Remove unused actor uuid field
2019-05-31 14:49:31 +02:00
Chocobozzz
c28bcdd10a
Fix pleroma follow
2019-04-25 15:20:30 +02:00
Chocobozzz
c0e71e849a
Fix user notifications tests
2019-04-25 14:23:15 +02:00
Chocobozzz
9cc8d43e37
Add migrations
2019-04-24 16:26:22 +02:00
Chocobozzz
dc85273764
Refactor video caption/preview caches
2019-04-24 16:26:21 +02:00
Chocobozzz
3acc508440
Upgrade sequelize
2019-04-24 16:26:21 +02:00
Chocobozzz
1735c82572
Update sequelize
2019-04-24 16:26:20 +02:00
Chocobozzz
e8bafea35b
Create a dedicated table to track video thumbnails
2019-04-24 16:25:52 +02:00
Chocobozzz
4ee7a4c9ac
Remove tmp file on image processing error
2019-04-24 16:25:51 +02:00
Chocobozzz
74dc3bca2b
Don't expose constants directly in initializers/
2019-04-11 14:26:41 +02:00
Chocobozzz
6dd9de95df
Move config in its own file
2019-04-11 13:45:39 +02:00
Chocobozzz
883993c81e
Add notification on new instance follower (server side)
2019-04-08 17:30:48 +02:00
Chocobozzz
14893eb71c
Add ability to manually approves instance followers in REST API
2019-04-08 15:18:04 +02:00
Chocobozzz
5b9c965d5a
Add ability to forbid followers
2019-04-08 14:06:23 +02:00
Chocobozzz
594d0c6a7c
Fix HLS federation
2019-04-08 12:08:16 +02:00
Chocobozzz
0e9c48c2ed
Add ability to remove an instance follower in API
2019-04-08 11:52:43 +02:00
Chocobozzz
ae9bbed46d
Update P2P media loader peer version
2019-04-08 11:16:14 +02:00
Josh Morel
7ccddd7b52
add quarantine videos feature ( #1637 )
...
* add quarantine videos feature
* increase Notification settings test timeout
to 20000ms. was completing 7000 locally but timing out
after 10000 on travis
* fix quarantine video test issues
-propagate misspelling
-remove skip from server/tests/client.ts
* WIP use blacklist for moderator video approval
instead of video.quarantine boolean
* finish auto-blacklist feature
2019-04-02 11:26:47 +02:00
Chocobozzz
2ba9287131
Cleanup invalid rates/comments/shares
2019-03-19 16:23:02 +01:00
Chocobozzz
9f79ade627
Refresh playlists
2019-03-19 14:13:53 +01:00
Chocobozzz
f58094b257
Only create refresh job if needed
2019-03-19 11:14:48 +01:00
Chocobozzz
9c6ca37fc1
Rename streaming playlists routes/directories
2019-03-18 11:17:59 +01:00
Chocobozzz
df0b219d36
Add playlist rest tests
2019-03-18 11:17:59 +01:00
Chocobozzz
07b1a18aa6
Add playlist check param tests
2019-03-18 11:17:59 +01:00
Chocobozzz
418d092afa
Playlist server API
2019-03-18 11:17:59 +01:00
Chocobozzz
7519127b5c
Add originallyPublishedAt unit tests
2019-02-11 15:16:39 +01:00
Chocobozzz
88108880bb
Merge branch 'develop' into pr/1217
2019-02-11 11:52:34 +01:00
Chocobozzz
28f3d1b36a
Merge branch 'feature/correctly-send-activities' into develop
2019-02-11 11:00:09 +01:00
Chocobozzz
4c280004ce
Use a single file instead of segments for HLS
2019-02-11 09:13:02 +01:00
Chocobozzz
0920929696
Add hls support on server
2019-02-11 09:13:02 +01:00
Chocobozzz
1e7eb25f6c
Correctly send Flag/Dislike/View activities
2019-01-15 14:59:40 +01:00
Chocobozzz
848f499def
Prepare Dislike/Flag/View fixes
...
For now we Create these activities, but we should just send them
directly.
This fix handles correctly direct Dislikes/Flags/Views, we'll implement
the sending correctly these activities in the next peertube version
2019-01-15 14:45:09 +01:00
Chocobozzz
699b059e2d
Fix deleting not found remote actors
2019-01-14 12:11:06 +01:00
Chocobozzz
744d0eca19
Refresh remote actors on GET enpoints
2019-01-14 11:30:15 +01:00
Chocobozzz
b4593cd7ff
Warn user when they want to delete a channel
...
Because they will not be able to create another channel with the same
actor name
2019-01-14 10:24:49 +01:00
Chocobozzz
5abb9fbbd1
Add ability to unfederate a local video (on blacklist)
2019-01-10 15:39:51 +01:00
Chocobozzz
f7cc67b455
Add new follow, mention and user registered notifs
2019-01-09 11:15:15 +01:00
Chocobozzz
e8d246d526
Add notification settings migration
2019-01-09 11:15:15 +01:00
Chocobozzz
cef534ed53
Add user notification base code
2019-01-09 11:15:15 +01:00
Chocobozzz
14e2014acc
Support additional video extensions
2018-12-11 15:11:09 +01:00
Chocobozzz
2a8c5d0af1
Merge branch 'move-utils-to-shared' of https://github.com/buoyantair/PeerTube into buoyantair-move-utils-to-shared
2018-12-07 16:25:29 +01:00
Chocobozzz
6040f87d14
Add tmp and redundancy directories
2018-12-04 16:04:15 +01:00
Chocobozzz
745778256c
Fix thumbnail processing
2018-12-04 16:04:14 +01:00
Chocobozzz
dbe6aa698e
Fix trending page
2018-12-03 09:14:56 +01:00
Chocobozzz
a8f378e02c
Don't import test tools in core
2018-11-22 15:30:41 +01:00
Chocobozzz
04b8c3fba6
Delete invalid or deleted remote videos
2018-11-20 10:44:48 +01:00
buoyantair
bc22d60899
Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils-to-shared
2018-11-20 12:28:13 +05:30
Chocobozzz
361805c48b
Fix checkbox margins
2018-11-19 14:34:36 +01:00
Chocobozzz
a8a6322778
Optimize image resizing
2018-11-19 14:34:36 +01:00
buoyantair
b9f234371b
Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils-to-shared
2018-11-18 21:55:52 +05:30
Chocobozzz
58d515e32f
Fix images size when downloading them
2018-11-16 16:48:17 +01:00
buoyantair
92e07c3b5d
Fix dependency errors between modules
2018-11-16 02:51:26 +05:30
Chocobozzz
030177d246
Don't forward view, send updates instead
...
To avoid inconsistencies in the federation, now the origin server will
tell other instances what is the correct number of views
2018-11-15 16:38:37 +01:00
Chocobozzz
5c6d985fae
Check activities host
2018-11-14 16:32:27 +01:00
Chocobozzz
e27ff5da6e
AP mimeType -> mediaType
2018-10-18 10:44:15 +02:00
Felix Ableitner
edb4ffc7e0
Set bitrate limits for transcoding ( fixes #638 ) ( #1135 )
...
* Set bitrate limits for transcoding (fixes #638 )
* added optimization script and test, changed stuff
* fix test, improve docs
* re-add optimize-old-videos script
* added documentation
* Don't optimize videos without valid UUID, or redundancy videos
* move getUUIDFromFilename
* fix tests?
* update torrent and file size, some more fixes/improvements
* use higher bitrate for high fps video, adjust bitrates
* add test video
* don't throw error if resolution is undefined
* generate test fixture on the fly
* use random noise video for bitrate test, add promise
* shorten test video to avoid timeout
* use existing function to optimize video
* various fixes
* increase test timeout
* limit test fixture size, add link
* test fixes
* add await
* more test fixes, add -b:v parameter
* replace ffmpeg wiki link
* fix ffmpeg params
* fix unit test
* add test fixture to .gitgnore
* add video transcoding fps model
* add missing file
2018-10-08 16:26:04 +02:00
Lucas Declercq
7f2cfe3a79
Rename downloadingEnabled property to downloadEnabled
2018-10-08 14:45:22 +02:00
Lucas Declercq
156c50af30
Add downloadingEnabled property to video model
2018-10-06 19:17:39 +02:00
Chocobozzz
b88a459664
Upsert cache file on create activity
2018-10-02 14:40:03 +02:00