aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/forms
Commit message (Collapse)AuthorAgeFilesLines
* Creating a user with an empty password will send an email to let him set his ↵John Livingston2020-02-171-0/+12
| | | | | | | | | | | | | | | | password (#2479) * Creating a user with an empty password will send an email to let him set his password * Consideration of Chocobozzz's comments * Tips for optional password * API documentation * Fix circular imports * Tests
* Use angular 9 clipboard cdkChocobozzz2020-02-101-1/+1
|
* Strict templates enabledChocobozzz2020-02-101-1/+1
|
* Fix signup limit validator, and add warning message.Rigel Kent2020-01-311-1/+1
|
* Fix admin config form for auto followChocobozzz2020-01-212-1/+2
|
* Add description for sensitive configuration options, reword othersRigel Kent2020-01-152-16/+49
|
* Better placement for help tooltipRigel Kent2020-01-091-1/+1
|
* Add checkbox focus shadows, and admin resolution descriptionsRigel Kent2020-01-061-1/+2
|
* Add hyperlink video timestamps in descriptionLesterpig2019-12-171-3/+6
| | | | | Fix #1312 (duplicates: #1728 and #2007) The modification is also applied to comments and video editing.
* Support playlists in share modalChocobozzz2019-12-053-0/+33
|
* (plugins) adding checkbox and textarea as possible input types, add links in ↵Rigel Kent2019-11-252-0/+2
| | | | form label
* fix a few typos (#2141)Lukas Winkler2019-09-231-1/+1
| | | | | | | | * fix a few typos * apply changes to original files instead * additional correction
* Fix register checkboxChocobozzz2019-09-051-1/+1
|
* Add about information in registration pageChocobozzz2019-09-052-6/+29
|
* Implement auto follow in clientChocobozzz2019-09-041-0/+9
|
* Fix help transcoding placementChocobozzz2019-07-292-1/+2
|
* Use ::ng-deep instead of /deep/Chocobozzz2019-07-252-2/+2
|
* Feature/subject in contact form (#1926)Nassim Bounouas2019-06-211-0/+14
| | | | | | | | * #1915 Add a subject to contact form and add it to email sent * #1915 Add subject to contact form tests * #1915 Contact form test corrected && tslint correction
* Improve registrationChocobozzz2019-06-071-13/+20
| | | | | | | * Add ability to set the user display name * Use display name to guess the username/channel name * Add explanations about what is the purpose of a username/channel name * Add a loader at the "done" step
* Merge branch 'release/v1.3.0' into developChocobozzz2019-06-071-1/+1
|\
| * Fix error in form when scheduling video publicationChocobozzz2019-06-071-1/+1
| |
* | Multi step registrationChocobozzz2019-05-291-3/+0
| |
* | Support audio upload in clientChocobozzz2019-05-173-9/+10
|/
* video add to playlist component -> onpush strategyChocobozzz2019-04-052-2/+11
|
* tslint updateChocobozzz2019-04-021-1/+1
|
* Add playlist channel validator when playlist is publicChocobozzz2019-03-181-2/+16
|
* Add to playlist dropdownChocobozzz2019-03-183-0/+73
|
* Add/update/delete/list my playlistsChocobozzz2019-03-182-0/+53
|
* Lazy import some modulesChocobozzz2019-02-151-3/+3
|
* Merge branch 'develop' into pr/1285Chocobozzz2019-02-113-5/+16
|\
| * Increase abuse length to 3000Chocobozzz2019-01-142-5/+5
| | | | | | | | And correctly handle new lines
| * Add error message when trying to upload .ass subtitlesChocobozzz2019-01-141-0/+11
| |
* | Enable video upload and editclementbrizard2019-01-121-0/+6
|/
* Update translationsChocobozzz2019-01-101-1/+1
|
* Implement contact form in the clientChocobozzz2019-01-102-0/+49
|
* Add contact form checkbox in admin formChocobozzz2019-01-102-19/+60
|
* Refractor notification serviceChocobozzz2018-12-191-3/+3
| | | | Shorter name and use primeng component
* Support additional video extensionsChocobozzz2018-12-112-5/+4
|
* dots are allowed in actor namesChocobozzz2018-12-102-2/+2
|
* Remove dashes from actor namesChocobozzz2018-12-072-4/+4
|
* username/display_name/video_channel_name min length 1 and max length 50 (#1265)BRAINS YUM2018-12-072-20/+20
| | | | | | | | | | | | | * make username, display_name and video_channel_name min length 1 and max length 50; (fixes #1263); ! still some bug on the frontend complains but if you remove the disabled property it creates the account just fine; allow for usernames to start with a number; fix test, since username can be 1 char now make test check empty; fix test, Should fail with a too long username; fix test, Should fail with a too small username; fix regular expression for username and videoChannel; change username, videoChannel to be lowercase and fix message; * change 1 characters to 1 character
* Fix new Angular 7 issuesChocobozzz2018-11-152-0/+26
|
* Feature/description support fields length 1000 (#1267)BRAINS YUM2018-10-193-8/+8
| | | | | | | | | | | | | | | | | | * fix migrations to not use config constant values as it can introduce bugs later when they change; (fixes #1259) remove constant fields imports from migrations * add migrations to update description and support fields to 1000 (fixes #1258) * fix client/server account and video_channel description/support fields to be max len 1000 (fixes #1258); fix test Should fail with a too long description; fix test Should fail with a long description; fix test Should fail with a long description; Remove USER.SUPPORT from constants since that field no longer exists; null not false, in migrations/0280-description-support.ts; video support field 1000, oops; * rename migration 0280-description-support.ts -> 0285-description-support.ts; update video support maxlength text
* 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
|