Chocobozzz
241c3357d1
Fix account description error
2019-05-13 14:37:30 +02:00
Felix Ableitner
658a47ab68
Added comments for transcode functions
2019-05-13 13:02:42 +02:00
Chocobozzz
d8cfccfbc4
Fix greek label
2019-05-13 09:45:39 +02:00
Chocobozzz
a18f275d30
Fix thumbnail when listing my videos
2019-05-13 09:45:36 +02:00
Felix Ableitner
7ed2c1a46f
fixed formatting, added test case
2019-05-04 13:06:43 +02:00
Felix Ableitner
5ba49f268d
Dont transcode videos when it is not required ( fixes #1780 )
2019-05-04 03:19:49 +02:00
Yohan Boniface
c342726ad4
Allow to control RATES_LIMIT from configuration ( #1787 )
...
* Allow to control RATES_LIMIT from configuration
* @Chocobozzz review (squash me)
2019-04-26 13:48:55 +02:00
Chocobozzz
4f0f2ab228
Fix createdAt/updatedAt issues
2019-04-26 09:16:43 +02:00
Chocobozzz
c28bcdd10a
Fix pleroma follow
2019-04-25 15:20:30 +02:00
Chocobozzz
c0e71e849a
Fix user notifications tests
2019-04-25 14:23:15 +02:00
Chocobozzz
2b4dd7e26d
Fix optional privacy in upload endpoint
2019-04-25 13:55:28 +02:00
Chocobozzz
47f6409bb8
Use apicache instead of our broken implementation
2019-04-25 11:27:13 +02:00
Chocobozzz
8519cc9234
Fix overview endpoint
2019-04-24 17:29:19 +02:00
Chocobozzz
e8a739e880
Fix video import CLI script
...
Password is an optional argument
2019-04-24 16:51:25 +02:00
Chocobozzz
cbe94af85a
Fix scheduled update
2019-04-24 16:43:41 +02:00
Chocobozzz
7c3b79768b
Use test wrapper exit function
2019-04-24 16:26:25 +02:00
Chocobozzz
42e1ec25ec
Try to fix travis
2019-04-24 16:26:24 +02:00
Chocobozzz
86ebdf8c46
Use parallel tests
2019-04-24 16:26:24 +02:00
Chocobozzz
5fb6996b81
Add default playlist image
2019-04-24 16:26:23 +02:00
Chocobozzz
210feb6cc4
Cleanup tests
2019-04-24 16:26:23 +02:00
Chocobozzz
9cc8d43e37
Add migrations
2019-04-24 16:26:22 +02:00
Chocobozzz
2fb5b3a55a
Relax videos list thumbnail api join
2019-04-24 16:26:22 +02:00
Chocobozzz
b876eaf11a
Fix ownership changes
2019-04-24 16:26:21 +02:00
Chocobozzz
dc85273764
Refactor video caption/preview caches
2019-04-24 16:26:21 +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
94565d52bb
Shared utils -> extra-utils
...
Because they need dev dependencies
2019-04-24 16:25:52 +02:00
Chocobozzz
4ee7a4c9ac
Remove tmp file on image processing error
2019-04-24 16:25:51 +02:00
Chocobozzz
1eddc9a74f
Add user adminFlags
2019-04-15 14:39:52 +02:00
Chocobozzz
cda03765fe
Add ability to delete old remote views
2019-04-12 08:31:06 +02:00
Chocobozzz
8f0bc73d7d
Add ability to limit videos history size
2019-04-11 15:38:53 +02:00
Chocobozzz
76062d9f96
Try to improve server tests compilation speed
2019-04-11 14:29:41 +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
5d79474cc6
Add debug component to help admins to fix IP issues
2019-04-11 10:58:09 +02:00
Chocobozzz
2c22613c2f
Add logs page in client
2019-04-11 10:14:08 +02:00
Chocobozzz
fd8710b897
Add logs endpoint
2019-04-10 16:38:32 +02:00
Chocobozzz
31b6ddf866
Add ability to disable tracker
2019-04-10 09:23:18 +02:00
Chocobozzz
22834691ab
Add check params account ratings tests
2019-04-09 11:24:15 +02:00
Yohan Boniface
c100a6142e
Add /accounts/:username/ratings endpoint ( #1756 )
...
* Add /users/me/videos/ratings endpoint
* Move ratings endpoint from users to accounts
* /accounts/:name/ratings: add support for rating= and sort=
* Restrict ratings list to owner
* Wording and better way to ensure current account
2019-04-09 11:02:02 +02:00
Chocobozzz
8ce1ba6e3e
Add new instance follower notification in client
2019-04-09 10:42:07 +02:00
Chocobozzz
883993c81e
Add notification on new instance follower (server side)
2019-04-08 17:30:48 +02:00
Chocobozzz
14893eb71c
Add ability to manually approves instance followers in REST API
2019-04-08 15:18:04 +02:00
Chocobozzz
5b9c965d5a
Add ability to forbid followers
2019-04-08 14:06:23 +02:00
Chocobozzz
594d0c6a7c
Fix HLS federation
2019-04-08 12:08:16 +02:00
Chocobozzz
0e9c48c2ed
Add ability to remove an instance follower in API
2019-04-08 11:52:43 +02:00
Chocobozzz
ae9bbed46d
Update P2P media loader peer version
2019-04-08 11:16:14 +02:00
Chocobozzz
14aed608f5
Copy video/audio codec for HLS
2019-04-08 10:03:23 +02:00
Chocobozzz
4e10f4b2f1
Fix context types
2019-04-08 09:55:25 +02:00
Chocobozzz
ae3171b660
Fix jsonld context
2019-04-08 09:24:04 +02:00
Chocobozzz
0f4905e120
2 rows per overview section
2019-04-05 17:00:09 +02:00
Chocobozzz
5893593982
Fix notification tests
2019-04-03 10:26:03 +02:00
Chocobozzz
5322589d16
Use custom ffmpeg path in youtube dl
2019-04-03 10:16:18 +02:00
Chocobozzz
489290b8b1
Restore videos list components
2019-04-02 11:45:02 +02:00
Josh Morel
7ccddd7b52
add quarantine videos feature ( #1637 )
...
* add quarantine videos feature
* increase Notification settings test timeout
to 20000ms. was completing 7000 locally but timing out
after 10000 on travis
* fix quarantine video test issues
-propagate misspelling
-remove skip from server/tests/client.ts
* WIP use blacklist for moderator video approval
instead of video.quarantine boolean
* finish auto-blacklist feature
2019-04-02 11:26:47 +02:00
Chocobozzz
308421283a
Move video file import in its own file
2019-03-19 17:10:53 +01:00
Chocobozzz
a0327eedb0
Rename video-file job to video-transcoding
2019-03-19 17:00:08 +01:00
Chocobozzz
1ed9b8ee69
Fix email notification
2019-03-19 16:41:41 +01:00
Chocobozzz
d85798c4e7
Better videos redundancy config error handling
2019-03-19 16:33:40 +01:00
Chocobozzz
2ba9287131
Cleanup invalid rates/comments/shares
2019-03-19 16:23:02 +01:00
Chocobozzz
d74d29ad9e
Limit user tokens cache
2019-03-19 14:30:43 +01:00
Chocobozzz
9f79ade627
Refresh playlists
2019-03-19 14:13:53 +01:00
Chocobozzz
0e0c745b62
Increase refresh interval to 2 days
2019-03-19 11:15:42 +01:00
Chocobozzz
f58094b257
Only create refresh job if needed
2019-03-19 11:14:48 +01:00
Chocobozzz
f4800714f9
Cleanup tmp directory at startup
2019-03-19 10:53:53 +01:00
Chocobozzz
dae86118ed
Cleanup express locals typings
2019-03-19 10:35:15 +01:00
Chocobozzz
e65c0c5b1f
Better AP route checker
2019-03-19 09:34:29 +01:00
Chocobozzz
0f6acda116
Does exist
2019-03-19 09:26:50 +01:00
Chocobozzz
9a18a62520
Handle theater mode for playlists
2019-03-18 11:17:59 +01:00
Chocobozzz
397d78fb3e
Fix unit tests
2019-03-18 11:17:59 +01:00
Chocobozzz
c5e4e36d2a
Forbid public playlists not assigned to a channel
2019-03-18 11:17:59 +01:00
Chocobozzz
2a10aab3d7
Add playlist updatedAt tests
2019-03-18 11:17:59 +01:00
Chocobozzz
76564702b7
Fix videos list for api SQL request
2019-03-18 11:17:59 +01:00
Chocobozzz
0b16f5f220
Add videos playlist exist tests
2019-03-18 11:17:59 +01:00
Chocobozzz
15e9d5ca39
Playlist reorder support
2019-03-18 11:17:59 +01:00
Chocobozzz
f0a3988066
Add to playlist dropdown
2019-03-18 11:17:59 +01:00
Chocobozzz
830b4faff1
Add/update/delete/list my playlists
2019-03-18 11:17:59 +01:00
Chocobozzz
d4c9f45b31
Add server migrations
2019-03-18 11:17:59 +01:00
Chocobozzz
9c6ca37fc1
Rename streaming playlists routes/directories
2019-03-18 11:17:59 +01:00
Chocobozzz
09979f8959
Refactor video playlist middlewares
2019-03-18 11:17:59 +01:00
Chocobozzz
df0b219d36
Add playlist rest tests
2019-03-18 11:17:59 +01:00
Chocobozzz
07b1a18aa6
Add playlist check param tests
2019-03-18 11:17:59 +01:00
Chocobozzz
418d092afa
Playlist server API
2019-03-18 11:17:59 +01:00
Chocobozzz
bfe2ef6bfa
Add request body limit
2019-02-21 17:19:16 +01:00
Chocobozzz
539d3f4faa
BREAKING: update CSP configuration
...
Disable it by default and add ability to specify a custom report uri
2019-02-21 16:28:53 +01:00
Chocobozzz
c8000975d3
Add NSFW info in about page
2019-02-21 15:51:28 +01:00
Chocobozzz
9b39106d57
findById -> findByPk
2019-02-21 14:40:10 +01:00
Chocobozzz
374c1db98c
Upgrade server dependencies
2019-02-21 14:22:39 +01:00
Chocobozzz
92bf2f6299
Improve channel and account SEO
2019-02-21 14:06:10 +01:00
Chocobozzz
dee77e767f
Create send email type
...
Instead of using email job handler payload type
2019-02-20 15:54:32 +01:00
Chocobozzz
f8802489bb
Add isNSFW instance configuration key
2019-02-20 15:36:43 +01:00
Chocobozzz
e5fc7811ae
Increase thumbnails size
2019-02-20 13:59:31 +01:00
Josh Morel
576ad67aac
check email enabled for requiresEmailVer config
2019-02-18 17:21:41 +01:00
Chocobozzz
41d713446c
Lazy import some modules
2019-02-15 15:52:18 +01:00
Chocobozzz
17036be5bc
Try to fix travis tests
2019-02-15 14:04:34 +01:00
Chocobozzz
ed10645c2f
Fix mention helper test
2019-02-15 09:43:38 +01:00
Chocobozzz
4759fedc61
Fix from header in contact form
2019-02-15 09:43:38 +01:00
Chocobozzz
1f6d57e354
Fix mention notification with a remote account
2019-02-15 09:43:37 +01:00
Chocobozzz
c74c9be934
Refractor published date on video import
2019-02-12 11:47:23 +01:00
Andrés Maldonado
84929846e7
Import original publication date (CLI)
...
* Import original publication date when importing a video from YouTube using the CLI
* Fix lint issues
2019-02-12 11:19:19 +01:00
Andrés Maldonado
4e553a41fd
Import original publication date (web UI)
...
Import original publication date when importing a video from YouTube in the web UI
2019-02-12 11:19:19 +01:00
Andrés Maldonado
31d065cc50
Add search by original publication date
2019-02-12 11:14:37 +01:00
Chocobozzz
7f8f8bdb4a
HLS is only supported by ffmpeg 4
...
Because of c8f625f529
2019-02-12 11:14:36 +01:00
Chocobozzz
7519127b5c
Add originallyPublishedAt unit tests
2019-02-11 15:16:39 +01:00
Chocobozzz
6913f69134
Move original publication date in advanced settings
2019-02-11 14:33:47 +01:00
Chocobozzz
b718fd2237
Merge branch 'develop' into pr/1285
2019-02-11 14:09:23 +01:00
Chocobozzz
25451e08c7
Update migration version for download enabled
2019-02-11 11:55:11 +01:00
Chocobozzz
88108880bb
Merge branch 'develop' into pr/1217
2019-02-11 11:52:34 +01:00
Chocobozzz
53a94c7cfa
Add federation tests on download enabled
2019-02-11 11:48:56 +01:00
Chocobozzz
e79d0ba56c
Fix reverse proxy test
2019-02-11 11:01:50 +01:00
Chocobozzz
28f3d1b36a
Merge branch 'feature/correctly-send-activities' into develop
2019-02-11 11:00:09 +01:00
Chocobozzz
b426edd485
Cleanup reset user password by admin
...
And add some tests
2019-02-11 10:37:27 +01:00
Rigel Kent
328c78bc4a
allow administration to change/reset a user's password
2019-02-11 09:26:29 +01:00
Chocobozzz
597a9266d4
Add player mode in watch/embed urls
2019-02-11 09:13:02 +01:00
Chocobozzz
4c280004ce
Use a single file instead of segments for HLS
2019-02-11 09:13:02 +01:00
Chocobozzz
0920929696
Add hls support on server
2019-02-11 09:13:02 +01:00
Chocobozzz
2adfc7ea9a
Refractor videojs player
...
Add fake p2p-media-loader plugin
2019-02-11 09:13:02 +01:00
Josh Morel
6c32d30212
remove .only from notifications tests
2019-02-07 14:49:28 +01:00
Josh Morel
f7effe8dc7
don't notify prior to scheduled update
...
also increase timeouts on user-notification test
2019-02-07 14:49:28 +01:00
Josh Morel
926cd3df33
fix typo in test accounts api validators
2019-01-28 11:49:30 +01:00
Chocobozzz
307902e2b3
Try to fix Mac video upload
2019-01-24 15:23:06 +01:00
Chocobozzz
0c5892764e
Youtube DL update every 24 hours
2019-01-21 16:22:15 +01:00
Chocobozzz
ebff55d8d6
Fix tests
2019-01-21 15:58:07 +01:00
Chocobozzz
38967f7b73
Add server host in notification account field
2019-01-21 13:52:46 +01:00
Chocobozzz
ef04ae20fe
Prefer avg_frame_rate to fetch video FPS
2019-01-17 14:03:32 +01:00
Chocobozzz
457bb213b2
Refactor how we use icons
...
Inject them in an angular component so we can easily change their color
2019-01-17 10:38:18 +01:00
Chocobozzz
1e7eb25f6c
Correctly send Flag/Dislike/View activities
2019-01-15 14:59:40 +01:00
Chocobozzz
848f499def
Prepare Dislike/Flag/View fixes
...
For now we Create these activities, but we should just send them
directly.
This fix handles correctly direct Dislikes/Flags/Views, we'll implement
the sending correctly these activities in the next peertube version
2019-01-15 14:45:09 +01:00
Chocobozzz
44b9c0ba31
Add totalLocalVideoFilesSize in stats
2019-01-15 09:45:54 +01:00
Chocobozzz
1506307f2f
Increase abuse length to 3000
...
And correctly handle new lines
2019-01-14 16:48:38 +01:00
Chocobozzz
699b059e2d
Fix deleting not found remote actors
2019-01-14 12:11:06 +01:00
Chocobozzz
744d0eca19
Refresh remote actors on GET enpoints
2019-01-14 11:30:15 +01:00
Chocobozzz
bb8f7872f5
Fix peertube CLI documentation
2019-01-14 11:01:40 +01:00
Chocobozzz
cf405589f0
Move subscriptions controllers in its own file
2019-01-14 10:44:59 +01:00
Chocobozzz
b4593cd7ff
Warn user when they want to delete a channel
...
Because they will not be able to create another channel with the same
actor name
2019-01-14 10:24:49 +01:00
Aurélien Béranger
9b4b15f91c
WIP : Indicate to users how "trending" works ( #1458 )
...
* Get the INTERVAL_DAYS const in the video-trending component
* Change Trending section title
* Add a tooltip to explain how trending section works
* Minor CSS fix for the my-feed popover next to the titlepage
2019-01-14 09:06:48 +01:00
clementbrizard
1e74f19a21
Enable video upload and edit
2019-01-12 13:45:23 +00:00
clementbrizard
c80341655f
Change models
2019-01-12 13:41:45 +00:00
clementbrizard
94a680c095
Add migration file
2019-01-12 13:35:39 +00:00
Chocobozzz
c04eb647db
Use origin video url in canonical tag
2019-01-10 16:00:23 +01:00
Chocobozzz
5abb9fbbd1
Add ability to unfederate a local video (on blacklist)
2019-01-10 15:39:51 +01:00
Chocobozzz
26a008fe8d
Update translations
2019-01-10 11:51:25 +01:00
Chocobozzz
d3e56c0c4b
Implement contact form in the client
2019-01-10 11:32:38 +01:00
Chocobozzz
a4101923e6
Implement contact form on server side
2019-01-10 11:32:37 +01:00
Chocobozzz
89ada4e26c
Fix socket.io websocket connection
2019-01-09 11:15:15 +01:00
Chocobozzz
2f1548fda3
Add notifications in the client
2019-01-09 11:15:15 +01:00
Chocobozzz
f7cc67b455
Add new follow, mention and user registered notifs
2019-01-09 11:15:15 +01:00
Chocobozzz
dc13348070
Add import finished and video published notifs
2019-01-09 11:15:15 +01:00
Chocobozzz
e8d246d526
Add notification settings migration
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
2f5c6b2fc6
Optimize actor follow scores modifications
2018-12-20 14:31:11 +01:00
Chocobozzz
56b13bd193
Fix federation of some videos
...
If we don't transcode additional resolutions, and user decided to wait
transcoding before publishing the video
2018-12-19 13:41:47 +01:00
Chocobozzz
1a12adcd1e
Fix users update me param validation
2018-12-18 17:18:25 +01:00
Chocobozzz
afa4374ab4
Fix video sort
2018-12-18 11:52:20 +01:00
Chocobozzz
276d965295
Add ability to disable and clear history
2018-12-18 11:35:51 +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
Josh Morel
af37210c0b
throw error if MailDev doesn't run
...
also allow calling in multiple file
2018-12-17 10:59:07 +01:00
Chocobozzz
8fc58cb580
Fix CSP on dev mode
2018-12-17 09:42:28 +01:00
Chocobozzz
9aac44236c
Add video title/description when rendering html
2018-12-17 09:13:22 +01:00
HesioZ
ab4dbe3657
Remove the eventual trailing '/' at the end of urls (see #1453 ) ( #1480 )
...
remove eventual trailing '/' at the end of urls in import script (see #1453 )
2018-12-15 01:43:04 +01:00
Chocobozzz
9f7a195363
Keep old channel/user name constraints
...
In order to avoid compatibility issues
2018-12-13 16:26:47 +01:00
Rigel Kent
5e755fff9d
add Content Security Policy ( #1252 )
...
* add Content Security Policy
* remove reflect-metadata on production builds to get rid of unsafe-eval
* fix baseCSP usage
* add SRI to CSP
* add blob: to media-src
* remove SRI
* CSP set to reportOnly
* adding data: to connect-src CSP
* remove block-all-mixed-content
* add report-uri support
2018-12-13 09:49:45 +01:00
Chocobozzz
9ecac97be0
Fix crash regarding video stream issue
2018-12-12 08:55:56 +01:00
Chocobozzz
64e3e27053
Fix broken audio with transcoding
2018-12-11 17:48:14 +01:00
Chocobozzz
44848a51dc
Overwrite video caption
2018-12-11 15:56:35 +01:00
Chocobozzz
f481c4f9f3
Use move instead rename
...
To avoid EXDEV errors
2018-12-11 15:12:38 +01:00
Chocobozzz
14e2014acc
Support additional video extensions
2018-12-11 15:11:09 +01:00
Chocobozzz
8923187455
Add test regarding tmp directory
2018-12-11 09:18:02 +01:00
Chocobozzz
9f8ca79284
Don't quit on queue error
2018-12-11 09:18:01 +01:00
Chocobozzz
2a8c5d0af1
Merge branch 'move-utils-to-shared' of https://github.com/buoyantair/PeerTube into buoyantair-move-utils-to-shared
2018-12-07 16:25:29 +01:00
BRAINS YUM
d0ce42c1c1
username/display_name/video_channel_name min length 1 and max length 50 ( #1265 )
...
* make username, display_name and video_channel_name min length 1 and max length 50; (fixes #1263 );
! still some bug on the frontend complains but if you remove the disabled property it creates the account just fine;
allow for usernames to start with a number;
fix test, since username can be 1 char now make test check empty;
fix test, Should fail with a too long username;
fix test, Should fail with a too small username;
fix regular expression for username and videoChannel;
change username, videoChannel to be lowercase and fix message;
* change 1 characters to 1 character
2018-12-07 14:54:33 +01:00
Chocobozzz
f3e4d59408
Fix AP tests
2018-12-07 14:23:05 +01:00
Rigel Kent
314141279d
(well-known url) add change-password
2018-12-07 13:56:08 +01:00
Chocobozzz
d22b9b3e20
Fix thumbnail sitemap location
2018-12-06 09:29:00 +01:00
Chocobozzz
2feebf3e6a
Add sitemap
2018-12-05 17:44:34 +01:00
Chocobozzz
3b3b18203f
Add error when email system is not configured and using the forgot
...
password system
2018-12-05 15:10:45 +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
6040f87d14
Add tmp and redundancy directories
2018-12-04 16:04:15 +01:00
Chocobozzz
745778256c
Fix thumbnail processing
2018-12-04 16:04:14 +01:00
Chocobozzz
f9a971c671
Update dependencies
2018-12-04 10:08:45 +01:00
Chocobozzz
dbe6aa698e
Fix trending page
2018-12-03 09:14:56 +01:00
Chocobozzz
1a8dd4da77
Fix AP redirection
2018-11-30 15:06:36 +01:00
Chocobozzz
1b5e2d7290
Optimize config endpoint
2018-11-23 11:07:00 +01:00
Chocobozzz
a8f378e02c
Don't import test tools in core
2018-11-22 15:30:41 +01:00
Chocobozzz
9fa0ea41aa
Fix youtube video import
2018-11-21 16:29:32 +01:00
Josh Morel
fc2ec87a8c
enable email verification by admin ( #1348 )
...
* enable email verification by admin
* rename/label to set email as verified
to be more explicit that admin is not sending
another email to confirm
* add update user emailVerified check-params test
* make user.model emailVerified property required
2018-11-21 08:48:29 +01:00
Chocobozzz
04b8c3fba6
Delete invalid or deleted remote videos
2018-11-20 10:44:48 +01:00
Chocobozzz
f107470e50
Fix search title
2018-11-20 10:44:48 +01:00
buoyantair
35adc403b7
Fix dependency issues
2018-11-20 12:33:52 +05:30
buoyantair
bc22d60899
Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils-to-shared
2018-11-20 12:28:13 +05:30
Chocobozzz
d175a6f7ab
Cleanup tests imports
2018-11-19 17:08:18 +01:00
Chocobozzz
0b2f03d371
Speedup peertube startup
2018-11-19 15:21:09 +01:00
Chocobozzz
361805c48b
Fix checkbox margins
2018-11-19 14:34:36 +01:00
Chocobozzz
a8a6322778
Optimize image resizing
2018-11-19 14:34:36 +01:00
buoyantair
b9f234371b
Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into move-utils-to-shared
2018-11-18 21:55:52 +05:30
Chocobozzz
58d515e32f
Fix images size when downloading them
2018-11-16 16:48:17 +01:00
Chocobozzz
babecc3c09
Fix AP collections pagination
2018-11-16 15:49:16 +01:00
Chocobozzz
8d4273463f
Check follow constraints when getting a video
2018-11-16 15:49:16 +01:00
Chocobozzz
8d1fa36ad2
Do not host remote AP objects
2018-11-16 11:18:13 +01:00
Chocobozzz
7373507fa8
Improve video upload error handling
2018-11-16 10:05:25 +01:00
buoyantair
92e07c3b5d
Fix dependency errors between modules
2018-11-16 02:51:26 +05:30
buoyantair
ae28cdf327
Merge from upstream
2018-11-16 02:37:16 +05:30
Chocobozzz
8cf9987334
Fix video channel videos url when scrolling
2018-11-15 17:13:27 +01:00
Chocobozzz
6385c0cb7f
Fix embed video id parsing
2018-11-15 16:57:59 +01:00
Chocobozzz
030177d246
Don't forward view, send updates instead
...
To avoid inconsistencies in the federation, now the origin server will
tell other instances what is the correct number of views
2018-11-15 16:38:37 +01:00
Chocobozzz
6cb3482ceb
Remove wrong redundancy test
2018-11-15 11:20:23 +01:00
Chocobozzz
742ddee1f1
Fix server redundancy tests
2018-11-15 10:15:34 +01:00
Chocobozzz
a130f33c9c
Add AP fetch tests
2018-11-14 16:32:28 +01:00
Chocobozzz
e5cb43e071
Clean up peertube auth
2018-11-14 16:32:28 +01:00
Chocobozzz
5c6d985fae
Check activities host
2018-11-14 16:32:27 +01:00
Chocobozzz
df66d81583
Add compatibility with other Linked Signature algorithms
2018-11-14 16:32:27 +01:00
Rigel Kent
b83b8dd5ae
add cli option to run without client
2018-11-14 15:59:56 +01:00
Chocobozzz
fb651cf2d4
Revert change og video type
2018-11-14 08:18:50 +01:00
Chocobozzz
be0f59b4ee
Merge branch 'master' into develop
2018-11-13 15:32:12 +01:00
BO41
891bc4f8bf
change video type
2018-11-13 15:28:50 +01:00
Thomas Citharel
1cf8aca11d
Rename context stats to state
...
I guess it refers to the VideoState enum used here as `state` instead.
2018-11-13 14:51:36 +01:00
Rigel Kent
408f50ebc7
(ffmpeg) force pixel format yuv420p ( #1394 )
2018-11-12 15:43:51 +01:00
buoyantair
9639bd1757
Move utils to /shared
...
Move utils used by /server/tools/* & /server/tests/**/* into
/shared folder.
Issue: #1336
2018-10-29 22:18:31 +05:30
BRAINS YUM
fa27f07637
allow peertube-import-videos.ts CLI script to run concurrently ( #1334 )
...
allows running multiple imports at the same time, whereas previously a concurrent instance of the script deleted another processe's file.
2018-10-24 20:07:51 +02:00
Frank de Lange
8684f3c1f6
Fix #1328 - application-config initialisation in CLI tools ( #1343 )
...
Test for an empty object in `cli.ts` when no config data is present (i.e. when run on a new install).
2018-10-24 12:28:25 +02:00
Rigel Kent
7cf3e57376
(doc) add manpage to peertube cli
2018-10-20 19:16:56 +02:00
Rigel Kent
c141f68be1
add repl to the cli wrapper, remove extraneous TOC in tools.md
2018-10-19 14:24:35 +02:00
Chocobozzz
f7509cbec8
Add HTTP signature check before linked signature
...
It's faster, and will allow us to use RSA signature 2018 (with upstream
jsonld-signature module) without too much incompatibilities in the
peertube federation
2018-10-19 12:59:52 +02:00
Chocobozzz
40ed9f6aae
Update translations
2018-10-19 12:45:40 +02:00
Chocobozzz
41f2ebae4f
Add HTTP signature check before linked signature
...
It's faster, and will allow us to use RSA signature 2018 (with upstream
jsonld-signature module) without too much incompatibilities in the
peertube federation
2018-10-19 12:26:37 +02:00
BRAINS YUM
d23e6a1c97
Feature/description support fields length 1000 ( #1267 )
...
* fix migrations to not use config constant values as it can introduce bugs later when they change; (fixes #1259 )
remove constant fields imports from migrations
* add migrations to update description and support fields to 1000 (fixes #1258 )
* fix client/server account and video_channel description/support fields to be max len 1000 (fixes #1258 );
fix test Should fail with a too long description;
fix test Should fail with a long description;
fix test Should fail with a long description;
Remove USER.SUPPORT from constants since that field no longer exists;
null not false, in migrations/0280-description-support.ts;
video support field 1000, oops;
* rename migration 0280-description-support.ts -> 0285-description-support.ts;
update video support maxlength text
2018-10-19 08:54:01 +02:00
Rigel Kent
be8139c7fe
fix lint test
2018-10-18 23:49:12 +02:00
Chocobozzz
74cd011b6c
Fix optimize old videos script
2018-10-18 16:54:26 +02:00
Chocobozzz
cdf4cb9eaf
Fix transcoding
2018-10-18 10:44:16 +02:00
Chocobozzz
e27ff5da6e
AP mimeType -> mediaType
2018-10-18 10:44:15 +02:00
Chocobozzz
28e51e831b
Oup's
2018-10-17 17:58:21 +02:00
Chocobozzz
0229b014e0
Fix tests
2018-10-17 13:10:58 +02:00
Chocobozzz
bb5d90e62f
Merge branch 'feature/webtorrent-disabling' into develop
2018-10-17 10:48:56 +02:00
Felix Ableitner
bcf21a376f
Set keyframe interval for transcoding ( fixes #1147 ) ( #1231 )
...
* Set keyframe interval for transcoding (fixes #1147 )
* remove -maxrate and old bitrate setter
* pass fps as parameter
* set type for ffmpeg param
* assign ffmpeg object
2018-10-17 10:15:38 +02:00
Chocobozzz
26370ce469
Move redundancy in its own travis container
2018-10-16 16:41:36 +02:00
Chocobozzz
fd28a0fc88
Fix redundancy test
2018-10-16 16:41:36 +02:00
Chocobozzz
65b21c961c
Add ability to mute a user/instance by server in client
2018-10-16 16:41:36 +02:00
Chocobozzz
b44164bb56
Add ability to mute a user/instance by server in server api
2018-10-16 16:41:36 +02:00
Chocobozzz
af5767ffae
Add user/instance block by users in the 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
BRAINS YUM
1e59ca3bac
add REPL in server/tools/repl.ts ( #1248 )
2018-10-14 19:48:08 +02:00
Adnane Belmadiaf
6f2ae7a1aa
rename News category into News & Politics ( #1261 )
2018-10-14 19:43:17 +02:00
Rigel Kent
ed638e5325
move to boolean switch
2018-10-13 11:53:48 +02:00
Rigel Kent
64cc5e8575
add webtorrent opt-out settings
...
- add a key in localstorage to remember the opt-out
- add a user setting
2018-10-13 11:53:42 +02:00
BRAINS YUM
0e5ff97f6f
add parseBytes utility function and tests ( #1239 )
...
* add parseBytes utility function and tests
make it parse TB MB
fix parseBytes; * 1024
test bytes too, and make parseByte to parse quotas
add test in travis.sh in misc
* fix parseBytes and test to pass linting
2018-10-13 08:43:55 +02:00
Chocobozzz
71e318b4fe
Merge branch 'release/v1.0.0' into develop
2018-10-11 09:52:16 +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
b014b6b9c7
Add ability to search on followers/following
2018-10-10 09:43:53 +02:00
Lucas Declercq
9ccff23877
Add explicit error message that changing video ownership only works with local accounts ( #1214 )
...
* Add explicit error message that changing video ownership only works with local accounts
* Remove superfluous logger
* Remove unneeded end() to error responses
* Add a message on client side to prevent transfering ownership to a remote account
2018-10-10 08:57:00 +02:00
Chocobozzz
729bb18481
Add more headers to broadcast/unicast
2018-10-10 08:51:58 +02:00
Rigel Kent
e1d7b98bc7
fix automatic bitrate adjustment
...
The regression was introduced in
edb4ffc7e0
and forced a fixed bitrate per
resolution
2018-10-08 21:14:21 +02:00
Chocobozzz
c1c86c1599
Try to cache video_high_bitrate_1080p in travis
2018-10-08 17:47:19 +02:00
Chocobozzz
9f1ddd2496
Change a little bit optimize-old-videos logic
2018-10-08 16:50:56 +02:00
Felix Ableitner
edb4ffc7e0
Set bitrate limits for transcoding ( fixes #638 ) ( #1135 )
...
* Set bitrate limits for transcoding (fixes #638 )
* added optimization script and test, changed stuff
* fix test, improve docs
* re-add optimize-old-videos script
* added documentation
* Don't optimize videos without valid UUID, or redundancy videos
* move getUUIDFromFilename
* fix tests?
* update torrent and file size, some more fixes/improvements
* use higher bitrate for high fps video, adjust bitrates
* add test video
* don't throw error if resolution is undefined
* generate test fixture on the fly
* use random noise video for bitrate test, add promise
* shorten test video to avoid timeout
* use existing function to optimize video
* various fixes
* increase test timeout
* limit test fixture size, add link
* test fixes
* add await
* more test fixes, add -b:v parameter
* replace ffmpeg wiki link
* fix ffmpeg params
* fix unit test
* add test fixture to .gitgnore
* add video transcoding fps model
* add missing file
2018-10-08 16:26:04 +02:00
Chocobozzz
24b9417cec
Add users search filter
2018-10-08 15:55:32 +02:00
Lucas Declercq
7f2cfe3a79
Rename downloadingEnabled property to downloadEnabled
2018-10-08 14:45:22 +02:00
Lucas Declercq
4ffdcfc63b
Fix some defaults values + indentation
2018-10-08 14:42:55 +02:00
Chocobozzz
54b3316099
Merge branch 'release/v1.0.0' into develop
2018-10-08 12:04:52 +02:00
Chocobozzz
6321cbc3e7
Avoid old issue regarding duplicated hosts in db
2018-10-08 11:58:18 +02:00
Chocobozzz
ecf3f060ef
Fix avatar update
2018-10-08 10:37:43 +02:00
Chocobozzz
505319061e
Fix avatar update
2018-10-08 10:37:08 +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
d0ae9490a3
Don't block when removing redundancy files
2018-10-03 16:57:40 +02:00
Chocobozzz
25378bc866
Delete correctly redundancy files
2018-10-03 16:43:57 +02:00
Chocobozzz
be691a57c5
Check video exists before extending its expiration
2018-10-03 15:52:39 +02:00
Chocobozzz
499d901595
Fix config endpoint
2018-10-03 14:36:00 +02:00
Chocobozzz
b88a459664
Upsert cache file on create activity
2018-10-02 14:40:03 +02:00
Chocobozzz
278711b595
Try to fix travis redundancy tests
2018-10-02 13:09:57 +02:00
Chocobozzz
659edaa62c
Correctly forward comment deletion
2018-10-02 11:33:18 +02:00
Chocobozzz
792e5b8e5b
Try to improve redundancy tests
2018-10-02 09:04:19 +02:00
Chocobozzz
913f08f2bd
Fix get version
2018-10-02 09:02:47 +02:00
Chocobozzz
c049d791f9
Check the comment is defined when validating body
2018-10-01 19:07:25 +02:00
Chocobozzz
d05be4d944
Don't build redundancy urls with "-1" as fps
2018-10-01 18:40:17 +02:00
Chocobozzz
c2ad546df9
Add tests regarding well known/static text endpoints
2018-10-01 17:29:11 +02:00
Chocobozzz
99cc653f47
Fix redundancy with specific videos
2018-10-01 16:33:53 +02:00
Chocobozzz
a3737cbf2b
Fix video fps validator
2018-10-01 16:27:47 +02:00
Chocobozzz
d382f4e917
Fix refreshing external video attributes
2018-10-01 15:34:31 +02:00
Chocobozzz
601527d795
Check video channel name is unique on our instance
2018-10-01 15:20:14 +02:00
Chocobozzz
7361c401b1
Decrease log file max size
2018-10-01 15:20:13 +02:00
Chocobozzz
d1105b97ef
Fix dnt route
2018-10-01 15:20:13 +02:00
Rigel Kent
abb2c7927c
show last commit hash alongside server version in footer
2018-10-01 14:31:01 +02:00
Andrew Morgan
26b4151762
Define channelId property beforehand
2018-10-01 14:14:49 +02:00
Andrew Morgan
c01cfce40b
Allow specification of Channel ID in peertube-upload.js
2018-10-01 14:14:49 +02:00
Chocobozzz
cf9166cf2f
Add timeout on youtube dl to cleaup files
2018-10-01 12:00:05 +02:00
Chocobozzz
e37c85e933
Delete each file on failed import
2018-10-01 10:52:58 +02:00
Chocobozzz
e95e0463d8
Correctly delete files on failed import
2018-10-01 10:44:16 +02:00
Chocobozzz
26649b4215
Ensure video existence before duplicating it
2018-10-01 10:31:42 +02:00
Chocobozzz
46f8d69b4e
Fix redundancy with videos already duplicated with another instance
2018-10-01 09:41:48 +02:00
Chocobozzz
8b917537af
Increase timeout on upload endpoint
2018-10-01 09:14:00 +02:00
Chocobozzz
5ce1208a0a
Improve prune script
2018-09-28 10:56:13 +02:00
Chocobozzz
07524e229f
Enable more angular options
2018-09-28 10:36:46 +02:00
Chocobozzz
c39e86b898
Fix video description when importing by url
2018-09-28 10:18:37 +02:00
Chocobozzz
161b061d4e
Remove duplicated videos on unfollow/delete redundancy
2018-09-28 10:07:05 +02:00
Chocobozzz
d0b52b5285
Correctly delete directories on import
2018-09-28 09:08:12 +02:00
Chocobozzz
8578e3b5e6
Fix federation with a comment reply
2018-09-27 11:05:50 +02:00
Chocobozzz
a890d1e0d3
Check current password on server side
2018-09-26 16:28:27 +02:00
Chocobozzz
cc68049424
Fix video import of some youtube videos
2018-09-26 15:55:45 +02:00
Chocobozzz
542e73a26b
Improve upliad script error handling for token
2018-09-26 15:16:48 +02:00
Chocobozzz
3827c3b348
Fix quota translations
2018-09-26 14:50:39 +02:00
Chocobozzz
2e7cf5ae0c
Fix video files duplicated when fps is null
...
Null values are not considered equal in a UNIQUE index
2018-09-26 14:08:35 +02:00
Chocobozzz
d82d8ad60c
Fix redundancy tests
2018-09-26 10:16:12 +02:00
Chocobozzz
4a534352ad
Fix avatar transaction retry
2018-09-26 10:15:50 +02:00
Chocobozzz
a71de50bbc
Correctly fix the webtorrent redundancy bug
2018-09-26 08:50:21 +02:00
Chocobozzz
69fa54a0b2
Dirty webtorrent fix to wait FS sync
2018-09-25 19:42:05 +02:00
Chocobozzz
4a08f66927
Only duplicate public videos
2018-09-25 18:05:54 +02:00
Chocobozzz
c922d14220
Fix redundancy bug with old peertube torrent
2018-09-25 17:49:50 +02:00
Chocobozzz
cfaf819c38
Reduce video import TTL
2018-09-25 17:49:49 +02:00
Chocobozzz
ebdb612458
Fix redundancy totalVideos stats
2018-09-25 17:49:48 +02:00
Chocobozzz
96cdbcfa07
Merge remote-tracking branch 'origin/master' into develop
2018-09-25 11:43:00 +02:00
lsde
7e7ab7a15d
Add dot into allowed actor username
...
One should have an oportunity to include a dot into the username.
Currently, it breaks the flow if one has an SSO in front of PeeTube which creates users with "name.surname".
2018-09-25 11:41:15 +02:00
Chocobozzz
aac0118dc3
Fix dnt route
2018-09-25 11:13:34 +02:00
Chocobozzz
47d0b3ee61
Fix comment deletion with mastodon
...
Will only act with new comments
2018-09-24 16:24:42 +02:00
Chocobozzz
e5565833f6
Improve redundancy: add 'min_lifetime' configuration
2018-09-24 13:38:39 +02:00
Chocobozzz
d1a63fc7ac
Fix videos list user NSFW policy
2018-09-24 13:38:38 +02:00
Chocobozzz
1cfa8d6809
Remove unnecessary actor existance check
...
We already checked it in the signature checker
2018-09-21 09:51:24 +02:00
Chocobozzz
5c142a4bab
Fix peertube script
2018-09-20 16:35:48 +02:00
Chocobozzz
00f9e41ebf
Add warning if one of the storage directory is in the peertube
...
production directory
Because admins could loose these directories on peertube upgrade
2018-09-20 16:25:00 +02:00
Chocobozzz
0491173a61
Merge branch 'develop' into cli-wrapper
2018-09-20 16:24:31 +02:00
Chocobozzz
f201a74992
Cache user token
2018-09-20 11:45:59 +02:00
Chocobozzz
91411dba92
Limit associations fetch when loading token
2018-09-20 11:45:59 +02:00
BO41
fcc7c06037
rename manifest
2018-09-20 08:22:29 +02:00
Chocobozzz
f41d6aacdf
Fix jobs tests
2018-09-19 17:42:16 +02:00
Chocobozzz
993cef4b6e
Refractor audit user identifier
2018-09-19 17:02:27 +02:00
Chocobozzz
606c946e74
Move youtubeDL upgrader in helpers/
2018-09-19 16:24:24 +02:00
Chocobozzz
f9f899b9f8
Add redundancy check interval in config
2018-09-19 16:21:30 +02:00
Chocobozzz
d9bdd007d7
Put config redundancy strategies in "strategies" subkey
2018-09-19 16:12:07 +02:00
Chocobozzz
12ba460e9e
Improve AP actor checks
2018-09-19 15:47:55 +02:00
Chocobozzz
e587e0ecee
Optimize activity actor load in AP processors
2018-09-19 15:22:55 +02:00
Chocobozzz
d4defe07d2
Optimize video view AP processing
2018-09-19 11:41:30 +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
dae4a1c0f8
Improve webtorrent import error message when the torrent has multiple
...
files
2018-09-17 17:50:51 +02:00
Chocobozzz
c07b604111
Fix checker if we don't have redundancy strategies
2018-09-17 11:28:33 +02:00
Chocobozzz
860cfb31e3
Fix "no results" on overview page
2018-09-17 10:28:38 +02:00
Chocobozzz
2ff83ae292
Handle actors search beginning with '@'
...
Something like @toto@example.com
2018-09-17 10:13:54 +02:00
Chocobozzz
743164fed1
Fix overviews tests
2018-09-17 10:13:54 +02:00
Chocobozzz
a2377d15ee
Refractor activities sending
2018-09-14 16:51:35 +02:00
Chocobozzz
d61b817890
Process inbox activities in a queue
2018-09-14 16:47:15 +02:00
Chocobozzz
4b5384f6e7
Add redundancy stats
2018-09-14 14:57:59 +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
Rigel Kent
8704acf49e
one cli to unite them all
...
Ash nazg thrakatulûk agh burzum-ishi krimpatul
- refactor import-videos to use the youtubeDL helper
- add very basic tests for the cli
2018-09-14 11:08:55 +02:00
Chocobozzz
3f6b6a565d
Add recently added redundancy strategy
2018-09-14 11:05:38 +02:00
Chocobozzz
d5f044cef2
Test to remove delay in tests when running multiple servers
2018-09-14 09:58:49 +02:00
Chocobozzz
b36f41ca09
Add trending videos strategy
2018-09-14 09:57:21 +02:00
Chocobozzz
6f0c46be8c
Process last hour views instead of current hour
2018-09-13 14:14:15 +02:00
Chocobozzz
c48e82b5e0
Basic video redundancy implementation
2018-09-13 14:05:49 +02:00
Chocobozzz
176e211453
Retry transactions on user endpoints if needed
2018-09-13 10:22:14 +02:00
Chocobozzz
9431cabf8a
Fix video views increment
2018-09-13 10:13:25 +02:00
Chocobozzz
662fb3ab5e
Fix feeds with channel filter
2018-09-13 09:48:34 +02:00
Rigel Kent
e78980ebd1
use focus-visible polyfill to improve keyboard navigation
...
Only the homepage is concerned, but it should have decent keyboard
navigation support now.
2018-09-11 10:58:48 +02:00
Austin Heap
5447516b9a
draft "security.txt" spec integration ( #1020 )
2018-09-06 14:23:46 +02:00
Chocobozzz
db6d617dd2
Fix occitan label
2018-09-05 15:59:43 +02:00
Chocobozzz
c75937d04f
Move nodeinfo model in shared/
2018-09-04 15:34:11 +02:00
Chocobozzz
df39a683ea
check 'trending.videos.interval_days' config key
2018-09-04 15:31:13 +02:00
Chocobozzz
0926af7acc
Add index to startDate in video view table
2018-09-04 15:25:02 +02:00
Chocobozzz
1a893f9c70
Do not import live streaming
2018-09-04 11:55:43 +02:00
Chocobozzz
5d112d0c3b
Fix video import with URL with small titles
2018-09-04 11:34:46 +02:00
Chocobozzz
ea853b7282
Fix import videos duplicate detection
2018-09-04 11:25:40 +02:00
Chocobozzz
eb87f9a4a9
Fix nsfw filter
2018-09-04 11:19:19 +02:00
Chocobozzz
5cf84858d4
Add federation to ownership change
2018-09-04 10:49:53 +02:00
Chocobozzz
0b74c74abe
Add trending sort tests
2018-09-04 08:58:34 +02:00
Chocobozzz
558187a72f
Fix overview cache
2018-09-04 08:58:33 +02:00
Chocobozzz
8ea6f49ad7
Fix trending videos count
2018-09-04 08:58:33 +02:00
Gaëtan Rizio
74d6346935
Users can change ownership of their video [ #510 ] ( #888 )
...
* [#510 ] Create a new route to get the list of user names
To be able to transfer ownership to a user,
we need to be able to select him from the list of users.
Because the list could be too big, we add a autocomplete feature.
This commit does the following:
* Add a API endpoint to get a list of user names by searching its name
* [#510 ] The user can choose the next owner of the video
To be able to transfer ownership to a user,
we need the owner to be able to select the user.
The server can autocomplete the name of the user to give the ownership.
We add a dialog for the user to actually select it.
This commit does the following:
* Create a modal for the owner to select the next one
* Opens this modal with a button into the menu *more*
* Make the dependency injection
* [#510 ] When the user choose the next owner, create a request in database
For the change of ownership to happen, we need to store the temporary requests.
When the user make the request, save it to database.
This commit does the following:
* Create the model to persist change ownership requests
* Add an API to manage ownership operations
* Add a route to persist an ownership request
* [#510 ] A user can fetch its ownership requests sent to him
To be able to accept or refuse a change of ownership,
the user must be able to fetch them.
This commit does the following:
* Add an API to list ownership for a user
* Add the query to database model
* [#510 ] A user can validate an ownership requests sent to him - server
The user can accept or refuse any ownership request that was sent to him.
This commit focus only on the server part.
This commit does the following:
* Add an API for the user to accept or refuse a video ownership
* Add validators to ensure security access
* Add a query to load a specific video change ownership request
* [#510 ] A user can validate an ownership requests sent to him - web
The user can accept or refuse any ownership request that was sent to him.
This commit focus only on the web part.
This commit does the following:
* Add a page to list user ownership changes
* Add actions to accept or refuse them
* When accepting, show a modal requiring the channel to send the video
* Correct lint - to squash
* [#510 ] PR reviews - to squash
This commit does the following:
* Search parameter for user autocompletion is required from middleware directly
* [#510 ] PR reviews - to squash with creation in database commit
This commit does the following:
* Add the status attribute in model
* Set this attribute on instance creation
* Use AccountModel method `loadLocalByName`
* [#510 ] PR reviews - to squash with fetch ownership
This commit does the following:
* Add the scope `FULL` for database queries with includes
* Add classic pagination middlewares
* [#510 ] PR reviews - to squash with ownership validation - server
This commit does the following:
* Add a middleware to validate whether a user can validate an ownership
* Change the ownership status instead of deleting the row
* [#510 ] PR reviews - to squash with ownership validation - client
This commit does the following:
* Correct indentation of html files with two-spaces indentation
* Use event emitter instead of function for accept event
* Update the sort of ownership change table for a decreasing order by creation date
* Add the status in ownership change table
* Use classic method syntax
* code style - to squash
* Add new user right - to squash
* Move the change to my-account instead of video-watch - to squash
As requested in pull-request, move the action to change ownership into my videos page.
The rest of the logic was not really changed.
This commit does the following:
- Move the modal into my video page
- Create the generic component `button` to keep some styles and logic
* [#510 ] Add tests for the new feature
To avoid regression, we add tests for all api of ownership change.
This commit does the following:
- Create an end-to-end test for ownership change
- Divide it to one test per request
* [#510 ] Do not send twice the same request to avoid spam
We can send several time the same request to change ownership.
However, it will spam the user.
To avoid this, we do not save a request already existing in database.
This commit does the following:
- Check whether the request exist in database
- Add tests to verify this new condition
* [#510 ] Change icons
Change icons so they remains logic with the rest of the application.
This commit does the following:
- Add svg for missing icons
- Add icons in `my-button` component
- Use these new icons
* [#510 ] Add control about the user quota
The user should be able to accept a new video only if his quota allows it.
This commit does the following:
- Update the middleware to control the quota
- Add tests verifying the control
* Correct merge
- Use new modal system
- Move button to new directory `buttons`
* PR reviews - to squash
2018-09-04 08:57:13 +02:00
Chocobozzz
d02911fadd
Fix thumbnail/preview in upload script
2018-09-03 11:12:53 +02:00
Chocobozzz
4b54f1360e
Fix videos overview tags section
2018-08-31 17:43:39 +02:00
Chocobozzz
9a629c6efb
Trending by interval
2018-08-31 17:22:01 +02:00
Chocobozzz
1a47109144
Add channel avatar to overviews
2018-08-31 14:32:37 +02:00
Chocobozzz
b6314e3cee
Cleanup video API SQL requests
2018-08-31 11:44:48 +02:00
Chocobozzz
288fe38590
Use custom rate limiter when asking verif email
2018-08-31 11:44:44 +02:00
Chocobozzz
328e607d32
Add sql trace in error log on sequelize error
2018-08-31 11:43:46 +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
Josh Morel
d9eaee3939
add user account email verificiation ( #977 )
...
* add user account email verificiation
includes server and client code to:
* enable verificationRequired via custom config
* send verification email with registration
* ask for verification email
* verify via email
* prevent login if not verified and required
* conditional client links to ask for new verification email
* allow login for verified=null
these are users created when verification not required
should still be able to login when verification is enabled
* refactor email verifcation pr
* change naming from verified to emailVerified
* change naming from askVerifyEmail to askSendVerifyEmail
* undo unrelated automatic prettier formatting on api/config
* use redirectService for home
* remove redundant success notification on email verified
* revert test.yaml smpt host
2018-08-31 09:18:19 +02:00
Chocobozzz
04291e1ba4
Fix job tests
2018-08-30 15:03:19 +02:00
Chocobozzz
6b6168606b
Bufferize videos views in redis
2018-08-30 15:03:18 +02:00
Chocobozzz
8b60488020
Refractor user quota SQL queries
2018-08-28 18:29:48 +02:00
Chocobozzz
41a676db39
Add features table on signup
2018-08-28 17:39:29 +02:00
Chocobozzz
c3c2ab1c8b
Optimize channel search query
2018-08-28 15:16:04 +02:00
Chocobozzz
9ee92651f6
Fix tests
2018-08-28 11:32:03 +02:00
Chocobozzz
bfcef50db9
Fix oauth server module
2018-08-28 10:56:09 +02:00
Felix Ableitner
bee0abffff
Implement daily upload limit ( #956 )
...
* Implement daily upload limit (ref #652 )
* remove duplicate code
* review fixes
* fix tests?
* whitespace fixes, finish leftover todo
* fix tests
* added some new tests
* use different config value for tests
* remove todo
2018-08-28 09:01:35 +02:00
Chocobozzz
c907c2fa3f
Improve error message on actor name conflict
2018-08-27 16:42:27 +02:00
Chocobozzz
62689b942b
Correctly migrate to fs-extra
2018-08-27 16:23:34 +02:00
Rigel Kent
c9d5c64f98
replace fs by fs-extra to prevent EMFILE error
2018-08-27 16:03:57 +02:00
Chocobozzz
687d638c2b
Fetch outbox when searching an actor
2018-08-27 09:41:54 +02:00
Chocobozzz
f5b0af50c8
Search video channel handle/uri
2018-08-27 09:41:54 +02:00
Chocobozzz
aa55a4da42
Infinite scroll to list our subscriptions
2018-08-27 09:41:54 +02:00
Chocobozzz
f37dc0dd14
Add ability to search video channels
2018-08-27 09:41:54 +02:00
Chocobozzz
240085d005
Fix tests
2018-08-27 09:41:54 +02:00
Chocobozzz
83e6519ba4
Refractor comment creation from federation
2018-08-27 09:41:54 +02:00
Chocobozzz
1297eb5db6
Add refresh video on search
2018-08-27 09:41:54 +02:00
Chocobozzz
f6eebcb336
Add ability to search a video with an URL
2018-08-27 09:41:54 +02:00
Chocobozzz
22a16e36f6
Add local user subscriptions
2018-08-27 09:41:54 +02:00
Chocobozzz
99492dbc0d
Add get subscription endpoint
2018-08-27 09:41:54 +02:00
Chocobozzz
8a19bee1a1
Add ability to set a name to a channel
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
d03cd8bb20
Split users controller
2018-08-27 09:41:54 +02:00
Chocobozzz
4f1f6f0383
Ensure youtubedl binary exists in ydl helper
2018-08-16 09:45:51 +02:00
Chocobozzz
a76138ff56
Add quota used in users list
2018-08-14 18:01:23 +02:00
Chocobozzz
eed24d26db
Don't set a bitrate on unknown audio input
2018-08-14 15:53:06 +02:00
Chocobozzz
06215f15e0
Cleanup utils helper
2018-08-14 15:28:30 +02:00
Chocobozzz
59c76ffa8f
Flat shared module directory
2018-08-14 15:00:01 +02:00
Chocobozzz
13b6dc1f34
Increase video import timeout
2018-08-14 11:40:14 +02:00
Chocobozzz
cc43831a90
Filter tracker based on infohash
2018-08-14 11:00:03 +02:00
Chocobozzz
e5e7f7fe99
Add tests when getting a blacklisted video
2018-08-14 09:27:19 +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
288178bf02
Try to fix travis tests
2018-08-10 17:49:12 +02:00
Chocobozzz
268eebed92
Add state and moderationComment for abuses on server side
2018-08-10 16:54:01 +02:00
Chocobozzz
141b177db0
Add ability to ban/unban users
2018-08-09 17:55:05 +02:00
Chocobozzz
eacb25c436
Add reason when banning a user
2018-08-08 17:44:22 +02:00
Chocobozzz
e69219184b
Implement user blocking on server side
2018-08-08 15:22:58 +02:00
Chocobozzz
92b9d60c00
Add ability to delete our account
2018-08-08 10:55:27 +02:00
Chocobozzz
a031ab0b9b
Increase test timeout for imports
2018-08-08 10:13:05 +02:00
Chocobozzz
541006e355
Correct webtorrent download cleanup
2018-08-08 09:30:31 +02:00
Chocobozzz
3e17515e29
Add torrent tests
2018-08-08 09:30:31 +02:00
Chocobozzz
187501f8b8
Add check param tests regarding video imports
2018-08-08 09:30:31 +02:00
Chocobozzz
a84b8fa5cf
Add import.video.torrent configuration
2018-08-08 09:30:31 +02:00
Chocobozzz
990b6a0b0c
Import torrents with webtorrent
2018-08-08 09:30:31 +02:00
Chocobozzz
ce33919c24
Import magnets with webtorrent
2018-08-08 09:30:31 +02:00
Rigel Kent
aad0ec24e8
advertising PeerTube's rather simple DNT policy
2018-08-08 09:22:15 +02:00
Chocobozzz
3d52b300ea
Merge branch 'release/beta-10' into develop
2018-08-06 12:11:08 +02:00
Chocobozzz
2769e297ca
Fix caption upload on Mac OS
2018-08-06 11:45:24 +02:00
Chocobozzz
60979b076d
Fix tests
2018-08-06 11:19:16 +02:00
Chocobozzz
b2977eecb8
Fix fps federation
2018-08-06 11:19:16 +02:00
Chocobozzz
590fb50690
Add tests regarding video import
2018-08-06 11:19:16 +02:00
Chocobozzz
5d08a6a74e
Add import http enabled configuration
2018-08-06 11:19:16 +02:00
Chocobozzz
7e5f9f001d
Add audit logs for video import
2018-08-06 11:19:16 +02:00
Chocobozzz
2b86fe7274
Add job ttl
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
d7f83948a1
Correctly handle video import errors
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
299474e827
Add ability to remove a video import
2018-08-06 11:19:16 +02:00
Chocobozzz
ce32426be9
Auto update youtube-dl
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
Rigel Kent
7160878c4a
adding tests for audio conversions
2018-08-01 10:57:13 +02:00
Jorropo
991feec9a3
ffmpeg auto thread
...
Set thread count to 0 and ffmpeg will chose automaticaly
2018-08-01 10:57:13 +02:00
Rigel Kent
19ca8ca939
fixing tests to deal with new transcoding parameters
2018-08-01 10:57:13 +02:00
Jorropo
80bc88c133
Nice ffmpeg to 15 and 2
...
Niceness 15 for video conversionNiceness 2 for image generation
(niceness 2 doesn't make it slower, just don't block servers and other
app)
2018-08-01 10:57:13 +02:00
Rigel Kent
4a5ccac5f1
fixing audio getter when video has no audio
2018-08-01 10:57:13 +02:00
Rigel Kent
4176e227cb
Fixing #626 with ffmpeg's low default audio bitrate
2018-08-01 10:57:13 +02:00
Chocobozzz
a3d1026bf3
Add index on sharedInboxUrl
2018-07-31 18:04:45 +02:00
Aurélien Bertron
80e36cd9fa
Add audit logs in various modules
...
- Videos
- Videos comments
- Users
- Videos channels
- Videos abuses
- Custom config
2018-07-31 15:40:29 +02:00
Aurélien Bertron
5939081838
Add audit logs module
2018-07-31 15:40:29 +02:00
Rigel Kent
1c3386e87f
adding ORM pool configuration
2018-07-31 15:38:08 +02:00
Chocobozzz
cf7a61b5a2
Cleanup req files on bad request
2018-07-31 15:09:34 +02:00
Chocobozzz
cc6373e6d6
Fix handle down test
2018-07-31 12:21:04 +02:00
Chocobozzz
6104adc3e9
Don't send follow request if the follow is already accepted
2018-07-31 11:15:59 +02:00
Chocobozzz
25e4d6ee97
Refresh orphan actors
2018-07-31 11:04:33 +02:00
Chocobozzz
4a9e71c2b1
Increase max stalled count in job queue
2018-07-30 19:18:01 +02:00
Chocobozzz
14f2b3ad11
Graceful job queue shutdown
2018-07-30 18:49:54 +02:00
Chocobozzz
8e0fd45e14
Add more info logging
2018-07-30 17:02:40 +02:00
Chocobozzz
0588221107
Remove kue migration
2018-07-30 16:34:47 +02:00
Chocobozzz
c5a893d536
Revert "Delete actor too when deleting account/video channel"
...
This reverts commit e04551d796
.
See https://github.com/Chocobozzz/PeerTube/issues/870#issuecomment-408814420
2018-07-30 13:39:20 +02:00
Chocobozzz
e04551d796
Delete actor too when deleting account/video channel
2018-07-30 11:34:34 +02:00
Chocobozzz
e20015d744
Fiw winston meta log
2018-07-30 11:34:34 +02:00
Chocobozzz
7a93e28110
Delete old indexes
2018-07-27 17:22:20 +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
Jorropo
a3c1738eea
[Server>Middlewares>Follows] Changing error code 400 to 500
...
Follows on http server is a server error not an error of the client.
2018-07-27 14:12:31 +02:00
Chocobozzz
18dbb5b972
Revert SQL optimization in videos list :(
2018-07-27 12:03:27 +02:00
Chocobozzz
3ac046e2a4
Fix peertube on chrome
2018-07-26 16:46:36 +02:00
Chocobozzz
2cebd79701
Fix last commit
2018-07-26 11:02:04 +02:00
Rigel Kent
c1e791bad0
expliciting type checks and predicates (server only)
2018-07-25 22:01:25 +02:00
Chocobozzz
d73c98884e
Hack 459 regarding Angular & i18n
2018-07-25 09:57:52 +02:00
Chocobozzz
a8bf1d826e
404 on unknown thumbnail
2018-07-24 18:03:40 +02:00
Chocobozzz
1194e8b46f
Add max count in pagination
2018-07-24 18:03:38 +02:00
Chocobozzz
77de223a5f
Fix publishedAt after a scheduled update
2018-07-24 15:11:28 +02:00
Chocobozzz
98d3324db3
Fix nodeinfo endpoint
2018-07-24 14:36:25 +02:00
Rigel Kent
3f6d68d967
adding initial support for nodeinfo
2018-07-24 14:08:44 +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
5bcfd02974
Fix travis tests
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
7279b45581
Speed up populate database script
2018-07-24 14:04:05 +02:00
Chocobozzz
e032aec9b9
Render CSS/title/description tags on server side
2018-07-18 10:00:37 +02:00
Chocobozzz
1d94c15468
Add esperanto, lojban, klingon and kotava (audio/subtitle) languages
2018-07-17 19:22:03 +02:00
Chocobozzz
57a81ff649
Fix static avatars/thumbnails cache
2018-07-17 19:04:41 +02:00
Chocobozzz
b54431049b
Add populate database script
2018-07-17 18:17:50 +02:00
Chocobozzz
62945f067b
Add cors for static paths too
2018-07-17 15:04:54 +02:00
Rigel Kent
d00e2393d4
selective route permission to use embeds with x-frame-deny
2018-07-17 12:03:31 +02:00
Chocobozzz
019e475072
Remove unnecessary image check in video upload
2018-07-16 16:51:17 +02:00
Chocobozzz
a920fef10a
Refractor video attr validators
2018-07-16 14:58:22 +02:00
Chocobozzz
f4001cf408
Handle .srt subtitles
2018-07-16 14:31:40 +02:00
Chocobozzz
40e87e9ecc
Implement captions/subtitles
2018-07-16 11:50:08 +02:00
Rigel Kent
19f7b248d8
adding redis unix connection
2018-07-14 15:00:56 +02:00
Chocobozzz
94831479f5
Migrate to bull
2018-07-11 14:00:17 +02:00
William Lahti
999417328b
Ability to programmatically control embeds ( #776 )
...
* first stab at jschannel based player api
* semicolon purge
* more method-level docs; consolidate definitions
* missing definitions
* better match peertube's class conventions
* styling for embed tester
* basic docs
* add `getVolume`
* document the test-embed feature
2018-07-10 17:47:56 +02:00
Anton Latukha
602a81a213
(ffmpeg) B-adapt 1 and B-frames 16 ( #774 )
2018-07-10 00:27:59 +02:00
Chocobozzz
3a6f351b25
Handle higher FPS for high resolution (test)
2018-06-29 17:10:54 +02:00
Rigel Kent
b81eb8fdc6
(feed) adding thumbnail support for RSS feed
2018-06-29 14:58:57 +02:00
Chocobozzz
52d9f792b3
Client: Add ability to update video channel avatar
2018-06-29 14:34:04 +02:00
Chocobozzz
4bbfc6c606
API: Add ability to update video channel avatar
2018-06-29 11:29:23 +02:00
William Lahti
12daa83784
move CORS allowance to the REST API router
2018-06-29 09:46:44 +02:00
Chocobozzz
8244c85ad6
Fix npm run dev:server
2018-06-29 09:33:36 +02:00
Chocobozzz
1b952dd426
Reset published date on publish
2018-06-28 16:58:15 +02:00
Chocobozzz
8afc19a612
Add ability to choose the language
2018-06-28 15:53:12 +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
adc236fee3
Increase test timeout for travis
2018-06-27 10:07:41 +02:00
Chocobozzz
1e11f67be4
Fix transaction retryer error log
2018-06-27 09:45:06 +02:00
Chocobozzz
49799b165e
Add author_url in oembed response
2018-06-27 09:08:34 +02:00
Chocobozzz
85b4d9c52e
Upgrade dependencies
2018-06-26 18:05:47 +02:00
Chocobozzz
9b67da3d9b
Add tracker rate limiter
2018-06-26 16:53:43 +02:00
Chocobozzz
0c237b19fd
Fix images size limit
2018-06-22 15:42:55 +02:00
Chocobozzz
23687332e6
Improve update host script and add warning if AP urls are invalid
2018-06-21 18:36:08 +02:00
Chocobozzz
2ef6a0635c
Do not create a user with the same username than another actor name
2018-06-21 11:54:22 +02:00
Chocobozzz
575712a5c9
Fix HTTP fallback when having videostream issues on firefox
2018-06-20 08:57:52 +02:00
Chocobozzz
9c2e0dbfa9
Update iso639 translations for french and deutch
2018-06-19 14:02:57 +02:00
Chocobozzz
c305467cd7
Fix avatar image in channel page
2018-06-18 11:34:14 +02:00
Chocobozzz
e94fc29706
Fix removing scheduled update
2018-06-18 10:26:20 +02:00
Chocobozzz
b7f1747dc7
Create webtorrent client on player load
...
So we don't run Angular change detection every 250ms on webtorrent
import, when https://github.com/mafintosh/speedometer/pull/7 will be
merged
2018-06-18 10:26:18 +02:00
Florent F
05623b9030
Add resolution to create-transcoding-job script ( #654 )
...
* Add resolution to create-transcoding-job script
* Requested changes
2018-06-15 18:27:35 +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
4dae00e68b
Use local object URLs for feeds
2018-06-14 11:25:19 +02:00
Chocobozzz
9a4a9b6c4e
Fix offset/limit on some SQL queries 🤦
2018-06-13 18:07:35 +02:00
Chocobozzz
749c7247ae
Fix bad RSS descriptions when filtering videos by account or channel
2018-06-13 15:07:45 +02:00
Chocobozzz
bcec136ee6
Fix lint
2018-06-13 14:55:18 +02:00
Chocobozzz
90d4bb8125
Refractor retry transaction function
2018-06-13 14:27:40 +02:00
Chocobozzz
3cd0734fd9
Improve tests when waiting pending jobs
2018-06-13 10:22:53 +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
Rigel Kent
7754034641
(embed) sandbox the iframe
2018-06-11 17:18:04 +02:00
Chocobozzz
fe3a55b071
Add video comments RSS
2018-06-08 20:34:37 +02:00
Chocobozzz
ff193d5e3f
Increase access_token lifetime
2018-06-08 08:17:41 +02:00
Chocobozzz
8eb8bc201e
Pick average video file insead of max quality
2018-06-07 17:57:11 +02:00
Chocobozzz
99d103019c
Move fixtures in tests/
2018-06-07 09:57:35 +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
74b7c6d48e
Little i18n refractoring
2018-06-06 17:37:13 +02:00
Chocobozzz
7ce44a74a3
Add server localization
2018-06-06 16:48:41 +02:00
Chocobozzz
e945b184a0
Localize player
2018-06-06 16:48:40 +02:00
Chocobozzz
f8b4475386
Disable auto language
2018-06-05 08:43:02 +02:00
Chocobozzz
989e526abf
Prepare i18n files
2018-06-05 08:43:01 +02:00
Chocobozzz
9588d4f49b
Correctly forward video related activities
2018-05-31 10:23:56 +02:00
Chocobozzz
04bf312cda
Improve create transcoding jobs tests
2018-05-30 11:12:09 +02:00
Chocobozzz
0c948c1659
Add ability to manually run transcoding job
2018-05-30 10:49:56 +02:00
Chocobozzz
9118bca307
Fix static function name
2018-05-29 18:35:01 +02:00
Chocobozzz
02756fbd11
Improve torrent/video download
2018-05-29 18:30:11 +02:00
Chocobozzz
f6a7c82ca5
Fix AP activity validator
2018-05-29 15:05:14 +02:00
Chocobozzz
53a613171e
Fix publishedAt value after following a new instance
2018-05-28 18:50:44 +02:00
Chocobozzz
77a87fec6c
Update changelog
2018-05-28 17:28:53 +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
e251f170b0
Split files in activitypub server
2018-05-25 11:33:04 +02:00
Chocobozzz
16f29007dc
Fix cc field in classic audience
2018-05-25 11:17:41 +02:00
Chocobozzz
ad9e39fb81
Only use account name in routes
2018-05-25 10:41:07 +02:00
Chocobozzz
06be7ed0b2
Reload my videos after delete
2018-05-25 08:38:59 +02:00
Chocobozzz
a00a8f09f9
Don't render opengraph tags of private videos
2018-05-24 15:34:16 +02:00
Chocobozzz
d14a9532a1
Handle account name in client url
...
More consistent with AP urls
2018-05-24 15:30:28 +02:00
Chocobozzz
a4f99a766b
Add owner in video channel page
2018-05-23 11:38:18 +02:00
Chocobozzz
b40f057594
Handle concurrent requests in cache middleware
2018-05-23 10:03:26 +02:00
Chocobozzz
e1a540b5fa
Fix insane SQL request when loading all video attributes
2018-05-23 09:07:32 +02:00
Rigel Kent
ff2c1fe813
feature: IP filtering on signup page
...
disable registration form on IP not in range
checking the CIDR list before filtering with it
placing the cidr filters as an attribute object in the config
2018-05-22 19:44:34 +02:00
Chocobozzz
0b33c52060
Improve e2e tests
2018-05-22 09:17:21 +02:00
Rigel Kent
30c82f0d2e
feature: db selection in redis
...
resolves #579
2018-05-21 17:49:56 +02:00
Chocobozzz
6200d8d917
Fix video channel update with an admin account
2018-05-17 10:55:49 +02:00
Chocobozzz
5fcbd89841
Fix typings
2018-05-16 11:06:33 +02:00
Rigel Kent
ac235c37e2
robots.txt config and route
2018-05-16 10:50:55 +02:00
Chocobozzz
2efd32f697
Fix updating video tags to empty field
2018-05-16 09:42:56 +02:00
Chocobozzz
136cce4d67
Use publishedAt by default in videos sort
2018-05-15 08:47:47 +02:00
Rigel Kent
82ddca10b7
making the feed fulltext
2018-05-12 09:52:09 +02:00
Chocobozzz
7fb39378d8
Add check channel update test in video update
2018-05-11 16:17:49 +02:00
Chocobozzz
938d3fa0ff
Move normalize functions in helpers
2018-05-11 15:55:39 +02:00
Chocobozzz
5cf1350011
Improve AP validation for Notes
2018-05-11 15:41:54 +02:00
Chocobozzz
0f320037e6
Add ability to update a video channel
2018-05-11 15:25:51 +02:00
Chocobozzz
9675333dec
Decrease AP video cache
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
John Livingston
8a2db2e8cb
linting
2018-05-11 15:23:50 +02:00
John Livingston
7eb5f8cd32
fix reject
2018-05-11 15:23:50 +02:00
John Livingston
e2b9d0ca56
Standard code
2018-05-11 15:23:50 +02:00
John Livingston
066fc8ba71
import-videos: prompt for password
2018-05-11 15:23:50 +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
1d6e5dfc37
Improve video torrent AP object validator
2018-05-11 08:48:20 +02:00
Chocobozzz
9419b01352
Fix tests
2018-05-09 13:49:50 +02:00
Chocobozzz
a10fc78bb0
Fix video channel description/support max length
2018-05-09 13:32:44 +02:00
Chocobozzz
360329cc02
Account/channel descriptions are not required anymore
2018-05-09 11:41:18 +02:00
Chocobozzz
71e3dfda4e
Add timeout and TTL to request jobs
2018-05-09 09:08:22 +02:00
Chocobozzz
7d8e778ad0
Fix video channel update/create on empty fields
2018-05-07 11:31:23 +02:00
Rigel Kent
966eb05313
feature: initial syndication feeds tests for instance-wide feeds
2018-04-26 16:30:27 +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
170726f523
Implement video channel views
2018-04-25 16:56:13 +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
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
9309c3df8f
Update changelog
2018-04-23 15:44:00 +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
41f657c570
Add help concerning NSFW videos in upload
2018-04-19 11:47:02 +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
f55e5a7bf8
Process broadcast requests in parallel
2018-04-18 16:04:49 +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
bf6e8e3e3d
Fix tests
2018-04-18 15:27:33 +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
Pierre-Alain TORET
cff8b272b1
Support hostname binding in config
...
* Add basic support for hostname binding
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Make production example a bit more secure
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Make example config files compatible with hostname binding modification
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Fix typo
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Bind on 127.0.0.1 by default
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
* Update Docker configuration with hostname binding
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-04-17 11:14:32 +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
37ddeba57f
Don't add a dot after the url in forgot password email
2018-04-15 09:29:53 +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
Chocobozzz
3d3441d6c7
Don't start application until all components were initialized
2018-04-04 11:04:14 +02:00
Chocobozzz
72de91cb10
Fix privacy argument in upload script
2018-04-04 10:47:02 +02:00
Chocobozzz
c49db162ee
Add tests for publishedAt
2018-04-04 10:21:36 +02:00
Chocobozzz
20760d9160
Accept unlisted comments too
2018-04-04 09:59:31 +02:00
memorybox
f97d299230
fix #456 catching errors in import-videos ( #457 )
2018-04-02 20:28:25 +02:00
Chocobozzz
79d28db3f9
Fix migration 200
2018-03-30 17:47:21 +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
d8c2e37988
Upgrade changelog
2018-03-29 13:42:03 +02:00
Chocobozzz
09becad8e8
Add reverse proxy test in travis
2018-03-29 11:39:53 +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
45cd28b679
Remove alpine image
2018-03-28 13:45:24 +02:00
Chocobozzz
c73e83da28
Truncate correctly video descriptions
2018-03-28 11:00:02 +02:00
Olivier Jolly
320f8d7e01
Add privacy setting to upload.js cli ( #422 )
2018-03-27 16:15:40 +02:00
Chocobozzz
be1fc4bc50
Fix custom server configuration numbers
2018-03-27 15:46:36 +02:00
Chocobozzz
3e0c9ff5d5
Add ability to search on domain and username too
2018-03-27 15:09:53 +02:00
Chocobozzz
4b8f09fa01
Fix content type response for ActivityPub
2018-03-27 14:29:22 +02:00
Chocobozzz
e53f952eba
Improve SQL request for video AP request
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
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
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
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
604abfbef5
Fix webfinger validator
2017-12-21 10:16:20 +01:00
Chocobozzz
225a89c2af
Sanitize url to not end with implicit ports
2017-12-21 09:56:59 +01:00
Chocobozzz
5f0805d39b
Design modals
2017-12-20 17:49:58 +01:00
Chocobozzz
cb9244de97
Improve video tag in edit form
2017-12-20 15:37:03 +01:00
Chocobozzz
8fa5653ad8
Add transition on play/loading player
2017-12-20 11:05:10 +01:00
Chocobozzz
e203f2e0e1
Only import bootstrap component that we need
2017-12-20 09:26:50 +01:00
Chocobozzz
57f11c187b
Fix validators issue
2017-12-20 09:05:16 +01:00
Chocobozzz
d7a7c248b3
Handle mastodon shares
2017-12-19 17:07:58 +01:00
Chocobozzz
85414add64
Fix player play exception on chromium
2017-12-19 15:17:43 +01:00
Chocobozzz
232f04c809
Accept domain without port for webfinger
2017-12-19 14:26:32 +01:00
Chocobozzz
54b3806324
Fix lint
2017-12-19 14:22:38 +01:00
Chocobozzz
0405ab52dc
Set port if not specified in webfinger
2017-12-19 14:21:14 +01:00
Chocobozzz
f9fcb010b0
Fix migration
2017-12-19 13:44:00 +01:00
Chocobozzz
c4bc85003f
Fix migration scripts
2017-12-19 11:25:20 +01:00
Chocobozzz
c6bf1bb656
Add foreign key migration
2017-12-19 10:53:16 +01:00
Chocobozzz
e12a009254
Status are sent to mastodon
2017-12-19 10:53:16 +01:00
Chocobozzz
ce33ee01cd
Use RsaSignature2017
2017-12-19 10:53:16 +01:00
Chocobozzz
555846c99f
Add public/private keys generation in migrations
2017-12-19 10:53:16 +01:00
Chocobozzz
39fdb3c032
Unfollow with host
2017-12-19 10:53:16 +01:00
Chocobozzz
a7d647c440
Add dirty migration :/
2017-12-19 10:53:16 +01:00
Chocobozzz
50d6de9c28
Begin moving video channel to actor
2017-12-19 10:53:16 +01:00
Chocobozzz
fadf619ad6
Save
2017-12-19 10:51:09 +01:00
Andréas Livet
7efe153b0b
Enh #106 : Add an autoPlayVideo user attribute ( #159 )
...
Warning : I was not able to run the tests on my machine. It uses a different approach to handle databse connexion and didn't find where to configure it...
- create a migration file to add a boolean column in user table
- add autoPlayVideo attribute everywhere it is needed (both on client and server side)
- add tests
- add a way to configure this attribute in account-settings
- use the attribute in video-watch component to actually autoplay or not the video
2017-12-19 10:45:49 +01:00
Chocobozzz
228077efd7
Fix database connection (host + port)
2017-12-15 08:21:00 +01:00
Chocobozzz
6f045b5791
Fix tests
2017-12-14 10:20:05 +01:00
Chocobozzz
d48ff09d27
Use sequelize scopes
2017-12-14 10:07:57 +01:00
Chocobozzz
91fea9fc48
Add migration
2017-12-13 17:46:23 +01:00
Chocobozzz
65b3ed25fc
Fix job model
2017-12-13 17:00:01 +01:00
Chocobozzz
3fd3ab2d34
Move models to typescript-sequelize
2017-12-13 16:50:33 +01:00
Chocobozzz
b682782093
Upgrade to angular 5
2017-12-12 13:58:03 +01:00
Chocobozzz
b1a134ee52
Fix lint
2017-12-08 17:40:54 +01:00
Chocobozzz
f595d39477
Finish admin design
2017-12-08 17:31:21 +01:00
Chocobozzz
04e0fc4888
Begin admin design
2017-12-08 10:41:49 +01:00
Chocobozzz
18327bdf51
Fix test
2017-12-08 10:15:55 +01:00
Chocobozzz
e11f68a356
Optimise transaction for video upload
2017-12-08 10:08:36 +01:00
Chocobozzz
cadb46d832
Design second video upload step
2017-12-08 09:57:29 +01:00
Chocobozzz
baeefe22ca
First upload step is ok
2017-12-07 17:22:44 +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
6bafac54bf
Fix missing default avatar
2017-12-05 15:12:03 +01:00
Chocobozzz
be44767854
Fix lint
2017-12-04 11:17:08 +01:00
Chocobozzz
2295ce6c4e
Add account avatar
2017-12-04 10:34:40 +01:00
Chocobozzz
fef2c7164e
Fix bad to/cc when undo dislike
2017-11-30 14:15:17 +01:00
Chocobozzz
f00984c007
Fix conflict rate serializations
2017-11-30 13:51:53 +01:00
Chocobozzz
4f49137101
Fix req accepts
2017-11-30 13:37:11 +01:00
Chocobozzz
98ec8b8e73
Fix lint
2017-11-30 13:16:23 +01:00
Chocobozzz
1b5b10d131
Fix activitypub check headers
2017-11-30 13:15:25 +01:00
Chocobozzz
6cbdbdef17
Check correctly activitypub headers
2017-11-30 12:00:40 +01:00
Chocobozzz
25ed141c7c
Put activity pub sends inside transactions
2017-11-30 11:31:15 +01:00
Chocobozzz
5cd8054542
Add ability to list jobs
2017-11-30 10:55:06 +01:00
Chocobozzz
1f3e9feca2
Better view counter
2017-11-30 09:21:11 +01:00
Chocobozzz
86d13ec2aa
Users list only available when use is authenticated
...
And has a special right
2017-11-29 13:18:05 +01:00
Chocobozzz
165cdc75bf
Fix well known and json parser with mastodon
2017-11-29 11:34:44 +01:00
Chocobozzz
62c852b2b4
Upgrade server dep'
2017-11-28 18:58:17 +01:00
Chocobozzz
a434c46545
Change tab when changing follow url
2017-11-28 17:13:51 +01:00
Chocobozzz
c60774b05b
Remove max duration/filesize constraints
2017-11-28 14:51:00 +01:00
Chocobozzz
eb7a06c812
Fix migration for Servers table
2017-11-28 10:00:02 +01:00
Chocobozzz
5e3bb76cb6
Fix undo like/dislike forwarding
2017-11-28 08:45:03 +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
74bb2cb834
Add activitypub migration script
2017-11-27 19:40:53 +01:00
Chocobozzz
df1966c9b4
Fix lint
2017-11-27 19:40:53 +01:00
Chocobozzz
652b30564c
Increase test timers
2017-11-27 19:40:53 +01:00
Chocobozzz
f10336cad0
Check signature is correct with the activity pub actor
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
d4f1e94c89
Misc cleanup
2017-11-27 19:40:53 +01:00
Chocobozzz
8d468a16fd
Cleanup helpers
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
Chocobozzz
d8553faa49
Better follows tests
2017-11-27 19:40:53 +01:00
Chocobozzz
0032ebe94a
Federate likes/dislikes
2017-11-27 19:40:53 +01:00
Chocobozzz
d52eb8f656
Fix lint
2017-11-27 19:40:53 +01:00
Chocobozzz
35a097b813
Fix multiple servers test
2017-11-27 19:40:53 +01:00
Chocobozzz
40ff57078e
Federate video views
2017-11-27 19:40:53 +01:00
Chocobozzz
c46edbc2f6
Fetch outbox to grab old activities tests
2017-11-27 19:40:53 +01:00
Chocobozzz
c986175d68
Fetch outbox to grab old activities
2017-11-27 19:40:53 +01:00
Chocobozzz
e71bcc0f4b
Add outbox
2017-11-27 19:40:53 +01:00
Chocobozzz
b1cbc0dd3e
Fix lint
2017-11-27 19:40:53 +01:00
Chocobozzz
0f91ae62df
Add follow tests
2017-11-27 19:40:52 +01:00
Chocobozzz
7e9334c34d
Add ability to unfollow a server
2017-11-27 19:40:52 +01:00
Chocobozzz
892211e849
Move activitypub functions from helpers/ to lib/
2017-11-27 19:40:52 +01:00
Chocobozzz
5414139835
Refractor activity pub lib/helpers
2017-11-27 19:40:52 +01:00
Chocobozzz
79d5caf994
Fix lint
2017-11-27 19:40:52 +01:00
Chocobozzz
572f8d3dba
Fix public video we set to public or unlisted
2017-11-27 19:40:52 +01:00
Chocobozzz
9a27cdc27c
Optimize signature verification
2017-11-27 19:40:52 +01:00
Chocobozzz
975e6e0e44
Fix video full description
2017-11-27 19:40:52 +01:00
Chocobozzz
afffe98839
Speed up activity pub http requests
2017-11-27 19:40:52 +01:00
Chocobozzz
1b3989b096
Generate application keys too
2017-11-27 19:40:52 +01:00
Chocobozzz
47e0652b4a
Optimize account creation
2017-11-27 19:40:52 +01:00
Chocobozzz
4610bc5b12
ApplicationFollow -> SeverFollow
2017-11-27 19:40:52 +01:00
Chocobozzz
21e0727a84
Federate video abuses
2017-11-27 19:40:52 +01:00
Chocobozzz
d7d5611c8a
Federate video update
2017-11-27 19:40:52 +01:00
Chocobozzz
20494f1221
Server shares user videos
2017-11-27 19:40:52 +01:00
Chocobozzz
efc32059d9
Send server announce when users upload a video
2017-11-27 19:40:52 +01:00
Chocobozzz
d846501818
Handle announces in inbox
2017-11-27 19:40:52 +01:00
Chocobozzz
8e10cf1a5a
Fix video upload and videos list
2017-11-27 19:40:52 +01:00
Chocobozzz
8e13fa7d09
Add video abuse to activity pub
2017-11-27 19:40:52 +01:00
Chocobozzz
59c857da59
Fix error when creating a fresh database
2017-11-27 19:40:52 +01:00
Chocobozzz
6086242524
Rename Pod -> Server
2017-11-27 19:40:51 +01:00
Chocobozzz
51548b3181
Add follow tabs
...
Following
Follow
Followers
2017-11-27 19:40:51 +01:00
Chocobozzz
350e31d6b6
Follow works
2017-11-27 19:40:51 +01:00
Chocobozzz
e34c85e527
Fix issues on server start
2017-11-27 19:40:51 +01:00
Chocobozzz
8e69648749
Add MANAGE_PEERTUBE_FOLLOW right
2017-11-27 19:40:51 +01:00
Chocobozzz
ce548a10db
Send follow/accept
2017-11-27 19:40:51 +01:00
Chocobozzz
7a7724e66e
Handle follow/accept
2017-11-27 19:40:51 +01:00
Chocobozzz
571389d43b
Make it compile at least
2017-11-27 19:40:51 +01:00
Chocobozzz
38fa206583
Remove references to author
2017-11-27 19:40:51 +01:00
Chocobozzz
0d0e8dd090
Continue activitypub
2017-11-27 19:40:51 +01:00
Chocobozzz
e4f97babf7
Begin activitypub
2017-11-27 19:40:51 +01:00
Chocobozzz
a01f107bc4
Improve client mobile version
2017-11-06 11:46:11 +01:00
Chocobozzz
563d032e97
Usernames are case insensitive now
2017-11-04 18:32:38 +01:00
Chocobozzz
59557c4663
Don't hash user password once again on update
2017-11-04 18:09:23 +01:00
Chocobozzz
15f25480dd
Split slow and fast api tests for travis
2017-10-31 17:50:28 +01:00
Chocobozzz
53abc4c272
Upgrade server packages
2017-10-31 16:31:24 +01:00
Chocobozzz
11474c3cd9
Add tests and fix bugs for video privacy
2017-10-31 15:32:10 +01:00
Chocobozzz
fd45e8f43c
Add video privacy setting
2017-10-31 11:53:13 +01:00
Chocobozzz
2de96f4d6b
Lazy description and previews to video form
2017-10-30 20:26:06 +01:00
Chocobozzz
8bf89b095a
Add other video description tests
2017-10-30 10:58:43 +01:00
Chocobozzz
9567011bf0
Add lazy description on server
2017-10-30 10:16:27 +01:00
Chocobozzz
757f0da370
Add tests to user roles
2017-10-27 17:27:06 +02:00
Chocobozzz
954605a804
Support roles with rights and add moderator role
2017-10-27 16:55:03 +02:00
Chocobozzz
c296250511
Remove sequelize deprecated operators
2017-10-26 16:59:02 +02:00
Chocobozzz
a265f7f30f
Increase video attributes length
...
Number of tags: 3 -> 5
Tag length: 10 -> 30
Video name: 50 -> 120
Video channel name: 50 -> 120
2017-10-26 15:52:11 +02:00
Chocobozzz
a6d947a9f9
Fix tests
2017-10-26 15:44:02 +02:00
Chocobozzz
7ff7802aa0
Add og:video tags
2017-10-26 15:16:05 +02:00
Chocobozzz
4077df72c6
Fix integrity with transcoding jobs
2017-10-26 14:22:37 +02:00
Chocobozzz
911238e343
Fix integrity issues with after destroy hook
2017-10-26 14:05:20 +02:00
Chocobozzz
6cd44728bb
Fix log in after destroy hook
2017-10-26 12:06:57 +02:00
Chocobozzz
b869d19068
Fix join in video events
2017-10-26 11:42:36 +02:00
Chocobozzz
a041b17147
Reset video fields when remote update fails
2017-10-26 11:26:35 +02:00
Chocobozzz
51c443dbe0
Be tolerant with remote requests
...
Just remove videos we don't want
2017-10-26 10:40:37 +02:00
Chocobozzz
faab3a8453
Add migration script for channels
2017-10-26 09:11:38 +02:00
Chocobozzz
bcd9f81eff
Add channels to upload form
2017-10-26 09:11:38 +02:00
Chocobozzz
d412e80e5f
Fix lint
2017-10-26 09:11:38 +02:00
Chocobozzz
404b54e14f
Adapt client with video channels
2017-10-26 09:11:38 +02:00
Chocobozzz
f5028693a8
Use async/await in lib and initializers
2017-10-26 09:11:38 +02:00
Chocobozzz
eb08047657
Use async/await in controllers
2017-10-26 09:11:38 +02:00
Chocobozzz
5f04dd2f74
Add video channel tests
2017-10-26 09:11:38 +02:00
Chocobozzz
72c7248b6f
Add video channels
2017-10-26 09:11:38 +02:00
Chocobozzz
6a84aafd23
Take in account transcoding for video quota
2017-10-19 17:35:41 +02:00
Chocobozzz
a96aed1518
Add ability to download a video from direct link or torrent file
2017-10-19 14:58:28 +02:00
Chocobozzz
bda65bdc9f
Fix pod removal when it is down
2017-10-19 10:43:54 +02:00
Chocobozzz
10db166bbe
Upgrade client dependencies and fix error logs
2017-10-19 10:22:07 +02:00
Chocobozzz
8a02bd0433
Add pod list endpoint with pagination, sort...
2017-10-19 09:43:01 +02:00
Chocobozzz
9fd540562c
Fix video removing when it is corrupted
2017-10-19 09:28:35 +02:00
Chocobozzz
49347a0a8b
Escape opengraph/oembed tags
2017-10-17 16:53:10 +02:00
Chocobozzz
031094f799
More robust transcoding jobs
2017-10-17 15:37:40 +02:00
Chocobozzz
a6218a0b8f
Improve transcoding quality
...
I'm an idiot
2017-10-17 14:46:09 +02:00
Chocobozzz
4937996095
Don't cache torrent files
2017-10-17 14:21:18 +02:00
Chocobozzz
af9b792268
Try to fix travis tests
2017-10-17 12:47:21 +02:00
Chocobozzz
164174a6ab
Use preview instead of thumbnail for oembed
2017-10-17 10:35:27 +02:00
Ronan
8376734ee3
Handle express-validator error on the client side and fix #96 ( #98 )
...
* Handle express-validator error on the client side
* More meaningfull error for not supported format
2017-10-16 11:43:40 +02:00
Chocobozzz
d8755eed1e
Add oembed endpoint
2017-10-16 10:07:26 +02:00
Chocobozzz
35bf0c83c8
Video blacklist refractoring
2017-10-10 10:18:16 +02:00
Chocobozzz
769d332177
Fix database benchmark in prod mode
2017-10-10 09:00:50 +02:00
Chocobozzz
bcd1c9e194
Server: upgrade packages
2017-10-09 15:18:41 +02:00
Chocobozzz
14d3270f36
Change how we handle resolution
...
It was an enum before, now we just use video height
2017-10-09 11:17:36 +02:00
Chocobozzz
aa8b6df4a5
Client: handle multiple file resolutions
2017-10-06 11:03:09 +02:00
Chocobozzz
ecb455b6c4
Add migration script
2017-10-03 17:16:47 +02:00
Chocobozzz
40298b0254
Implement video transcoding on server side
2017-10-03 15:31:26 +02:00
Chocobozzz
f0adb2701c
Modify video file size to bigint
2017-09-22 17:02:31 +02:00
Green-Star
792dbaf07f
Handle blacklist ( #84 )
...
* Client: Add list blacklist feature
* Server: Add list blacklist feature
* Client: Add videoId column
* Server: Add some video infos in the REST api
* Client: Add video information in the blacklist list
* Fix sortable columns :)
* Client: Add removeFromBlacklist feature
* Server: Add removeFromBlacklist feature
* Move to TypeScript
* Move to TypeScript and Promises
* Server: Fix blacklist list sort
* Server: Fetch videos informations
* Use common shared interface for client and server
* Add check-params remove blacklisted video tests
* Add check-params list blacklisted videos tests
* Add list blacklist tests
* Add remove from blacklist tests
* Add video blacklist management tests
* Fix rebase onto develop issues
* Server: Add sort on blacklist id column
* Server: Add blacklists library
* Add blacklist id sort test
* Add check-params tests for blacklist list pagination, count and sort
* Fix coding style
* Increase Remote API tests timeout
* Increase Request scheduler API tests timeout
* Fix typo
* Increase video transcoding API tests timeout
* Move tests to Typescript
* Use lodash orderBy method
* Fix typos
* Client: Remove optional tests in blacklist model attributes
* Move blacklist routes from 'blacklists' to 'blacklist'
* CLient: Remove blacklist-list.component.scss
* Rename 'blacklists' files to 'blacklist'
* Use only BlacklistedVideo interface
* Server: Use getFormattedObjects method in listBlacklist method
* Client: Use new coding style
* Server: Use new sort validator methods
* Server: Use new checkParams methods
* Client: Fix sortable columns
2017-09-22 09:13:43 +02:00
Chocobozzz
b60e5f38da
Upgrade express validator to v4
2017-09-15 12:17:08 +02:00
Chocobozzz
315cc0cc18
Add info when server is processing a video at upload
2017-09-14 23:03:43 +02:00
Chocobozzz
bfb3a98fac
Remove ng2 file upload module
...
Unmaintained and we don't need it anymore with httpclient
2017-09-14 17:25:36 +02:00
Chocobozzz
d592e0a9b2
Move to HttpClient and PrimeNG data table
2017-09-14 11:57:49 +02:00
Chocobozzz
91f6f169b1
Fix concurrency error when deleting a video
2017-09-12 14:17:46 +02:00
Chocobozzz
6d33593a08
Improve real world script
2017-09-12 13:12:35 +02:00
Chocobozzz
0cb11df7f5
Fix request schedulers test
2017-09-08 19:15:36 +02:00
Chocobozzz
096641566f
Convert real world script to typescript
2017-09-08 17:11:32 +02:00
Chocobozzz
e95561cdf1
Upload a video to /videos/upload
...
This is an action, not a REST endpoint
2017-09-07 21:46:44 +02:00
Chocobozzz
0cee28c1b2
Don't display password in logs
2017-09-07 21:26:33 +02:00
Chocobozzz
aa2e7f1501
urls: makefriends/quitfriends -> make-friends/quit-friends
2017-09-07 21:22:17 +02:00
Chocobozzz
337c258e77
Fix lint
2017-09-07 20:44:30 +02:00
Chocobozzz
8df87ce792
Convert real world tools to typescript
2017-09-07 17:58:09 +02:00
Chocobozzz
fdbda9e3d6
Add tests for npm run scripts
2017-09-07 15:54:34 +02:00
Chocobozzz
77a5501f64
Fix tests and user quota
2017-09-06 17:28:20 +02:00
Chocobozzz
5c98d3bf07
Begin tests for user quota
2017-09-05 22:09:16 +02:00
Chocobozzz
8094a89802
Add user update for admins
2017-09-05 21:29:39 +02:00
Chocobozzz
980246ea8f
Make tslint happy
2017-09-04 21:45:05 +02:00
Chocobozzz
0e1dc3e7c6
Convert tests to typescript
2017-09-04 21:30:18 +02:00
Chocobozzz
b0f9f39ed7
Begin user quota
2017-09-04 20:07:54 +02:00
Chocobozzz
3482688cce
Fix config checker
2017-08-26 09:17:20 +02:00
Chocobozzz
556ddc3192
Upgrade common server dependencies
2017-08-25 18:36:49 +02:00
Chocobozzz
0aef76c479
Formated -> Formatted
2017-08-25 11:45:31 +02:00
Chocobozzz
93e1258c7c
Move video file metadata in their own table
...
Will be used for user video quotas and multiple video resolutions
2017-08-25 11:36:23 +02:00
Chocobozzz
69f224587e
Fix tests
2017-08-02 21:51:40 +02:00
Green-Star
d5f5a670fc
Remove one pod ( #76 )
...
* Client: Fix typo
* Client: Add removeFriend feature
* Server: Add removeFriend feature
* Server: Update method name
* Fix rebase onto develop issues
* Server: Fix error message
* Server: Remove useless methods in removeFriend method
* Server: Finish remove on pod feature after rebase
* Server: Type pod parameter
* Fix Travis build
* Add friend-basic test for the remove one pod feature
* Add check-params tests for the remove one pod feature
* Fix typos
* Add friend-advanced test for the remove one pod feature
* Client: Trailing new line
* Move to promises
* Add undefined id test
* Use find method instead of a for loop to find the friend to remove
* Remove setTimeout method
* Server: Remove requestScheduler operations
* Server: Fix logging messages
* Server: Remove sign request parameter
2017-08-02 21:50:42 +02:00
Chocobozzz
291e8d3eed
Add ability to limit user registrations
2017-07-25 20:17:28 +02:00
Chocobozzz
0b7db72af3
Fix lint
2017-07-12 14:58:34 +02:00
Chocobozzz
d38309c345
Set correctly preview image for open graph
2017-07-12 12:19:39 +02:00
Chocobozzz
f981dae861
Add previews cache system between pods
2017-07-12 11:56:02 +02:00
Chocobozzz
075f16caac
Remove "function" in favor of () => {}
2017-07-11 17:05:55 +02:00
Chocobozzz
4e979c3e1b
Add tests for open graph tags
2017-07-11 16:16:51 +02:00
Chocobozzz
0a6658fdcb
Use global uuid instead of remoteId for videos
2017-07-11 16:01:56 +02:00
Chocobozzz
e6d4b0ff24
Remove any typing from server
2017-07-11 10:59:13 +02:00
Chocobozzz
4771e0008d
Better typescript typing for a better world
2017-07-10 19:43:21 +02:00
Chocobozzz
ad0997adfb
Fix error logging
2017-07-07 18:26:12 +02:00
Chocobozzz
709756b8e1
Async signature and various fixes
2017-07-07 18:23:18 +02:00
Chocobozzz
18c8e94508
Video search -> case insensitive
2017-07-06 18:01:02 +02:00
Chocobozzz
6fcd19ba73
Move to promises
...
Closes https://github.com/Chocobozzz/PeerTube/issues/74
2017-07-05 14:14:16 +02:00
Green-Star
5fe7e89831
Fix test ( #71 )
...
* Fix timeouting tests
* Increase timeout to be sure requests will be propagated
* Add timeout to be sure video views will be updated
* Use standard style
* Fix PR comments.
2017-07-02 20:48:31 +02:00
Chocobozzz
ba44fa1953
Move ensureRegistrationEnabled to middlewares
2017-06-25 17:48:51 +02:00
Chocobozzz
0a381679e0
ClientLocal -> OAuthClientLocal
2017-06-25 17:44:19 +02:00
Chocobozzz
e636eb8810
Requests -> RequestSchedulers
2017-06-25 17:19:46 +02:00
Chocobozzz
945075ad45
Oup's, forgot to increate timeout test
2017-06-25 15:15:03 +02:00
Chocobozzz
12028e7a17
Fix travis tests
2017-06-25 15:02:08 +02:00
Chocobozzz
0c2388548a
Excluse .js.map when scanning models/ directory
2017-06-24 10:30:23 +02:00
Chocobozzz
9e58005439
Update systemd service template
2017-06-20 20:34:41 +02:00
Chocobozzz
154898b0b7
Share models between server and client
2017-06-17 11:28:11 +02:00
Chocobozzz
df98563e21
Use typescript standard and lint all files
2017-06-16 14:32:15 +02:00
Chocobozzz
ee9e7b61f5
Create types for model enums
2017-06-16 10:36:18 +02:00
Chocobozzz
70c065d64c
Add this context to instance model functions
2017-06-16 09:54:59 +02:00
Chocobozzz
74889a71fe
Reorganize model files
2017-06-16 09:45:46 +02:00
Chocobozzz
15a302943d
BaseRequestScheduler -> AbstractRequestScheduler
2017-06-16 09:14:41 +02:00
Chocobozzz
c3d19a4907
Fix video update test
2017-06-12 21:37:56 +02:00
Chocobozzz
75d612ce3c
Convert scripts to typescript
2017-06-12 21:06:32 +02:00
Chocobozzz
127944aacb
Better models define typing
2017-06-11 17:35:32 +02:00
Chocobozzz
1840c2f7c9
Update webpack stack
2017-06-11 15:19:43 +02:00
Chocobozzz
8635a2c70c
Update client modules
2017-06-11 12:28:22 +02:00
Chocobozzz
69f616ab3a
Use shared models
2017-06-11 11:02:35 +02:00
Chocobozzz
69818c9394
Type functions
2017-06-10 22:15:25 +02:00
Chocobozzz
4d4e5cd4dc
require -> import
2017-06-05 21:53:49 +02:00
Chocobozzz
e02643f32e
Type models
2017-05-25 17:32:16 +02:00
Chocobozzz
65fcc3119c
First typescript iteration
2017-05-20 09:57:40 +02:00
Chocobozzz
5a976a8c35
Server: move requests lib in their own directory
2017-05-05 17:35:58 +02:00
Chocobozzz
4e284e97b9
Server: finish old jobs at startup
2017-05-05 17:24:16 +02:00
Chocobozzz
e5b8853905
Server: check ffmpeg at startup
2017-05-05 17:15:21 +02:00
Chocobozzz
d33242b047
Server: split videos controller
2017-05-05 16:53:35 +02:00
Chocobozzz
c24ac1c18e
Fix unset video language on video update
2017-05-05 14:29:58 +02:00
Chocobozzz
9eee32fc34
Client: fix update button displayed on non owned video
2017-05-05 14:11:01 +02:00
Chocobozzz
b1ed221747
Fix tests
2017-05-05 13:42:52 +02:00
Chocobozzz
62326afb15
Server: Fix video propagation with transcoding enabled
2017-05-05 12:15:16 +02:00
Chocobozzz
fce897f326
Server: add tests to video transcoder
2017-05-04 21:51:00 +02:00
Chocobozzz
227d02fead
Server: add job scheduler to transcode video files
2017-05-04 21:12:32 +02:00
Chocobozzz
15d4ee04a9
Server: little refractoring when listing videos
2017-05-01 19:24:37 +02:00
Chocobozzz
843aa7ba03
Server: add tests for video blacklists
2017-05-01 19:04:29 +02:00
Chocobozzz
ab683a8e0d
Format video blacklist
2017-04-26 21:42:36 +02:00
Green-Star
198b205c10
Add ability for an administrator to remove any video ( #61 )
...
* Add ability for an admin to remove every video on the pod.
* Server: add BlacklistedVideos relation.
* Server: Insert in BlacklistedVideos relation upon deletion of a video.
* Server: Modify BlacklistedVideos schema to add Pod id information.
* Server: Moving insertion of a blacklisted video from the `afterDestroy` hook into the process of deletion of a video.
To avoid inserting a video when it is removed on its origin pod.
When a video is removed on its origin pod, the `afterDestroy` hook is fire, but no request is made on the delete('/:videoId') interface.
Hence, we insert into `BlacklistedVideos` only on request on delete('/:videoId') (if requirements for insertion are met).
* Server: Add removeVideoFromBlacklist hook on deletion of a video.
We are going to proceed in another way :).
We will add a new route : /:videoId/blacklist to blacklist a video.
We do not blacklist a video upon its deletion now (to distinguish a video blacklist from a regular video delete)
When we blacklist a video, the video remains in the DB, so we don't have any concern about its update. It just doesn't appear in the video list.
When we remove a video, we then have to remove it from the blacklist too.
We could also remove a video from the blacklist to 'unremove' it and make it appear again in the video list (will be another feature).
* Server: Add handler for new route post(/:videoId/blacklist)
* Client: Add isBlacklistable method
* Client: Update isRemovableBy method.
* Client: Move 'Delete video' feature from the video-list to the video-watch module.
* Server: Exclude blacklisted videos from the video list
* Server: Use findAll() in BlacklistedVideos.list() method
* Server: Fix addVideoToBlacklist function.
* Client: Add blacklist feature.
* Server: Use JavaScript Standard Style.
* Server: In checkUserCanDeleteVideo, move the callback call inside the db callback function
* Server: Modify BlacklistVideo relation
* Server: Modifiy Videos methods.
* Server: Add checkVideoIsBlacklistable method
* Server: Rewrite addVideoToBlacklist method
* Server: Fix checkVideoIsBlacklistable method
* Server: Add return to addVideoToBlacklist method
2017-04-26 21:22:10 +02:00
Chocobozzz
0dd079da27
Update standard -> 10
2017-04-16 14:25:37 +02:00
Chocobozzz
c36b4ff77e
Server: fix tests
2017-04-09 12:31:04 +02:00
Chocobozzz
2c2e909216
Server: add ability to register new user
2017-04-09 12:08:36 +02:00
Chocobozzz
3092476e64
Server: add video language attribute
2017-04-07 12:13:37 +02:00
Chocobozzz
1d49e1e27d
Server: Add NSFW in user profile
2017-04-03 21:24:36 +02:00
Chocobozzz
31b59b4774
Server: add nsfw attribute
2017-03-28 21:19:46 +02:00
Chocobozzz
6f0c39e2de
Server: add licence video attribute
2017-03-27 20:53:11 +02:00
Chocobozzz
b4c5ac97ff
Server: refractoring upload/update video test utils
2017-03-26 18:39:01 +02:00
Chocobozzz
f6e692f5ee
Fix tag tests
2017-03-22 22:13:11 +01:00
Chocobozzz
e54163c2d5
Relax on tags (accept any characters and not required anymore)
2017-03-22 21:56:02 +01:00
Chocobozzz
6e07c3de88
Add video category support
2017-03-22 21:25:24 +01:00
Chocobozzz
34831b4843
Server: move pod remove to remote path
2017-03-19 18:56:10 +01:00
Chocobozzz
f148e5edb6
Better real world test
2017-03-19 09:16:33 +01:00
Chocobozzz
e22528aca6
Server: add config endpoint
2017-03-10 11:32:39 +01:00
Chocobozzz
86e8393986
Allow to sort by likes
2017-03-08 21:52:25 +01:00
Chocobozzz
d38b828106
Add like/dislike system for videos
2017-03-08 21:35:43 +01:00
Chocobozzz
e3d156b341
Server: add views attribute when sending videos to friends
2017-03-04 11:00:59 +01:00
Chocobozzz
1f5bf9ef70
Server: typo
2017-03-04 10:41:42 +01:00
Chocobozzz
ed708d62a6
Server: fix migrations with an empty Applications table
2017-03-04 10:40:09 +01:00
Chocobozzz
4b4660582b
Server: fix requests endpoints
2017-03-04 09:48:35 +01:00
Chocobozzz
72329aaa28
Update bittorrent-tracker and standard to v9
2017-03-03 18:45:40 +01:00
Chocobozzz
99fdec4648
Fix request schedulers stats
2017-02-27 21:56:55 +01:00
Chocobozzz
f282639b07
Server: request scheduler refractoring
2017-02-26 20:01:26 +01:00
Chocobozzz
9c2c18f3ab
Server: little sort refractoring
2017-02-26 20:01:26 +01:00
Chocobozzz
e4c87ec269
Server: implement video views
2017-02-26 20:01:26 +01:00
Chocobozzz
9e167724f7
Server: make a basic "quick and dirty update" for videos
...
This system will be useful to to update some int video attributes
(likes, dislikes, views...)
The classic system is not used because we need some optimization for
scaling
2017-02-26 20:01:26 +01:00
Chocobozzz
fe783f6b0d
This is not a prototype anymore, but a real project!
2017-02-26 20:01:26 +01:00
Chocobozzz
5804c0db33
Server: fix migration scripts
2017-02-18 12:13:33 +01:00
Chocobozzz
c1a7ab7f04
Server: use a request scheduler object instance for friends
...
communication
2017-02-18 10:29:36 +01:00
Chocobozzz
ad4a8a1cca
Add email to users
2017-02-18 09:29:59 +01:00
Chocobozzz
5d67f289df
Server: add unique to unique indexes
2017-02-16 19:24:34 +01:00
Chocobozzz
4793c343fd
Add email to pods
2017-02-16 19:19:56 +01:00
Chocobozzz
f6f7dfee01
Server: update express-validator
2017-02-10 11:27:14 +01:00
Chocobozzz
9cc99d7b56
Fix update host script
2017-02-08 20:34:01 +01:00
Chocobozzz
28798b5d94
Client: replace simple tables by ng2 smart table component
2017-01-30 22:41:14 +01:00
Chocobozzz
cddadde81f
Server: assert remoteId and host pair is unique
2017-01-27 12:14:53 +01:00
Chocobozzz
b09ce6455f
Server: error if we add a pod that already exists
2017-01-27 11:55:31 +01:00
Chocobozzz
84c07f8ac1
Fix tests
2017-01-23 23:00:27 +01:00
Chocobozzz
11ac88de40
Client: add basic support to report video abuses
2017-01-23 22:18:53 +01:00
Chocobozzz
4f8c0eb0e9
Client: add ability to report a video
2017-01-20 19:22:15 +01:00
Chocobozzz
872a4c7cea
Adapt requests controller/front to new informations
2017-01-19 22:38:34 +01:00
Chocobozzz
15103f11ec
Server: paths refractoring
2017-01-17 21:42:47 +01:00
Chocobozzz
1e4b0080ff
Server: requests refractoring
2017-01-17 21:17:07 +01:00
Chocobozzz
da691c46df
Server: remote video validators refractoring
2017-01-17 20:59:16 +01:00
Chocobozzz
62f4ef413c
Server: remote request process refractoring
2017-01-17 20:50:45 +01:00
Chocobozzz
4145c1c689
Server: transaction refractoring
2017-01-17 20:50:45 +01:00
Chocobozzz
fbc22d7936
Server: fix update remote video
2017-01-15 22:22:41 +01:00
Chocobozzz
4df023f2d4
Server: create transaction refractoring
2017-01-15 19:53:11 +01:00
Chocobozzz
d6a5b018b8
Server: retryer transaction wrapper refractoring
2017-01-15 19:13:16 +01:00
Chocobozzz
91cc839af8
Server: fix single pod tests
2017-01-12 13:08:47 +01:00
Chocobozzz
790e65fcf7
Try to fix travis build
2017-01-12 10:06:03 +01:00
Chocobozzz
7f4e7c3637
Server: fix update remote video infohash
2017-01-12 09:47:21 +01:00
Chocobozzz
63d00f5ded
Server: fix update right checks
2017-01-11 19:15:23 +01:00
Chocobozzz
edc5e86006
Server: transaction serializable for videos
2017-01-11 18:41:40 +01:00
Chocobozzz
f2cdb86675
Server: add update case to real world script
2017-01-11 18:41:28 +01:00
Chocobozzz
45abb8b97b
Server: rights check for update a video
2017-01-11 18:41:09 +01:00
Chocobozzz
d8cc063e97
Server: do not break remote videos processing on error
2017-01-11 18:06:51 +01:00
Chocobozzz
dea32aacde
Server: always check commit result
2017-01-11 16:22:50 +01:00
Chocobozzz
bf4ff8fe0b
Server: retry video abuse requests too
2017-01-10 22:33:00 +01:00
Chocobozzz
bd14d16a29
Server: improve requests scheduler
2017-01-10 22:24:42 +01:00
Chocobozzz
ed04d94f6d
Server: try to have a better video integrity
2017-01-06 23:46:36 +01:00
Chocobozzz
bb0b243c92
Server: improve real world script
2017-01-06 23:24:20 +01:00
Chocobozzz
bdfbd4f162
Server: use crypto instead of ursa for pod signature
2017-01-04 22:23:07 +01:00
Chocobozzz
b981a525c3
Server: we don't need the video name when removing a remote video
2017-01-04 21:15:57 +01:00
Chocobozzz
55fa55a9be
Server: add video abuse support
2017-01-04 21:05:13 +01:00
Chocobozzz
a6fd2b30bf
Server: move remote routes in their own directory
2016-12-30 12:53:41 +01:00
Chocobozzz
8fd66b75bf
Server: fix video remoe validation
2016-12-30 12:39:49 +01:00
Chocobozzz
efe923bcda
Server: split check params tests
2016-12-30 12:23:53 +01:00
Chocobozzz
818f7987eb
Server: optimization for videoGet and videoRemove
2016-12-30 11:51:08 +01:00
Chocobozzz
79066fdf33
Server: add updatedAt attribute to videos
2016-12-30 11:45:00 +01:00
Chocobozzz
3d118fb501
Server: propagate video update to other pods
2016-12-30 11:27:42 +01:00
Chocobozzz
7b1f49de22
Server: add ability to update a video
2016-12-29 19:07:05 +01:00
Chocobozzz
4ff0d86208
Server: little refractoring
2016-12-29 18:02:03 +01:00
Chocobozzz
4d32448895
Server: use binary data instead of base64 to send thumbnails
2016-12-29 12:13:19 +01:00
Chocobozzz
98ac898a03
Server: use video hook to send information to other pods when a video is
...
deleted
2016-12-29 11:17:11 +01:00
Chocobozzz
4712081f2a
Server: add association between author and user
2016-12-29 10:56:07 +01:00
Chocobozzz
319d072e8e
Server: Add postgresql indexes
2016-12-29 10:04:39 +01:00
Chocobozzz
67bf9b96bb
Server: add database field validations
2016-12-28 15:49:23 +01:00
Chocobozzz
00d6a41e46
Add script to migrate from mongodb to postgresql
...
Usage: NODE_ENV=production ./scripts/mongo-to-postgre.js --mongo-database peertube-prod
2016-12-27 18:34:47 +01:00
Chocobozzz
178edb2025
Server: correctly sort tags by name asc
2016-12-26 17:44:25 +01:00
Chocobozzz
124648d7fc
Server: add createdAt from remote video in database
2016-12-25 12:06:08 +01:00
Chocobozzz
56ac84d0a3
Fix real world script
2016-12-25 12:05:47 +01:00
Chocobozzz
f83e279581
Fix standard lint
2016-12-25 09:47:49 +01:00
Chocobozzz
b769007f73
Update migrations code
2016-12-25 09:44:57 +01:00
Chocobozzz
7920c273a2
Move tags in another table
2016-12-24 16:59:17 +01:00
Chocobozzz
3897209f46
Server: rename Pods -> Pod
2016-12-19 21:50:20 +01:00
Chocobozzz
feb4bdfd9b
First version with PostgreSQL
2016-12-19 21:22:28 +01:00
Chocobozzz
38d78e5b82
Server: remove encryption when seending requests to other pods
...
We don't need it anymore since HTTPS is mandatory now
2016-11-27 18:25:35 +01:00
Chocobozzz
437cf8b531
Server: set manually the post host of a remote video throught the
...
signature
2016-11-27 11:09:05 +01:00
Chocobozzz
79530164b6
Server: move static/client routes in controllers/
2016-11-25 14:21:41 +01:00
Bigard Florian
8e124f999b
Server: fix magnet tracker websocket url for remote videos
2016-11-23 13:34:07 +01:00
Chocobozzz
a078c1556f
Server: fix logs when adding a remote video
2016-11-22 22:41:50 +01:00
Chocobozzz
8f21730250
Server: add extname video information to remote pods
2016-11-22 22:34:59 +01:00
Chocobozzz
04968ab477
Fix migration script
2016-11-21 22:09:45 +01:00
Chocobozzz
fab69ab8aa
Server: fix refreshing token
2016-11-21 22:09:45 +01:00
Chocobozzz
40e3f5e1c5
Fix opengraph url tag
2016-11-18 18:55:34 +01:00
Chocobozzz
c77fa067a1
Server: fix thumbnail in remote videos
2016-11-16 21:16:41 +01:00
Chocobozzz
441b66f809
Server: forbid to make friends with a non https server
2016-11-16 20:29:26 +01:00
Chocobozzz
73ce7f9676
Server: don't be rude when serving unknown video in watch html file
2016-11-16 20:29:26 +01:00
Chocobozzz
2550fab35e
Server: add migration scripts to the new mongo schemes
2016-11-16 20:29:26 +01:00
Chocobozzz
8eb7d0fa09
Server: Remove unused console log
2016-11-16 20:29:26 +01:00
Chocobozzz
a4254ea173
Server: adapt tests to host
2016-11-16 20:29:26 +01:00
Chocobozzz
49abbbbedc
Pod URL -> pod host. HTTPS is required to make friends.
...
Reason: in a network with mix http/https pods, https pods won't be able
to play videos from http pod (insecure requests).
2016-11-16 20:29:26 +01:00
Chocobozzz
41b5da1d8c
Server: use preview image for opengraph
2016-11-16 20:29:26 +01:00
Chocobozzz
55723d16fd
Server: adapt magnet uri search
2016-11-16 20:29:26 +01:00
Chocobozzz
f285faa04e
Server: generate magnet uri on the fly
2016-11-16 20:29:26 +01:00
Chocobozzz
558d7c2385
Server: use _id for image and video files. Add remoteId field
2016-11-16 20:29:26 +01:00
Chocobozzz
6a94a109b4
Server: add video preview
2016-11-16 20:29:26 +01:00
Chocobozzz
830bcd0f82
Prerender opengraph tags in the server
2016-11-16 20:29:26 +01:00
Chocobozzz
371fa0933a
Server: fix refreshing token
2016-11-04 11:34:23 +01:00
Chocobozzz
b65c27aaf7
Server: check the host key is not present in configurations
...
The parameter was renamed to hostname
2016-11-01 19:46:07 +01:00
Chocobozzz
d16b5172ae
Server: use constants to get port configuration
2016-11-01 19:17:25 +01:00
Chocobozzz
b1233aa856
Server: add log messages if the server refuses to serve local clients tokens
2016-11-01 19:14:33 +01:00
Chocobozzz
4b08096b2c
Server: add endpoint in requests
2016-11-01 18:47:57 +01:00
Chocobozzz
bf2fc85c83
Server: fix refreshing token that fails
2016-11-01 18:16:47 +01:00
Chocobozzz
cf6412e85d
Server: videos search case insensitive
2016-10-26 20:37:27 +02:00
Chocobozzz
3737bbafb1
Server: host -> hostname (host = hostname + port)
2016-10-26 20:28:34 +02:00
Chocobozzz
2c49ca42d1
Server: do not make friends with myself
2016-10-26 20:28:34 +02:00
Chocobozzz
43666d616d
Server: randomize the requests list
...
We don't want to stuck with the same failing requests
2016-10-26 20:28:34 +02:00
Chocobozzz
dc00913261
Client: avoid "quit friends" to appear during the pending request
2016-10-21 13:13:49 +02:00
Chocobozzz
f253b1c1f1
Server: remove v1 directory, we don't really need it
2016-10-21 12:16:28 +02:00
Chocobozzz
b3d9251015
Server: Uploads -> Videos
2016-10-21 11:33:31 +02:00
Chocobozzz
80a6c9e76f
Server: pod removing refractoring
2016-10-21 11:20:45 +02:00
Chocobozzz
792b893ed4
Server: add npm run check to check CORS, bittorrent tracker...
2016-10-21 11:20:14 +02:00
Chocobozzz
c2ee5ce83a
Server: wait pod removal when finishing a request
2016-10-17 21:38:14 +02:00
Chocobozzz
25cad91992
Server: handle tls websockets
2016-10-17 21:10:29 +02:00
Chocobozzz
7a2c9a8e55
Try to fix travis
2016-10-14 18:59:01 +02:00
Chocobozzz
5683534893
Remove references to Electron
2016-10-13 21:48:55 +02:00
Chocobozzz
82221ac920
Update clean script
2016-10-13 21:45:23 +02:00
Chocobozzz
3fad43acfb
Server: fix real world tools
2016-10-10 21:33:40 +02:00
Chocobozzz
af1068ce1d
Server: forbid to remove the root user
2016-10-07 15:32:09 +02:00
Chocobozzz
bf94b6f0a1
Server: update to webseed implementation (tests, lint...)
2016-10-07 13:59:06 +02:00
Chocobozzz
a6375e6966
Merge branch 'master' into webseed-merged
2016-10-02 15:39:09 +02:00
Chocobozzz
c4403b29ad
Server: remove useless hash affectations
2016-10-02 12:19:02 +02:00
Chocobozzz
9f6bae3a9d
Server: reorganize constant file
2016-10-02 11:14:08 +02:00
Chocobozzz
d6cf31b7e0
Server: add informations when removing requests of unexisting pod
2016-10-01 16:10:18 +02:00
Chocobozzz
32e574750a
Add "max requests number" information for requests iterations
2016-10-01 15:45:15 +02:00
Chocobozzz
5abeec313f
Server: fix remaining milli seconds before the next requests feature
2016-10-01 15:33:27 +02:00
Chocobozzz
1ab844d859
Server: add port when making friends if it is not specified
2016-10-01 14:23:50 +02:00
Chocobozzz
35165e1669
Electron-prebuilt -> electron
2016-10-01 11:49:32 +02:00
Chocobozzz
7c34bc6491
Server: fix error log when a friend request fails
2016-10-01 10:10:49 +02:00
Chocobozzz
b91359055f
Server: add information why a friend request failed (status code)
2016-10-01 09:48:49 +02:00
Chocobozzz
b81929a014
Server: when we remove a user, remove the oauthtokens too
2016-10-01 09:12:02 +02:00
Chocobozzz
0eb78d5303
Server: do not forget to check the signature when another pod wants to
...
quit us
2016-10-01 09:09:07 +02:00
Chocobozzz
c60f2212fd
Server: migration script that add admin role to root user
2016-09-27 22:41:38 +02:00
Chocobozzz
f6a0754fda
Server: fix migration at installation
2016-09-26 23:10:32 +02:00
Chocobozzz
00d6b0dda4
Add migration (for db, folders...) mechanism
2016-09-26 22:39:58 +02:00
Chocobozzz
d74a0680f7
Server: show user created date for the api
2016-09-23 17:19:57 +02:00
Chocobozzz
eb4f957eca
Client: add requests stats page
2016-09-23 17:09:38 +02:00
Chocobozzz
ccc64aa679
Server: fix unit tests again
2016-09-21 23:05:31 +02:00
Chocobozzz
0fb99fb4fd
Server: fix tests
2016-09-21 22:52:25 +02:00
Chocobozzz
f9b2d2cedd
Fix client peer dependencies
2016-09-20 22:45:14 +02:00
Chocobozzz
d3cd34be2f
Server: add requests stats endpoint
2016-09-19 21:33:46 +02:00
Chocobozzz
535724234a
Server: add pod created date and score to the list controller
2016-08-26 18:55:10 +02:00
Chocobozzz
26d7d31ba3
Server: encrypt password in database
2016-08-25 17:57:37 +02:00
Chocobozzz
327680c984
Server: fix check user params tests
2016-08-23 17:58:05 +02:00
Chocobozzz
bf68dd752d
Client: fix error display for component
2016-08-23 17:42:56 +02:00
Chocobozzz
9ab1071c8d
Do not wait the make friends process ends to send a response to the
...
request
2016-08-23 14:48:59 +02:00
Chocobozzz
39f87cb216
Server: catch JSON.parse exceptions
2016-08-23 14:37:36 +02:00
Chocobozzz
d57d6f2605
Server: fix makefriends validation and tests
2016-08-21 10:41:04 +02:00
Chocobozzz
6c1a098b41
Server: fix remote videos requests validator
2016-08-21 09:54:46 +02:00
Chocobozzz
4613274479
Server: fix real world simulation script
2016-08-20 17:19:27 +02:00
Chocobozzz
1e2564d392
Server: make friends urls come from the request instead of the
...
configuration file
2016-08-20 17:11:38 +02:00
Chocobozzz
e861452fb2
Server: put config in constants
2016-08-19 21:34:51 +02:00
Chocobozzz
5c39adb731
Server: add user list sort/pagination
2016-08-16 22:31:45 +02:00
Chocobozzz
089ff2f204
Server: optimize function to see if there are users or not
2016-08-16 21:51:35 +02:00
Chocobozzz
0ff21c1c08
Server: video.list -> video.listForApi (with pagination, sort...)
2016-08-16 21:51:04 +02:00
Chocobozzz
28f7d2020f
Server: test filenames with hyphens
2016-08-15 18:44:30 +02:00
Chocobozzz
ede4db9e5e
Server: fix travis tests
2016-08-14 16:50:22 +02:00
Chocobozzz
68a3b9f2aa
Server: delete user with the id and not the username
2016-08-09 21:44:45 +02:00
Chocobozzz
25ed57f3db
Server: create requests utils module
2016-08-07 22:18:14 +02:00
Chocobozzz
8d30905858
Server: split tests utils in multiple files
2016-08-07 22:09:59 +02:00
Chocobozzz
58b2ba55a9
Server: do not allow a user to remove a video of another user
2016-08-05 21:41:28 +02:00
Chocobozzz
f3391f9237
Server: fix tests
2016-08-05 19:18:11 +02:00
Chocobozzz
10431358b2
Server: fix status code when updating/removing a user
2016-08-05 18:08:55 +02:00
Chocobozzz
99a64bfed2
Server: allow user to get its informations (/users/me)
2016-08-05 17:19:08 +02:00
Chocobozzz
6606150c49
Server: move clients in its own file
2016-08-05 16:09:39 +02:00
Chocobozzz
9bd2662976
Implement user API (create, update, remove, list)
2016-08-04 22:33:38 +02:00
Chocobozzz
e4c556196d
Server: reorganize express validators
2016-07-31 20:58:43 +02:00
Chocobozzz
052937db8a
First draft using only webseed for server
2016-07-27 21:21:57 +02:00
Chocobozzz
32bb415602
Server: Use ES6 promise for mongoose/node-oatuh2-server
2016-07-27 21:16:19 +02:00
Chocobozzz
419633ce9d
Server: throttle "seedAll" when starting the server
2016-07-21 17:15:29 +02:00
Chocobozzz
677618d4a6
Server: Add some cli tools to make it easy to upload a lot of videos
2016-07-20 19:16:00 +02:00
Chocobozzz
2bd3f17127
Server: do not enable images tests by default because it needs a special
...
ffmpeg version
2016-07-20 17:55:26 +02:00
Chocobozzz
2f372a8654
Server: implement refresh token
2016-07-20 16:23:58 +02:00
Chocobozzz
f9f5478ca0
Server: Don't make the host url check for client credentials if this is a test instance
2016-07-19 16:44:15 +02:00
Chocobozzz
1a42c9e2c0
Server: udpate async to 2.0.0
2016-07-18 17:17:52 +02:00
Chocobozzz
5495c83a71
Server: fix ipc bug
2016-07-18 16:16:47 +02:00
Chocobozzz
022856f8a5
Fix tests
...
I should consider writing unit tests to test the tests
2016-07-07 20:36:46 +02:00
Chocobozzz
8f68c31a71
Server: add script that try to simulate a real world situation
...
Each pod randomly upload or remove a video and send the information to
its friend
2016-07-06 20:01:27 +02:00
Chocobozzz
b359546358
Server: limit actions for each request between pods
2016-07-06 19:59:01 +02:00
Chocobozzz
4fea95df04
Server: fix videos pagination
2016-07-06 19:57:47 +02:00
Chocobozzz
6666aad459
Fix requests ordering between pods
2016-07-05 21:36:01 +02:00
Chocobozzz
5f698b82c7
Use dashes for filenames
2016-07-01 16:22:36 +02:00
Chocobozzz
fc51fde048
reqValidators --> validators
2016-07-01 16:16:40 +02:00
Chocobozzz
69b0a27cbb
OAuth/User models refractoring -> use mongoose api
2016-07-01 16:03:53 +02:00
Chocobozzz
a3ee6fa22d
Pod model refractoring -> use mongoose api
2016-06-30 22:39:08 +02:00
Chocobozzz
d14b3e37a2
Do not generate a random password for test env
2016-06-30 21:58:48 +02:00
Chocobozzz
5189d08aac
Video model: namePath -> filename
2016-06-28 20:19:41 +02:00
Chocobozzz
907e9510c2
Re enable the "seed all videos" function
2016-06-28 20:17:05 +02:00
Chocobozzz
00057e85a7
Request model refractoring -> use mongoose api
2016-06-28 20:10:32 +02:00
Chocobozzz
aaf61f3810
Video model refractoring -> use mongoose api
2016-06-24 17:42:51 +02:00
Chocobozzz
528a9efa82
Try to make a better communication (between pods) module
2016-06-18 16:13:54 +02:00
Chocobozzz
3c8ee69f88
Remove useless use of async.each
2016-06-14 20:14:17 +02:00
Chocobozzz
e822fdaeee
Use ng2-file-upload instead of jquery and add tags support to the video
...
upload form
2016-06-07 22:34:02 +02:00
Chocobozzz
8c255eb53c
Little refractoring of requests scheduler module
2016-06-06 15:28:33 +02:00
Chocobozzz
8d199cb823
Add tag search support to server
2016-06-06 14:54:52 +02:00
Chocobozzz
be587647f9
Add tags support to server
2016-06-06 14:15:03 +02:00
Chocobozzz
8483b22164
Increase the interval for the friends requests
2016-06-05 12:43:15 +02:00
Chocobozzz
1cdb5c0f58
Handle error for the video upload
2016-06-04 20:37:38 +02:00
Chocobozzz
46246b5f19
Extends the search feature by customizing the search field (name,
...
podUrl...)
2016-05-22 09:15:00 +02:00
Chocobozzz
68ce3ae021
Add total results field and wrap videos in data field when listing
...
videos
2016-05-21 19:30:22 +02:00
Chocobozzz
501bc6c2b1
Thumbnail, author and duration support in client
2016-05-21 18:08:23 +02:00
Chocobozzz
9e379c835c
Don't send the "http(s)" for the podUrl
2016-05-21 15:05:29 +02:00
Chocobozzz
6e56eb63ac
Return with callback with an error
2016-05-19 20:28:17 +02:00
Chocobozzz
13c14a9028
Add radix to parseInt
2016-05-19 20:27:36 +02:00
Chocobozzz
1af470c709
Fix tests for according to the sort
2016-05-17 21:18:19 +02:00
Chocobozzz
a877d5acc5
Add ability to sort videos list
2016-05-17 21:03:00 +02:00
Chocobozzz
479f229198
Add check for the thumbnail in base64 (requests inter pods)
2016-05-16 19:55:32 +02:00
Chocobozzz
a996fc4abe
Add check for the author username length
2016-05-16 19:51:07 +02:00
Chocobozzz
67100f1f97
Add a check for the duration of videos
2016-05-16 19:49:10 +02:00
Chocobozzz
e856e334a1
Use async waterfall in request scheduler for better readability
2016-05-15 18:03:43 +02:00
Chocobozzz
e7ea2817c0
Use async waterfall for better readability in friends lib
2016-05-15 10:42:17 +02:00
Chocobozzz
cefc718dd6
Use async series in installer for better readability
2016-05-13 21:34:47 +02:00
Chocobozzz
1cad0f395f
Use async waterfall in pods controller for better readability
2016-05-13 21:34:36 +02:00
Chocobozzz
807df9e668
Use async waterfall in videos controller for better readability
2016-05-13 21:14:14 +02:00
Chocobozzz
57a56079fe
getVideoThumbnail -> createVideoThumbnail
2016-05-13 20:45:53 +02:00
Chocobozzz
bb10240ee1
Add createdDate to videos
2016-05-13 20:42:11 +02:00
Chocobozzz
3fe81fa75e
Move the count of results for the pagination in constants module
2016-05-13 20:10:02 +02:00
Chocobozzz
fbf1134e3e
Introduce paginations in videos listing
2016-05-13 18:10:46 +02:00
Chocobozzz
bc59d9e056
Fix adding twice a torrent in webtorrent
2016-05-13 16:35:51 +02:00
Chocobozzz
b3b9264742
Authenticate before make/quit friends (server + tests)
2016-05-13 16:31:14 +02:00
Chocobozzz
5dda52c924
Remove the cache middleware
2016-05-13 16:13:00 +02:00
Chocobozzz
b6c6f935d4
Fix typos in server tests
2016-05-13 15:27:31 +02:00
Chocobozzz
d6ea0175cb
Fix friends making
2016-05-13 15:02:51 +02:00
Chocobozzz
bc503c2a62
Update to standard 7. Goodbye snake_case, I used to love you
2016-05-13 14:23:11 +02:00
Chocobozzz
09bc69df7a
Add debug electron setting
2016-05-13 14:23:11 +02:00
Chocobozzz
36d560246f
thumbnail_path -> thumbnailPath
2016-05-10 22:24:04 +02:00
Chocobozzz
9e5f374090
Add tests for thumbnails
2016-05-10 21:56:16 +02:00
Chocobozzz
cbe2f7c348
Refractoring and add thumbnails support (without tests)
2016-05-10 21:19:24 +02:00
Chocobozzz
f1dae01868
Add label (host + port) to logger
2016-05-07 15:41:20 +02:00
Chocobozzz
0ae6a09d40
Move video duration logic in lib/
2016-05-06 14:44:09 +02:00
Chocobozzz
3a8a8b5122
Video duration support (server)
2016-05-03 22:41:46 +02:00
Chocobozzz
6d8ada5f24
Better tests for a better world
2016-05-03 21:03:51 +02:00
Chocobozzz
e3647ae226
Rename pool requests --> requests scheduler
2016-05-02 17:25:05 +02:00
Chocobozzz
320d627544
Ensure the log directory is created before instanciate the logger
2016-05-01 09:58:34 +02:00
Chocobozzz
9353449515
Use scripty instead of writing shell commands in package.json
2016-04-30 12:56:36 +02:00
Chocobozzz
b0ec596c00
Don't forget to test the client stuffs
2016-04-27 22:17:55 +02:00
Chocobozzz
23a5a916db
Make angular client load dynamically the generated client id/secret
2016-04-27 22:11:48 +02:00
Chocobozzz
35f1c54e32
Fix lodash map require
2016-04-26 21:56:46 +02:00
Chocobozzz
bb1e6d0ce3
Generate passwords at initialization (client/admin passwords)
2016-04-19 22:29:36 +02:00
Chocobozzz
e7ea0979f8
Use lodash v4
2016-04-19 22:06:46 +02:00
Chocobozzz
0c1cbbfe29
Add authentications for routes that need it and adapts the tests
2016-04-14 22:06:11 +02:00