BO41
891bc4f8bf
change video type
2018-11-13 15:28:50 +01:00
Chocobozzz
41f2ebae4f
Add HTTP signature check before linked signature
...
It's faster, and will allow us to use RSA signature 2018 (with upstream
jsonld-signature module) without too much incompatibilities in the
peertube federation
2018-10-19 12:26:37 +02:00
Chocobozzz
e27ff5da6e
AP mimeType -> mediaType
2018-10-18 10:44:15 +02:00
Chocobozzz
af5767ffae
Add user/instance block by users in the client
2018-10-16 16:41:36 +02:00
Chocobozzz
7ad9b9846c
Add ability for users to block an account/instance on server side
2018-10-16 16:41:36 +02:00
Chocobozzz
71e318b4fe
Merge branch 'release/v1.0.0' into develop
2018-10-11 09:52:16 +02:00
Chocobozzz
729bb18481
Add more headers to broadcast/unicast
2018-10-10 08:51:58 +02:00
Chocobozzz
9f1ddd2496
Change a little bit optimize-old-videos logic
2018-10-08 16:50:56 +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
Chocobozzz
ecf3f060ef
Fix avatar update
2018-10-08 10:37:43 +02:00
Chocobozzz
505319061e
Fix avatar update
2018-10-08 10:37:08 +02:00
Chocobozzz
6e46de095d
Add user history and resume videos
2018-10-05 11:22:38 +02:00
Chocobozzz
be691a57c5
Check video exists before extending its expiration
2018-10-03 15:52:39 +02:00
Chocobozzz
b88a459664
Upsert cache file on create activity
2018-10-02 14:40:03 +02:00
Chocobozzz
659edaa62c
Correctly forward comment deletion
2018-10-02 11:33:18 +02:00
Chocobozzz
792e5b8e5b
Try to improve redundancy tests
2018-10-02 09:04:19 +02:00
Chocobozzz
d05be4d944
Don't build redundancy urls with "-1" as fps
2018-10-01 18:40:17 +02:00
Chocobozzz
99cc653f47
Fix redundancy with specific videos
2018-10-01 16:33:53 +02:00
Chocobozzz
a3737cbf2b
Fix video fps validator
2018-10-01 16:27:47 +02:00
Chocobozzz
d382f4e917
Fix refreshing external video attributes
2018-10-01 15:34:31 +02:00
Chocobozzz
601527d795
Check video channel name is unique on our instance
2018-10-01 15:20:14 +02:00
Chocobozzz
cf9166cf2f
Add timeout on youtube dl to cleaup files
2018-10-01 12:00:05 +02:00
Chocobozzz
e95e0463d8
Correctly delete files on failed import
2018-10-01 10:44:16 +02:00
Chocobozzz
26649b4215
Ensure video existence before duplicating it
2018-10-01 10:31:42 +02:00
Chocobozzz
46f8d69b4e
Fix redundancy with videos already duplicated with another instance
2018-10-01 09:41:48 +02:00
Chocobozzz
161b061d4e
Remove duplicated videos on unfollow/delete redundancy
2018-09-28 10:07:05 +02:00
Chocobozzz
8578e3b5e6
Fix federation with a comment reply
2018-09-27 11:05:50 +02:00
Chocobozzz
2e7cf5ae0c
Fix video files duplicated when fps is null
...
Null values are not considered equal in a UNIQUE index
2018-09-26 14:08:35 +02:00
Chocobozzz
4a534352ad
Fix avatar transaction retry
2018-09-26 10:15:50 +02:00
Chocobozzz
cfaf819c38
Reduce video import TTL
2018-09-25 17:49:49 +02:00
Chocobozzz
ebdb612458
Fix redundancy totalVideos stats
2018-09-25 17:49:48 +02:00
Chocobozzz
47d0b3ee61
Fix comment deletion with mastodon
...
Will only act with new comments
2018-09-24 16:24:42 +02:00
Chocobozzz
e5565833f6
Improve redundancy: add 'min_lifetime' configuration
2018-09-24 13:38:39 +02:00
Chocobozzz
1cfa8d6809
Remove unnecessary actor existance check
...
We already checked it in the signature checker
2018-09-21 09:51:24 +02:00
Chocobozzz
f201a74992
Cache user token
2018-09-20 11:45:59 +02:00
Chocobozzz
91411dba92
Limit associations fetch when loading token
2018-09-20 11:45:59 +02:00
Chocobozzz
606c946e74
Move youtubeDL upgrader in helpers/
2018-09-19 16:24:24 +02:00
Chocobozzz
f9f899b9f8
Add redundancy check interval in config
2018-09-19 16:21:30 +02:00
Chocobozzz
d9bdd007d7
Put config redundancy strategies in "strategies" subkey
2018-09-19 16:12:07 +02:00
Chocobozzz
12ba460e9e
Improve AP actor checks
2018-09-19 15:47:55 +02:00
Chocobozzz
e587e0ecee
Optimize activity actor load in AP processors
2018-09-19 15:22:55 +02:00
Chocobozzz
d4defe07d2
Optimize video view AP processing
2018-09-19 11:41:30 +02:00
Chocobozzz
4157cdb137
Refractor videos AP functions
2018-09-19 11:16:23 +02:00
Chocobozzz
96f29c0f6d
Optimize SQL requests of videos AP endpoints
2018-09-19 10:20:38 +02:00
Chocobozzz
627621c1e8
Optimize SQL requests of watch page API endpoints
2018-09-19 09:54:37 +02:00
Chocobozzz
098eb37797
Reduce video.ts file size by moving some methods in other files
2018-09-19 09:54:35 +02:00
Chocobozzz
a2377d15ee
Refractor activities sending
2018-09-14 16:51:35 +02:00
Chocobozzz
7348b1fd84
Speed up overviews route
2018-09-14 11:52:23 +02:00
Chocobozzz
3f6b6a565d
Add recently added redundancy strategy
2018-09-14 11:05:38 +02:00
Chocobozzz
b36f41ca09
Add trending videos strategy
2018-09-14 09:57:21 +02:00