Commit Graph

202 Commits (a6fd2b30bf717eec14972a2175354781f5f43e77)

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