Commit Graph

387 Commits (757f0da370a992cf07afd20d3829b2748c76cc15)

Author SHA1 Message Date
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