Commit Graph

659 Commits (b9ab00a59e2d906fdb43eaaea37eb7a4a9cc8a13)

Author SHA1 Message Date
Christopher Ng 1de77edfdf feat(settings): Add action enabled callback
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-06-05 15:05:39 +07:00
Andy Scherzinger ec5b60af28
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-03 20:33:31 +07:00
Christopher Ng 6b583f73b7 chore: Change more "user" strings to "account"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:20 +07:00
Christopher Ng fad49e6aee refactor: Shorten input focus calls
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:20 +07:00
Christopher Ng 76104aa709 fix: Autofocus username input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:20 +07:00
Christopher Ng 45ba61bbfb refactor: Migrate to built-in NcSelect input label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:19 +07:00
Christopher Ng 6f63ecfc80 chore: Change some "user" strings to "account"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:19 +07:00
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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ a0913739c6
Merge pull request #44202 from nextcloud/fix/migrate-webdav-check-to-setupcheck 2024-03-15 16:46:07 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Ferdinand Thiessen 289e43a548
fix: Get rid of PrefixMixin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:34 +07: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 +07: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 +07:00
Ferdinand Thiessen 907d313a23
fix: Remove deprecated parts from `AppLevelBadge`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 15:15:35 +07: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 +07: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 +07: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 +07:00
Christopher Ng 6772f41e08 fix(settings): Split group lists
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-06 09:30:41 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 19bfbe3ce6
Merge pull request #43588 from nextcloud/feat/woff2-check-setupcheck 2024-02-15 09:55:20 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 524ed97d62
fix: replace `Account name` by `Login`
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:10 +07:00
John Molakvoæ b1a47f79f3
fix: cypress
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-02-13 21:08:08 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
julia.kirschenheuter d86cdb96c6 Correct values and attributes
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-22 21:16:51 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07: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 +07:00
Christopher Ng 919b5dbdf5 fix(settings): Duplicate update user manager calls
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-28 10:50:05 +07: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 +07: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 +07:00
Christopher Ng 722b78ea3f fix(settings): User row text field styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:14:36 +07:00
julia.kirschenheuter 25d87033b1 Add link for opening app details
Add `alt` for `AppScore` image

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-15 10:50:10 +07:00
George Calderon a047686282
Updated visible 'Twitter' name to 'X' in Personal info
Signed-off-by: George Calderon <gcald117@gmail.com>
2023-11-10 17:42:10 +07:00
George Calderon 4871f59c35
Updated visible 'Twitter' name to 'X' in Personal info
Signed-off-by: George Calderon <gcald117@gmail.com>
2023-11-10 17:42:10 +07:00
Ferdinand Thiessen a106b7b7be
fix(settings): Pass user object to user row actions
This is required as otherwise the action has no information on which user it was called

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-08 21:49:26 +07:00
Joas Schilling 2b7f78fc2e
Merge pull request #40326 from nextcloud/enh/text-to-image-api
Implement TextToImage OCP API
2023-10-26 15:53:30 +07:00
Marcel Klehr 14d1c18665 en(TextToImage): Add getId method to IProvider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:26:47 +07:00
Ferdinand Thiessen 5b0c27b6da
fix(settings): Stablize user list cypress tests
* 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>
2023-10-25 11:36:24 +07: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 +07:00
Grigorii K. Shartsev 668e35f155 fix(settings): apps list html validation
- Replace invalid `width="100%"` attribute
- Add empty required `alt`

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:07:04 +07:00
Christopher Ng f0bb5e7e76 fix(settings): Styles for scope button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 +07:00
Christopher Ng a9fdc52f69 fix(settings): Name for scope button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 +07:00
Christopher Ng 18a2391cab fix(settings): Remove aria-label on scope actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 +07:00
Pytal 8a1546c703
Merge pull request #41064 from nextcloud/fix/40705-_increase_contrast_on_Device_and_Last_activity
Remove opacity on table header
2023-10-23 11:53:35 +07:00
julia.kirschenheuter 521e66edc0 Remove opacity on table header
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-23 16:30:50 +07:00
Marcel Klehr 6007b1b760 fix(settings/AdminAI): Fix eslint
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:44:11 +07:00
Marcel Klehr bfc205fc73 fix(settings/AdminAI): Fix no-providers-installed view
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:39:24 +07:00
Marcel Klehr 9787f9dba0 enh(Text2Image): Add AI settings section to text2image
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 11:10:24 +07:00
Grigorii K. Shartsev d33ce8a8d5 fix(settings): label user quota progress with aria-labelledby
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>
2023-10-21 04:16:45 +07: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 +07:00
Grigorii K. Shartsev 641d52dae7
fix(settings): remove unused savePrimaryEmailScope on Personal Settings page
If was replaced with universal `savePrimaryAccountPropertyScope`.
`<HeaderBar>` has no `handle-scope-change` prop.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +07:00
Grigorii K. Shartsev d4c37d5c4c
fix(settings): remove placeholder from select
There is no placeholder attribute on select element

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +07:00
Grigorii K. Shartsev 73e675d145
fix(settings): typo in avatar prop
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +07:00
Grigorii K. Shartsev f214a7e332
fix(settings): remove invalid avatar prop
There was a typo, it must have been disable-menu, not disableD-menu.
But it is not required, because the menu is disabled for the current user anyway.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +07:00
Grigorii K. Shartsev 9154367761
fix(settings): fix ids and aria-labels in personal emails
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +07:00
Grigorii K. Shartsev 4a85113cac
fix(settings): remove empty aria-describedby
Empty string `''` is still rendered and is not a valid ID.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +07: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 +07:00
Grigorii K. Shartsev 2d6cd78c32
fix: replace non-standard autocorrect with spellcheck attribute
`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>
2023-10-20 00:35:51 +07:00
Ferdinand Thiessen 3f83ae145f
fix(cypress): Test using `data-test-id` attributes rather than private classes
Makes the test more resilant to inner component changes of the `@nextcloud/vue` library.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 16:17:20 +07:00
Christopher Ng b81c76adc7
chore: Remove unnecessary dialogs css imports
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:47:17 +07:00
Simon L d5f0ba9602 fix profile visibility settings being too wide
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 15:14:59 +07:00
Simon L 99eeee2036 fix several personal settings problems
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 11:50:25 +07:00
julia.kirschenheuter ba0fadd312 Append to body all selects inside of user table
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 09:25:31 +07:00
Simon L 8f66fbe454 Fix my-apps view on mobile
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 09:35:51 +07: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 +07:00
Christopher Ng ef9f1e631d enh(settings): Move confirm group removal dialog to vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 +07: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
Christopher Ng d655f2a3b9 enh(settings): Semantic user table markup
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:49:24 +07:00
julia.kirschenheuter 1431b0dd27 Correct `aria-label` on action input and text field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-04 14:28:28 +07:00
Arthur Schiwon 2397e835e6
Merge pull request #40584 from nextcloud/fix/correct-37082-replace_input_on_security_page
Correct value for device name input field
2023-09-26 15:16:04 +07:00
julia.kirschenheuter c401b048cc Correct value for device name input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-25 17:11:50 +07:00
julia.kirschenheuter 33c022b875 Remove unneeded opacity for action button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-25 16:42:55 +07:00
Christopher Ng 50ddc6820e fix(ux): Show initial loading state of managers
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-14 17:03:30 +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 +07:00
Louis Chemineau c8fce63428 Reset loading state on UserRow mount
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:15:41 +07:00
Louis Chemineau 992c03d842 Do not preload potential manager list on UserRow mount
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:15:28 +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 +07:00
Christopher Ng e59ece9fdc fix(settings): Undefined user count error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-13 16:01:33 +07: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 +07:00
Marcel Klehr 004ef98c14 Fix eslint error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-08 18:03:20 +07:00
Marcel Klehr 84fa05abdc Fix Admin AI settings javascript error
make sure all task types we want to display actually exist

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-09-08 10:52:42 +07:00
julia.kirschenheuter 1793235b39 Create right list view for app store view
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-06 09:58:04 +07:00
julia.kirschenheuter 8b6029564e Create right table view
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-05 16:46:46 +07:00
Pytal a3d37c531a
Merge pull request #40100 from nextcloud/fix/37082-replace_input_on_security_page 2023-08-31 09:16:37 +07:00
julia.kirschenheuter 6e6bf2a132 Adjust input field for "rename group"
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-31 11:39:22 +07:00
julia.kirschenheuter 29807fc5e1 Replace custom input field with NcTextField
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-08-31 11:08:44 +07:00
Christopher Ng 7b1f8390c3 enh(a11y): Always visible user management labels
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:52 +07:00
Christopher Ng ffe29518e8 chore: Migrate to new @nextcloud/vue API
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:51 +07:00
Ferdinand Thiessen 738c596977 fix(apps): Adjust apps for FilePicker API change
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +07: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
Jérôme Herbinet 2ace681a2a
Download and enable all
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Download and enable all

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-18 22:51:12 +07:00
Christopher Ng ffc497849d fix(l10n): Password column header
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-17 13:05:10 +07:00
Grigorii K. Shartsev a428814c93 fix(settings): fix "Set user manager" label in users settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +07:00
Grigorii K. Shartsev 4b39a27caf fix(settings): fix set manager loading indicator in users settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +07:00
Grigorii K. Shartsev 233b2aaf74 fix(settings): do not disable select on loading in users settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-08-16 15:48:32 +07:00
Jérôme Herbinet c65407398a "Allow untested app" wording
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-11 13:58:15 +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 +07:00
Julien Veyssier b13ca8620f
compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:40:29 +07:00
Julien Veyssier a877865fba
fix wrong NcSelect event in AI admin settings
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +07:00
Julien Veyssier 0ace67c762
polish AI admin settings UI
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +07:00
Julien Veyssier 577640663b
move long click handlers into methods
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +07:00
Marcel Klehr 830692cebd
Admin AI settings: Improve a11y of machine translation precendence
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +07:00
Marcel Klehr ff39466e4f
Update apps/settings/src/components/AdminAI.vue
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +07:00
Marcel Klehr 3ca44282d0
Update apps/settings/src/components/AdminAI.vue
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +07:00
Marcel Klehr be7487b559
AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
Marcel Klehr a193458e38
AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
Marcel Klehr 112268a48a
AI admin settings: lint:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
Marcel Klehr 2d29413d5d
AI admin settings: Add a draggable icon in UI for translation provider precedence
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
Marcel Klehr a840e8c6e5
AI admin settings: Add save mechanism
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
Marcel Klehr 4e33d04444
AI Admin settings: Implement mt settings, stt settings and tp settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
Marcel Klehr fc9780a41d
First pass at ai admin settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:35 +07:00
Daniel Kesselberg cd0331320b fix: correct hint for missing posix extension
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-31 22:04:44 +07: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 +07:00
rakekniven 7c82c7a4b2
Merge branch 'master' into rakekniven-patch-2
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-07-29 10:26:56 +07:00
rakekniven f4981413fa fix(i18n) Fixed grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-07-22 23:38:23 +07:00
Pytal 608ba174a3
Merge pull request #39402 from nextcloud/enh/a11y-users-settings 2023-07-21 11:18:56 +07:00
julia.kirschenheuter 8fca19325b Remove opacity on federation control action buttons
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-07-19 14:37:08 +07: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 af120f6b42 fix(l10n): Manager
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-17 16:35:40 +07:00