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
fc27b17c6b
Put Person first in AP attributedTo
2018-03-27 13:40:30 +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
Rigel Kent
761fc1ddfe
Add sign language to the index of languages ( #420 )
2018-03-27 11:06:18 +02:00
Chocobozzz
d5b7d9110d
Fix error logging
2018-03-26 16:04:14 +02:00
Chocobozzz
27d56b5453
Fix videos import script
2018-03-26 14:20:33 +02:00
Rigel Kent
45b8a42ca1
truncating long video names in import-videos.js ( fixes #392 ) ( #415 )
2018-03-26 14:07:45 +02:00
Rigel Kent
48e35415c7
per missing field error in upload.js ( fixes #414 ) ( #416 )
2018-03-26 13:13:01 +02:00
Chocobozzz
53eb90c0ab
Fix check comments params unit tests
2018-03-26 09:48:20 +02:00
Okhin
5c5638a062
Removing unnecessary semicolons
2018-03-24 21:17:29 +01:00
Okhin
f5b611f9ee
Replacing the err being thrown by a gracefull exit.process(1)
2018-03-24 21:17:29 +01:00
Aurélien Bertron
b32b782718
Limit comment length to 1 character, fixes #394 ( #399 )
2018-03-24 19:40:48 +01:00
Chocobozzz
9c673970f6
Add public to activitypub announces
2018-03-23 13:27:21 +01:00
Chocobozzz
a465bf5f47
Fix error display on edit config in admin
2018-03-23 11:39:06 +01:00
Chocobozzz
3660d6c3c7
Don't search migration version in old Applications table anymore
2018-03-23 09:16: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
296c090563
Add activity route to video and video comment objects
2018-03-22 17:12:25 +01:00
Chocobozzz
bebf2d89d3
Add option to disable starttls
2018-03-22 16:12:52 +01:00
Chocobozzz
a38b297d90
Add /activity to activity create ids
2018-03-22 16:11:18 +01:00
Chocobozzz
376220e80e
Disable starttls for emails on localhost
2018-03-22 15:18:56 +01:00
Chocobozzz
05e67d6206
Add logging for emails
2018-03-22 11:47:26 +01:00
Chocobozzz
bffbebbe6b
Fix issues with truncated description and utf characters
2018-03-21 15:00:58 +01:00
Chocobozzz
a3cffab42d
Fix mentions in comments
2018-03-21 11:17:01 +01:00
Chocobozzz
747b29900d
Display ffmpeg output errors
2018-03-20 08:21:54 +01:00
Chocobozzz
552586eda6
Fix resolution order
2018-03-19 15:37:31 +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
09700934b9
BEARKING CHANGE: Update videos API response
...
before beta
2018-03-19 11:04:40 +01:00
Chocobozzz
ae5a3dd664
Update videos response api
2018-03-19 10:32:51 +01:00
Chocobozzz
f47776e265
Sanitize invalid actor description
2018-03-19 10:32:51 +01:00
Chocobozzz
2e3a0215d0
Add short description in config
2018-03-15 14:34:47 +01:00
Chocobozzz
c39ea24b71
Upgrade server depencencies
2018-03-13 16:00:39 +01:00
Chocobozzz
5c328e6610
Move sort middleware utils in utils file
2018-03-13 11:28:37 +01:00
Chocobozzz
066e94c538
Add "local" videos in menu
2018-03-13 10:24:28 +01:00
Chocobozzz
19a3b914f1
Change video abuse API response
2018-03-12 11:44:28 +01:00
Chocobozzz
b64c950a1c
Update videos api list for account
2018-03-12 11:44:28 +01:00
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
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