Commit Graph

5923 Commits

Author SHA1 Message Date
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 830bcd0f82 Prerender opengraph tags in the server 2016-11-16 20:29:26 +01:00
Chocobozzz ad4013d5c3 Client: add button control in embed videojs to go to the watch page 2016-11-16 20:29:26 +01:00
Chocobozzz 938abcc6cc Client: remove unnecessary module 2016-11-16 20:29:26 +01:00
Bigard Florian 8df76a292c Only use @angular 2.1.x 2016-11-16 09:33:08 +01:00
Chocobozzz 4fab6acb45 Client: don't use thumbnail in embed video for now 2016-11-08 21:19:57 +01:00
Chocobozzz 067e3f84ce Client: remove videojs on destroy 2016-11-08 21:17:17 +01:00
Chocobozzz 99cc4f4948 Client: add share button 2016-11-08 21:11:57 +01:00
Chocobozzz e31f6ad637 Client: use videojs as player 2016-11-08 20:49:43 +01:00
Chocobozzz 3bb2c7f99d Prepare embed page 2016-11-07 22:35:37 +01:00
Chocobozzz 81ca2cd3f4 Fix gitignores 2016-11-06 21:25:21 +01:00
Chocobozzz 3ec343a41d Client: add opengraph tags 2016-11-04 17:37:44 +01:00
Chocobozzz b58c69a1ed Client: add titles to all pages 2016-11-04 17:25:26 +01:00
Chocobozzz 3154f38219 Client: allow to copy magnet uri 2016-11-04 16:23:18 +01:00
Chocobozzz d1992b93f0 Client: add more informations to watch video view 2016-11-04 16:04:50 +01:00
Chocobozzz 4d19d2f10b Update to webpack beta 25 2016-11-04 12:50:01 +01:00
Chocobozzz d05eb4ed10 Client: Update dependencies 2016-11-04 12:15:17 +01:00
Chocobozzz c0a89c46ef Client: fix handle refresh token 2016-11-04 11:54:36 +01:00
Chocobozzz dc00913261 Client: avoid "quit friends" to appear during the pending request 2016-10-21 13:13:49 +02:00
Chocobozzz 4648530318 Client: fix form upload validation on key enter 2016-10-17 21:14:13 +02:00
Chocobozzz 2ac6c52560 Client: fix search dropdown 2016-10-13 21:59:19 +02:00
Chocobozzz 0b10407e46 Update ng2 bootstrap 2016-10-13 21:10:16 +02:00
Chocobozzz 1a00504203 Client: fix progress bar and tags validation issues 2016-10-07 14:52:18 +02:00
Chocobozzz aff36eb063 Merge branch 'webseed' 2016-10-07 10:10:00 +02:00
Chocobozzz c3117f13d5 Fix client build (ng2-bootstrap issue...) 2016-10-04 19:28:30 +02:00
Chocobozzz a6375e6966 Merge branch 'master' into webseed-merged 2016-10-02 15:39:09 +02:00
Chocobozzz 32e574750a Add "max requests number" information for requests iterations 2016-10-01 15:45:15 +02:00
Chocobozzz d86099204c Client: add some explanations if we cannot retrieve client oauth
credentials
2016-10-01 12:19:48 +02:00
Chocobozzz 14ad0c276b Client: handle the case when the refreshing token step fails 2016-10-01 09:20:42 +02:00
Chocobozzz e5e756e2d5 Client: update angular -> 2.0.1 2016-10-01 09:20:25 +02:00
Chocobozzz da4971c11f Client: fix error alert 2016-09-26 22:54:34 +02:00
Chocobozzz 44c5275e1b Client: fix compilation about the user created date 2016-09-23 17:34:18 +02:00
Chocobozzz c53d2a4e5e Client: Update ng2-file-upload to the module part 2016-09-23 17:31:41 +02:00
Chocobozzz bed3143eb9 Client: move some methods in the requestStats model 2016-09-23 17:25:09 +02:00
Chocobozzz b539c9b34c Client: display created user date 2016-09-23 17:20:15 +02:00
Chocobozzz ec1b7d9738 Client: created date in a better format 2016-09-23 17:15:03 +02:00
Chocobozzz eb4f957eca Client: add requests stats page 2016-09-23 17:09:38 +02:00
Chocobozzz f9b2d2cedd Fix client peer dependencies 2016-09-20 22:45:14 +02:00
Chocobozzz ec8d8440a8 Client: use templateUrl/styleUrls instead of require 2016-09-19 22:49:31 +02:00
Chocobozzz ad22074a78 Client: fix prod build process 2016-09-19 22:27:17 +02:00
Chocobozzz d268c551cc Client: update to angular 2.0 2016-09-19 22:09:12 +02:00
Chocobozzz 2e92c10b6c Client: update a webpack configs 2016-09-12 20:43:44 +02:00
Chocobozzz 772b47e36a Client: update tslint -> 3.15.1 2016-09-09 22:27:36 +02:00
Chocobozzz 23bcf66685 Client: little app module cleanup 2016-09-09 22:23:41 +02:00
Chocobozzz 4b2f33f3c6 Client: reactive forms 2016-09-09 22:16:51 +02:00
Chocobozzz ab32b0fc80 Dirty update to Angular RC6 2016-09-06 22:40:57 +02:00
Chocobozzz 2149630437 Client: ID column smaller 2016-08-26 19:02:43 +02:00
Chocobozzz 8889736127 Client: add ID, score and created date to the friends list 2016-08-26 18:59:17 +02:00
Chocobozzz cc599f34b7 Client: update codelyzer -> 0.0.28 2016-08-26 14:47:14 +02:00
Chocobozzz 94b0853d68 Update to standard 8 2016-08-25 18:32:47 +02:00
Chocobozzz f84a89f0e7 Client: fix friend add input control when removing an input 2016-08-23 18:09:21 +02:00
Chocobozzz 93c462b771 Client: refresh friends list after quitting them 2016-08-23 17:47:58 +02:00
Chocobozzz 039cdfc528 Client: do not rewrite tsconfig at each change of a file 2016-08-23 17:45:02 +02:00
Chocobozzz bf68dd752d Client: fix error display for component 2016-08-23 17:42:56 +02:00
Chocobozzz de59c48f5f Client: centralize http res extraction in a service 2016-08-23 16:54:21 +02:00
Chocobozzz 9e8aa10d94 Client: change url validation for friend add 2016-08-23 15:49:16 +02:00
Chocobozzz b5d6b94c1e Client: make friends url button (+/-) -> same width 2016-08-23 15:28:03 +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 6be622478a Client: display make/quit friends according to the situation 2016-08-23 14:43:20 +02:00
Chocobozzz 0f6da32b14 Client: update to new form api 2016-08-23 14:37:49 +02:00
Chocobozzz 5267260022 Client: fix malformed div 2016-08-23 11:45:28 +02:00
Chocobozzz 96b0c2bf70 Client: remove makeFriend from friend-list (in friend-add now) 2016-08-21 11:36:43 +02:00
Chocobozzz beacf6993c Client: simplify simple menu/admin menu displaying logic 2016-08-21 11:27:24 +02:00
Chocobozzz 9aa46b0c7b Client: navigate to /videos/list when do search on another page 2016-08-21 11:21:45 +02:00
Chocobozzz e105c19c8e Client: support the new make friends method 2016-08-21 10:41:21 +02:00
Chocobozzz 7eef95353f Client: reset pagination when we search something 2016-08-15 19:05:52 +02:00
Chocobozzz dfe3ec6bf6 Client: add users list/friends list titles 2016-08-12 18:24:24 +02:00
Chocobozzz e2f555cab7 Client: add friends page 2016-08-12 18:22:58 +02:00
Chocobozzz c323efb9cd Update webtorrent -> 0.96 2016-08-12 17:35:10 +02:00
Chocobozzz 602eb142be Client: make an admin menu and a classic menu component 2016-08-12 16:53:32 +02:00
Chocobozzz 7da18e4420 Client: add user management 2016-08-09 21:45:21 +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 66af9ee16d Client: Redirect user to home page after logout 2016-08-05 18:05:27 +02:00
Chocobozzz 629d8d6f70 Client: implement password change 2016-08-05 18:04:08 +02:00
Chocobozzz 6606150c49 Server: move clients in its own file 2016-08-05 16:09:39 +02:00
Chocobozzz e62f6ef741 Client: fix login state when logout 2016-07-27 21:38:09 +02:00
Chocobozzz 052937db8a First draft using only webseed for server 2016-07-27 21:21:57 +02:00
Chocobozzz 71d3476b82 Client: clear timeout error timer for video watch 2016-07-27 21:21:57 +02:00
Chocobozzz 724fed2931 Client: fix login state when logout 2016-07-27 21:16:19 +02:00
Chocobozzz 11975ce845 Client: increase min height for videos list 2016-07-22 11:43:09 +02:00
Chocobozzz 798442f665 Client: click on PeerTube title routes to videos list 2016-07-21 17:10:08 +02:00
Chocobozzz 1e128cdbb9 Client: video name in the link title for videos list template 2016-07-21 15:47:25 +02:00
Chocobozzz 0f3a78e7ea Client: Auth services cleanup 2016-07-20 16:40:28 +02:00
Chocobozzz bd5c83a8cb Client: Add authHttp service that authentificates the http request and
optionally refresh the access token if needed
2016-07-20 16:25:06 +02:00
Chocobozzz 66698b833f Client: add webpack notifier 2016-07-20 11:46:52 +02:00
Chocobozzz a64668c024 Client: try to make it work with Android Firefox 2016-07-19 16:45:07 +02:00
Chocobozzz b7f597d5b1 Client: fix ng2 bootstrap version that breaks change with patch versions... 2016-07-18 16:40:30 +02:00
Chocobozzz bddab65ae5 Client: save page params as well 2016-07-18 15:39:10 +02:00
Chocobozzz 0629423ce3 Client: Update to Angular RC4 2016-07-18 14:26:56 +02:00
Chocobozzz efb9afc3e8 Client: fix pagination component 2016-07-06 19:56:23 +02:00
Chocobozzz 528a9efa82 Try to make a better communication (between pods) module 2016-06-18 16:13:54 +02:00
Chocobozzz bf4c77f0f4 Fix lint issue 2016-06-14 20:14:09 +02:00
Chocobozzz 70af9a0d4f Fix router on / 2016-06-10 22:08:39 +02:00
Chocobozzz 641f98b2ee Don't make a search when the field is changed and the value is empty 2016-06-10 18:18:29 +02:00
Chocobozzz c6de16eb1d Fix redirection after the upload of a video 2016-06-10 18:14:01 +02:00
Chocobozzz 3d1c18ff1f Fix module installation (router instead of router-deprecated) 2016-06-10 17:53:26 +02:00
Chocobozzz 00a446454d Add tags support to the video list 2016-06-10 17:46:29 +02:00
Chocobozzz e822fdaeee Use ng2-file-upload instead of jquery and add tags support to the video
upload form
2016-06-07 22:34:02 +02:00
Chocobozzz 3ad109e449 Add an alert if the video load seems to be too long 2016-06-05 12:20:53 +02:00
Chocobozzz 5555f886c0 Do not import whole rxjs 2016-06-05 09:34:41 +02:00
Chocobozzz e56b20f587 Add loader indication when loading videos list 2016-06-05 08:48:44 +02:00
Chocobozzz 1cdb5c0f58 Handle error for the video upload 2016-06-04 20:37:38 +02:00
Chocobozzz fe3b20cdaf Fix favicon 2016-06-04 19:39:33 +02:00
Chocobozzz 443ecefe67 Reload videos after removing one to avoid issues with paging etc 2016-06-04 19:02:32 +02:00
Chocobozzz 7914607ecd Apply a fade instead of a loader when loading videos 2016-06-04 18:53:11 +02:00
Chocobozzz 192ea60b82 Improve the login form 2016-06-04 13:31:23 +02:00
Chocobozzz 7f82b8ae37 Use webtorrent as external dependency instead of building it with
webpack
2016-06-04 13:08:38 +02:00
Chocobozzz f0dc9602f9 Fix dropdown css on chromium 2016-06-04 11:50:17 +02:00
Chocobozzz af14488f61 Fix styling when clicking on a thumbnail video 2016-06-04 11:29:27 +02:00
Chocobozzz ce98c80ca7 Clean client modules 2016-06-04 11:06:06 +02:00
Chocobozzz c21f59d334 Add webtorrent and jquery to webpack 2016-06-04 10:05:17 +02:00
Chocobozzz b20b5fed40 Add production webpack, big thanks to @AngularClass 2016-06-03 22:47:55 +02:00
Chocobozzz fc76359be1 Adapt npm scripts 2016-06-03 22:34:39 +02:00
Chocobozzz 4a6995be18 First draft to use webpack instead of systemjs 2016-06-03 22:08:03 +02:00
Chocobozzz 40d5da636f Remove useless wildcards for tslint 2016-06-01 22:05:55 +02:00
Chocobozzz a840d39609 Add authentication tokens to make friends/quit friends 2016-06-01 20:36:27 +02:00
Chocobozzz ad4d93a074 Add jquery and jquery.fileupload to typings.json 2016-06-01 19:09:37 +02:00
Chocobozzz d3ef341abe Move webtorrent inside a service 2016-05-31 22:39:36 +02:00
Chocobozzz 33f12c7441 Remove the include of ng2 bootstrap in the html index 2016-05-27 22:04:27 +02:00
Chocobozzz f0a397ee3d Directives/providers array for components in alphabetical order 2016-05-27 17:55:57 +02:00
Chocobozzz 9bfe96e19f Put presentation logic in the components 2016-05-27 17:52:41 +02:00
Chocobozzz 4fd8aa3270 Alphabetical 2016-05-27 17:49:18 +02:00
Chocobozzz ccf6ed16f1 Do not prefix private attributes 2016-05-27 17:25:52 +02:00
Chocobozzz 41a2aee38c Follow the angular styleguide for the directories structure 2016-05-27 16:23:10 +02:00
Chocobozzz 157cb9c971 Add a loader animation when loading the videos list 2016-05-26 20:40:03 +02:00
Chocobozzz a99593ed9f Make the sort/results bar less ugly 2016-05-24 23:00:58 +02:00
Chocobozzz aff038cd78 Lint the client 2016-05-23 12:15:03 +02:00
Chocobozzz cf20596c10 Add trivial sort for the client 2016-05-23 11:07:42 +02:00
Chocobozzz 8140a704bb Use progress bar from bootstrap for the upload 2016-05-23 09:50:26 +02:00
Chocobozzz 471bc22f19 Add search with field choose support in client 2016-05-23 09:38:38 +02:00
Chocobozzz 322940742b Add pagination support to the client 2016-05-22 10:44:35 +02:00
Chocobozzz 501bc6c2b1 Thumbnail, author and duration support in client 2016-05-21 18:08:23 +02:00
Chocobozzz 295ba044af Add the list of files inside tsconfig 2016-05-21 15:23:37 +02:00
Chocobozzz 0cd30cff9e Update client dependencies 2016-05-17 21:19:47 +02:00
Chocobozzz f67e976fdc Only display "make/quit friends" if connected 2016-05-13 16:37:23 +02:00
Chocobozzz 788a7e0202 Update webtorrent 2016-05-13 15:27:42 +02:00
Chocobozzz 5109ee6148 Fix Rxjs import in browser 2016-05-13 14:51:33 +02:00
Chocobozzz f03996dad6 Fix some typescript compilations issues 2016-05-13 14:42:14 +02:00
Chocobozzz 230809efa1 Update to Angular RC 1 2016-05-13 14:23:11 +02:00
Chocobozzz 881a5e68b6 Fix client linting 2016-05-13 14:23:11 +02:00
Chocobozzz 17c912d9b1 Fix angular pipes 2016-05-03 20:23:23 +02:00
Chocobozzz a6e7400f64 Better handling of small screens 2016-05-02 15:43:08 +02:00
Chocobozzz a563a494f0 Update codelyzer 2016-04-30 08:48:00 +02:00
Chocobozzz f3567088ce Fix typescript linter 2016-04-29 16:58:39 +02:00
Chocobozzz eb4e088abf Update client dependencies 2016-04-29 16:51:40 +02:00
Chocobozzz 9ced64e08f Improve style of the torrent informations 2016-04-29 14:34:51 +02:00
Chocobozzz da932efc81 Add loader gif when loading the video 2016-04-29 14:18:14 +02:00
Chocobozzz e9a2578e95 I love semicolons (again). 2016-04-28 20:47:01 +02:00
Chocobozzz 8cfecb2ad7 Add torrent informations (speed...) below the video 2016-04-28 20:40:56 +02:00
Chocobozzz cb11e77570 Make the video responsive 2016-04-28 19:55:41 +02:00
Chocobozzz d908a155df Write something if there is no video 2016-04-28 19:42:57 +02:00
Chocobozzz 4bdc2cc935 Remove default client id/secret 2016-04-28 19:31:44 +02:00
Chocobozzz ad10a70b61 I love semicolons 2016-04-27 22:18:50 +02:00
Chocobozzz 23a5a916db Make angular client load dynamically the generated client id/secret 2016-04-27 22:11:48 +02:00
Chocobozzz 2e2bef6f58 Fix tslint check 2016-04-14 22:12:03 +02:00
Chocobozzz 1553e15d82 Implement user requests autorizations in the client side 2016-04-14 22:07:46 +02:00
Chocobozzz c9bf7d30bd Update client packages 2016-04-13 17:23:09 +02:00
Chocobozzz 44124980c5 Add typescript (and angular2) linter 2016-04-08 21:03:47 +02:00
Chocobozzz 0dde91ff15 Only display "upload video" in the menu if the user is logged in 2016-04-08 19:58:57 +02:00
Chocobozzz 02b72dc7f4 Update modules 2016-04-01 14:38:04 +02:00
Chocobozzz b1794c53ac Login in Angular : first draft 2016-03-22 15:51:54 +01:00
Chocobozzz 8c9c1942f6 Change name of fields for add video api 2016-03-18 16:44:54 +01:00
Chocobozzz 2df82d42cb Change api output for videos 2016-03-18 16:28:09 +01:00
Chocobozzz 86e054b20f Improve progress bar 2016-03-16 21:22:21 +01:00
Chocobozzz 763bed9ba0 Some small css modifications 2016-03-16 20:59:56 +01:00
Chocobozzz a0382b70d0 Add separations in the panel 2016-03-16 20:45:09 +01:00
Chocobozzz 2c4a0b5d90 Fix tests 2016-03-15 13:16:54 +01:00
Chocobozzz 98b01bac2c Angular 2 : draft 2 2016-03-14 22:16:43 +01:00
Chocobozzz dc8bc31be5 Angular application :first draft 2016-03-14 13:50:19 +01:00
Chocobozzz bd324a6692 Prepare client app 2016-03-08 08:37:15 +01:00
Chocobozzz ccfd23dfe5 I'm fed up with Gruntfile 2016-03-07 18:01:56 +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