Commit Graph

103 Commits (e861452fb26553177ad4e32bfb18b4fd8a5b1816)

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