Commit graph

80 commits

Author SHA1 Message Date
Ferdinand Thiessen
577a5045e8
fix(settings): Hide forbidden UI elements for group managers
1. The "recent" accounts API only works for admin and delegated admin -> hide for group managers
2. Group managers can not create new groups -> Hide the UI to add a new group for them
3. Accounts created by group managers require one of the groups, which is managed by the group manager, assigned.
   So if the group manager only manageres a single group, we should preselect that group.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 20:22:48 +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
8d750cfd15
fix(settings): Add event search listener on mounted to guarantee function exists
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-18 01:03:33 +01:00
Ferdinand Thiessen
4cadb82850
feat(settings): Implement new app discover section for app management
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:24 +01:00
Ferdinand Thiessen
cbdadba2e3
fix(settings): Always open the details tab for selected app
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
84cb04f7c0
feat: Make appstore sidebar tabs standalone components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:34 +01:00
Ferdinand Thiessen
e678b77031
feat(settings): Split appstore code into better maintainable pieces
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:34 +01:00
Ferdinand Thiessen
14bdc11dee
feat(settings): Refactor routing code to use named router views
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:33 +01:00
John Molakvoæ (skjnldsv)
b5b658c0d0
fix(settings): users settings cypress
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-03-07 11:54:54 +01:00
Christopher Ng
6772f41e08 fix(settings): Split group lists
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-06 09:30:41 -08:00
Ferdinand Thiessen
8e53a882a5
feat: Make the app-level a component (AppLevelBadge)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-06 15:02:50 +01:00
Ferdinand Thiessen
139f01ac07
feat(settings): Limit markdown heading output to ensure consistent levels
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-06 13:21:19 +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
Ferdinand Thiessen
dd7fba2c95 fix(settings): Only use id in categories - drop duplicated ident property
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-23 21:59:02 +01:00
Vincent Petry
839ddaa354
feat: rename users to account or person
Replace translated text in most locations

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2024-02-13 21:06:30 +01:00
Christopher Ng
32fad8f692 enh(settings): Set main heading for Apps
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 18:53:32 -08:00
Christopher Ng
bf3a8d16f9 enh(settings): Set main heading for User management
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 18:53:32 -08:00
Christopher Ng
7c479aad51 enh(settings): Add apps and user management navigation labels
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-06 17:01:05 -08:00
Ferdinand Thiessen
22163c60d4
enh(settings): Migrate admin settings for sharing to vue
This is required to get the fixes for a11y from `@nextcloud/vue`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-20 17:07:55 +01:00
Ferdinand Thiessen
0b55db7f1d
fix(cypress): Adjust user settings tests for changed actions component
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 23:16:23 +01:00
Grigorii K. Shartsev
230830b1e6 fix(settings): apps list loading classes
- fix setting loading classes
- also removes invalid HTML attributes, there is no such props in `NcContent`

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:07:04 +02:00
Grigorii K. Shartsev
5249c3376e fix(settings): users page html validation
- 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>
2023-10-21 03:49:01 +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
617a9e8a29 Do not display userCount when it is equal to 0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:19:24 +02:00
Simon L
9dfe50e9fe add plus icon to new user button
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-09-12 14:43:29 +02:00
Christopher Ng
f1c2dfc094 fix(settings): Invert app nav icons when active
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-21 16:24:55 -07:00
Ferdinand Thiessen
663db2bb34 chore: Update nextcloud-vue to v8 beta2 and renamed changed properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:26 +02:00
Ferdinand Thiessen
c1975a634c feat(settings): Show supported apps on app settings if subscribed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-31 09:17:32 +00:00
Christopher Ng
26dbb12f40 enh(a11y): User management settings dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-18 20:28:10 -07:00
Christopher Ng
cbfe0c67e9 enh(a11y): Users table
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 -07:00
Ferdinand Thiessen
215b3bbc9d fix(settings): Migrate away from NcAppNavigationCounter
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-01 23:12:06 +02:00
Christopher Ng
84ff000767 enh(a11y): New user modal
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-21 11:12:40 -07:00
julia.kirschenheuter
1c90d7faf1 Add label to "default quota" multiselect
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-23 14:12:45 +02:00
fenn-cs
ec915474f0 Fix add new group event
1ee8fbaad1 broke the addgroup functionality
by not updating the event to reflect the one in
https://github.com/nextcloud/nextcloud-vue/blob/master/src/components/NcAppNavigationNewItem/NcAppNavigationNewItem.vue

Resolves : https://github.com/nextcloud/server/issues/38340

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-18 07:49:27 +00:00
fenn-cs
1ee8fbaad1 Convert Add group link to button
The "Add group" peforms an on-page action and does not route or link to
anywhere else hence, not semantically a link but a button.

This commit implements the ehancement described at the respository level.

A change would be required in [@nextcloud/nextcloud-vue](https://github.com/nextcloud/nextcloud-vue/issues/4108)
since the `NcAppNavigationNewItem` is an out-of-repo dependency.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-05-14 01:01:12 +01: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
julia.kirschenheuter
36b2f6c12e Replace custom tooltips with native ones in apps page
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-10 14:25:05 +01:00
Joas Schilling
3e3eaa4282
Use correct filter for app icons in the right sidebar of app management
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 22:36:52 +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
Vincent Petry
d0473214cd
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:00 +02:00
szaimen
ec2462d5d2
try to fix developer link
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-01 09:03:49 +01:00
John Molakvoæ
8c969085ac Apps toolbar height and alignment fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-28 13:46:03 +00:00
Brendan
20e372f0fd
Add app version to sidebar, mainly for mobile view as it disappears from list view
Signed-off-by: Brendan O'Neill brendan.oneill96@hotmail.co.uk
2022-02-03 17:22:06 +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
1f80d767b4 Add ActionInput for renaming a group and corresponding method.
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
e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +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