Commit Graph

269 Commits (ea893004aa1c1efd06fbea00da5baa511051c70a)

Author SHA1 Message Date
Chocobozzz d6a5b018b8 Server: retryer transaction wrapper refractoring 2017-01-15 19:13:16 +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 63d00f5ded Server: fix update right checks 2017-01-11 19:15:23 +01:00
Chocobozzz edc5e86006 Server: transaction serializable for videos 2017-01-11 18:41:40 +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 dea32aacde Server: always check commit result 2017-01-11 16:22:50 +01:00
Chocobozzz bf4ff8fe0b Server: retry video abuse requests too 2017-01-10 22:33:00 +01:00
Chocobozzz bd14d16a29 Server: improve requests scheduler 2017-01-10 22:24:42 +01:00
Chocobozzz ed04d94f6d Server: try to have a better video integrity 2017-01-06 23:46:36 +01:00
Chocobozzz bb0b243c92 Server: improve real world script 2017-01-06 23:24:20 +01:00
Chocobozzz bdfbd4f162 Server: use crypto instead of ursa for pod signature 2017-01-04 22:23:07 +01:00
Chocobozzz b981a525c3 Server: we don't need the video name when removing a remote video 2017-01-04 21:15:57 +01:00
Chocobozzz 55fa55a9be Server: add video abuse support 2017-01-04 21:05:13 +01:00
Chocobozzz a6fd2b30bf Server: move remote routes in their own directory 2016-12-30 12:53:41 +01:00
Chocobozzz 8fd66b75bf Server: fix video remoe validation 2016-12-30 12:39:49 +01:00
Chocobozzz efe923bcda Server: split check params tests 2016-12-30 12:23:53 +01:00
Chocobozzz 818f7987eb Server: optimization for videoGet and videoRemove 2016-12-30 11:51:08 +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 4ff0d86208 Server: little refractoring 2016-12-29 18:02:03 +01:00
Chocobozzz 4d32448895 Server: use binary data instead of base64 to send thumbnails 2016-12-29 12:13:19 +01:00
Chocobozzz 98ac898a03 Server: use video hook to send information to other pods when a video is
deleted
2016-12-29 11:17:11 +01:00
Chocobozzz 4712081f2a Server: add association between author and user 2016-12-29 10:56:07 +01:00
Chocobozzz 319d072e8e Server: Add postgresql indexes 2016-12-29 10:04:39 +01:00
Chocobozzz 67bf9b96bb Server: add database field validations 2016-12-28 15:49:23 +01:00
Chocobozzz 00d6a41e46 Add script to migrate from mongodb to postgresql
Usage: NODE_ENV=production ./scripts/mongo-to-postgre.js --mongo-database peertube-prod
2016-12-27 18:34:47 +01:00
Chocobozzz 178edb2025 Server: correctly sort tags by name asc 2016-12-26 17:44:25 +01:00
Chocobozzz 124648d7fc Server: add createdAt from remote video in database 2016-12-25 12:06:08 +01:00
Chocobozzz 56ac84d0a3 Fix real world script 2016-12-25 12:05:47 +01:00
Chocobozzz f83e279581 Fix standard lint 2016-12-25 09:47:49 +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 3897209f46 Server: rename Pods -> Pod 2016-12-19 21:50:20 +01:00
Chocobozzz feb4bdfd9b First version with PostgreSQL 2016-12-19 21:22:28 +01:00
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