Commit graph

402 commits

Author SHA1 Message Date
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
Christopher Ng
919b5dbdf5 fix(settings): Duplicate update user manager calls
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-28 10:50: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
Christopher Ng
722b78ea3f fix(settings): User row text field styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:14:36 -08: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 +01: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 +01: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 +01: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 +01: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 +02: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 +02: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 +02: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
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 +02: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 +02:00
Marcel Klehr
6007b1b760 fix(settings/AdminAI): Fix eslint
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:44:11 +02: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 +02: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 +02: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 +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
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 +02: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 +02: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 +02: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 +02: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 +02: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 +02: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
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 +02: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 +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
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 +00: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 +00: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 +02: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 +00: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
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 +02: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 +02: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 +02: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 +02: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 +02:00
Louis Chemineau
c8fce63428 Reset loading state on UserRow mount
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-14 16:15:41 +02: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 +02:00