Commit Graph

787 Commits (5cf135001124cd19183336dbfcae1cd432217b00)

Author SHA1 Message Date
Cale edf7f40a10
Fix typo in "already exist" error message 2018-03-11 08:14:35 -07:00
Chocobozzz 0647f472bc
Fix logging timestamp 2018-03-08 18:16:15 +01:00
Chocobozzz b0ef17828c
Do not destroy the video if transcoding fails 2018-03-08 14:09:09 +01:00
Chocobozzz ad34cfc8ac
Add documentation for upload script 2018-03-05 09:53:16 +01:00
Chocobozzz f40411a62e
Fix import videos tool 2018-03-01 16:45:38 +01:00
Chocobozzz 901637bb87
Add ability to change the homepage 2018-03-01 13:57:29 +01:00
Chocobozzz a73c582e5b
Improve playback speed style 2018-03-01 13:02:09 +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 628d28e84b
Fix typings 2018-02-27 17:42:32 +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 6fdc553adb
Don't fail on upload if we cannot generate thumbnail 2018-02-27 13:46:56 +01:00
Chocobozzz 266707202c
Keep ratio for thumbnails 2018-02-27 11:29:24 +01:00
Chocobozzz ea99d15fe8
Add logs for scheduler 2018-02-27 11:08:59 +01:00
Chocobozzz 0a8ae68459
Add log when fetching the outbox 2018-02-27 11:06:43 +01:00
Chocobozzz 73c695919c
Add 30 fps limit in transcoding 2018-02-26 11:08:38 +01:00
Chocobozzz b5c0e95544
Avoids easy cheating on vidoe views 2018-02-23 16:44:37 +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 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 6221f311de
Add ability to update another user video 2018-02-22 09:03:45 +01:00
Chocobozzz e8cb44090e
Add links to comment mentions 2018-02-21 16:44:43 +01:00
Chocobozzz 276d03ed1a
Unlisted videos are not displayed on Mastodon now 2018-02-21 10:07:02 +01:00
Chocobozzz a41e183c03
Add nsfw support in import-videos 2018-02-20 19:05:14 +01:00
Chocobozzz b6fe1f985c
Fix 401 detection on import videos 2018-02-20 18:18:47 +01:00
Chocobozzz 61b3e146e1
Add ability to import videos from all supported youtube-dl sites 2018-02-20 18:16:13 +01:00
LecygneNoir 71578f317e import-youtube: add try/catch to manage token expiration when importing lot of youtube videos (#306) 2018-02-20 18:03:56 +01:00
Chocobozzz 5de8a55abc
Handle line feeds in comments 2018-02-20 10:41:11 +01:00
Chocobozzz 6ff9c676e9
Fix lint 2018-02-19 11:31:50 +01:00
Chocobozzz 35501c0fa7
Add ability to import just one video from youtube 2018-02-19 11:12:58 +01:00
Chocobozzz 3bb6c52645
Fix sort inconsistency 2018-02-19 10:48:44 +01:00
Chocobozzz 6de3676898
Add ability to update thumbnail and preview on client 2018-02-16 16:35:32 +01:00
Chocobozzz b6a4fd6b09
Fix avatars on video watch page 2018-02-16 11:19:54 +01:00
Chocobozzz 0b49571268
Try to improve production guide 2018-02-16 11:04:12 +01:00
Chocobozzz 63ce5a54f2
Fix duplicates detection 2018-02-16 11:03:42 +01:00
Chocobozzz 5f26c73521
Import videos in the correct order 2018-02-16 10:11:12 +01:00
Chocobozzz 02988fdc0b
Fix remote image fetching 2018-02-15 18:40:24 +01:00
Chocobozzz 2422c46b27
Implement support field in video and video channel 2018-02-15 15:29:07 +01:00
Chocobozzz 34cbef8c6c
Fix max buffer reached in youtube import 2018-02-15 11:27:11 +01:00
Chocobozzz 82815eb670
Fix concurrency issue on video upload 2018-02-14 18:40:39 +01:00
Chocobozzz 7b0956ec4f
Fix tests 2018-02-14 18:33:06 +01:00
Chocobozzz 8cac1b6446
Move adding a video view videojs peertube plugin 2018-02-14 17:16:32 +01:00
Chocobozzz 1d791a26de
Support thumbnails in youtube import 2018-02-14 16:03:09 +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 29c6b82944
Fix deleting a video with comments 2018-02-13 13:35:10 +01:00
Chocobozzz a87d467ad7
Fix upload from CLI script 2018-02-12 12:48:58 +01:00
Chocobozzz 3df456380a
Don't stuck on active jobs 2018-02-12 11:25:09 +01:00
Chocobozzz e78720386f
Improve youtube import script 2018-02-12 11:11:38 +01:00
Chocobozzz a7fea183f0
Begin import script with youtube-dl 2018-02-09 16:47:06 +01:00
Chocobozzz c4377f4b5b
Fix config test 2018-02-09 13:36:07 +01:00
Chocobozzz 1e9d7b60cd
Fix crash with websocket tracker 2018-02-09 13:15:40 +01:00
Chocobozzz 53ac1448f0
Fix timestamp logging 2018-02-09 10:54:53 +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 18cfac83a1
Fix job count api 2018-02-08 09:52:57 +01:00
Chocobozzz fafc13fff1
Fix job queue api 2018-02-07 10:32:14 +01:00
Chocobozzz 0bc22f8d7e
Correctly set the activity audience in outbox 2018-02-07 10:03:11 +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 ba75d26859
Send an email on video abuse report 2018-02-01 11:08:29 +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 81ebea48bf
Don't leak unlisted videos 2018-01-31 14:40:42 +01:00
Chocobozzz 915c5bbe53
Add version in footer 2018-01-31 10:19:34 +01:00
Chocobozzz 802dbc32a3
Fix job queue backoff 2018-01-30 15:51:55 +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 ba12e8b3a6
Add ability to login with email 2018-01-29 16:09:50 +01:00
Chocobozzz 4805cff179
Fix migrations 2018-01-29 11:58:07 +01:00
Chocobozzz 2fe8692797
Add missing context fields 2018-01-29 11:05:52 +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 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