Commit Graph

393 Commits (59390818384baa0ffc0cb71af2e67350c6b39172)

Author SHA1 Message Date
Chocobozzz 2efd32f697
Fix updating video tags to empty field 2018-05-16 09:42:56 +02:00
Rigel Kent 82ddca10b7 making the feed fulltext 2018-05-12 09:52:09 +02:00
Chocobozzz 0f320037e6
Add ability to update a video channel 2018-05-11 15:25:51 +02:00
Chocobozzz fd4484f19e
Cache AP video route for 5 seconds 2018-05-11 15:24:17 +02:00
Chocobozzz 8be1afa12b
Add ability to embed a video in Twitter
The instance should be whitelisted first
2018-05-11 08:48:20 +02:00
Chocobozzz 08c1efbe32
Add video channel management 2018-04-26 16:18:01 +02:00
Chocobozzz ed56ad1193
Add ability to update the user display name/description 2018-04-26 10:03:40 +02:00
Chocobozzz e0ea4b1d55
Implement video channel feeds 2018-04-25 17:30:56 +02:00
Chocobozzz cc918ac3f4
Update video-channel routes (again)
Use /video-channels now, it's more simple for clients
2018-04-25 16:16:21 +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 9309c3df8f
Update changelog 2018-04-23 15:44:00 +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 5350fd8e5b
Move server follow in the job queue
It helps to track follow errors
2018-04-18 15:32:40 +02:00
Chocobozzz 66dc590764
Add ability to click on the account in watch page 2018-04-17 15:11:12 +02:00
Chocobozzz 4195cd2bc5
Add redis cache to feed route 2018-04-17 14:04:34 +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 94ff4c2335
Add auth documentation 2018-04-16 17:27:00 +02:00
Chocobozzz ee28cdf1c4
Upgrade server dependencies 2018-04-06 14:39:19 +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 490b595a01
Prevent brute force login attack 2018-03-29 11:03:30 +02:00
Chocobozzz e33e7fc89e
Fix views system behind a proxy 2018-03-28 14:51:50 +02:00
Chocobozzz be1fc4bc50
Fix custom server configuration numbers 2018-03-27 15:46:36 +02:00
Chocobozzz 4b8f09fa01
Fix content type response for ActivityPub 2018-03-27 14:29:22 +02:00
Rigel Kent 1869c87535 show quota in stats, display quota on the about page, fixes #405 (#421)
move videoQuota under a user object, use byte PipeTransform
2018-03-27 13:42:57 +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 d5b7d9110d
Fix error logging 2018-03-26 16:04:14 +02:00
Chocobozzz 296c090563
Add activity route to video and video comment objects 2018-03-22 17:12:25 +01:00
Chocobozzz a797728009
Fix video_share_url duplicate key in transcoding job 2018-03-19 15:22:18 +01:00
Chocobozzz 2e3a0215d0
Add short description in config 2018-03-15 14:34:47 +01:00
Chocobozzz 066e94c538
Add "local" videos in menu 2018-03-13 10:24:28 +01:00
Chocobozzz 901637bb87
Add ability to change the homepage 2018-03-01 13:57:29 +01:00
Chocobozzz 09cababd79
Add stats route 2018-02-28 18:04:55 +01:00
Chocobozzz 2ad429529c
Add indentation in json configuration file generated by the admin
interface
2018-02-28 09:55:00 +01:00
Chocobozzz acbffe9c0f
Add max video height on mobile 2018-02-28 09:39:08 +01:00
Chocobozzz 509cd56aca
Add warning in production.yaml
To avoid confusion with the local-production.json file
2018-02-27 17:19:22 +01:00
Chocobozzz 2c29ad4f3b
Fix job panel sorting in administration 2018-02-27 16:57:53 +01:00
Chocobozzz 056aa7f2b4
Fix resolution for portrait videos 2018-02-27 15:57:43 +01:00
Chocobozzz 0a8ae68459
Add log when fetching the outbox 2018-02-27 11:06:43 +01:00
Chocobozzz b5c0e95544
Avoids easy cheating on vidoe views 2018-02-23 16:44:37 +01:00
Chocobozzz 285fe7c930
Detect posting request in our own inbox 2018-02-23 15:09:12 +01:00
Chocobozzz 1ee48d1903
Don't follow ourselves 2018-02-23 14:48:30 +01:00
Chocobozzz 1f30a1853e
Add confirm when admin use custom js/css 2018-02-22 15:29:32 +01:00
Chocobozzz 78967fca4c
Register service worker 2018-02-22 14:15:23 +01:00
Chocobozzz 93df58cc48
Fix service worker registration 2018-02-22 11:54:24 +01:00
Chocobozzz 00b5556c18
Add ability to add custom css/javascript 2018-02-22 10:22:53 +01:00
Chocobozzz e8cb44090e
Add links to comment mentions 2018-02-21 16:44:43 +01:00
Chocobozzz 6de3676898
Add ability to update thumbnail and preview on client 2018-02-16 16:35:32 +01:00
Chocobozzz 2422c46b27
Implement support field in video and video channel 2018-02-15 15:29:07 +01:00
Chocobozzz 82815eb670
Fix concurrency issue on video upload 2018-02-14 18:40:39 +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 7193ad1044
Add service worker 2018-02-08 17:31:05 +01:00
Chocobozzz 5980a252a7
Server the manifest too 2018-02-08 10:09:41 +01:00
Chocobozzz 0bc22f8d7e
Correctly set the activity audience in outbox 2018-02-07 10:03:11 +01:00
Chocobozzz 36f9424ff1
Add about page 2018-01-31 17:51:04 +01:00
Chocobozzz 66b16cafb3
Add new name/terms/description config options 2018-01-31 16:42:40 +01:00
Chocobozzz 915c5bbe53
Add version in footer 2018-01-31 10:19:34 +01:00
Chocobozzz f076daa76a
Add tests for emails 2018-01-30 15:16:24 +01:00
Chocobozzz ecb4e35f4e
Add ability to reset our password 2018-01-30 13:27:07 +01:00
Chocobozzz 46531a0abd
Add id to likes/dislikes/comments/shares collections 2018-01-29 10:52:19 +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 d6e99e5322
Add context on activitypub responses 2018-01-26 11:44:08 +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
Dimitri Gilbert 1569a81894 Basic api documentation #7 (#220)
* Basic api documentation

