Commit Graph

659 Commits (9f4183c9b57acd382668d49e86b0001bcd55550f)

Author SHA1 Message Date
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 0776d83f2c
Add unique index on video comment url 2018-01-26 14:14:43 +01:00
Chocobozzz ce97fe366e
Don't leak passwords in log 2018-01-26 13:55:27 +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 66ee325f57
Only accept public comments 2018-01-26 11:20:46 +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
luzpaz 2bb0f9d501 Misc. typos (#245)
Found via `codespell -q 3`
2018-01-25 08:12:42 +01:00
Chocobozzz 5e1c08eb94
Add api doc in html 2018-01-24 11:54:32 +01:00
Chocobozzz 9ee83eb99e
Fix tests 2018-01-24 11:03:13 +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 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 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 59c48d49c5
Peertube home in /var/www instead of /home 2018-01-23 09:00:23 +01:00
Chocobozzz 2af4fa4d8b
Fix tests 2018-01-19 14:47:03 +01:00
Chocobozzz 23e27dd535
Add ability to configure log level 2018-01-19 13:58:13 +01:00
Chocobozzz adcaf1a867
Fix embed button outline 2018-01-19 09:15:42 +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 e212f88714
Increase tests timeout 2018-01-18 18:10:45 +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 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 c27c3a27a3
Update README badge paths 2018-01-16 09:18:19 +01:00
Chocobozzz 0b4204f983
Fix config storage paths 2018-01-16 08:46:44 +01:00
Chocobozzz 3b6eaa921f
Remove storage.certs from checker 2018-01-15 18:19:22 +01:00
Chocobozzz 6b2ef589ed
Prepare production workflow 2018-01-15 11:28:41 +01:00
Chocobozzz 633868bc2c
Fix lint 2018-01-15 10:03:13 +01:00
Chocobozzz 7006bc6378
Fix actor followers/following counts 2018-01-15 09:47:19 +01:00
Chocobozzz 0af3182bf7
Add commentsEnabled field to AS context 2018-01-12 15:58:43 +01:00
Chocobozzz 9fb3abfdac
Fix communication with mastodon 2018-01-12 15:35:30 +01:00
Chocobozzz 38768a367b
Fix lint 2018-01-12 12:18:11 +01:00
Chocobozzz a3fd560d11
Fix tree comment rendering
Sort by updatedAt too
2018-01-12 11:59:52 +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
Chocobozzz 05bc4dfa06
Add maximum to actor follow scores 2018-01-11 18:35:39 +01:00
Chocobozzz 4bbc373f13
Add reject processing for activitypub 2018-01-11 17:45:57 +01:00
Chocobozzz 6120941f59
Little SQL optimization 2018-01-11 14:30:27 +01:00
Chocobozzz 6fd5ca1ec5
Fix actor refresh 2018-01-11 14:19:18 +01:00
Chocobozzz 7bc2917145
Add tests to handle down server 2018-01-11 11:47:44 +01:00
Chocobozzz 60650c77c8
Add scores to follows and remove bad ones 2018-01-11 09:35:50 +01:00
Chocobozzz 7ae71355c4
Run videojs outside angular 2018-01-10 17:36:35 +01:00
Chocobozzz 2ccaeeb341
Fetch remote AP objects 2018-01-10 17:19:14 +01:00
Chocobozzz 759f8a29e9
Fix sharedInboxUrl list 2018-01-09 18:13:00 +01:00
Chocobozzz ca309a9f64
Fix aot build 2018-01-09 17:22:26 +01:00
Chocobozzz 378557ef25
Fix comment creation 2018-01-08 13:15:01 +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
Chocobozzz 2cfe649635
Disable job scheduler SQL queries logging 2018-01-08 10:52:15 +01:00
Chocobozzz 28832412d1
Fix lint 2018-01-08 10:46:41 +01:00
Chocobozzz 93ef8a9d02
Send comment to followers and parents 2018-01-08 10:15:27 +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 98418afe2d
Fix account names validation 2018-01-05 15:51:01 +01:00
Chocobozzz d6aaab28f7
Remove :443 from video urls too 2018-01-05 14:51:05 +01:00
Chocobozzz 6b467fd54e
Fix tls and account bug 2018-01-05 14:15:32 +01:00
Chocobozzz d7e70384a3
Add mentions to comments 2018-01-05 11:19:25 +01:00
Chocobozzz 2890b615f3
Handle HTML is comments 2018-01-04 17:50:30 +01:00
Chocobozzz c3badc81fe
Fix delete activities 2018-01-04 16:56:36 +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 cf117aaafc
Add avatar in comments 2018-01-03 17:35:00 +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 8b0d42ee37
Fix tests 2017-12-29 14:32:51 +01:00
Chocobozzz b1f5b93e4f
Refractor check video tests 2017-12-29 12:33:19 +01:00
Chocobozzz a20399c972
Refractor single server test 2017-12-29 10:46:27 +01:00
Chocobozzz a7ba16b62d
Fix real world script 2017-12-29 10:04:15 +01:00
Chocobozzz efed5d5ef6
Add migration to delete old Authors table 2017-12-29 09:42:57 +01:00
Chocobozzz 59651eee56
Fix videos tests 2017-12-28 17:25:10 +01:00
Chocobozzz 5960f92395
Fix user tests 2017-12-28 16:45:32 +01:00
Chocobozzz 11ba2ab3f1
Improve check videos parameters tests 2017-12-28 16:30:58 +01:00
Chocobozzz 26d21b7867
Improve check users parameters tests 2017-12-28 15:25:31 +01:00
Chocobozzz 331128ed35
Improve check services parameters tests 2017-12-28 14:49:43 +01:00
Chocobozzz 93e4a311f3
Improve check jobs parameters tests 2017-12-28 14:40:11 +01:00
Chocobozzz eec63bbc0f
Improve check follow params tests 2017-12-28 14:29:57 +01:00
Chocobozzz c5d31dba56
Tests directories refractor 2017-12-28 13:59:22 +01:00
Chocobozzz db799da3d2
Add get old comment on follow tests 2017-12-28 11:45:10 +01:00
Chocobozzz da854ddd50
Propagate old comment on new follow 2017-12-28 11:16:08 +01:00
Chocobozzz f40bbe3146
Fix preview 404 2017-12-28 08:49:08 +01:00
Chocobozzz d50acfab69
Add comments federation tests 2017-12-27 20:03:37 +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 e2e22e40f9
Add check params tests 2017-12-27 10:12:18 +01:00
Chocobozzz d3ea897591
Begin unit tests 2017-12-22 12:12:33 +01:00