Commit Graph

731 Commits

Author SHA1 Message Date
Chocobozzz
265ba139eb
Send account activitypub update events 2018-01-03 16:38:50 +01:00
Chocobozzz
4e8c872874
Circle avatar 2018-01-03 11:54:42 +01:00
Chocobozzz
47564bbe2e
Add ability to disable video comments 2018-01-03 10:38:19 +01:00
Chocobozzz
c5911fd347
Begin to add avatar to actors 2017-12-29 19:10:13 +01:00
Chocobozzz
da854ddd50
Propagate old comment on new follow 2017-12-28 11:16:08 +01:00
Chocobozzz
f40bbe3146
Fix preview 404 2017-12-28 08:49:08 +01:00
Chocobozzz
d50acfab69
Add comments federation tests 2017-12-27 20:03:37 +01:00
Chocobozzz
4635f59d7c
Add video comment components 2017-12-27 16:11:53 +01:00
Chocobozzz
ea44f375f5
Send video comment comments to followers/origin 2017-12-27 10:39:31 +01:00
Chocobozzz
d3ea897591
Begin unit tests 2017-12-22 12:12:33 +01:00
Chocobozzz
bf1f650817
Add comments controller 2017-12-22 11:29:12 +01:00
Chocobozzz
6d85247028
Create comment on replied mastodon statutes 2017-12-22 09:14:50 +01:00
Chocobozzz
5f0805d39b
Design modals 2017-12-20 17:49:58 +01:00
Chocobozzz
cb9244de97
Improve video tag in edit form 2017-12-20 15:37:03 +01:00
Chocobozzz
8fa5653ad8
Add transition on play/loading player 2017-12-20 11:05:10 +01:00
Chocobozzz
e203f2e0e1
Only import bootstrap component that we need 2017-12-20 09:26:50 +01:00
Chocobozzz
d7a7c248b3
Handle mastodon shares 2017-12-19 17:07:58 +01:00
Chocobozzz
85414add64
Fix player play exception on chromium 2017-12-19 15:17:43 +01:00
Chocobozzz
54b3806324
Fix lint 2017-12-19 14:22:38 +01:00
Chocobozzz
e12a009254
Status are sent to mastodon 2017-12-19 10:53:16 +01:00
Chocobozzz
ce33ee01cd
Use RsaSignature2017 2017-12-19 10:53:16 +01:00
Chocobozzz
39fdb3c032
Unfollow with host 2017-12-19 10:53:16 +01:00
Chocobozzz
a7d647c440
Add dirty migration :/ 2017-12-19 10:53:16 +01:00
Chocobozzz
50d6de9c28
Begin moving video channel to actor 2017-12-19 10:53:16 +01:00
Chocobozzz
fadf619ad6
Save 2017-12-19 10:51:09 +01:00
Chocobozzz
3fd3ab2d34
Move models to typescript-sequelize 2017-12-13 16:50:33 +01:00
Chocobozzz
f595d39477
Finish admin design 2017-12-08 17:31:21 +01:00
Chocobozzz
fef2c7164e
Fix bad to/cc when undo dislike 2017-11-30 14:15:17 +01:00
Chocobozzz
f00984c007
Fix conflict rate serializations 2017-11-30 13:51:53 +01:00
Chocobozzz
98ec8b8e73
Fix lint 2017-11-30 13:16:23 +01:00
Chocobozzz
25ed141c7c
Put activity pub sends inside transactions 2017-11-30 11:31:15 +01:00
Chocobozzz
5e3bb76cb6
Fix undo like/dislike forwarding 2017-11-28 08:45:03 +01:00
Chocobozzz
4e50b6a1c9
Add shares forward and collection on videos/video channels 2017-11-27 19:40:53 +01:00
Chocobozzz
df1966c9b4
Fix lint 2017-11-27 19:40:53 +01:00
Chocobozzz
f10336cad0
Check signature is correct with the activity pub actor 2017-11-27 19:40:53 +01:00
Chocobozzz
63c93323ec
Correctly forward like/dislikes and undo 2017-11-27 19:40:53 +01:00
Chocobozzz
39445ead45
Cleanup models 2017-11-27 19:40:53 +01:00
Chocobozzz
16b9097594
Fetch video likes/dislikes too 2017-11-27 19:40:53 +01:00
Chocobozzz
d8553faa49
Better follows tests 2017-11-27 19:40:53 +01:00
Chocobozzz
0032ebe94a
Federate likes/dislikes 2017-11-27 19:40:53 +01:00
Chocobozzz
40ff57078e
Federate video views 2017-11-27 19:40:53 +01:00
Chocobozzz
c46edbc2f6
Fetch outbox to grab old activities tests 2017-11-27 19:40:53 +01:00
Chocobozzz
c986175d68
Fetch outbox to grab old activities 2017-11-27 19:40:53 +01:00
Chocobozzz
e71bcc0f4b
Add outbox 2017-11-27 19:40:53 +01:00
Chocobozzz
b1cbc0dd3e
Fix lint 2017-11-27 19:40:53 +01:00
Chocobozzz
0f91ae62df
Add follow tests 2017-11-27 19:40:52 +01:00
Chocobozzz
7e9334c34d
Add ability to unfollow a server 2017-11-27 19:40:52 +01:00
Chocobozzz
892211e849
Move activitypub functions from helpers/ to lib/ 2017-11-27 19:40:52 +01:00
Chocobozzz
5414139835
Refractor activity pub lib/helpers 2017-11-27 19:40:52 +01:00
Chocobozzz
79d5caf994
Fix lint 2017-11-27 19:40:52 +01:00
Chocobozzz
9a27cdc27c
Optimize signature verification 2017-11-27 19:40:52 +01:00
Chocobozzz
afffe98839
Speed up activity pub http requests 2017-11-27 19:40:52 +01:00
Chocobozzz
47e0652b4a
Optimize account creation 2017-11-27 19:40:52 +01:00
Chocobozzz
21e0727a84
Federate video abuses 2017-11-27 19:40:52 +01:00
Chocobozzz
d7d5611c8a
Federate video update 2017-11-27 19:40:52 +01:00
Chocobozzz
20494f1221
Server shares user videos 2017-11-27 19:40:52 +01:00
Chocobozzz
efc32059d9
Send server announce when users upload a video 2017-11-27 19:40:52 +01:00
Chocobozzz
d846501818
Handle announces in inbox 2017-11-27 19:40:52 +01:00
Chocobozzz
8e10cf1a5a
Fix video upload and videos list 2017-11-27 19:40:52 +01:00
Chocobozzz
8e13fa7d09
Add video abuse to activity pub 2017-11-27 19:40:52 +01:00
Chocobozzz
6086242524
Rename Pod -> Server 2017-11-27 19:40:51 +01:00
Chocobozzz
51548b3181
Add follow tabs
Following
Follow
Followers
2017-11-27 19:40:51 +01:00
Chocobozzz
350e31d6b6
Follow works 2017-11-27 19:40:51 +01:00
Chocobozzz
e34c85e527
Fix issues on server start 2017-11-27 19:40:51 +01:00
Chocobozzz
8e69648749
Add MANAGE_PEERTUBE_FOLLOW right 2017-11-27 19:40:51 +01:00
Chocobozzz
ce548a10db
Send follow/accept 2017-11-27 19:40:51 +01:00
Chocobozzz
7a7724e66e
Handle follow/accept 2017-11-27 19:40:51 +01:00
Chocobozzz
571389d43b
Make it compile at least 2017-11-27 19:40:51 +01:00
Chocobozzz
38fa206583
Remove references to author 2017-11-27 19:40:51 +01:00
Chocobozzz
0d0e8dd090
Continue activitypub 2017-11-27 19:40:51 +01:00
Chocobozzz
e4f97babf7
Begin activitypub 2017-11-27 19:40:51 +01:00
Chocobozzz
9567011bf0
Add lazy description on server 2017-10-30 10:16:27 +01:00
Chocobozzz
7ff7802aa0
Add og:video tags 2017-10-26 15:16:05 +02:00
Chocobozzz
4077df72c6
Fix integrity with transcoding jobs 2017-10-26 14:22:37 +02:00
Chocobozzz
911238e343
Fix integrity issues with after destroy hook 2017-10-26 14:05:20 +02:00
Chocobozzz
51c443dbe0
Be tolerant with remote requests
Just remove videos we don't want
2017-10-26 10:40:37 +02:00
Chocobozzz
d412e80e5f
Fix lint 2017-10-26 09:11:38 +02:00
Chocobozzz
f5028693a8
Use async/await in lib and initializers 2017-10-26 09:11:38 +02:00
Chocobozzz
eb08047657
Use async/await in controllers 2017-10-26 09:11:38 +02:00
Chocobozzz
72c7248b6f
Add video channels 2017-10-26 09:11:38 +02:00
Chocobozzz
bda65bdc9f
Fix pod removal when it is down 2017-10-19 10:43:54 +02:00
Chocobozzz
8a02bd0433
Add pod list endpoint with pagination, sort... 2017-10-19 09:43:01 +02:00
Chocobozzz
031094f799
More robust transcoding jobs 2017-10-17 15:37:40 +02:00
Chocobozzz
35bf0c83c8
Video blacklist refractoring 2017-10-10 10:18:16 +02:00
Chocobozzz
bcd1c9e194
Server: upgrade packages 2017-10-09 15:18:41 +02:00
Chocobozzz
40298b0254 Implement video transcoding on server side 2017-10-03 15:31:26 +02:00
Green-Star
792dbaf07f Handle blacklist (#84)
* Client: Add list blacklist feature

* Server: Add list blacklist feature

* Client: Add videoId column

* Server: Add some video infos in the REST api

* Client: Add video information in the blacklist list

* Fix sortable columns :)

