Chocobozzz
1647e4effd
Fix CPU usage on PostgreSQL
2020-02-25 16:30:09 +01:00
Chocobozzz
6872996d29
Be more robust with missing thumbnails/previews
2020-02-06 17:39:19 +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
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
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
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
Rigel Kent
bf64ed4196
Add search bars for a user's videos and playlist library
2019-12-28 01:10:26 +01:00
Chocobozzz
227eb02f9a
Case insensitive tags search
2019-12-27 08:51:26 +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
22a73cb879
Add internal privacy mode
2019-12-12 16:51:59 +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
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
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
Chocobozzz
4b1f1b810a
Lowercase video tags search
2019-08-29 16:47:32 +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
453e83ea5d
Stronger model typings
2019-08-19 17:26:35 +02:00
Chocobozzz
e2600d8b26
Add avatar to prune script
2019-08-09 15:04:36 +02:00
Chocobozzz
557b13ae24
Lazy load avatars
2019-08-09 11:32:40 +02:00
Chocobozzz
29d4e1375f
Fix HLS transcoding
2019-08-01 14:19:18 +02:00
Chocobozzz
bfbd912886
Fix broken playlist api
2019-08-01 09:11:04 +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
30ff39e7f0
Move createTorrent in webtorrent utils
2019-07-24 10:58:16 +02:00
Chocobozzz
3caf77d3b1
Add language filters in user preferences
2019-06-19 15:05:36 +02:00
Chocobozzz
7d14d4d2ca
Server: Bulk update videos support field
2019-05-31 16:44:46 +02:00
Chocobozzz
a18f275d30
Fix thumbnail when listing my videos
2019-05-13 09:45:36 +02:00
Chocobozzz
8519cc9234
Fix overview endpoint
2019-04-24 17:29:19 +02:00
Chocobozzz
2fb5b3a55a
Relax videos list thumbnail api join
2019-04-24 16:26:22 +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
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
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
76564702b7
Fix videos list for api SQL request
2019-03-18 11:17:59 +01:00
Chocobozzz
15e9d5ca39
Playlist reorder support
2019-03-18 11:17:59 +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
418d092afa
Playlist server API
2019-03-18 11:17:59 +01:00
Chocobozzz
9b39106d57
findById -> findByPk
2019-02-21 14:40:10 +01:00
Andrés Maldonado
31d065cc50
Add search by original publication date
2019-02-12 11:14:37 +01:00
Chocobozzz
7519127b5c
Add originallyPublishedAt unit tests
2019-02-11 15:16:39 +01:00
Chocobozzz
b718fd2237
Merge branch 'develop' into pr/1285
2019-02-11 14:09:23 +01:00
Chocobozzz
88108880bb
Merge branch 'develop' into pr/1217
2019-02-11 11:52:34 +01:00
Chocobozzz
0920929696
Add hls support on server
2019-02-11 09:13:02 +01:00
clementbrizard
c80341655f
Change models
2019-01-12 13:41:45 +00:00
Chocobozzz
dc13348070
Add import finished and video published notifs
2019-01-09 11:15:15 +01:00
Chocobozzz
cef534ed53
Add user notification base code
2019-01-09 11:15:15 +01:00
Chocobozzz
439b1744f5
Optimize index sizes
2018-12-20 15:25:49 +01:00
Chocobozzz
80bfd33c0b
Add history page on client
2018-12-18 11:35:51 +01:00
Chocobozzz
8b9a525a18
Add history on server side
...
Add ability to disable, clear and list user videos history
2018-12-18 11:35:50 +01:00
Chocobozzz
4e74e8032b
Remove inferred type
2018-12-05 14:36:05 +01:00
Chocobozzz
b9fffa297f
Create redundancy endpoint
2018-12-04 17:08:55 +01:00
Chocobozzz
04b8c3fba6
Delete invalid or deleted remote videos
2018-11-20 10:44:48 +01:00
Chocobozzz
8d4273463f
Check follow constraints when getting a video
2018-11-16 15:49:16 +01:00
Chocobozzz
65b21c961c
Add ability to mute a user/instance by server in 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
1cd3facc3d
Add ability to list all local videos
...
Including private/unlisted for moderators/admins
2018-10-10 11:46:50 +02:00
Chocobozzz
9f1ddd2496
Change a little bit optimize-old-videos logic
2018-10-08 16:50:56 +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
79bd2632d6
Add user moderation in the account page
2018-10-05 17:02:10 +02:00
Chocobozzz
6e46de095d
Add user history and resume videos
2018-10-05 11:22:38 +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
7348b1fd84
Speed up overviews route
2018-09-14 11:52:23 +02:00
Chocobozzz
2b62cccd75
Raw query to get video ids
2018-09-14 11:09:34 +02:00
Chocobozzz
b36f41ca09
Add trending videos strategy
2018-09-14 09:57:21 +02:00
Chocobozzz
c48e82b5e0
Basic video redundancy implementation
2018-09-13 14:05:49 +02:00
Chocobozzz
8ea6f49ad7
Fix trending videos count
2018-09-04 08:58:33 +02:00
Chocobozzz
9a629c6efb
Trending by interval
2018-08-31 17:22:01 +02:00
Chocobozzz
b6314e3cee
Cleanup video API SQL requests
2018-08-31 11:44:48 +02:00
Chocobozzz
afd2cba554
Try to improve sql videos list query
...
Split the complex query in 2 different queries
2018-08-31 09:53:07 +02:00
Chocobozzz
2d3741d6d9
Videos overview page: first version
2018-08-31 09:19:58 +02:00
Chocobozzz
6b6168606b
Bufferize videos views in redis
2018-08-30 15:03:18 +02:00
Chocobozzz
62689b942b
Correctly migrate to fs-extra
2018-08-27 16:23:34 +02:00
Chocobozzz
687d638c2b
Fetch outbox when searching an actor
2018-08-27 09:41:54 +02:00
Chocobozzz
1297eb5db6
Add refresh video on search
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
191764f30b
Improve blacklist management
2018-08-14 09:27:18 +02:00
Chocobozzz
26b7305a23
Add blacklist reason field
2018-08-14 09:27:18 +02:00
Chocobozzz
b2977eecb8
Fix fps federation
2018-08-06 11:19:16 +02:00
Chocobozzz
516df59b3b
Remove ability to delete video imports
...
Users should remove the linked video instead
2018-08-06 11:19:16 +02:00
Chocobozzz
ed31c05985
Add ability to list video imports
2018-08-06 11:19:16 +02:00
Chocobozzz
fbad87b047
Add ability to import video with youtube-dl
2018-08-06 11:19:16 +02:00
Chocobozzz
8e0fd45e14
Add more info logging
2018-07-30 17:02:40 +02:00
Chocobozzz
8d194d9a5c
Optimize videos list SQL query (another time)
2018-07-27 16:57:16 +02:00
Chocobozzz
dbfd3e9bfe
Optimize search SQL query (I hope :p)
2018-07-27 15:23:05 +02:00
Chocobozzz
18dbb5b972
Revert SQL optimization in videos list :(
2018-07-27 12:03:27 +02:00
Chocobozzz
d411245096
Add ability to only filter in the search endpoint
2018-07-24 14:04:05 +02:00
Chocobozzz
8cd72bd377
Optimize SQL queries
2018-07-24 14:04:05 +02:00
Chocobozzz
0b18f4aa80
Add advanced search in client
2018-07-24 14:04:05 +02:00
Chocobozzz
d525fc399a
Add videos list filters
2018-07-24 14:04:05 +02:00
Chocobozzz
57c36b277e
Begin advanced search
2018-07-24 14:04:05 +02:00
Chocobozzz
40e87e9ecc
Implement captions/subtitles
2018-07-16 11:50:08 +02:00
Chocobozzz
3a6f351b25
Handle higher FPS for high resolution (test)
2018-06-29 17:10:54 +02:00
Chocobozzz
52d9f792b3
Client: Add ability to update video channel avatar
2018-06-29 14:34:04 +02:00
PhieF
61b909b9bf
Filter by category ( #720 )
...
* get videos with specific category (api)
* update api doc with category
* add url parameter to filter by category
* fix lint issues
2018-06-27 14:24:49 +02:00
Chocobozzz
bbe0f0645c
Add ability to schedule video publication
2018-06-15 18:20:56 +02:00
Chocobozzz
2baea0c77c
Add ability for uploaders to schedule video update
2018-06-14 18:06:56 +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
6ccdf3a23e
Fix import with when the imported file has the same extension than an
...
already existing file
2018-06-11 19:16:00 +02:00
Chocobozzz
28be89161a
Improve create import file job
...
Fix federation of .ogv videos
2018-06-07 09:43:18 +02:00
Florent Fayolle
0138af9237
Add create-import-video-file-job command
2018-06-07 08:57:48 +02:00
Chocobozzz
02756fbd11
Improve torrent/video download
2018-05-29 18:30:11 +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
06be7ed0b2
Reload my videos after delete
2018-05-25 08:38:59 +02:00
Chocobozzz
e1a540b5fa
Fix insane SQL request when loading all video attributes
2018-05-23 09:07:32 +02:00
Chocobozzz
0f320037e6
Add ability to update a video channel
2018-05-11 15:25:51 +02:00
Chocobozzz
03e12d7c49
Add account link in videos list
2018-04-25 14:32:19 +02:00
Chocobozzz
6b738c7a31
Video channel API routes refractor
2018-04-25 13:50:48 +02:00
Chocobozzz
48dce1c90d
Update video channel routes
2018-04-24 17:12:57 +02:00
Chocobozzz
0626e7af82
Add account view
2018-04-24 15:13:19 +02:00
Chocobozzz
9d3ef9fe05
Use ISO 639 for languages
2018-04-23 14:39:52 +02:00
Chocobozzz
6cced8f915
Add resolution in torrent file name
2018-04-19 15:37:44 +02:00
Chocobozzz
81e504b34e
Better file name for torrent
2018-04-19 15:13:41 +02:00
Chocobozzz
2243730c8e
Add information concerning video privacy in my videos list
2018-04-19 14:52:10 +02:00
Chocobozzz
0883b3245b
Add ability to choose what policy we have for NSFW videos
...
There is a global instance setting and a per user setting
2018-04-19 11:01:34 +02:00
Chocobozzz
66dc590764
Add ability to click on the account in watch page
2018-04-17 15:11:12 +02:00
Chocobozzz
7b87d2d514
Handle sort in rss
2018-04-17 10:56:27 +02:00
Rigel Kent
244e76a552
feature: initial syndication feeds support
...
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings and video-watch views.
* still lacks redis caching
* still lacks lastBuildDate support
* still lacks channel-wide support
* still lacks semantic annotation (for licenses, NSFW warnings, etc.)
* still lacks love ( ˘ ³˘)
* RSS: has MRSS support for torrent lists!
* RSS: includes the first torrent in an enclosure
* JSON: lists all torrents in the 'attachments' object
* ATOM: lacking torrent listing support
Advances #23
Partial implementation for the accountId generation in the client, which will need a hotfix to add a way to get the proper account id.
2018-04-17 01:09:06 +02:00
Chocobozzz
ee28cdf1c4
Upgrade server dependencies
2018-04-06 14:39:19 +02:00
Chocobozzz
a8462c8e3a
Automatic resolution according to user bandwidth V1
2018-04-05 16:15:51 +02:00
Julien Le Bras
2922e048de
Add publishedAt field for video model.
...
* New field added in the `video` table + migration script
* `publishedAt` updated to NOW when privacy changes from private to
public/unlisted (default = NOW)
* Models updated to handle the new attribute
* Client interface updated to use `publishedAt` instead of `createdAt`
except in My Account > My Videos view
2018-03-30 08:52:58 +02:00
Chocobozzz
c73e83da28
Truncate correctly video descriptions
2018-03-28 11:00:02 +02:00
Chocobozzz
3e0c9ff5d5
Add ability to search on domain and username too
2018-03-27 15:09:53 +02:00
Chocobozzz
e53f952eba
Improve SQL request for video AP request
2018-03-27 14:29:22 +02:00
Chocobozzz
fc27b17c6b
Put Person first in AP attributedTo
2018-03-27 13:40:30 +02:00
Chocobozzz
d5b7d9110d
Fix error logging
2018-03-26 16:04:14 +02:00
Chocobozzz
bffbebbe6b
Fix issues with truncated description and utf characters
2018-03-21 15:00:58 +01:00
Chocobozzz
552586eda6
Fix resolution order
2018-03-19 15:37:31 +01:00
Chocobozzz
5d00a3d7aa
Update the api documentation
2018-03-19 14:20:04 +01:00
Chocobozzz
ae5a3dd664
Update videos response api
2018-03-19 10:32:51 +01:00
Chocobozzz
066e94c538
Add "local" videos in menu
2018-03-13 10:24:28 +01:00
Chocobozzz
b64c950a1c
Update videos api list for account
2018-03-12 11:44:28 +01:00
Chocobozzz
b0ef17828c
Do not destroy the video if transcoding fails
2018-03-08 14:09:09 +01:00
Chocobozzz
09cababd79
Add stats route
2018-02-28 18:04:55 +01:00
Chocobozzz
056aa7f2b4
Fix resolution for portrait videos
2018-02-27 15:57:43 +01:00
Chocobozzz
266707202c
Keep ratio for thumbnails
2018-02-27 11:29:24 +01:00
Chocobozzz
6ff9c676e9
Fix lint
2018-02-19 11:31:50 +01:00
Chocobozzz
3bb6c52645
Fix sort inconsistency
2018-02-19 10:48:44 +01:00
Chocobozzz
b6a4fd6b09
Fix avatars on video watch page
2018-02-16 11:19:54 +01:00
Chocobozzz
2422c46b27
Implement support field in video and video channel
2018-02-15 15:29:07 +01:00
Chocobozzz
3c75ce12d5
Only list unlisted/public videos in outbox
2018-02-04 23:04:32 +01:00
Chocobozzz
1d230c4419
Fix announces when fetching the actor outbox
2018-02-04 22:40:37 +01:00
Chocobozzz
46531a0abd
Add id to likes/dislikes/comments/shares collections
2018-01-29 10:52:19 +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
093237cf79
Add schema.org tags to videos
2018-01-23 17:09:06 +01:00
Chocobozzz
0edf0581a9
Add http tracker in torrent too
2018-01-19 08:49:04 +01:00
Chocobozzz
2d9ab59061
Fix videos list sql request
...
Sequelize my love <3
2018-01-18 19:37:35 +01:00
Chocobozzz
3e5002477a
Video get SQL optimization
2018-01-18 17:44:04 +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
9fb3abfdac
Fix communication with mastodon
2018-01-12 15:35:30 +01:00
Chocobozzz
6120941f59
Little SQL optimization
2018-01-11 14:30:27 +01:00
Chocobozzz
2ccaeeb341
Fetch remote AP objects
2018-01-10 17:19:14 +01:00
Chocobozzz
378557ef25
Fix comment creation
2018-01-08 13:15:01 +01:00
Chocobozzz
4cb6d45788
Add ability to delete comments
2018-01-04 11:19:16 +01:00
Chocobozzz
47564bbe2e
Add ability to disable video comments
2018-01-03 10:38:19 +01:00
Chocobozzz
da854ddd50
Propagate old comment on new follow
2017-12-28 11:16:08 +01:00
Chocobozzz
6d85247028
Create comment on replied mastodon statutes
2017-12-22 09:14:50 +01:00
Chocobozzz
8fa5653ad8
Add transition on play/loading player
2017-12-20 11:05:10 +01:00
Chocobozzz
50d6de9c28
Begin moving video channel to actor
2017-12-19 10:53:16 +01:00
Chocobozzz
d48ff09d27
Use sequelize scopes
2017-12-14 10:07:57 +01:00
Chocobozzz
3fd3ab2d34
Move models to typescript-sequelize
2017-12-13 16:50:33 +01:00
Chocobozzz
f595d39477
Finish admin design
2017-12-08 17:31:21 +01:00
Chocobozzz
8e7f08b5a5
Make some fields optional when uploading a video
2017-12-07 17:05:23 +01:00
Chocobozzz
b1fa3eba70
Begin video watch design
2017-12-06 17:15:59 +01:00
Chocobozzz
f3aaa9a95c
Fix client search
2017-12-05 18:25:29 +01:00
Chocobozzz
165cdc75bf
Fix well known and json parser with mastodon
2017-11-29 11:34:44 +01:00
Chocobozzz
a2431b7dcb
Refractor validators
2017-11-27 19:43:01 +01:00
Chocobozzz
4e50b6a1c9
Add shares forward and collection on videos/video channels
2017-11-27 19:40:53 +01:00
Chocobozzz
df1966c9b4
Fix lint
2017-11-27 19:40:53 +01:00
Chocobozzz
63c93323ec
Correctly forward like/dislikes and undo
2017-11-27 19:40:53 +01:00
Chocobozzz
39445ead45
Cleanup models
2017-11-27 19:40:53 +01:00
Chocobozzz
16b9097594
Fetch video likes/dislikes too
2017-11-27 19:40:53 +01:00