Commit Graph

285 Commits (d3e91a5f72ac9c986cdb67d7d6c85bb4819e680c)

Author SHA1 Message Date
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 62c852b2b4
Upgrade server dep' 2017-11-28 18:58:17 +01:00
Chocobozzz c60774b05b
Remove max duration/filesize constraints 2017-11-28 14:51:00 +01:00
Chocobozzz 5e3bb76cb6
Fix undo like/dislike forwarding 2017-11-28 08:45:03 +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 d4f1e94c89
Misc cleanup 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 35a097b813
Fix multiple servers test 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 0f91ae62df
Add follow tests 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 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 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 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 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 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 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 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 5f04dd2f74
Add video channel tests 2017-10-26 09:11:38 +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 8a02bd0433
Add pod list endpoint with pagination, sort... 2017-10-19 09:43:01 +02:00
Chocobozzz 031094f799
More robust transcoding jobs 2017-10-17 15:37:40 +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
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 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
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 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 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 0e1dc3e7c6 Convert tests to typescript 2017-09-04 21:30:18 +02:00
Chocobozzz 556ddc3192 Upgrade common server dependencies 2017-08-25 18:36:49 +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 f981dae861 Add previews cache system between pods 2017-07-12 11:56:02 +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 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 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 c3d19a4907 Fix video update test 2017-06-12 21:37:56 +02:00
Chocobozzz 8635a2c70c Update client modules 2017-06-11 12:28:22 +02:00
Chocobozzz e02643f32e Type models 2017-05-25 17:32:16 +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 843aa7ba03 Server: add tests for video blacklists 2017-05-01 19:04:29 +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 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 d38b828106 Add like/dislike system for videos 2017-03-08 21:35:43 +01:00
Chocobozzz 72329aaa28 Update bittorrent-tracker and standard to v9 2017-03-03 18:45:40 +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 ad4a8a1cca Add email to users 2017-02-18 09:29:59 +01:00
Chocobozzz 4793c343fd Add email to pods 2017-02-16 19:19:56 +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 15103f11ec Server: paths refractoring 2017-01-17 21:42:47 +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 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 bb0b243c92 Server: improve real world script 2017-01-06 23:24:20 +01:00
Chocobozzz 55fa55a9be Server: add video abuse support 2017-01-04 21:05:13 +01:00
Chocobozzz efe923bcda Server: split check params tests 2016-12-30 12:23:53 +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 56ac84d0a3 Fix real world script 2016-12-25 12:05:47 +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 feb4bdfd9b First version with PostgreSQL 2016-12-19 21:22:28 +01:00
Chocobozzz a4254ea173 Server: adapt tests to host 2016-11-16 20:29:26 +01:00
Chocobozzz b3d9251015 Server: Uploads -> Videos 2016-10-21 11:33:31 +02:00
Chocobozzz 7a2c9a8e55 Try to fix travis 2016-10-14 18:59:01 +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 c4403b29ad Server: remove useless hash affectations 2016-10-02 12:19:02 +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 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 d57d6f2605 Server: fix makefriends validation and tests 2016-08-21 10:41:04 +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 5c39adb731 Server: add user list sort/pagination 2016-08-16 22:31:45 +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 99a64bfed2 Server: allow user to get its informations (/users/me) 2016-08-05 17:19:08 +02:00
Chocobozzz 9bd2662976 Implement user API (create, update, remove, list) 2016-08-04 22:33:38 +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