* Client: Add removeFromBlacklist feature

* Server: Add removeFromBlacklist feature

* Move to TypeScript

* Move to TypeScript and Promises

* Server: Fix blacklist list sort

* Server: Fetch videos informations

* Use common shared interface for client and server

* Add check-params remove blacklisted video tests

* Add check-params list blacklisted videos tests

* Add list blacklist tests

* Add remove from blacklist tests

* Add video blacklist management tests

* Fix rebase onto develop issues

* Server: Add sort on blacklist id column

* Server: Add blacklists library

* Add blacklist id sort test

* Add check-params tests for blacklist list pagination, count and sort

* Fix coding style

* Increase Remote API tests timeout

* Increase Request scheduler API tests timeout

* Fix typo

* Increase video transcoding API tests timeout

* Move tests to Typescript

* Use lodash orderBy method

* Fix typos

* Client: Remove optional tests in blacklist model attributes

* Move blacklist routes from 'blacklists' to 'blacklist'

* CLient: Remove blacklist-list.component.scss

* Rename 'blacklists' files to 'blacklist'

* Use only BlacklistedVideo interface

* Server: Use getFormattedObjects method in listBlacklist method

* Client: Use new coding style

* Server: Use new sort validator methods

* Server: Use new checkParams methods

* Client: Fix sortable columns
2017-09-22 09:13:43 +02:00
Chocobozzz
d592e0a9b2 Move to HttpClient and PrimeNG data table 2017-09-14 11:57:49 +02:00
Chocobozzz
91f6f169b1 Fix concurrency error when deleting a video 2017-09-12 14:17:46 +02:00
Chocobozzz
0cee28c1b2 Don't display password in logs 2017-09-07 21:26:33 +02:00
Chocobozzz
980246ea8f Make tslint happy 2017-09-04 21:45:05 +02:00
Chocobozzz
0aef76c479 Formated -> Formatted 2017-08-25 11:45:31 +02:00
Chocobozzz
93e1258c7c Move video file metadata in their own table
Will be used for user video quotas and multiple video resolutions
2017-08-25 11:36:23 +02:00
Green-Star
d5f5a670fc Remove one pod (#76)
* Client: Fix typo

* Client: Add removeFriend feature

* Server: Add removeFriend feature

* Server: Update method name

* Fix rebase onto develop issues

* Server: Fix error message

* Server: Remove useless methods in removeFriend method

* Server: Finish remove on pod feature after rebase

* Server: Type pod parameter

* Fix Travis build

* Add friend-basic test for the remove one pod feature

* Add check-params tests for the remove one pod feature

* Fix typos

* Add friend-advanced test for the remove one pod feature

* Client: Trailing new line

* Move to promises

* Add undefined id test

* Use find method instead of a for loop to find the friend to remove

* Remove setTimeout method

* Server: Remove requestScheduler operations

* Server: Fix logging messages

* Server: Remove sign request parameter
2017-08-02 21:50:42 +02:00
Chocobozzz
0b7db72af3 Fix lint 2017-07-12 14:58:34 +02:00
Chocobozzz
f981dae861 Add previews cache system between pods 2017-07-12 11:56:02 +02:00
Chocobozzz
075f16caac Remove "function" in favor of () => {} 2017-07-11 17:05:55 +02:00
Chocobozzz
0a6658fdcb Use global uuid instead of remoteId for videos 2017-07-11 16:01:56 +02:00
Chocobozzz
e6d4b0ff24 Remove any typing from server 2017-07-11 10:59:13 +02:00
Chocobozzz
4771e0008d Better typescript typing for a better world 2017-07-10 19:43:21 +02:00
Chocobozzz
ad0997adfb Fix error logging 2017-07-07 18:26:12 +02:00
Chocobozzz
709756b8e1 Async signature and various fixes 2017-07-07 18:23:18 +02:00
Chocobozzz
6fcd19ba73 Move to promises
Closes https://github.com/Chocobozzz/PeerTube/issues/74
2017-07-05 14:14:16 +02:00
Chocobozzz
df98563e21 Use typescript standard and lint all files 2017-06-16 14:32:15 +02:00
Chocobozzz
ee9e7b61f5 Create types for model enums 2017-06-16 10:36:18 +02:00
Chocobozzz
15a302943d BaseRequestScheduler -> AbstractRequestScheduler 2017-06-16 09:14:41 +02:00
Chocobozzz
69818c9394 Type functions 2017-06-10 22:15:25 +02:00
Chocobozzz
4d4e5cd4dc require -> import 2017-06-05 21:53:49 +02:00
Chocobozzz
e02643f32e Type models 2017-05-25 17:32:16 +02:00
Chocobozzz
65fcc3119c First typescript iteration 2017-05-20 09:57:40 +02:00
Chocobozzz
5a976a8c35 Server: move requests lib in their own directory 2017-05-05 17:35:58 +02:00
Chocobozzz
4e284e97b9 Server: finish old jobs at startup 2017-05-05 17:24:16 +02:00
Chocobozzz
62326afb15 Server: Fix video propagation with transcoding enabled 2017-05-05 12:15:16 +02:00
Chocobozzz
227d02fead Server: add job scheduler to transcode video files 2017-05-04 21:12:32 +02:00
Chocobozzz
0dd079da27 Update standard -> 10 2017-04-16 14:25:37 +02:00
Chocobozzz
34831b4843 Server: move pod remove to remote path 2017-03-19 18:56:10 +01:00
Chocobozzz
d38b828106 Add like/dislike system for videos 2017-03-08 21:35:43 +01:00
Chocobozzz
4b4660582b Server: fix requests endpoints 2017-03-04 09:48:35 +01:00
Chocobozzz
72329aaa28 Update bittorrent-tracker and standard to v9 2017-03-03 18:45:40 +01:00
Chocobozzz
99fdec4648 Fix request schedulers stats 2017-02-27 21:56:55 +01:00
Chocobozzz
f282639b07 Server: request scheduler refractoring 2017-02-26 20:01:26 +01:00
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
c1a7ab7f04 Server: use a request scheduler object instance for friends
communication
2017-02-18 10:29:36 +01:00
Chocobozzz
4793c343fd Add email to pods 2017-02-16 19:19:56 +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
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
55fa55a9be Server: add video abuse support 2017-01-04 21:05:13 +01:00
Chocobozzz
7b1f49de22 Server: add ability to update a video 2016-12-29 19:07:05 +01:00
Chocobozzz
7920c273a2 Move tags in another table 2016-12-24 16:59:17 +01:00
Chocobozzz
feb4bdfd9b First version with PostgreSQL 2016-12-19 21:22:28 +01:00
Chocobozzz
fab69ab8aa Server: fix refreshing token 2016-11-21 22:09:45 +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
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
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
80a6c9e76f Server: pod removing refractoring 2016-10-21 11:20:45 +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
35165e1669 Electron-prebuilt -> electron 2016-10-01 11:49:32 +02:00
Chocobozzz
26d7d31ba3 Server: encrypt password in database 2016-08-25 17:57:37 +02:00
Chocobozzz
39f87cb216 Server: catch JSON.parse exceptions 2016-08-23 14:37:36 +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
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
2f372a8654 Server: implement refresh token 2016-07-20 16:23:58 +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
5f698b82c7 Use dashes for filenames 2016-07-01 16:22:36 +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
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
8c255eb53c Little refractoring of requests scheduler module 2016-06-06 15:28:33 +02:00
Chocobozzz
be587647f9 Add tags support to server 2016-06-06 14:15:03 +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
57a56079fe getVideoThumbnail -> createVideoThumbnail 2016-05-13 20:45:53 +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
cbe2f7c348 Refractoring and add thumbnails support (without tests) 2016-05-10 21:19:24 +02:00
Chocobozzz
0ae6a09d40 Move video duration logic in lib/ 2016-05-06 14:44:09 +02:00
Chocobozzz
e3647ae226 Rename pool requests --> requests scheduler 2016-05-02 17:25:05 +02:00
Chocobozzz
35f1c54e32 Fix lodash map require 2016-04-26 21:56:46 +02:00
Chocobozzz
e7ea0979f8 Use lodash v4 2016-04-19 22:06:46 +02:00
Chocobozzz
233d12d8b1 Fix exception log of the webtorrent process 2016-03-19 09:08:10 +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
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