Commit Graph

3483 Commits (261dac403a6380ea46f4f0bee8d50c6f661fbdfa)

Author SHA1 Message Date
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
Chocobozzz 37dc07b292 Create an "installer" module that create defaults clients/users... 2016-03-21 21:11:26 +01:00
Chocobozzz 9457bf8807 OAuth server: first draft 2016-03-21 11:56:33 +01:00
Chocobozzz 233d12d8b1 Fix exception log of the webtorrent process 2016-03-19 09:08:10 +01:00
Chocobozzz 8c9c1942f6 Change name of fields for add video api 2016-03-18 16:44:54 +01:00
Chocobozzz a4c1575197 Use map instead of pluck (lodash) 2016-03-18 16:34:50 +01:00
Chocobozzz 2df82d42cb Change api output for videos 2016-03-18 16:28:09 +01:00
Chocobozzz f0f5567b69 Use const/let now we use node 4.2 2016-03-16 22:29:27 +01:00
Chocobozzz 5101105ef9 Video lib/model/reqvalidator refractoring 2016-03-16 21:37:17 +01:00
Chocobozzz 2c4a0b5d90 Fix tests 2016-03-15 13:16:54 +01:00
Chocobozzz 98b01bac2c Angular 2 : draft 2 2016-03-14 22:16:43 +01:00
Chocobozzz dc8bc31be5 Angular application :first draft 2016-03-14 13:50:19 +01:00
Chocobozzz 3d446a26ad Fix tests 2016-03-07 18:53:03 +01:00
Chocobozzz 6f4e252246 Prepare Angular routes 2016-03-07 14:48:46 +01:00
Chocobozzz b9a3e09ad5 Prepare folders structure for angular app 2016-03-07 11:33:59 +01:00