Commit Graph

790 Commits (96df6ca606ddf2b3116a788e89f70e8dafef3a44)

Author SHA1 Message Date
Chocobozzz c88593f72f
Fix search pagination 2018-01-29 09:30:06 +01:00
Chocobozzz f6a043df74
Improve video upload guard a little bit 2018-01-25 19:09:47 +01:00
Dimitri Gilbert 529479f924 Issue #195 : When uploading, warn when the user quits the page (#222)
* issue #195

* fixing missing provider definition

* fix styling issue

* fix styling issue

* removed unecessary code

* using angular confirmService instead of window.confirm

* gitignore unecessary folders

* style fixes

* using a generic canDeactivateGuard

* fixing lint style
2018-01-25 18:40:23 +01:00
Chocobozzz fd206f0b2d
Add ability to update some configuration keys 2018-01-17 10:41:27 +01:00
Chocobozzz cfe1efd200
Fix http token interceptor 2018-01-11 15:39:41 +01:00
Chocobozzz 60650c77c8
Add scores to follows and remove bad ones 2018-01-11 09:35:50 +01:00
Chocobozzz ce5496d6a3
Support video quota on client 2018-01-08 12:53:09 +01:00
Chocobozzz 76d36e0b35
Refractor account by 2018-01-08 10:35:54 +01:00
Benjamin Bouvier 57a49263e4 A few updates for the watch video view (#181)
* Fixes #156: Filter out the video being watched from the list of other videos of the same author;

* Fixes #167: in the video view, hide the author's domain when it's from the current host;

* Fixes #171: Allow undoing a like/dislike;
2018-01-07 14:48:10 +01:00
Chocobozzz 4cb6d45788
Add ability to delete comments 2018-01-04 11:19:16 +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 4635f59d7c
Add video comment components 2017-12-27 16:11:53 +01:00
Chocobozzz fb4fd623d5
Better admin tables 2017-12-21 15:24:49 +01:00
Chocobozzz 6e33bf2882
Add no result text if there are no results 2017-12-21 11:09:46 +01:00
Chocobozzz 15a7387da8
Customize select 2017-12-20 14:29:55 +01:00
Chocobozzz 24a8e782d8
Add bootstrap analyzer and optimize build 2017-12-20 09:05:16 +01:00
Chocobozzz 50d6de9c28
Begin moving video channel to actor 2017-12-19 10:53:16 +01:00
Andréas Livet 7efe153b0b Enh #106 : Add an autoPlayVideo user attribute (#159)
Warning : I was not able to run the tests on my machine. It uses a different approach to handle databse connexion and didn't find where to configure it...

- create a migration file to add a boolean column in user table
- add autoPlayVideo attribute everywhere it is needed (both on client and server side)
- add tests
- add a way to configure this attribute in account-settings
- use the attribute in video-watch component to actually autoplay or not the video
2017-12-19 10:45:49 +01:00
Chocobozzz d48ff09d27
Use sequelize scopes 2017-12-14 10:07:57 +01:00
Chocobozzz c893d4514e
Add beautiful loading bar 2017-12-12 14:57:46 +01:00
Chocobozzz b2731bff28
Small style fixes 2017-12-12 14:41:59 +01:00
Chocobozzz b682782093
Upgrade to angular 5 2017-12-12 13:58:03 +01:00
Chocobozzz 63c4db6d71
Move to angular cli 2017-12-12 10:58:16 +01:00
Chocobozzz 3daf400219
Responsive homepage 2017-12-11 08:50:43 +01:00
Chocobozzz f595d39477
Finish admin design 2017-12-08 17:31:21 +01:00
Chocobozzz e600e1fea2
Design follow admin page 2017-12-08 15:22:57 +01:00
Chocobozzz cd83ea1b90
Design admin data tables 2017-12-08 14:34:17 +01:00
Chocobozzz cadb46d832
Design second video upload step 2017-12-08 09:57:29 +01:00
Chocobozzz c182778e26
Add progress bar for video upload 2017-12-07 17:56:59 +01:00
Chocobozzz ff249f499c
Move video form inside a component 2017-12-07 11:15:19 +01:00
Chocobozzz 0727cab0df
Design video watch modals 2017-12-07 10:28:20 +01:00
Chocobozzz 6a9e1d42f8
Add likes/dislikes bar 2017-12-06 18:04:40 +01:00
Chocobozzz b1fa3eba70
Begin video watch design 2017-12-06 17:15:59 +01:00
Chocobozzz a2b817d322
Better error messages 2017-12-06 09:19:25 +01:00
Chocobozzz f3aaa9a95c
Fix client search 2017-12-05 18:25:29 +01:00
Chocobozzz d235f6b0d1
Design signup and login pages 2017-12-05 16:48:26 +01:00
Chocobozzz 6bafac54bf
Fix missing default avatar 2017-12-05 15:12:03 +01:00
Chocobozzz 62e23e40da
Fix client build 2017-12-04 11:40:45 +01:00
Chocobozzz be44767854
Fix lint 2017-12-04 11:17:08 +01:00
Chocobozzz d2cc03aaad
Design account videos 2017-12-04 11:04:08 +01:00
Chocobozzz 2295ce6c4e
Add account avatar 2017-12-04 10:34:40 +01:00
Chocobozzz 202f6b6c9d
Begin videos of an account 2017-12-01 18:56:26 +01:00
Chocobozzz c30745f342
Add account settings new design 2017-12-01 17:38:26 +01:00
Chocobozzz 2bbb34127f
Add auto scroll to videos list 2017-12-01 16:17:32 +01:00
Chocobozzz 9bf9d2a5c2
Begin videos list new design 2017-12-01 14:46:22 +01:00
Chocobozzz 26c6ee80d0
Implement header design 2017-12-01 13:15:53 +01:00
Chocobozzz b33f657c30
Begin new menu design 2017-12-01 10:55:56 +01:00
Chocobozzz 80958c78fd
Add loader when expanding long video description 2017-11-28 17:13:51 +01:00
Chocobozzz 1e1265b36c
Make the client compile too 2017-11-27 19:40:51 +01:00
Chocobozzz a01f107bc4
Improve client mobile version 2017-11-06 11:46:11 +01:00
Chocobozzz 563d032e97
Usernames are case insensitive now 2017-11-04 18:32:38 +01:00
Chocobozzz fd45e8f43c
Add video privacy setting 2017-10-31 11:53:13 +01:00
Chocobozzz 2de96f4d6b
Lazy description and previews to video form 2017-10-30 20:26:06 +01:00
Chocobozzz 757f0da370
Add tests to user roles 2017-10-27 17:27:06 +02:00
Chocobozzz 954605a804
Support roles with rights and add moderator role 2017-10-27 16:55:03 +02:00
Chocobozzz a265f7f30f
Increase video attributes length
Number of tags: 3 -> 5
Tag length: 10 -> 30
Video name: 50 -> 120
Video channel name: 50 -> 120
2017-10-26 15:52:11 +02:00
Chocobozzz bcd9f81eff
Add channels to upload form 2017-10-26 09:11:38 +02:00
Chocobozzz 404b54e14f
Adapt client with video channels 2017-10-26 09:11:38 +02:00
Chocobozzz 10db166bbe
Upgrade client dependencies and fix error logs 2017-10-19 10:22:07 +02:00
Ronan 8376734ee3 Handle express-validator error on the client side and fix #96 (#98)
* Handle express-validator error on the client side

* More meaningfull error for not supported format
2017-10-16 11:43:40 +02:00
Chocobozzz 35bf0c83c8
Video blacklist refractoring 2017-10-10 10:18:16 +02:00
Chocobozzz c9d6d155c3 Fix login when there is an error 2017-09-15 12:26:02 +02:00
Chocobozzz 315cc0cc18 Add info when server is processing a video at upload 2017-09-14 23:03:43 +02:00
Chocobozzz 3523b64a03 Optimize imports 2017-09-14 22:16:39 +02:00
Chocobozzz bfb3a98fac Remove ng2 file upload module
Unmaintained and we don't need it anymore with httpclient
2017-09-14 17:25:36 +02:00
Chocobozzz d5050d1e09 Fix lint 2017-09-14 12:09:06 +02:00
Chocobozzz d592e0a9b2 Move to HttpClient and PrimeNG data table 2017-09-14 11:57:49 +02:00
Chocobozzz 8094a89802 Add user update for admins 2017-09-05 21:29:39 +02:00
Chocobozzz 980246ea8f Make tslint happy 2017-09-04 21:45:05 +02:00
Chocobozzz b0f9f39ed7 Begin user quota 2017-09-04 20:07:54 +02:00
Chocobozzz e7dbeae8d9 Fix client admin 2017-08-28 20:28:12 +02:00
Chocobozzz d15ab38a90 Update client dependencies 2017-08-25 12:11:42 +02:00
Chocobozzz 0a6658fdcb Use global uuid instead of remoteId for videos 2017-07-11 16:01:56 +02:00
Chocobozzz 4771e0008d Better typescript typing for a better world 2017-07-10 19:43:21 +02:00
Chocobozzz 42374cf5d4 Fix client admin 2017-06-25 11:35:09 +02:00
Chocobozzz b632e9049f Fix client compilation 2017-06-20 20:20:09 +02:00
Chocobozzz 154898b0b7 Share models between server and client 2017-06-17 11:28:11 +02:00
Chocobozzz df98563e21 Use typescript standard and lint all files 2017-06-16 14:32:15 +02:00
Chocobozzz 46757b477c Fix client compilation 2017-06-16 11:01:45 +02:00
Chocobozzz 1840c2f7c9 Update webpack stack 2017-06-11 15:19:43 +02:00
Chocobozzz 69f616ab3a Use shared models 2017-06-11 11:02:35 +02:00
Chocobozzz 09223546a4 Client Better design for video watch 2017-04-26 21:23:19 +02:00
Chocobozzz 383bfc8356 Client: responsive design 2017-04-26 21:23:19 +02:00
Chocobozzz c689fcdca2 Client: use builtin email validator 2017-04-26 21:22:51 +02:00
Chocobozzz 3758da9489 Client: use ng2-tag-input for forms with video tags 2017-04-16 14:06:48 +02:00
Chocobozzz ad42bea3a5 Client: update to angular 4 2017-04-12 22:00:17 +02:00
Chocobozzz a184c71b52 Client: support signup 2017-04-10 20:29:33 +02:00
Chocobozzz db216afd98 Client: support video language 2017-04-07 14:57:05 +02:00
Chocobozzz af5e743b01 Client: add ability for user to change nsfw settings 2017-04-06 21:21:03 +02:00
Chocobozzz 92fb909c9b Client: Handle NSFW video 2017-04-04 21:37:03 +02:00
Chocobozzz d07137b90b Client: add support for video licences 2017-03-27 21:11:37 +02:00
Chocobozzz e54163c2d5 Relax on tags (accept any characters and not required anymore) 2017-03-22 21:56:02 +01:00
Chocobozzz 6e07c3de88 Add video category support 2017-03-22 21:25:24 +01:00
Chocobozzz d38b828106 Add like/dislike system for videos 2017-03-08 21:35:43 +01:00
Chocobozzz e2a2d6c86c Client: check token valitidy at startup 2017-03-04 11:45:47 +01:00
Chocobozzz 99fdec4648 Fix request schedulers stats 2017-02-27 21:56:55 +01:00
Chocobozzz ad4a8a1cca Add email to users 2017-02-18 09:29:59 +01:00
Chocobozzz 7af75da41b Client: fix lint 2017-02-10 11:52:45 +01:00
Chocobozzz 28798b5d94 Client: replace simple tables by ng2 smart table component 2017-01-30 22:41:14 +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 c16ce1de8e Client: add basic aot support 2017-01-13 12:16:00 +01:00
Chocobozzz d396a937b6 Client: upgrade angular dep' 2016-12-29 17:34:29 +01:00
Chocobozzz feb4bdfd9b First version with PostgreSQL 2016-12-19 21:22:28 +01:00
Chocobozzz bf57d5eebf Client: try to improve ux for the upload form 2016-11-27 18:10:26 +01:00
Chocobozzz 447fde2774 Client: improve host regex 2016-11-27 17:45:00 +01:00
Chocobozzz 693b1aba46 Client: split in angular modules 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 c0a89c46ef Client: fix handle refresh token 2016-11-04 11:54:36 +01:00
Chocobozzz 2ac6c52560 Client: fix search dropdown 2016-10-13 21:59:19 +02:00
Chocobozzz 1a00504203 Client: fix progress bar and tags validation issues 2016-10-07 14:52:18 +02:00
Chocobozzz a6375e6966 Merge branch 'master' into webseed-merged 2016-10-02 15:39:09 +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 44c5275e1b Client: fix compilation about the user created date 2016-09-23 17:34:18 +02:00
Chocobozzz b539c9b34c Client: display created user date 2016-09-23 17:20:15 +02:00
Chocobozzz ec8d8440a8 Client: use templateUrl/styleUrls instead of require 2016-09-19 22:49:31 +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 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 9aa46b0c7b Client: navigate to /videos/list when do search on another page 2016-08-21 11:21:45 +02:00
Chocobozzz c323efb9cd Update webtorrent -> 0.96 2016-08-12 17:35:10 +02:00
Chocobozzz 7da18e4420 Client: add user management 2016-08-09 21:45:21 +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 724fed2931 Client: fix login state when logout 2016-07-27 21:16:19 +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 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 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 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 5555f886c0 Do not import whole rxjs 2016-06-05 09:34:41 +02:00
Chocobozzz 4a6995be18 First draft to use webpack instead of systemjs 2016-06-03 22:08:03 +02:00