Chocobozzz
e4c87ec269
Server: implement video views
2017-02-26 20:01:26 +01:00
Chocobozzz
9e167724f7
Server: make a basic "quick and dirty update" for videos
...
This system will be useful to to update some int video attributes
(likes, dislikes, views...)
The classic system is not used because we need some optimization for
scaling
2017-02-26 20:01:26 +01:00
Chocobozzz
fe783f6b0d
This is not a prototype anymore, but a real project!
2017-02-26 20:01:26 +01:00
Chocobozzz
5804c0db33
Server: fix migration scripts
2017-02-18 12:13:33 +01:00
Chocobozzz
c1a7ab7f04
Server: use a request scheduler object instance for friends
...
communication
2017-02-18 10:29:36 +01:00
Chocobozzz
ad4a8a1cca
Add email to users
2017-02-18 09:29:59 +01:00
Chocobozzz
5d67f289df
Server: add unique to unique indexes
2017-02-16 19:24:34 +01:00
Chocobozzz
4793c343fd
Add email to pods
2017-02-16 19:19:56 +01:00
Chocobozzz
f6f7dfee01
Server: update express-validator
2017-02-10 11:27:14 +01:00
Chocobozzz
9cc99d7b56
Fix update host script
2017-02-08 20:34:01 +01:00
Chocobozzz
28798b5d94
Client: replace simple tables by ng2 smart table component
2017-01-30 22:41:14 +01:00
Chocobozzz
cddadde81f
Server: assert remoteId and host pair is unique
2017-01-27 12:14:53 +01:00
Chocobozzz
b09ce6455f
Server: error if we add a pod that already exists
2017-01-27 11:55:31 +01:00
Chocobozzz
84c07f8ac1
Fix tests
2017-01-23 23:00:27 +01:00
Chocobozzz
11ac88de40
Client: add basic support to report video abuses
2017-01-23 22:18:53 +01:00
Chocobozzz
4f8c0eb0e9
Client: add ability to report a video
2017-01-20 19:22:15 +01:00
Chocobozzz
872a4c7cea
Adapt requests controller/front to new informations
2017-01-19 22:38:34 +01:00
Chocobozzz
15103f11ec
Server: paths refractoring
2017-01-17 21:42:47 +01:00
Chocobozzz
1e4b0080ff
Server: requests refractoring
2017-01-17 21:17:07 +01:00
Chocobozzz
da691c46df
Server: remote video validators refractoring
2017-01-17 20:59:16 +01:00
Chocobozzz
62f4ef413c
Server: remote request process refractoring
2017-01-17 20:50:45 +01:00
Chocobozzz
4145c1c689
Server: transaction refractoring
2017-01-17 20:50:45 +01:00
Chocobozzz
fbc22d7936
Server: fix update remote video
2017-01-15 22:22:41 +01:00
Chocobozzz
4df023f2d4
Server: create transaction refractoring
2017-01-15 19:53:11 +01:00
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
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