Commit graph

552 commits

Author SHA1 Message Date
Christopher Ng
359003da12 fix(settings): Move user creation modal to dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:19 -07:00
Jake Nabasny
f863290572
feat(ldap): sync additional properties to profile and SAB
Synced from LDAP to profile:
- Date of birth

Synced from LDAP to SAB (via the profile):
- Biography
- Date of birth

Original code by Jake Nabasny (GitHub: @slapcat)

Co-authored-by: Jake Nabasny <jake@nabasny.com>
Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-30 12:01:13 +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
538a04968a
fix(tests): Adjust theming test for new splitted background and primary colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:26 +02:00
Christopher Ng
6815d5b8aa chore(settings): Rename "User backend" to "Account backend"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-17 10:15:46 -07:00
Christopher Ng
5b260ff480 chore(settings): Change "username" to "account name"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-17 10:15:46 -07:00
Christopher Ng
553b8d5425 feat: Split display name and username columns
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-14 09:50:51 -07: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
Richard Steinmetz
a3490738d7
feat(webauthn): submit device name by pressing enter
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-01 13:56:20 +02:00
Ferdinand Thiessen
3880e4c8d7
fix: Use @simplewebauthn for frontend logic
This simplifies the code a lot and fixes errors with the exisiting custom code,
where slightly different base64 values were emitted which are not valid according to the standard.

ref: https://github.com/web-auth/webauthn-framework/issues/510

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:51:03 +02:00
Josh
8f3c673efa fix(encryption): Clicking default module in UI sets bogus value
Fixes #44532
Likely fixes #43123

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-04-01 22:54:04 +00: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
9bed64394c
feat(settings): Implement app type for AppDiscover section
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-19 20:18:52 +01:00
Ferdinand Thiessen
a735e7dea3
feat(settings): Implement showcase type for App Discover section
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-19 20:10:20 +01:00
Ferdinand Thiessen
e245c3df12
fix(settings): Make App Discover PostType responsive based on available width
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-19 20:10:19 +01:00
Ferdinand Thiessen
e5906267ff
fix(settings): Fit media into post type (app discover section)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-19 19:42:35 +01:00
Ferdinand Thiessen
c0a9b59d26
fix(settings): Show proper warning if app discover section could not be fetched
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-19 19:42:34 +01:00
Ferdinand Thiessen
2937fd3eb0
fix(settings): Support order property on App Discover elements and hide future elements
This adds support to pinning elements by setting the `order` property on the element (e.g. `order: 0` will always be the first element to show).
Also filter list of elements to remove upcoming and outdated elements (as the json might be cached).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-19 18:30:56 +01:00
Grigorii K. Shartsev
939759985a fix(settings): make apps list search result valid table
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-19 15:38:51 +01:00
Grigorii K. Shartsev
a173f90b71 fix(settings): app list scroll on Safari
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-19 15:38:51 +01:00
Grigorii K. Shartsev
73dec20903 refactor(settings): move AppItem styles to AppItem component
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-19 15:38:51 +01:00
Grigorii K. Shartsev
17c865d910 refactor(settings): use more BEM styles in apps settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-19 15:38:51 +01:00
Grigorii K. Shartsev
d181a82de7 refactor(settings): move apps list styles to components
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-19 15:38:51 +01:00
Grigorii K. Shartsev
eac928af84 refactor(settings): remove unused styles from apps settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-19 15:38:51 +01:00
Grigorii K. Shartsev
31baf8d469 refactor(settings): remove unneeded classes from hidden header
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-19 15:38:51 +01:00
Grigorii K. Shartsev
295b7cbc1a fix(settings): apps list layout on mobile
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-19 15:38:51 +01:00
Grigorii K. Shartsev
af616113b5 fix(settings): use correct dynamic component load for apps/users
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-19 15:38:51 +01:00
Ferdinand Thiessen
7c0a7de4df
fix(settings): App Store Discover carousel animations are inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-18 18:06:26 +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
7b1d1b329e
feat(settings): Allow app discover links to open app routes or the appstore page
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-18 14:13:42 +01:00
Ferdinand Thiessen
44e0223ef9
fix(settings): Adjust appstore types as releases are not always set
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
Jérôme Herbinet
c97d63540a fix: more comprehensive wording for devices wipe action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-03-16 13:18:08 +01:00
Corentin Damman
0fa9f3049f feat(files_sharing): allow to specify allowed groups to share instead of excluded groups
Relates to #3387

