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
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
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
26649b4215
Ensure video existence before duplicating it
2018-10-01 10:31:42 +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
cfaf819c38
Reduce video import TTL
2018-09-25 17:49:49 +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
91411dba92
Limit associations fetch when loading token
2018-09-20 11:45:59 +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
a2377d15ee
Refractor activities sending
2018-09-14 16:51:35 +02:00
Chocobozzz
c48e82b5e0
Basic video redundancy implementation
2018-09-13 14:05:49 +02:00
Chocobozzz
5cf84858d4
Add federation to ownership change
2018-09-04 10:49:53 +02:00
Chocobozzz
6b6168606b
Bufferize videos views in redis
2018-08-30 15:03:18 +02:00
Chocobozzz
687d638c2b
Fetch outbox when searching an actor
2018-08-27 09:41:54 +02:00
Chocobozzz
f5b0af50c8
Search video channel handle/uri
2018-08-27 09:41:54 +02:00
Chocobozzz
f37dc0dd14
Add ability to search video channels
2018-08-27 09:41:54 +02:00
Chocobozzz
83e6519ba4
Refractor comment creation from federation
2018-08-27 09:41:54 +02:00
Chocobozzz
1297eb5db6
Add refresh video on search
2018-08-27 09:41:54 +02:00
Chocobozzz
f6eebcb336
Add ability to search a video with an URL
2018-08-27 09:41:54 +02:00
Chocobozzz
8a19bee1a1
Add ability to set a name to a channel
2018-08-27 09:41:54 +02:00
Chocobozzz
965c4b22d0
Use height instead of width to represent the video resolution
2018-08-27 09:41:54 +02:00
Chocobozzz
06a05d5f47
Add subscriptions endpoints to REST API
2018-08-27 09:41:54 +02:00
Chocobozzz
06215f15e0
Cleanup utils helper
2018-08-14 15:28:30 +02:00
Chocobozzz
268eebed92
Add state and moderationComment for abuses on server side
2018-08-10 16:54:01 +02:00
Chocobozzz
b2977eecb8
Fix fps federation
2018-08-06 11:19:16 +02:00
Chocobozzz
6104adc3e9
Don't send follow request if the follow is already accepted
2018-07-31 11:15:59 +02:00
Chocobozzz
25e4d6ee97
Refresh orphan actors
2018-07-31 11:04:33 +02:00
Chocobozzz
8e0fd45e14
Add more info logging
2018-07-30 17:02:40 +02:00
Chocobozzz
3ac046e2a4
Fix peertube on chrome
2018-07-26 16:46:36 +02:00
Chocobozzz
2cebd79701
Fix last commit
2018-07-26 11:02:04 +02:00
Rigel Kent
c1e791bad0
expliciting type checks and predicates (server only)
2018-07-25 22:01:25 +02:00
Chocobozzz
40e87e9ecc
Implement captions/subtitles
2018-07-16 11:50:08 +02:00
Chocobozzz
bcec136ee6
Fix lint
2018-06-13 14:55:18 +02:00
Chocobozzz
90d4bb8125
Refractor retry transaction function
2018-06-13 14:27:40 +02:00
Chocobozzz
3cd0734fd9
Improve tests when waiting pending jobs
2018-06-13 10:22:53 +02:00
Chocobozzz
2186386cca
Add concept of video state, and add ability to wait transcoding before
...
publishing a video
2018-06-12 20:37:51 +02:00
Chocobozzz
9588d4f49b
Correctly forward video related activities
2018-05-31 10:23:56 +02:00
Chocobozzz
53a613171e
Fix publishedAt value after following a new instance
2018-05-28 18:50:44 +02:00
Chocobozzz
e3d5ea4f82
Fix actor outbox
2018-05-28 12:13:00 +02:00
Chocobozzz
8fffe21a7b
Refractor and optimize AP collections
...
Only display urls in general object, and paginate video comments, shares, likes and
dislikes
2018-05-25 16:21:16 +02:00
Chocobozzz
e251f170b0
Split files in activitypub server
2018-05-25 11:33:04 +02:00
Chocobozzz
16f29007dc
Fix cc field in classic audience
2018-05-25 11:17:41 +02:00
Chocobozzz
938d3fa0ff
Move normalize functions in helpers
2018-05-11 15:55:39 +02:00
Chocobozzz
5cf1350011
Improve AP validation for Notes
2018-05-11 15:41:54 +02:00
Chocobozzz
0f320037e6
Add ability to update a video channel
2018-05-11 15:25:51 +02:00
Chocobozzz
1d6e5dfc37
Improve video torrent AP object validator
2018-05-11 08:48:20 +02:00
Chocobozzz
9d3ef9fe05
Use ISO 639 for languages
2018-04-23 14:39:52 +02:00
Chocobozzz
c73e83da28
Truncate correctly video descriptions
2018-03-28 11:00:02 +02:00
Chocobozzz
07197db4c5
Try to refractor activities sending
...
There is still a need for work on this part though
2018-03-27 13:33:56 +02:00
Chocobozzz
73c0809326
Fix delete comment federation
2018-03-27 11:11:15 +02:00
Chocobozzz
d5b7d9110d
Fix error logging
2018-03-26 16:04:14 +02:00
Chocobozzz
9c673970f6
Add public to activitypub announces
2018-03-23 13:27:21 +01:00
Chocobozzz
8e8234abba
Improve logging when cannot fetch remote videos
2018-03-23 09:10:49 +01:00
Chocobozzz
6be84cbcea
Improve activity pub actors implementation
2018-03-22 18:40:56 +01:00
Chocobozzz
a38b297d90
Add /activity to activity create ids
2018-03-22 16:11:18 +01:00
Chocobozzz
bffbebbe6b
Fix issues with truncated description and utf characters
2018-03-21 15:00:58 +01:00
Chocobozzz
a797728009
Fix video_share_url duplicate key in transcoding job
2018-03-19 15:22:18 +01:00
Chocobozzz
5d00a3d7aa
Update the api documentation
2018-03-19 14:20:04 +01:00
Chocobozzz
f47776e265
Sanitize invalid actor description
2018-03-19 10:32:51 +01:00
Chocobozzz
e3bb78a213
Fix lint
2018-02-23 16:08:32 +01:00
Chocobozzz
285fe7c930
Detect posting request in our own inbox
2018-02-23 15:09:12 +01:00
Chocobozzz
276d03ed1a
Unlisted videos are not displayed on Mastodon now
2018-02-21 10:07:02 +01:00
Chocobozzz
2422c46b27
Implement support field in video and video channel
2018-02-15 15:29:07 +01:00
Chocobozzz
e3a682a877
Handle thumbnail update
2018-02-14 16:03:09 +01:00
Chocobozzz
ac81d1a06d
Add ability to set video thumbnail/preview
2018-02-14 16:03:09 +01:00
Chocobozzz
46531a0abd
Add id to likes/dislikes/comments/shares collections
2018-01-29 10:52:19 +01:00
Chocobozzz
8dfd8fd7ca
Fix video announces processing
2018-01-26 17:48:41 +01:00
Chocobozzz
0a67e28bee
Use sensitive instead of nsfw in activitypub
2018-01-26 17:25:35 +01:00
Chocobozzz
4ba3b8ea1b
Don't rehost announced video activities
2018-01-26 15:49:57 +01:00
Chocobozzz
7acee6f18a
Fix announce activities
2018-01-26 13:43:34 +01:00
Chocobozzz
94a5ff8a4a
Move job queue to redis
...
We'll use it as cache in the future.
/!\ You'll loose your old jobs (pending jobs too) so upgrade only when
you don't have pending job anymore.
2018-01-25 18:41:17 +01:00
Chocobozzz
d765fafc3f
Accept actors with url objects instead of string
2018-01-25 18:41:17 +01:00
Chocobozzz
a28f353a64
Fix lint
2018-01-24 10:33:50 +01:00
Chocobozzz
1f7ab4f310
Upgrade server dependencies
2018-01-24 10:25:56 +01:00
Chocobozzz
2c897999fe
Optimize SQL query that fetch actor outbox
2018-01-18 16:43:26 +01:00
Chocobozzz
54e740594b
Avoid too many requests and fetching outbox
2018-01-18 15:42:20 +01:00
Chocobozzz
f05a1c30c1
Don't show videos of remote instance after unfollow
2018-01-18 15:42:20 +01:00
Chocobozzz
7006bc6378
Fix actor followers/following counts
2018-01-15 09:47:19 +01:00
Chocobozzz
9fb3abfdac
Fix communication with mastodon
2018-01-12 15:35:30 +01:00
Chocobozzz
32b2b43c06
Update follower/following counts
2018-01-12 11:47:45 +01:00
Chocobozzz
6502c3d43e
Avoid making retried requests to dead followers
2018-01-12 10:02:11 +01:00
Chocobozzz
9a8cbd8278
Activity Pub improvements
2018-01-11 19:17:43 +01:00