Commit Graph

67 Commits

Author SHA1 Message Date
Chocobozzz
3a0fb65c61
Add video miniature dropdown 2019-04-05 10:53:09 +02:00
Chocobozzz
693263e936
Refactor videos selection components 2019-04-05 10:53:08 +02:00
Chocobozzz
e2f01c47e0 Playlist support in watch page 2019-03-18 11:17:59 +01:00
Chocobozzz
15e9d5ca39 Playlist reorder support 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
b28e4e5e08
Add user notification animation 2019-02-20 10:16:04 +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
1506307f2f
Increase abuse length to 3000
And correctly handle new lines
2019-01-14 16:48:38 +01:00
Chocobozzz
d3e56c0c4b
Implement contact form in the client 2019-01-10 11:32:38 +01:00
Chocobozzz
2f1548fda3 Add notifications in the client 2019-01-09 11:15:15 +01:00
Chocobozzz
80bfd33c0b
Add history page on client 2018-12-18 11:35:51 +01:00
Chocobozzz
ddb83e49ec
My account menu -> open entries on hover 2018-12-05 14:21:31 +01:00
Chocobozzz
2fbe7f1933
Fix new Angular 7 issues 2018-11-15 09:25:32 +01:00
Chocobozzz
c199c427d4
Better typings 2018-10-18 14:35:31 +02:00
Chocobozzz
af5767ffae Add user/instance block by users in the client 2018-10-16 16:41:36 +02:00
Chocobozzz
e724fa93c7
Move user moderation tool in a separate component 2018-10-05 17:02:09 +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
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
Chocobozzz
2d3741d6d9 Videos overview page: first version 2018-08-31 09:19:58 +02:00
Chocobozzz
41a676db39
Add features table on signup 2018-08-28 17:39:29 +02:00
Chocobozzz
d77ad72663
Fix deprecated ng-bootstrap methods 2018-08-27 15:09:04 +02:00
Chocobozzz
22a16e36f6 Add local user subscriptions 2018-08-27 09:41:54 +02:00
Chocobozzz
26b7305a23
Add blacklist reason field 2018-08-14 09:27:18 +02:00
Chocobozzz
63347a0ff9
Migrate to bootstrap 4 and ng-bootstrap 2018-08-09 14:55:06 +02:00
Chocobozzz
eacb25c436
Add reason when banning a user 2018-08-08 17:44:22 +02:00
Chocobozzz
fbad87b047 Add ability to import video with youtube-dl 2018-08-06 11:19:16 +02:00
Chocobozzz
57c36b277e Begin advanced search 2018-07-24 14:04:05 +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
40e87e9ecc Implement captions/subtitles 2018-07-16 11:50:08 +02:00
Chocobozzz
bbe0f0645c
Add ability to schedule video publication 2018-06-15 18:20:56 +02:00
Chocobozzz
e309822b93
Add form validator translations 2018-06-05 15:02:27 +02:00
Chocobozzz
d18d64787b
Form validators refractoring 2018-06-05 10:58:45 +02:00
Chocobozzz
989e526abf
Prepare i18n files 2018-06-05 08:43:01 +02:00
Chocobozzz
d3e91a5f72
Add video channel account list 2018-04-25 15:43:19 +02:00
Chocobozzz
0626e7af82
Add account view 2018-04-24 15:13:19 +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
8a8e02a43e
Add help tooltip 2018-02-22 18:32:31 +01:00
Chocobozzz
68e24d7279
Add loading bar when updating a video 2018-02-16 17:24:47 +01:00
Chocobozzz
6de3676898
Add ability to update thumbnail and preview on client 2018-02-16 16:35:32 +01:00
Chocobozzz
0cd4344f3c
Rewrite infinite scroll 2018-02-13 14:20:46 +01:00
Chocobozzz
66b16cafb3
Add new name/terms/description config options 2018-01-31 16:42:40 +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
cd83ea1b90
Design admin data tables 2017-12-08 14:34:17 +01:00
Chocobozzz
c182778e26
Add progress bar for video upload 2017-12-07 17:56:59 +01:00
Chocobozzz
b1fa3eba70
Begin video watch design 2017-12-06 17:15:59 +01:00
Chocobozzz
f3aaa9a95c
Fix client search 2017-12-05 18:25:29 +01:00
Chocobozzz
62e23e40da
Fix client build 2017-12-04 11:40:45 +01:00
Chocobozzz
202f6b6c9d
Begin videos of an account 2017-12-01 18:56:26 +01:00