aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-ownership
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize left menu and account menuChocobozzz2020-11-136-366/+0
| | | | | | Add my-settings and my-library in left menu Move administration below my-library Split account menu: my-setting and my library
* We don't need services anymore for validatorsChocobozzz2020-08-171-3/+3
|
* Migrate to $localizeChocobozzz2020-08-141-5/+3
| | | | | | | | | | | | * Remove i18n polyfill to translate things in components * Reduce bundle sizes * Improve runtime perf * Reduce a lot the time to make a full client build * Reduce client build complexity * We don't need a service to translate things anymore (so we will be able to translate title pages etc) Unfortunately we may loose some translations in the migration process. I'll put a message on weblate to notify translators
* Improve (accessibility title) and move action-buttons on left in tables (#2980)Kim2020-07-311-9/+9
| | | | | | | | | | | * Improve and move action-buttons on left in tables * Focus on my-delete and my-button * Correct spaces syntax * Move user-action dropdown on the left Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* harmonize search for librariesRigel Kent2020-07-293-2/+21
|
* Improve navigation sub-menu and tabs effects (#2971)Kim2020-07-231-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * Improve nav border and colors on active and non-active * Remove margin-top effect on active nav * Use opacity / bold instead of color change on nav * Remove dropdown items label in sub-menu and add a class active * Position sub-menu to fixed * Autoclose dropdown sub-menu only on outside click * Remove open dropdown on hover in sub-menu * Show reusable h1 for dropdown item in sub-menu * Put reusable sub-menu h1 styles to mixins * Add icons to sub-menu dropdown-item h1 * Make all the sub-menu accessible with focus Co-authored-by: kimsible <kimsible@users.noreply.github.com>
* align ownership change video list table with moderation tablesRigel Kent2020-06-285-26/+135
|
* Reorganize client shared modulesChocobozzz2020-06-232-14/+8
|
* Remove uneccessary details to link titlesCaroline Chuong2020-06-181-2/+2
|
* fix headings order or add missing ones (#2871)Caroline Chuong2020-06-132-1/+2
| | | Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
* Factorize rest-table and fix/simplify SQLRigel Kent2020-05-011-1/+0
|
* Unify paginator disabling when no result is displayable, fix batch domain ↵Rigel Kent2020-05-011-1/+1
| | | | add for non-https
* Fix sort in admin tablesChocobozzz2020-04-081-0/+4
|
* Use form-control to display box-shadow on form inputs/selects upon focusRigel Kent2020-04-021-3/+4
|
* Add ListOverflow component to prevent sub-menu overflowRigel Kent2020-02-131-1/+1
|
* Fix angular 9 buildChocobozzz2020-02-101-1/+1
|
* Update angularChocobozzz2019-07-252-2/+2
|
* Add delete/manual approval instance followers in clientChocobozzz2019-04-081-9/+4
|
* fix undefined change ownership iconsJosh Morel2019-01-281-2/+2
|
* Refactor how we use iconsChocobozzz2019-01-171-1/+2
| | | | Inject them in an angular component so we can easily change their color
* Refractor notification serviceChocobozzz2018-12-192-14/+10
| | | | Shorter name and use primeng component
* update tslint config and fix member ordering (#1279)BO412018-10-161-12/+12
|
* Add users search filterChocobozzz2018-10-081-1/+1
|
* Users can change ownership of their video [#510] (#888)Gaëtan Rizio2018-09-045-0/+245
* [#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