Commit Graph

230 Commits

Author SHA1 Message Date
Chocobozzz
38d78e5b82 Server: remove encryption when seending requests to other pods
We don't need it anymore since HTTPS is mandatory now
2016-11-27 18:25:35 +01:00
Chocobozzz
437cf8b531 Server: set manually the post host of a remote video throught the
signature
2016-11-27 11:09:05 +01:00
Chocobozzz
79530164b6 Server: move static/client routes in controllers/ 2016-11-25 14:21:41 +01:00
Bigard Florian
8e124f999b Server: fix magnet tracker websocket url for remote videos 2016-11-23 13:34:07 +01:00
Chocobozzz
a078c1556f Server: fix logs when adding a remote video 2016-11-22 22:41:50 +01:00
Chocobozzz
8f21730250 Server: add extname video information to remote pods 2016-11-22 22:34:59 +01:00
Chocobozzz
04968ab477 Fix migration script 2016-11-21 22:09:45 +01:00
Chocobozzz
fab69ab8aa Server: fix refreshing token 2016-11-21 22:09:45 +01:00
Chocobozzz
40e3f5e1c5 Fix opengraph url tag 2016-11-18 18:55:34 +01:00
Chocobozzz
c77fa067a1 Server: fix thumbnail in remote videos 2016-11-16 21:16:41 +01:00
Chocobozzz
441b66f809 Server: forbid to make friends with a non https server 2016-11-16 20:29:26 +01:00
Chocobozzz
73ce7f9676 Server: don't be rude when serving unknown video in watch html file 2016-11-16 20:29:26 +01:00
Chocobozzz
2550fab35e Server: add migration scripts to the new mongo schemes 2016-11-16 20:29:26 +01:00
Chocobozzz
8eb7d0fa09 Server: Remove unused console log 2016-11-16 20:29:26 +01:00
Chocobozzz
a4254ea173 Server: adapt tests to host 2016-11-16 20:29:26 +01:00
Chocobozzz
49abbbbedc Pod URL -> pod host. HTTPS is required to make friends.
Reason: in a network with mix http/https pods, https pods won't be able
to play videos from http pod (insecure requests).
2016-11-16 20:29:26 +01:00
Chocobozzz
41b5da1d8c Server: use preview image for opengraph 2016-11-16 20:29:26 +01:00
Chocobozzz
55723d16fd Server: adapt magnet uri search 2016-11-16 20:29:26 +01:00
Chocobozzz
f285faa04e Server: generate magnet uri on the fly 2016-11-16 20:29:26 +01:00
Chocobozzz
558d7c2385 Server: use _id for image and video files. Add remoteId field 2016-11-16 20:29:26 +01:00
Chocobozzz
6a94a109b4 Server: add video preview 2016-11-16 20:29:26 +01:00
Chocobozzz
830bcd0f82 Prerender opengraph tags in the server 2016-11-16 20:29:26 +01:00
Chocobozzz
371fa0933a Server: fix refreshing token 2016-11-04 11:34:23 +01:00
Chocobozzz
b65c27aaf7 Server: check the host key is not present in configurations
The parameter was renamed to hostname
2016-11-01 19:46:07 +01:00
Chocobozzz
d16b5172ae Server: use constants to get port configuration 2016-11-01 19:17:25 +01:00
Chocobozzz
b1233aa856 Server: add log messages if the server refuses to serve local clients tokens 2016-11-01 19:14:33 +01:00
Chocobozzz
4b08096b2c Server: add endpoint in requests 2016-11-01 18:47:57 +01:00
Chocobozzz
bf2fc85c83 Server: fix refreshing token that fails 2016-11-01 18:16:47 +01:00
Chocobozzz
cf6412e85d Server: videos search case insensitive 2016-10-26 20:37:27 +02:00
Chocobozzz
3737bbafb1 Server: host -> hostname (host = hostname + port) 2016-10-26 20:28:34 +02:00
Chocobozzz
2c49ca42d1 Server: do not make friends with myself 2016-10-26 20:28:34 +02:00
Chocobozzz
43666d616d Server: randomize the requests list
We don't want to stuck with the same failing requests
2016-10-26 20:28:34 +02:00
Chocobozzz
dc00913261 Client: avoid "quit friends" to appear during the pending request 2016-10-21 13:13:49 +02:00
Chocobozzz
f253b1c1f1 Server: remove v1 directory, we don't really need it 2016-10-21 12:16:28 +02:00
Chocobozzz
b3d9251015 Server: Uploads -> Videos 2016-10-21 11:33:31 +02:00
Chocobozzz
80a6c9e76f Server: pod removing refractoring 2016-10-21 11:20:45 +02:00
Chocobozzz
792b893ed4 Server: add npm run check to check CORS, bittorrent tracker... 2016-10-21 11:20:14 +02:00
Chocobozzz
c2ee5ce83a Server: wait pod removal when finishing a request 2016-10-17 21:38:14 +02:00
Chocobozzz
25cad91992 Server: handle tls websockets 2016-10-17 21:10:29 +02:00
Chocobozzz
7a2c9a8e55 Try to fix travis 2016-10-14 18:59:01 +02:00
Chocobozzz
5683534893 Remove references to Electron 2016-10-13 21:48:55 +02:00
Chocobozzz
82221ac920 Update clean script 2016-10-13 21:45:23 +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
a6375e6966 Merge branch 'master' into webseed-merged 2016-10-02 15:39:09 +02:00
Chocobozzz
c4403b29ad Server: remove useless hash affectations 2016-10-02 12:19:02 +02:00
Chocobozzz
9f6bae3a9d Server: reorganize constant file 2016-10-02 11:14:08 +02:00
Chocobozzz
d6cf31b7e0 Server: add informations when removing requests of unexisting pod 2016-10-01 16:10:18 +02:00
Chocobozzz
32e574750a Add "max requests number" information for requests iterations 2016-10-01 15:45:15 +02:00
Chocobozzz
5abeec313f Server: fix remaining milli seconds before the next requests feature 2016-10-01 15:33:27 +02:00
Chocobozzz
1ab844d859 Server: add port when making friends if it is not specified 2016-10-01 14:23:50 +02:00
Chocobozzz
35165e1669 Electron-prebuilt -> electron 2016-10-01 11:49:32 +02:00
Chocobozzz
7c34bc6491 Server: fix error log when a friend request fails 2016-10-01 10:10:49 +02:00
Chocobozzz
b91359055f Server: add information why a friend request failed (status code) 2016-10-01 09:48:49 +02:00
Chocobozzz
b81929a014 Server: when we remove a user, remove the oauthtokens too 2016-10-01 09:12:02 +02:00
Chocobozzz
0eb78d5303 Server: do not forget to check the signature when another pod wants to
quit us
2016-10-01 09:09:07 +02:00
Chocobozzz
c60f2212fd Server: migration script that add admin role to root user 2016-09-27 22:41:38 +02:00
Chocobozzz
f6a0754fda Server: fix migration at installation 2016-09-26 23:10:32 +02:00
Chocobozzz
00d6b0dda4 Add migration (for db, folders...) mechanism 2016-09-26 22:39:58 +02:00
Chocobozzz
d74a0680f7 Server: show user created date for the api 2016-09-23 17:19:57 +02:00
Chocobozzz
eb4f957eca Client: add requests stats page 2016-09-23 17:09:38 +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
26d7d31ba3 Server: encrypt password in database 2016-08-25 17:57:37 +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
9ab1071c8d Do not wait the make friends process ends to send a response to the
request
2016-08-23 14:48:59 +02:00
Chocobozzz
39f87cb216 Server: catch JSON.parse exceptions 2016-08-23 14:37:36 +02:00
Chocobozzz
d57d6f2605 Server: fix makefriends validation and tests 2016-08-21 10:41:04 +02:00
Chocobozzz
6c1a098b41 Server: fix remote videos requests validator 2016-08-21 09:54:46 +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
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
052937db8a First draft using only webseed for server 2016-07-27 21:21:57 +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