aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/forms
Commit message (Collapse)AuthorAgeFilesLines
* Add ability to list all local videos on clientChocobozzz2018-10-102-2/+6
|
* Add explicit error message that changing video ownership only works with ↵Lucas Declercq2018-10-101-3/+12
| | | | | | | | | | | | local accounts (#1214) * Add explicit error message that changing video ownership only works with local accounts * Remove superfluous logger * Remove unneeded end() to error responses * Add a message on client side to prevent transfering ownership to a remote account
* Clean up change password validationChocobozzz2018-09-051-0/+8
|
* Users can change ownership of their video [#510] (#888)Gaëtan Rizio2018-09-043-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [#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
* Implement daily upload limit (#956)Felix Ableitner2018-08-281-0/+8
| | | | | | | | | | | | | | | | | | | | * Implement daily upload limit (ref #652) * remove duplicate code * review fixes * fix tests? * whitespace fixes, finish leftover todo * fix tests * added some new tests * use different config value for tests * remove todo
* Add popover autocloseChocobozzz2018-08-271-1/+5
|
* Add ability to set a name to a channelChocobozzz2018-08-271-0/+16
|
* Fix AutoThreadJorropo2018-08-211-2/+2
|
* Add blacklist reason fieldChocobozzz2018-08-142-0/+20
|
* Add ability to delete and update abuse on clientChocobozzz2018-08-141-0/+10
|
* Add ability to ban/unban usersChocobozzz2018-08-091-0/+13
|
* Migrate to bootstrap 4 and ng-bootstrapChocobozzz2018-08-091-4/+9
|
* Add "agree to the terms" checkbox in registration formChocobozzz2018-07-255-4/+14
|
* Improve captions UX (at least I've tried)Chocobozzz2018-07-253-1/+7
|
* Improve frontend accessibilityChocobozzz2018-07-173-0/+77
| | | | | In particular checkboxes, likes/dislikes, share button, video thumbnails and help buttons
* Implement captions/subtitlesChocobozzz2018-07-167-0/+152
|
* Remove uneeded rxjs-compatChocobozzz2018-06-181-1/+1
|
* Add ability to schedule video publicationChocobozzz2018-06-152-3/+14
|
* Translate tab headsChocobozzz2018-06-051-3/+3
|
* Add form validator translationsChocobozzz2018-06-0519-288/+404
|
* Form validators refractoringChocobozzz2018-06-055-22/+124
|
* Add i18n attributesChocobozzz2018-06-052-3/+3
|
* Video support field inherits channel support fieldChocobozzz2018-05-251-0/+1
|
* Upgrade to rxjs 6Chocobozzz2018-05-161-6/+7
|
* Add ability to embed a video in TwitterChocobozzz2018-05-111-0/+7
| | | | The instance should be whitelisted first
* Add overflow on markdown textaeraChocobozzz2018-05-111-1/+6
|
* Fix video channel description/support max lengthChocobozzz2018-05-092-6/+6
|
* Account/channel descriptions are not required anymoreChocobozzz2018-05-091-2/+0
|
* Fix #546 (I hope!)Gérald Niel2018-05-091-3/+3
|
* Add video channel managementChocobozzz2018-04-261-0/+34
|
* Add ability to update the user display name/descriptionChocobozzz2018-04-261-0/+24
|
* Fix check comments params unit testsChocobozzz2018-03-261-1/+1
|
* fix #382 generic error when password is too long (#383)jomo2018-03-231-2/+7
|
* Add short description in configChocobozzz2018-03-151-0/+7
|
* Add support to video support on clientChocobozzz2018-02-204-22/+38
|
* Add ability to update thumbnail and preview on clientChocobozzz2018-02-162-1/+6
|
* Video previews take all the width on mobileChocobozzz2018-02-091-2/+2
|
* Add about pageChocobozzz2018-01-311-1/+1
|
* Add new name/terms/description config optionsChocobozzz2018-01-314-0/+132
|
* Add ability to update some configuration keysChocobozzz2018-01-171-0/+35
|
* Add video comment componentsChocobozzz2017-12-271-0/+10
|
* Move to angular cliChocobozzz2017-12-124-7/+6
|
* Design follow admin pageChocobozzz2017-12-081-8/+2
|
* Design second video upload stepChocobozzz2017-12-081-17/+5
|
* Move video form inside a componentChocobozzz2017-12-071-0/+6
|
* Design video watch modalsChocobozzz2017-12-071-3/+3
|
* Usernames are case insensitive nowChocobozzz2017-11-041-2/+8
|
* Add video privacy settingChocobozzz2017-10-311-0/+7
|
* Lazy description and previews to video formChocobozzz2017-10-301-2/+2
|
* Add tests to user rolesChocobozzz2017-10-271-1/+1
|