aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/components/Users/UserRow.vue
Commit message (Collapse)AuthorAgeFilesLines
* chore: fix usage of deprecated functions and adjust code styleFerdinand Thiessen2024-09-201-6/+0
| | | | | | | | This solves 57 ESLint warnings by replacing deprecated code with `@nextcloud/` libraries, as well as adding missing type information, importing jQuery instead of relying on global one, and the same with Moment.js. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(users): Enable features for delegated user adminsLouis Chemineau2024-07-221-4/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(users): Improve error handling of some fields updateLouis Chemineau2024-07-221-24/+32
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(settings): Fix endless spinner when wiping or deleting accountsChristopher Ng2024-07-191-2/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-091-1/+1
| | | | | | | | | Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-06-031-23/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: Change more "user" strings to "account"Christopher Ng2024-05-301-1/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: Split display name and username columnsChristopher Ng2024-05-141-7/+8
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: more comprehensive wording for devices wipe actionJérôme Herbinet2024-03-161-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat: rename users to account or personVincent Petry2024-02-131-13/+13
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* fix(settings): set default or unlimited user quotaJohn Molakvoæ2024-01-121-5/+8
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix(Users/Quota setting): Prevent floating point value from getting ↵Marcel Klehr2023-12-071-9/+11
| | | | | | | | truncated in locales other than english fixes #18468 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(settings): Duplicate update user manager callsChristopher Ng2023-11-281-2/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(settings): User row text field stylesChristopher Ng2023-11-161-16/+0
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(settings): Pass user object to user row actionsFerdinand Thiessen2023-11-081-0/+1
| | | | | | This is required as otherwise the action has no information on which user it was called Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): Stablize user list cypress testsFerdinand Thiessen2023-10-251-19/+31
| | | | | | | | * Use common `data-testid` to identify elements rather than to depend on internal classes or properties * Force clean the state for the user tests * Move leftover acceptance tests for users from drone to cypress Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(settings): label user quota progress with aria-labelledbyGrigorii K. Shartsev2023-10-211-2/+2
| | | | | | | Labeling with `<label>` doesn't work in some screen readers. `<label>` also doesn't work as a clickable link here. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(settings): users page html validationGrigorii K. Shartsev2023-10-211-2/+2
| | | | | | | | - Remove non-existing `button-class` from `NcAppNavigationNew` - Type: use `input-id` instead of `id` on `NcSelect` to be labeled - Encode uniqueId with user's ID, because user.id may contain space Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix: replace non-standard autocorrect with spellcheck attributeGrigorii K. Shartsev2023-10-201-3/+0
| | | | | | `autocorrect` was actual for Safari long time ago when Safari didn't fully supported HTML 5 spellcheck. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(cypress): Test using `data-test-id` attributes rather than private classesFerdinand Thiessen2023-10-191-11/+17
| | | | | | Makes the test more resilant to inner component changes of the `@nextcloud/vue` library. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Append to body all selects inside of user tablejulia.kirschenheuter2023-10-171-1/+7
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* enh(settings): Semantic user table markupChristopher Ng2023-10-051-120/+122
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Correct `aria-label` on action input and text fieldjulia.kirschenheuter2023-10-041-2/+5
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* fix(ux): Show initial loading state of managersChristopher Ng2023-09-141-2/+9
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Reset loading state on UserRow mountLouis Chemineau2023-09-141-0/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Do not preload potential manager list on UserRow mountLouis Chemineau2023-09-141-2/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* enh(a11y): Always visible user management labelsChristopher Ng2023-08-291-24/+15
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(settings): fix "Set user manager" label in users settingsGrigorii K. Shartsev2023-08-161-2/+5
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(settings): fix set manager loading indicator in users settingsGrigorii K. Shartsev2023-08-161-2/+2
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(settings): do not disable select on loading in users settingsGrigorii K. Shartsev2023-08-161-5/+5
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore: Update nextcloud-vue to v8 beta2 and renamed changed propertiesFerdinand Thiessen2023-08-021-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* AI admin settings: lint:fixMarcel Klehr2023-08-021-3/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(l10n): ManagerChristopher Ng2023-07-171-3/+6
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* test(settings): Users tableChristopher Ng2023-07-121-2/+5
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(cypress): users_disableChristopher Ng2023-07-121-1/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enh(a11y): Users tableChristopher Ng2023-07-121-324/+461
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(settings): Migrate away from deprecated `NcPopoverMenu`Ferdinand Thiessen2023-06-301-48/+30
| | | | | | | | | * Replace popover menu with `NcActions` * Deduplicate user actions code between `UserRow` and `UserRowSimple` * Fix user action to cover whole row heigh to prevent dropdown from shining through the actions * Fix user action popover to be overlayed by current edited row actions Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Replace plain input fields with NcTextField fields and NcMultiSelect fields ↵julia.kirschenheuter2023-06-281-132/+198
| | | | | | with NcSelect fields Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* enh(a11y): New user modalChristopher Ng2023-06-211-0/+758
Signed-off-by: Christopher Ng <chrng8@gmail.com>