Commit Graph

309 Commits (0ac458bffb9389d649adcd86038385795bb6ad65)

Author SHA1 Message Date
Chocobozzz db6d617dd2
Fix occitan label 2018-09-05 15:59:43 +02:00
Chocobozzz dcbc29d5c8
Put "start at" at the top of the modal 2018-09-05 15:32:15 +02:00
Chocobozzz 8ff3f88347
Fix watch page responsive 2018-09-05 11:20:44 +02:00
Chocobozzz 46ae6f6724
Fix menu on mobile 2018-09-05 10:19:45 +02:00
Rigel Kent 9a0fc8409c add theming via css custom properties
and a bonus dark color theme toggle
2018-09-04 23:24:34 +02:00
Rigel Kent 3b766e181c
fixing grid readjustment with expand and screens < 1150px 2018-09-04 18:35:39 +02:00
Chocobozzz 6aff854c0e
Fix overview page on mobile 2018-09-04 17:31:30 +02:00
Gaëtan Rizio 74d6346935 Users can change ownership of their video [#510] (#888)
* [#510] Create a new route to get the list of user names

To be able to transfer ownership to a user,
we need to be able to select him from the list of users.

Because the list could be too big, we add a autocomplete feature.

This commit does the following:

* Add a API endpoint to get a list of user names by searching its name

* [#510] The user can choose the next owner of the video

To be able to transfer ownership to a user,
we need the owner to be able to select the user.

The server can autocomplete the name of the user to give the ownership.
We add a dialog for the user to actually select it.

This commit does the following:

* Create a modal for the owner to select the next one
* Opens this modal with a button into the menu *more*
* Make the dependency injection

* [#510] When the user choose the next owner, create a request in database

For the change of ownership to happen, we need to store the temporary requests.
When the user make the request, save it to database.

This commit does the following:

* Create the model to persist change ownership requests
* Add an API to manage ownership operations
* Add a route to persist an ownership request

* [#510] A user can fetch its ownership requests sent to him

To be able to accept or refuse a change of ownership,
the user must be able to fetch them.

This commit does the following:

* Add an API to list ownership for a user
* Add the query to database model

* [#510] A user can validate an ownership requests sent to him - server

The user can accept or refuse any ownership request that was sent to him.
This commit focus only on the server part.

This commit does the following:

* Add an API for the user to accept or refuse a video ownership
* Add validators to ensure security access
* Add a query to load a specific video change ownership request

* [#510] A user can validate an ownership requests sent to him - web

The user can accept or refuse any ownership request that was sent to him.
This commit focus only on the web part.

This commit does the following:

* Add a page to list user ownership changes
* Add actions to accept or refuse them
* When accepting, show a modal requiring the channel to send the video

* Correct lint - to squash

* [#510] PR reviews - to squash

This commit does the following:

* Search parameter for user autocompletion is required from middleware directly

* [#510] PR reviews - to squash with creation in database commit

This commit does the following:

* Add the status attribute in model
* Set this attribute on instance creation
* Use AccountModel method `loadLocalByName`

* [#510] PR reviews - to squash with fetch ownership

This commit does the following:

* Add the scope `FULL` for database queries with includes
* Add classic pagination middlewares

* [#510] PR reviews - to squash with ownership validation - server

This commit does the following:

* Add a middleware to validate whether a user can validate an ownership
* Change the ownership status instead of deleting the row

* [#510] PR reviews - to squash with ownership validation - client

This commit does the following:

* Correct indentation of html files with two-spaces indentation
* Use event emitter instead of function for accept event
* Update the sort of ownership change table for a decreasing order by creation date
* Add the status in ownership change table
* Use classic method syntax

* code style - to squash

* Add new user right - to squash

* Move the change to my-account instead of video-watch - to squash

As requested in pull-request, move the action to change ownership into my videos page.

The rest of the logic was not really changed.

This commit does the following:

- Move the modal into my video page
- Create the generic component `button` to keep some styles and logic

* [#510] Add tests for the new feature

To avoid regression, we add tests for all api of ownership change.

This commit does the following:

- Create an end-to-end test for ownership change
- Divide it to one test per request

* [#510] Do not send twice the same request to avoid spam

We can send several time the same request to change ownership.
However, it will spam the user.
To avoid this, we do not save a request already existing in database.

This commit does the following:

- Check whether the request exist in database
- Add tests to verify this new condition

* [#510] Change icons

Change icons so they remains logic with the rest of the application.

This commit does the following:

- Add svg for missing icons
- Add icons in `my-button` component
- Use these new icons

* [#510] Add control about the user quota

The user should be able to accept a new video only if his quota allows it.

This commit does the following:

- Update the middleware to control the quota
- Add tests verifying the control

* Correct merge

- Use new modal system
- Move button to new directory `buttons`

* PR reviews - to squash
2018-09-04 08:57:13 +02:00
Rigel Kent 2303a803aa
fix likes bar, grid adjustment and menu width 2018-09-03 15:10:55 +02:00
Rigel Kent 769ac6c11f add title ellipsis over two lines to miniatures 2018-09-03 08:49:29 +02:00
Chocobozzz 2d3741d6d9 Videos overview page: first version 2018-08-31 09:19:58 +02:00
Rigel Kent 2d9fea161f
watch view visual tweaks and search/comment placeholder dismiss on focus (#983)
- make the placeholder disappear on focus in the search bar
- make the placeholder disappear on focus in the comment textarea
- make the texarea resize automagically
- refactor the watch view to use bootstrap 4's flexgrid
- move action buttons of the watch view to the right of the video info
- responsive tweaks and margin adjustments in the watch view
2018-08-30 11:15:22 +02:00
Chocobozzz 41a676db39
Add features table on signup 2018-08-28 17:39:29 +02:00
Chocobozzz f0d4e7eb24
Move abuse state column at the end 2018-08-28 16:05:38 +02:00
Chocobozzz 22a16e36f6 Add local user subscriptions 2018-08-27 09:41:54 +02:00
Chocobozzz 8a19bee1a1 Add ability to set a name to a channel 2018-08-27 09:41:54 +02:00
Chocobozzz 65b247ddc7
Improve follow component routing 2018-08-14 18:01:22 +02:00
Chocobozzz 141b177db0
Add ability to ban/unban users 2018-08-09 17:55:05 +02:00
Chocobozzz 63347a0ff9
Migrate to bootstrap 4 and ng-bootstrap 2018-08-09 14:55:06 +02:00
Chocobozzz b34a444e29
Upgrade to bootstrap 4 first step 2018-08-09 09:22:10 +02:00
Chocobozzz 0f7fedc398
Improve frontend accessibility
In particular checkboxes, likes/dislikes, share button, video thumbnails
and help buttons
2018-07-17 14:56:15 +02:00
Chocobozzz 30eac84e71
Display table next/prev/first/last icons 2018-07-16 18:42:10 +02:00
Chocobozzz f2bbd1e1b1
Fix responsive in my channel/my videos pages 2018-07-16 15:17:50 +02:00
Chocobozzz 16f7022b06 Handle subtitles in player 2018-07-16 11:50:08 +02:00
Eric Brehault b5c4bfd6ac remove scroll to top, and keep menu fixed on small devices 2018-06-30 09:58:07 +02:00
Chocobozzz 8afc19a612
Add ability to choose the language 2018-06-28 15:53:12 +02:00
Chocobozzz c4082b8b4e
Disable auto resolution on HTTP fallback 2018-06-22 15:11:04 +02:00
Chocobozzz 1ee156b2c5
Add margin for http fallback display 2018-06-18 10:26:19 +02:00
Chocobozzz bbe0f0645c
Add ability to schedule video publication 2018-06-15 18:20:56 +02:00
Chocobozzz 3d5de919f3
Fix glitch when updating player volume 2018-06-14 10:47:07 +02:00
Chocobozzz 4555697f21
Adapt theather icon depending on the player state 2018-06-13 16:31:32 +02:00
Chocobozzz 054a103b28
Add theatre mode 2018-06-11 16:49:56 +02:00
Chocobozzz 2a19a1e4de
Split player sass file 2018-06-11 15:25:46 +02:00
Chocobozzz fc16f981da
Darker control bar 2018-06-11 13:55:00 +02:00
Chocobozzz 0aabe3f6f9
Improve control bar with blank videos 2018-06-11 11:53:54 +02:00
Chocobozzz 695237b258
Fix add icon path 2018-06-11 10:05:42 +02:00
Chocobozzz 2ce2fd7f45
Improve player progress bar 2018-06-08 10:37:13 +02:00
Chocobozzz fa40cbc3b2
Only use woff2 for fonts 2018-06-06 19:21:02 +02:00
Chocobozzz 8e53163fbd
Fix seek circle overflow 2018-05-31 10:49:07 +02:00
Chocobozzz 77728efa62
Fix player progress bar 2018-05-31 09:51:51 +02:00
Chocobozzz 960a11e89d
Add context menu to player 2018-05-30 17:10:00 +02:00
Chocobozzz a4f99a766b
Add owner in video channel page 2018-05-23 11:38:18 +02:00
Chocobozzz e998cf3cc7
Fix some components after Angular 6 upgrade 2018-05-16 09:42:54 +02:00
Chocobozzz 1952a538ba
Improve responsive account about page 2018-05-09 09:23:27 +02:00
Chocobozzz 08c1efbe32
Add video channel management 2018-04-26 16:18:01 +02:00
Chocobozzz 7de6afdf54
Add username near the display name for account pages 2018-04-26 16:18:01 +02:00
Chocobozzz 170726f523
Implement video channel views 2018-04-25 16:56:13 +02:00
Chocobozzz 0626e7af82
Add account view 2018-04-24 15:13:19 +02:00
Chocobozzz 3c40590d74
Fix auto quality 2018-04-20 10:21:28 +02:00
Chocobozzz 6cf57b443d
Player better responsive 2018-04-20 09:05:54 +02:00
Chocobozzz 7a14004b4e
Use mixin for word wrap 2018-04-20 08:19:46 +02:00
Chocobozzz e6f627975b
Hide big play button on autoplay 2018-04-17 09:54:53 +02:00
Rigel Kent 244e76a552
feature: initial syndication feeds support
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings and video-watch views.

* still lacks redis caching
* still lacks lastBuildDate support
* still lacks channel-wide support
* still lacks semantic annotation (for licenses, NSFW warnings, etc.)
* still lacks love ( ˘ ³˘)

* RSS: has MRSS support for torrent lists!
* RSS: includes the first torrent in an enclosure
* JSON: lists all torrents in the 'attachments' object
* ATOM: lacking torrent listing support

Advances #23
Partial implementation for the accountId generation in the client, which will need a hotfix to add a way to get the proper account id.
2018-04-17 01:09:06 +02:00
Chocobozzz 864e782bc2
Improve big play button animation 2018-04-15 10:55:33 +02:00
Chocobozzz a8462c8e3a
Automatic resolution according to user bandwidth V1 2018-04-05 16:15:51 +02:00
Chocobozzz ea20306f87
Better embed responsive 2018-04-03 18:18:58 +02:00
Chocobozzz b891f9bc61
Fix watch page video change 2018-04-03 17:33:39 +02:00
Chocobozzz 33d7855229
Improve first play 2018-04-03 15:18:24 +02:00
Chocobozzz c6352f2c64
Improve player
Add a settings dialog based on the work of Yanko Shterev (@yshterev):
https://github.com/yshterev/videojs-settings-menu. Thanks!
2018-04-03 14:02:10 +02:00
Chocobozzz 6b9af12936
Add opacity effect on control bar icons 2018-04-03 12:06:28 +02:00
Chocobozzz e993ecb3b7
Improve player progress bar 2018-04-03 12:06:28 +02:00
Chocobozzz e700d33b19
Reduce title/button size for embed 2018-03-27 18:45:51 +02:00
Chocobozzz 586f7c1bef
Decrease player button size on very small screens 2018-03-27 14:39:10 +02:00
Chocobozzz 869968d792
Improve embed video player responsive 2018-03-26 13:55:27 +02:00
Chocobozzz 73e09f2706
Try to detect incompatible web browsers 2018-03-08 12:01:55 +01:00
Chocobozzz 3ec8dc0962
Cleaner videojs control bar implementation 2018-03-01 19:02:51 +01:00
Chocobozzz 1198a08cc7
Fix playback rate 2018-03-01 14:14:56 +01:00
Chocobozzz a73c582e5b
Improve playback speed style 2018-03-01 13:02:09 +01:00
jonathanraes 57886d6671 Support different playback rates (#318) 2018-03-01 08:26:56 +01:00
Chocobozzz 22b59e8099
Add messages about privacy concerns (P2P) 2018-02-28 15:33:45 +01:00
Chocobozzz 7ccfb37f32
Fix player on very small screens 2018-02-28 08:26:22 +01:00
Chocobozzz bf5685f0b7
Add fallback to HTTP 2018-02-26 10:49:27 +01:00
Chocobozzz ab998f7b6d
Improve admin tables 2018-02-23 14:36:16 +01:00
Chocobozzz 8a8e02a43e
Add help tooltip 2018-02-22 18:32:31 +01:00
Chocobozzz 07fa4c97ca
Add support to video support on client 2018-02-20 16:13:55 +01:00
Chocobozzz 6de3676898
Add ability to update thumbnail and preview on client 2018-02-16 16:35:32 +01:00
Chocobozzz 8cac1b6446
Move adding a video view videojs peertube plugin 2018-02-14 17:16:32 +01:00
Chocobozzz 3290f37c76
Video previews take all the width on mobile 2018-02-09 09:30:37 +01:00
Chocobozzz dd77894171
Fix responsive with modale and menu displayed 2018-01-31 11:58:11 +01:00
Chocobozzz 1f788f2044
Improve responsive on video watch 2018-01-31 11:38:05 +01:00
Chocobozzz 6693df9dd6
Hide description previews on mobile view 2018-01-31 10:42:01 +01:00
Chocobozzz c8cf5952f3
Mobile version: menu full width and autoclosed 2018-01-31 10:08:05 +01:00
Chocobozzz ecb4e35f4e
Add ability to reset our password 2018-01-30 13:27:07 +01:00
Chocobozzz 80d1057bfc
Add little effect on hover for the play button 2018-01-29 16:52:43 +01:00
Chocobozzz adcaf1a867
Fix embed button outline 2018-01-19 09:15:42 +01:00
Chocobozzz 9581cabc59
Fix loader videojs 2018-01-17 10:41:27 +01:00
Chocobozzz dfbd250da1
Fix spinner 2018-01-11 15:14:40 +01:00
Chocobozzz d77014491b
Add hotkeys in video player
Double click for full screen
2018-01-09 15:40:46 +01:00
Chocobozzz 108af66140
Fix overflow in select inputs 2018-01-08 11:30:58 +01:00
Chocobozzz 4e8c872874
Circle avatar 2018-01-03 11:54:42 +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 e91890011e
Add tooltip to likes/dislikes bar 2017-12-21 10:49:52 +01:00
Chocobozzz 5f0805d39b
Design modals 2017-12-20 17:49:58 +01:00
Chocobozzz a0d6990823
Customize checkboxs 2017-12-20 15:25:44 +01:00
Chocobozzz 15a7387da8
Customize select 2017-12-20 14:29:55 +01:00
Chocobozzz 8fa5653ad8
Add transition on play/loading player 2017-12-20 11:05:10 +01:00
Chocobozzz 15ca2e871a
Fix nav in manage follows 2017-12-20 10:04:37 +01:00
Chocobozzz 86f278cb4c
Improve player on small screen 2017-12-20 09:52:59 +01:00
Chocobozzz e203f2e0e1
Only import bootstrap component that we need 2017-12-20 09:26:50 +01:00
Chocobozzz 24a8e782d8
Add bootstrap analyzer and optimize build 2017-12-20 09:05:16 +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 63c4db6d71
Move to angular cli 2017-12-12 10:58:16 +01:00
Chocobozzz c2830fa8f8
Background orange on sorted columns 2017-12-11 10:44:40 +01:00
Chocobozzz 9e6b41cc1d
Embed player responsive 2017-12-11 10:26:29 +01:00
Chocobozzz 20206dfb0b
Fix loading spinner in player 2017-12-11 10:02:17 +01:00
Chocobozzz 9b7d1c723d
Responsive my account 2017-12-11 09:39:40 +01:00
Chocobozzz a86309b4af
Responsive player 2017-12-11 09:13:01 +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 04e0fc4888
Begin admin design 2017-12-08 10:41:49 +01:00
Chocobozzz cadb46d832
Design second video upload step 2017-12-08 09:57:29 +01:00
Chocobozzz 4cc66133ab
Design video update 2017-12-07 15:18:03 +01:00
Chocobozzz 59aa1e5e75
Design confirm dialog 2017-12-07 10:33:16 +01:00
Chocobozzz 0727cab0df
Design video watch modals 2017-12-07 10:28:20 +01:00
Chocobozzz 7b272fd73f
Fix dropdown menu in video watch 2017-12-07 10:02:01 +01:00
Chocobozzz ce0e281d46
Client bulk delete 2017-12-06 15:07:17 +01:00
Chocobozzz 7d763d9749
Add hover effect to buttons 2017-12-06 14:09:39 +01:00
Chocobozzz a2b817d322
Better error messages 2017-12-06 09:19:25 +01:00
Chocobozzz d235f6b0d1
Design signup and login pages 2017-12-05 16:48:26 +01:00
Chocobozzz be6a480232
Design video player 2017-12-05 11:04:15 +01:00
Chocobozzz d178b5c1f8
Add margin when main content is not expanded 2017-12-04 10:40:02 +01:00
Chocobozzz 2295ce6c4e
Add account avatar 2017-12-04 10:34:40 +01:00
Chocobozzz c30745f342
Add account settings new design 2017-12-01 17:38:26 +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 81de19482b
Fix margin issue when seeking video 2017-11-27 19:40:52 +01:00
Chocobozzz a01f107bc4
Improve client mobile version 2017-11-06 11:46:11 +01:00
Chocobozzz fd45e8f43c
Add video privacy setting 2017-10-31 11:53:13 +01:00
Chocobozzz b7a485121d
Change video spinner 2017-10-31 08:41:46 +01:00
Chocobozzz aa8b6df4a5
Client: handle multiple file resolutions 2017-10-06 11:03:09 +02:00
Chocobozzz 315cc0cc18 Add info when server is processing a video at upload 2017-09-14 23:03:43 +02:00
Chocobozzz d592e0a9b2 Move to HttpClient and PrimeNG data table 2017-09-14 11:57:49 +02:00
Chocobozzz e14852b4bf Better skin for videojs 2017-07-06 16:50:02 +02:00
Chocobozzz 3eeeb87fe6 Client: try to be responsive 2017-05-01 18:16:50 +02:00
Chocobozzz 6716739082 Client: add ability to hide left menu 2017-04-26 21:23:19 +02:00
Chocobozzz efbf0ed7f2 Client: adjust viewport height 2017-04-26 21:23:19 +02:00
Chocobozzz 8ce9e815c8 Client: display video tags 2017-04-26 21:23:19 +02:00
Chocobozzz 897ec54d76 Client: beautiful watch page 2017-04-26 21:23:19 +02:00
Chocobozzz ea9f487b40 Client: fixed header and menu 2017-04-26 21:23:19 +02:00
Chocobozzz 6562f1f727 Client: add titles to menu blocks 2017-04-26 21:23:19 +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 ad42bea3a5 Client: update to angular 4 2017-04-12 22:00:17 +02:00
Chocobozzz 28798b5d94 Client: replace simple tables by ng2 smart table component 2017-01-30 22:41:14 +01:00
Chocobozzz c16ce1de8e Client: add basic aot support 2017-01-13 12:16:00 +01:00
Chocobozzz cf02fbfb17 Client: move video watch modals in their own component 2016-11-21 22:09:45 +01:00
Chocobozzz 9c89a45cb2 Client: add video not found message if the video... is not found 2016-11-16 20:29:26 +01:00
Chocobozzz e31f6ad637 Client: use videojs as player 2016-11-08 20:49:43 +01:00
Chocobozzz 2149630437 Client: ID column smaller 2016-08-26 19:02:43 +02:00
Chocobozzz 602eb142be Client: make an admin menu and a classic menu component 2016-08-12 16:53:32 +02:00
Chocobozzz a64668c024 Client: try to make it work with Android Firefox 2016-07-19 16:45:07 +02:00
Chocobozzz 0629423ce3 Client: Update to Angular RC4 2016-07-18 14:26:56 +02:00
Chocobozzz 4a6995be18 First draft to use webpack instead of systemjs 2016-06-03 22:08:03 +02:00