Commit Graph

67 Commits

Author SHA1 Message Date
Louis Chemineau
1af827fdb3 fix(users): Improve error handling of some fields update
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 17:17:35 +02:00
Christopher Ng
07319a118b feat: Add Recent accounts section
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-11 11:19:09 -07:00
Ferdinand Thiessen
691f570237 chore: Enable ESLint for apps and fix all errors
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>
2024-07-09 17:13:30 +02:00
Andy Scherzinger
ec5b60af28 chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-03 20:33:31 +02:00
Côme Chilliet
6d56f3557d feat: Add back searching in disabled user list
When disabled users where moved to their own endpoint we overlooked
 search, so adding it back.
The search is done case-insensitive in uid and display name.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-23 09:08:31 +02:00
Ferdinand Thiessen
b156bcd329 fix(settings): When testing server stability, request URL with trailing slash
This prevents one HTTP request for most situations (301 from `apps/files` to `apps/files/`)
and helps users with faulty reverse-proxy configuration.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-06 16:12:41 +02:00
Ferdinand Thiessen
5453c1d7fa feat(settings): Allow to sort groups in the account management alphabetically
We can do this purly in the frontend - but when enforced from the backend using the existing system config,
we need to follow the requirement. We then show a warning about the configuration.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-27 12:04:03 +01:00
Ferdinand Thiessen
c6e75be83d fix(settings): Open app details also on app discover section when requested
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-18 14:13:42 +01:00
Ferdinand Thiessen
78bcab1aac fix(settings): Save account management settings in local storage
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:40 +01:00
Ferdinand Thiessen
30d5b02811 feat(settings): Split account management into navigation and content
The should ease the maintenance of it due to reduced complexity.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:34 +01:00
Ferdinand Thiessen
1100e908b7 feat(settings): Split account management and app store views into chunks
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:34 +01:00
Ferdinand Thiessen
2b794b41ad feat(settings): Refactor appstore to use Pinia
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:34 +01:00
Ferdinand Thiessen
8442a036e7 fix(settings): Disable app again if it breaks the files app
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-06 00:28:08 +01:00
Ferdinand Thiessen
c3c6de7bcb fix(settings): Refactor logger code to use Typescript
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-05 12:55:31 +01:00
Ferdinand Thiessen
a522d1b5ea fix(settings): Adjust frontend of appstore and user management to use initial state
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-23 21:59:02 +01:00
John Molakvoæ
ffae8000d1 fix(settings): stop reloading after force-enabling an app
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-31 16:41:43 +01:00
Ferdinand Thiessen
d49b70773b fix(settings): Disable renaming for tokens marked to be wiped
This otherwise a WipeException will be thrown when trying to rename

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-29 13:53:45 +01:00
Ferdinand Thiessen
960bec949a enh(settings): Refactor frontend for session and app token management
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 15:15:52 +01:00
Marcel Klehr
162f801744 fix(Users/Quota setting): Prevent floating point value from getting truncated in locales other than english
fixes #18468

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-07 09:57:21 +01:00
Christopher Ng
f9bd957b03 enh(settings): Load from disabled users endpoint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-30 17:15:12 -08:00
Varun Patil
9bd50a7296 refactor: remove remaining usage of OC::getCapabilities
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 16:19:43 +02:00
Christopher Ng
b81c76adc7 chore: Remove unnecessary dialogs css imports
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:47:17 +02:00
sorbaugh
ab81cd1e1e Add new user filter to search.
Add regex to prevent filter collision in user-list page

Usage:
1. Type a string in the search bar
2. Add in:users to display only users in the search result
2023-10-12 08:56:48 +02:00
Christopher Ng
0fe1b402fa enh(settings): Add groups accessibly
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 -07:00
Louis Chemineau
bd787e8593 Do not manipulate userCount when it is equal to 0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:14:32 +02:00
Christopher Ng
cbfe0c67e9 enh(a11y): Users table
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Christoph Wurst
1381c4c157 feat(users): Store and load a user's manager
Co-Authored-By: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-12 13:56:48 +02:00
John Molakvoæ
8633f13e0a chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
Christoph Wurst
84780ffd33 fix(user-management): Fix deleting user in hidden group(s)
E.g. guest_users

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-03 09:24:48 +01:00
julia.kirschenheuter
7bdac514fd Adapt router.js for setting document title.
Adapt store to store Promise for dynamic requested categories.
Create new constants file to store category name with associated translation.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-28 10:16:32 +00:00
John Molakvoæ
9cc2f25072 Update @nextcloud/dialogs@ and fix toasts styling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-02 16:31:52 +01:00
Christopher Ng
8a15c629e2 Fix translation of user exists error server-side
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 22:56:18 +00:00
Christopher Ng
26535e4856 Fix unresponsive legacy password confirmation dialog with new dialog in Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-14 17:23:22 +00:00
luz paz
9d26671f05 Fix typos in apps/ subdirectory
Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/`

Signed-off-by: luz paz <luzpaz@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-05 12:59:54 +00:00
Carl Schwan
2f30d3227f Various fixes
- Fix user status dialog
  - Add label where missing
  - Move emoji picker inside input field (similar to talk)
  - Fix selecting an emoji
- Fix multiselect
- Fix button with confirmation action
- Fix some other unrelated dark theme issues
- Fix select2 focus
- Run npm lint:fix

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Joas Schilling
ba9815fbe1 Translate error when user already exists
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-14 10:22:41 +02:00
Petre T
ae1a8204dd Fix user counts updates on user add/remove
Signed-off-by: Petre Tudor <petre.tudor@dorkfar.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-29 10:59:29 +02:00
Christopher Ng
c22cfa057d Fix settings error message timeout
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-04 04:56:48 +00:00
Christopher Ng
135f70ee9a Fix apps settings error message timeout
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-02 00:06:23 +00:00
Carl Schwan
7c8a901b84 Cleanup admin settings js files
* Move admin.js to webpack, so that this use the bundled jquery files
  instead of the deprecated window.$ Also fixing formatting

* Remove log.js that seems to be from a time where logreader was bundled
  with server and I couldn't find an usage of it anymore

* Fix recent regression in rebuild navigation function (now not depending on
  jquery anymore and bundled by webpack).

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 17:52:03 +01:00
Louis Chemineau
78481e2e7c Add compiled files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
ArcticFall
398297b449 Add new component for the group list items.
Signed-off-by: Martin Jänel <spammemore@posteo.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
ArcticFall
849d3697d3 Add js methods for renaming a group.
Signed-off-by: Martin Jänel <spammemore@posteo.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
Louis Chemineau
14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau
9fc6cc9634 Add generic type and description when its missing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +01:00
Louis Chemineau
d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +01:00
John Molakvoæ (skjnldsv)
74b9803108 Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
Julien Veyssier
c11689b5b2 avoid 'No users in here' in user list when there actually are users
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-09-01 17:23:06 +02:00
dependabot[bot]
6e5191b702 Bump @nextcloud/router from 1.2.0 to 2.0.0
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-router/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-23 15:56:28 +02:00
Valdnet
54fd3a480c l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:06 +02:00