Commit Graph

90 Commits

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