* fix styling issue

* fix styling issue

* gitignore unecessary folders

* openApi 2.0 first draft

* solved conflicts

* solved errors in openapi file

* added missing doc on video + deleted apidoc comments

* fix last warnings and errors inopenapi definition
2018-01-24 10:44:52 +01:00
Chocobozzz c7b1b92b11
Use json for schema.org instead of tags 2018-01-24 09:21:45 +01:00
Chocobozzz 093237cf79
Add schema.org tags to videos 2018-01-23 17:09:06 +01:00
Chocobozzz f8b8c36b2a
Destroy user token when changing its role 2018-01-23 09:49:57 +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 1174a8479a
Set sort refractoring 2018-01-18 15:42:20 +01:00
Chocobozzz fd206f0b2d
Add ability to update some configuration keys 2018-01-17 10:41:27 +01:00
Chocobozzz 7006bc6378
Fix actor followers/following counts 2018-01-15 09:47:19 +01:00
Chocobozzz 7bc2917145
Add tests to handle down server 2018-01-11 11:47:44 +01:00
Chocobozzz 2ccaeeb341
Fetch remote AP objects 2018-01-10 17:19:14 +01:00
Chocobozzz ce5496d6a3
Support video quota on client 2018-01-08 12:53:09 +01:00
Chocobozzz 108af66140
Fix overflow in select inputs 2018-01-08 11:30:58 +01:00
Benjamin Bouvier 57a49263e4 A few updates for the watch video view (#181)
* Fixes #156: Filter out the video being watched from the list of other videos of the same author;

* Fixes #167: in the video view, hide the author's domain when it's from the current host;

* Fixes #171: Allow undoing a like/dislike;
2018-01-07 14:48:10 +01:00
Chocobozzz d7e70384a3
Add mentions to comments 2018-01-05 11:19:25 +01:00
Chocobozzz bb82394c0d
Fix avatar update 2018-01-04 14:53:25 +01:00
Chocobozzz a5625b4167
Refresh remote accounts 2018-01-04 14:04:02 +01:00
Chocobozzz 4cb6d45788
Add ability to delete comments 2018-01-04 11:19:16 +01:00
Chocobozzz 265ba139eb
Send account activitypub update events 2018-01-03 16:38:50 +01:00
Chocobozzz 4e8c872874
Circle avatar 2018-01-03 11:54:42 +01:00
Chocobozzz e8e122002d
Automatically resize avatars 2018-01-03 11:36:03 +01:00
Chocobozzz 01de67b9a4
Add avatar max size limit 2018-01-03 11:10:40 +01:00
Chocobozzz 47564bbe2e
Add ability to disable video comments 2018-01-03 10:38:19 +01:00
Chocobozzz c5911fd347
Begin to add avatar to actors 2017-12-29 19:10:13 +01:00
Chocobozzz da854ddd50
Propagate old comment on new follow 2017-12-28 11:16:08 +01:00
Chocobozzz 4635f59d7c
Add video comment components 2017-12-27 16:11:53 +01:00
Chocobozzz ea44f375f5
Send video comment comments to followers/origin 2017-12-27 10:39:31 +01:00
Chocobozzz d3ea897591
Begin unit tests 2017-12-22 12:12:33 +01:00
Chocobozzz bf1f650817
Add comments controller 2017-12-22 11:29:12 +01:00
Chocobozzz 6d85247028
Create comment on replied mastodon statutes 2017-12-22 09:14:50 +01:00
Chocobozzz 225a89c2af
Sanitize url to not end with implicit ports 2017-12-21 09:56:59 +01:00
Chocobozzz ce33ee01cd
Use RsaSignature2017 2017-12-19 10:53:16 +01:00
Chocobozzz a7d647c440
Add dirty migration :/ 2017-12-19 10:53:16 +01:00