Signed-off-by: Corentin Damman <c.damman@intopix.com>
2024-03-15 16:52:59 +01:00
John Molakvoæ
a0913739c6
Merge pull request #44202 from nextcloud/fix/migrate-webdav-check-to-setupcheck 2024-03-15 16:46:07 +01:00
Ferdinand Thiessen
df502c114d
feat(settings): Cache app discover images to ensure privacy of users
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:25 +01:00
Ferdinand Thiessen
ac4003879d
feat(settings): Implement carousel type for app discover section
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:24 +01:00
Ferdinand Thiessen
aa29204fe0
feat(settings): Implement post type for app discover section
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:24 +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
Côme Chilliet
443b26761d
fix: Migrate WebDAV endpoint check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-14 16:20:17 +01:00
Côme Chilliet
9f819f311f feat: Migrate HSTS check to Security headers SetupCheck
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-13 12:49:52 +01:00
jld3103
4ac2375ca2
feat: Add declarative settings
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-03-12 13:56:54 +02: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
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
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
5f19acec9b
feat: Add composable to fetch app icon as SVG for inline use
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
289e43a548
fix: Get rid of PrefixMixin
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
Ferdinand Thiessen
907d313a23
fix: Remove deprecated parts from AppLevelBadge
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 15:15:35 +01:00
Ferdinand Thiessen
3056bc4962 fix(settings): Remove migrated SetupCheck from legacy JS code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 14:06:08 +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
Ferdinand Thiessen
7077bdf07e
feat: Make the AppScorce component to use SVG icons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-06 21:12:52 +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
4ca770b35f
fix: Allow markdown to limit the min heading level
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-06 13:19:49 +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
Grigorii K. Shartsev
680f439f73 fix(settings): emails actions a11y and design
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-03-05 22:07:49 +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
1e9f438d1a
Merge pull request #43908 from nextcloud/feat/migrate-data-directory-setup-check
feat(settings): Migrate data directory protection check to `SetupCheck`
2024-02-29 17:42:19 +01:00
Ferdinand Thiessen
4a75fb0e96
Merge pull request #43897 from nextcloud/fix/move_out_profile_picture_federation-action_from_the_heading_
fix(files): fix html structure on the profile page
2024-02-29 14:42:06 +01:00
Ferdinand Thiessen
ef2c312b18
feat(settings): Migrate data directory protection check to SetupCheck
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-29 13:54:01 +01:00
julia.kirschenheuter
4a63d0e9ff fix(files): fix html structure on pre profile page
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-02-29 09:41:21 +01:00
Ferdinand Thiessen
ad747ab62b
feat(settings): Migrate OCM / OCS provider tests to SetupCheck
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-27 14:52:10 +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
Christopher Ng
81b027574f fix(settings): Fix required groups validation for subadmins
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-20 18:27:46 -08:00
John Molakvoæ
19bfbe3ce6
Merge pull request #43588 from nextcloud/feat/woff2-check-setupcheck 2024-02-15 09:55:20 +01:00
Ferdinand Thiessen
398b042af7
enh(settings): Migrate WOFF2 loading check to a SetupCheck
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-15 02:17:20 +01:00
Ferdinand Thiessen
3e09295fa1
fix(settings): Use status states from NcInputField instead of custom handling
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-15 00:46:55 +01:00
Ferdinand Thiessen
fe58d8aae9
fix(settings): Migrate AccountPropertySection to @nextcloud/vue components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-15 00:46:08 +01:00
John Molakvoæ
524ed97d62
fix: replace Account name by Login
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:10 +01:00
John Molakvoæ
b1a47f79f3
fix: cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:08 +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
Ferdinand Thiessen
b758e0496e
fix: Correctly import types in Typescript files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-13 18:04:45 +01:00
Grigorii K. Shartsev
4ba08fcc5e techdebt(settings): mark visibility selects as label-outside
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-02-06 10:47:42 +01:00
Grigorii K. Shartsev
b5c1212fa3 fix(settings): focus on trigger after federation scope dialog close
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
2024-02-06 10:47:42 +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
Baptiste Fotia
9af96d9f9a feat(php,vue): Create a new parameter
Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2024-01-31 10:44:40 +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
Grigorii K. Shartsev
e60492c186 fix(settings): use default styles for federation scope menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 23:04:52 +01:00
Grigorii K. Shartsev
6b87390a64 fix(settings): federation scope menu a11y
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 23:04:16 +01:00
Julia Kirschenheuter
4bf4cee870
Merge pull request #43015 from nextcloud/fix/42941-Replace_samtically_incorrect_elements_on_Artificial_Intelligence_setting_page
Replace inaccessible disabled option of NcCheckboxRadioSwitch with NcNoteCard
2024-01-23 09:02:08 +01:00
julia.kirschenheuter
d86cdb96c6 Correct values and attributes
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-22 21:16:51 +01:00
julia.kirschenheuter
aa8f76d7d0 fix(files): replace inaccessible disabled option of NcCheckboxRadioSwitch with NcNoteCard
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-22 13:31:33 -06:00
Christopher Ng
fa295625ab fix(l10n): Add context note for table footers
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-15 11:26:29 -08:00
John Molakvoæ
0a34cf846f
fix(settings): set default or unlimited user quota
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 08:42:48 +01:00
Simon L
541f25a154 update webauthn section to feature components
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 12:55:57 +01:00
Eduardo Morales
e5767898c7 enh(settings): removed background-gradient to ensure contrast ratio a11y requirements
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-03 15:54:08 -06:00
Christopher Ng
ee11df8993 fix(settings): Use heading for Profile and Profile picture sections
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-22 17:21:37 +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
Christopher Ng
29867d64c8 fix(settings): Expected string aria-label got boolean error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 18:53:33 -08: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
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
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