Commit Graph

291 Commits (76314386aeafdd6849b7b70c517779d6b2013473)

Author SHA1 Message Date
Rigel Kent 41f8f6207a miniature duration visibility and overlay background opacity 2019-12-09 09:16:08 +01:00
Rigel Kent 6f6e89dbc2 dropdown-menu lighter box-shadow 2019-12-09 09:10:54 +01:00
Rigel Kent 2526690866 search filtering improvements per #1654 2019-12-05 09:06:01 +01:00
Chocobozzz 2fcc229497
Test a color for the support button 2019-12-03 20:10:27 +01:00
Chocobozzz cdbfd2b003
Fix background body color 2019-11-29 14:23:28 +01:00
Chocobozzz 2a53942d9e
Fix overflow when creating a channel 2019-11-27 10:41:08 +01:00
frankdelange 597ca6de2c
Show poster image when playing audio-only content, do not hide controls
Add '.vjs-playing-audio-only-content' class to:
 - show poster image
 - disable controls auto-hide

...when playing audio-only content
2019-11-25 10:59:48 +01:00
Julien Maulny a4610bc688 Fix stats block display in dark theme 2019-11-13 09:02:26 +01:00
Chocobozzz 18c9772876
Fix checkbox themes 2019-10-22 11:14:58 +02:00
Chocobozzz 6051946e44
Fix avatar bad width 2019-09-05 10:30:22 +02:00
Chocobozzz bc20aaed46 Fix register checkbox 2019-09-05 10:17:02 +02:00
Chocobozzz d5c8932a60
Merge branch 'release/1.4.0' into develop 2019-08-22 14:46:47 +02:00
Chocobozzz 6eb62c3390
Fix video rows overflow
In discover and account channel videos pages
2019-08-22 13:59:54 +02:00
Chocobozzz 122dbb5705
Cleanup SASS imports 2019-08-22 10:33:57 +02:00
Chocobozzz 79a899410f
Cleanup SASS imports 2019-08-22 10:02:32 +02:00
Robin 13176a07a9 Cleaner warning of IP address leaking on embedded videos (#2034)
* Update peertube-skin.scss

* Update embed.ts
2019-08-16 08:17:41 +02:00
Chocobozzz dc89026348
Add show channel button in account page 2019-07-29 17:12:18 +02:00
BO41 a1758df8a3 Add font-display 2019-07-26 09:07:59 +02:00
Chocobozzz 03652b3179
Use ::ng-deep instead of /deep/ 2019-07-25 11:00:43 +02:00
Chocobozzz dba85a1e9e WIP plugins: add plugin settings/uninstall in client 2019-07-24 10:58:16 +02:00
Chocobozzz 3caf77d3b1
Add language filters in user preferences 2019-06-19 15:05:36 +02:00
Chocobozzz 2f4c784a92
Add params to share modal 2019-06-12 16:44:15 +02:00
Chocobozzz 5efab5467c
Add more embed parameters 2019-06-11 16:05:03 +02:00
Chocobozzz 776ca9b1cc
Fix checkbox outline 2019-06-06 11:43:01 +02:00
Chocobozzz bc01017be9
Add ability to subscribe from the channel account page 2019-05-29 17:00:40 +02:00
Chocobozzz c8487f3f63
Improve account channel page
Set it as the default route for account page. The main goal is to better
differentiate the channel page from the account page. With the channel
page set as default, I hope people will better understand they are in
the account page, and that this account could have multiple channels.
2019-05-29 16:45:59 +02:00
Chocobozzz 1d5342abc4
Multi step registration 2019-05-29 11:19:54 +02:00
Chocobozzz 616a03d55e
No border radius for thumbnails on small screens 2019-04-25 10:06:30 +02:00
Zig-03 1b8a890595 _miniature.scss .blur-filter from 5px blur to 20px
A temporary fix, until a better solution is found (maybe #1158 + #1588?), that increases the blur because right now NSFW thumbnails are way too transparent.
2019-04-18 11:07:37 +02:00
Chocobozzz 28e0e40d2b
Fix privacy warning position on mobile 2019-04-15 09:43:23 +02:00
Chocobozzz 2c3abc4fa7
Fix my account settings responsive 2019-04-11 11:18:19 +02:00
Chocobozzz 31b6ddf866
Add ability to disable tracker 2019-04-10 09:23:18 +02:00
Chocobozzz e2409062de
Refactor video miniatures 2019-04-03 16:17:41 +02:00
Chocobozzz 8fc02e4768
Set thumbnail height 2019-04-03 14:18:23 +02:00
Chocobozzz 0c9945d900
Try to fix multiline ellipsis
some characters like "g" were cut out
2019-04-03 13:51:02 +02:00
Chocobozzz 11dd0c2e42
Improve abstract videos list
Better responsive and align miniatures to the left
2019-04-03 13:25:52 +02:00
Chocobozzz e0812403d8
Reduce player big button border width 2019-03-20 14:28:08 +01:00
Chocobozzz a55052c9ba
Add my library section in menu 2019-03-20 13:53:51 +01:00
Chocobozzz bce47964f6 Add video channel view 2019-03-18 11:17:59 +01:00
Chocobozzz e2f01c47e0 Playlist support in watch page 2019-03-18 11:17:59 +01:00
Chocobozzz c5a1ae500e Playlist videos component 2019-03-18 11:17:59 +01:00
Chocobozzz f0a3988066 Add to playlist dropdown 2019-03-18 11:17:59 +01:00
Chocobozzz 830b4faff1 Add/update/delete/list my playlists 2019-03-18 11:17:59 +01:00
Chocobozzz ef80c66cea
Refactor ellipsis CSS 2019-02-20 15:52:03 +01:00
Chocobozzz e5fc7811ae
Increase thumbnails size 2019-02-20 13:59:31 +01:00
Chocobozzz 41d713446c
Lazy import some modules 2019-02-15 15:52:18 +01:00
Chocobozzz aa87909287
Fix calendar in dark mode 2019-01-17 11:51:08 +01:00
Chocobozzz f2fab901df
Fix invisible things in dark mode 2019-01-17 11:34:29 +01:00
Chocobozzz 17bb716bc4
Fix some styles
Video edit tags, dropdown actions font ...
2019-01-17 11:16:08 +01:00
Chocobozzz 457bb213b2
Refactor how we use icons
Inject them in an angular component so we can easily change their color
2019-01-17 10:38:18 +01:00
Chocobozzz 3195cd1c11
Fix notification z-index on modals 2019-01-15 09:25:26 +01:00
Chocobozzz 2f1548fda3 Add notifications in the client 2019-01-09 11:15:15 +01:00
Chocobozzz 6e7e63b83f Fix notification icon position 2019-01-09 11:15:15 +01:00
Chocobozzz 4707f410ae
Fix notification with large message 2018-12-20 11:18:29 +01:00
Chocobozzz f8b2c1b4f5
Refractor notification service
Shorter name and use primeng component
2018-12-19 17:26:52 +01:00
Chocobozzz 276d965295
Add ability to disable and clear history 2018-12-18 11:35:51 +01:00
Chocobozzz fe05c3acbd
Fix player progress bar when changing resolution 2018-11-16 09:16:41 +01:00
Chocobozzz 650e3d5ce3
Fix miniature with a long name 2018-11-15 16:38:36 +01:00
Chocobozzz 65b21c961c Add ability to mute a user/instance by server in client 2018-10-16 16:41:36 +02:00
Chocobozzz 017c3dcadf
Add ability to list all local videos on client 2018-10-10 14:35:55 +02:00
Chocobozzz b014b6b9c7
Add ability to search on followers/following 2018-10-10 09:43:53 +02:00
Chocobozzz 791645e620
Add bulk actions in users table 2018-10-08 15:55:32 +02:00
Rigel Kent c5d04b4f35
add allow advancedSearch with empty search
a.k.a. filters on all videos

also added a badge showing the rough number of active filters
2018-10-01 17:23:06 +02:00
Rigel Kent 8b183196cb
fix primeng border color on all themes 2018-09-29 17:36:19 +02:00
Rigel Kent f5d9558f66
various display improvements 2018-09-29 13:42:17 +02:00
Chocobozzz 19f2205516
Display other videos on xl screens on the right 2018-09-28 14:37:04 +02:00
Chocobozzz 161b061d4e
Remove duplicated videos on unfollow/delete redundancy 2018-09-28 10:07:05 +02:00
Rigel Kent 660d11e91e
refactor subscribe button and comment-add for visitor-interact UX (#1100)
* refactor subscribe button for visitor-subscribe UX
* refactor comment-add for visitor-interact UX
2018-09-25 15:42:58 +02:00
Chocobozzz b9fcfb1d2a
Fix weird CSS bug with production build and CSS var 2018-09-24 18:05:57 +02:00
Chocobozzz a7f9fae9ab
Improve download modal input style 2018-09-24 17:48:34 +02:00
Rigel Kent 1fd3ef3fb4
fix nav tab and tag color in dark theme 2018-09-20 20:57:18 +02:00
Chocobozzz 2860e62e23
Fix my account width on mobile 2018-09-20 16:24:58 +02:00
Chocobozzz 0491173a61
Merge branch 'develop' into cli-wrapper 2018-09-20 16:24:31 +02:00
Chocobozzz 93ea9c47d9
Improve responsive on small screens 2018-09-20 14:59:19 +02:00
Chocobozzz b335ccec49
Fix ios player playback/subtitles menu 2018-09-17 15:01:04 +02:00
Rigel Kent 1d9d9cfdcf
add css custom properties for the left menu 2018-09-13 14:33:17 +02:00
Rigel Kent c13e2bf340
update hotkeys to include user-specific routes
also fix left-menu width
2018-09-11 22:02:58 +02:00
Rigel Kent e78980ebd1 use focus-visible polyfill to improve keyboard navigation
Only the homepage is concerned, but it should have decent keyboard
navigation support now.
2018-09-11 10:58:48 +02:00
Rigel Kent 20c3a59e2c
add input color to cope with browser themes 2018-09-09 14:43:30 +02:00
Rigel Kent ed19bb9a32
use css class for loading bar color 2018-09-07 22:46:11 +02:00
Rigel Kent 35c2930776
move theme toggle icon to the right 2018-09-06 13:47:48 +02:00
Chocobozzz 432e7ddcc8
Fix video player theatre mode 2018-09-06 09:00:58 +02:00
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