Commit Graph

659 Commits (b9ab00a59e2d906fdb43eaaea37eb7a4a9cc8a13)

Author SHA1 Message Date
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
Christopher Ng faf2b2339d test(settings): Users table
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 21:35:55 +07:00
Christopher Ng 957dbee1b0 fix(cypress): users_disable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-12 17:30:11 +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 +07:00
Ferdinand Thiessen 97683a5b66 fix(settings): Migrate away from deprecated `NcPopoverMenu`
* Replace popover menu with `NcActions`
* Deduplicate user actions code between `UserRow` and `UserRowSimple`
* Fix user action to cover whole row heigh to prevent dropdown from shining through the actions
* Fix user action popover to be overlayed by current edited row actions

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-30 11:38:11 +07:00
julia.kirschenheuter 04d4fb6286 Replace plain input fields with NcTextField fields and NcMultiSelect fields with NcSelect fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-28 16:55:16 +07:00
John Molakvoæ cd54f7c7f4
chore: upgrade typescript, eslint and fix lint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-27 16:16:41 +07:00
Jérôme Herbinet a07321f093
Add "button" class to the QR code link
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-26 14:48:42 +07:00
Johannes 199b9788e6
Merge pull request #38856 from nextcloud/fix/contacts/3404/put-location-in-proper-place
fix(sab): put location in proper address field
2023-06-22 11:51:33 +07: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
Johannes Merkel 3cb8968808 fix(sab): put location in proper address field
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-06-20 16:18:09 +07:00
Jérôme Herbinet e25fb29975
Improved display of app links
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-05-30 16:35:45 +07:00
julia.kirschenheuter 94e1a429e5 Revert "Fix table view"
This reverts commit cb852ef6

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-25 11:49:24 +07:00
Varun Patil ace6df86d8
Fix lint errors
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:15 +07:00
Varun Patil 66a8a9fba1
Use consistent imports for Vue components
This makes tree shaking possible

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-23 22:34:14 +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 +07:00
Daniel Calviño Sánchez 2c1a1b1779
Disable "Enforce password protection" if not asking for a password
"Enforce password protection" is a subcase of "Always ask for a
password", so it should be disabled if its parent option is unchecked.
Although other dependant options in the sharing settings are fully
hidden instead of just disabled this option is disabled but shown to
avoid confusion when updating from a previous Nextcloud version where
"Always ask for a password" was unchecked and "Enforce password
protection" was checked.

Besides that, due to their dependency the enforced password protection
is now automatically unchecked too if its parent option is unchecked.

Finally, the groups excluded from password requirements are also
disabled when "Always ask for a password" is unchecked, as they might be
still shown if "Enforce password protection" was checked due to an
update from a previous version.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-22 12:44:34 +07:00
Simon L ed5d8d5c4e address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 08:29:55 +07:00
Simon L 06d8a03315 migrate a few components to NcSelect
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-05-19 10:14:39 +07: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 +07:00
fenn-cs a39f0de237 Use aria-expanded correctly on toggle user actions
The aria-expanded attribute was added on the expandable item rather
Than the button that triggers the expand.

Resolves : #37137

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-17 23:15:15 +07:00
Louis 128cd7030e
Merge pull request #38293 from nextcloud/fix/users-table-alignment
fix(settings): Fix `UserList` styles set to css but scss is used
2023-05-16 09:30:38 +07:00
F. E Noel Nfebe e7ba25574b
Merge pull request #38202 from nextcloud/fix/37135/addgroup-link-to-button
Convert Add group link to button
2023-05-16 01:23:37 +07:00
Ferdinand Thiessen 02853fdae6 fix(settings): Fix `UserList` styles set to css but scss is used
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 00:55:03 +07: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 +07:00
Simon L f5e8268ced Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-13 10:15:33 +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 +07:00
Julia Kirschenheuter 0d3df2c795
Merge pull request #37870 from nextcloud/fix/36921-fix-table-for-users-app
Fix table view
2023-05-12 09:33:34 +07:00
julia.kirschenheuter cb852ef63b Fix table view
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-11 16:36:37 +07:00
julia.kirschenheuter b54afad28e Add `autocomplete` attrs to input fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-11 10:16:28 +07:00
Pytal 83ed1fb004
Merge pull request #38163 from nextcloud/show-loading-spinner-until-share-settings-are-fully-loaded 2023-05-10 17:20:56 +07:00
Daniel Calviño Sánchez b677d3e27d Show loading spinner until share settings are fully loaded
The inputs of the sharing settings are generated in a template in the
server, but the listeners to react to changes in the elements and save
the values in the server are loaded in the client once the DOM finishes
loading. If the DOM takes long to load the user can start to interact
with the settings before the listeners were set up and, therefore, the
changes would not be saved in the server. However, as the inputs are
modified the user would think that the changes were already saved.

To address that now when the sharing settings are open a loading spinner
is shown instead of the contents of the sharing settings, and only once
the listeners to save the changes were set up the spinner is removed and
the contents shown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-05-10 03:00:37 +07:00
julia.kirschenheuter da36d19580 Add hidden labels for inputs while editing user row
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-09 12:48:15 +07:00
Ferdinand Thiessen 6f798b7dee fix(settings): Increase "Edit your profile visibility button" contrast
Before this the contrast of the button was too low in terms of accessibility.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-02 18:10:15 +07:00
Joas Schilling 58a4861390
fix(settings): Fix title of profile scope options
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 12:23:51 +07:00
Simon L 1ef23e7708 Allow images of any size as profile pictures
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 17:18:00 +07:00
Christopher Ng 7bc8b543be Improve handling of profile fields
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-30 17:11:41 +07:00
julia.kirschenheuter 85feae6d82 Create `<h3>` headings for profile page. Replace `<label>` which have no conncted `<input>` with `<h3>` heading
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-24 08:49:19 +07:00
Valdnet 47a989e15f l10n: Change name of app to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-23 15:01:45 +07:00
John Molakvoæ ad6dcea779
chore(eslint): replace node/no-extraneous-import by n/no-extraneous-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +07:00
John Molakvoæ 8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +07:00
Louis Chemineau 45c8a829c0 Add underline decoration to links and use div element as target
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-09 15:17:18 +07:00
Simon L e6a81a692a add a direct link from files settings to app-token-settings
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-09 11:26:09 +07:00
julia.kirschenheuter 0cfbe54a5a Create headings for settings pages
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-07 17:51:19 +07:00
Christopher Ng db5d5c1705 Port admin delegation selects
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-28 16:08:11 +07:00
Christopher Ng 4b867bb7bb Port profile visibility select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-06 17:34:12 +07: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 +07:00
Christopher Ng edcf675e6e Drop vue-clipboard2 to fix copy to clipboard
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-01 15:40:13 +07:00
Simon L e46daa8540 don't translate a variable
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-24 10:31:07 +07:00
julia.kirschenheuter 6d13916a5f Correct title for button on federation actions button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-18 15:45:07 +07:00
julia.kirschenheuter 087f445499 Replace custom tooltips with native tooltips
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-11 14:22:47 +07:00
julia.kirschenheuter 1935828941 Replace custom tooltips with native ones in users page
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-01-11 10:07:22 +07: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 +07:00
Christopher Ng 4c111845e8 Fix default phone region validation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-05 00:26:34 +07: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 +07:00
Carl Schwan 27bfa74cc5 Fix profile visibility not appearing
And refactor how the grid works (now it's automatically using the
correct size instead of harcoding it)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-12-06 17:56:42 +07:00
julia.kirschenheuter bdb664c399 Adapt router.js for setting document title
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-03 19:21:45 +07: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 +07:00
Simon L c11803e7ef
Merge pull request #35399 from nextcloud/fix/sharepi-admin
Fix share admin page
2022-11-24 18:47:27 +07:00
Carl Schwan 99c4030001 Fix share admin page
arrow function don't work that well with jquery

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-24 11:54:57 +07:00
Carl Schwan 2b4f2251e5 Fix UX of renaming token
Now this get's instant applied and escaping will reset to the previous
state

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-23 16:45:24 +07:00
Carl Schwan d1209d8302 Rename mastodon to fediverse
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-22 08:40:12 +07:00
Carl Schwan d847eacfbd Refactor profile info settings
- Make it possible to add the new property whiout chaning foundamentally
  how the layout work each time
- Use only one grid instead of multiple nested grid
- Better mobile reponsiveness

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 16:29:04 +07:00
Carl Schwan 86d9626901 Add mastodon personal info field
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-11-21 16:28:56 +07:00
Vincent Petry 2853e0887c
Fix settings for setting default expiration date
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-16 13:02:31 +07:00
Joas Schilling 2d8886e6a4
Increase the "bad waiting time" for cron mode to 24h to account for "time insensitive" jobs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-07 11:04:58 +07:00
Joas Schilling 7730c84e74
Show the correct warning for system cron vs. webcron/ajax
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-07 11:01:22 +07: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 +07:00
Christopher Ng 531bb62223 Fix disabled federated scope
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-28 00:07:05 +07:00
Christopher Ng 9c54e74e08 Display invalid input message
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-27 00:41:46 +07:00
Joas Schilling aa31002b03
🧭 Fix rebuilding the navigation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-18 20:58:10 +07:00
Joas Schilling ab055418c6
Fix password length limitation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-10 12:33:58 +07:00
Simon L 7a701f248a
Merge pull request #34163 from Jerome-Herbinet/patch-6
User list : User name and Display name visibility improvement
2022-09-26 21:27:06 +07:00
Jérôme Herbinet 9e4fe9dc49 Fix : strong HTML end tag
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 13:13:23 +07:00
Jérôme Herbinet f233077b70 User list : Other user and display name inversion
Signed-off-by: Jérôme Herbinet jerome.herbinet@arawa.fr
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 13:13:23 +07:00
Jérôme Herbinet 1e9fd662a3 User list : Invert user name and display name
Signed-off-by: Jérôme Herbinet jerome.herbinet@arawa.fr
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2022-09-22 13:13:23 +07:00
Git'Fellow 7518917aa9 Switch to overflow-wrap
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-21 17:59:56 +07:00
Git'Fellow 6fc810ab98 Show long nomes correctly on profile card
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-21 17:50:59 +07:00
Christopher Ng 3ee1a53ebc Remove completed refresh avatar FIXME
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-19 18:37:42 +07:00
Christopher Ng cb9f4e353f Fix styling of locale dropdown
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-16 23:33:05 +07:00
Christopher Ng f922b2fd70 Remake locale saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-16 19:02:18 +07:00
Vincent Petry c14ad845bd
Merge pull request #33819 from nextcloud/fix/user-exists-l10n
Fix translation of user exists error server-side
2022-09-16 14:57:59 +07:00
Valdnet bd402efe73
l10n: Remove spaces
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-16 09:33:53 +07: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 +07:00
Christopher Ng 8eb46c995e Remake group and quota details section with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 19:09:13 +07: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 +07:00
Carl Schwan 3fcb05e900
Port Profile section checbox to NcCheckoxRadioSwitch component
Improve accessibility and unify the design

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 15:38:20 +07:00
Carl Schwan 82139cc1e3
Fix avatar icons in user list when using dark theme
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 09:52:36 +07:00
Carl Schwan 0b77607362
Use NoteCard component in BackgroundJob settings
Fix #33880

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 14:13:42 +07:00
Carl Schwan 3fa59ba412
Fix apps list issues caused by redesign
- Make icons work on dark theme
- Use new buttons
- Fix some eslint warnings

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 10:49:17 +07: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 +07:00
Christopher Ng f44d2586b1 Remake profile picture saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 02:22:57 +07:00
Carl Schwan 60c42914d8
Port password settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-31 17:42:36 +07:00
Christopher Ng d7821f8474 Remake phone number property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-26 23:49:27 +07:00
Christopher Ng e2efbab13f Remake website property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-26 18:50:28 +07:00
Carl Schwan f1ce2c2b93
Fix rebasing issues and improve profile settings page a bit more
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:51:10 +07: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 +07:00
Carl Schwan f630bd27f7
Adapt to new Nextcloud vue style
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +07:00
Carl Schwan 68ed1af3c0
Fix accessibility of input fields
Input fields require a 44x44 pixels target size, this makes all the
input fields and button use that size.

Bonus is that now the input fields and buttons now have the same size as
the new vue button and this looks less weird than the previous state
with controls of different sizes.

See https://www.w3.org/WAI/WCAG21/Understanding/target-size.html

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +07:00
Christopher Ng dd7cb9784f Remake location property saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 23:52:33 +07:00
Christopher Ng 09f6eb5e58 Remake Twitter handle saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 18:19:10 +07:00
Christopher Ng c5c70daa66 Modularize shared account property components
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-25 18:08:39 +07: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 +07:00
Vincent Petry 7080187958
Bump @nextcloud/vue to 6.0.0-beta.3 and related
Update @nextcloud/vue to 6.0.0-beta.3
Update vue and vue-template-compiler to 2.7.8
Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:37:46 +07:00
Christoph Wurst 6a08c89452
Request 64px avatars for the user management
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-08-22 15:36:14 +07:00
Christopher Ng d9f1f5a8ac Fix duplicate ids on apps management page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-13 02:14:47 +07:00
Carl Schwan 256c78374f
Improve Devices & sessions settings
- Add label for better accessibility
- Only allow to add app token with a name
- Align in rows

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-02 00:38:28 +07:00
Vincent Petry 623d53315b
Merge pull request #33206 from nextcloud/enh/27869/consolidate
Consolidate account property getters
2022-07-26 09:13:24 +07:00
jld3103 6c2ea4b29c
Add Neon user-agent
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2022-07-21 12:39:44 +07:00
Christopher Ng 34308087d6 Consolidate account property getters
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-21 01:14:23 +07:00
Christopher Ng ecdde8dd5c Use material design icons in Email component
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-21 00:05:13 +07:00
Joas Schilling def9e25967
Fix HTML validation of material design icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-15 09:12:10 +07:00
Joas Schilling ba9815fbe1
Translate error when user already exists
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-14 10:22:41 +07:00
Carl Schwan 4e0574e184 Port encryption admin settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-13 14:58:55 +07:00
blizzz 74ebb72622
Merge pull request #33110 from nextcloud/feat/handle-onetime-password-large
Handle one time password and very large passwords
2022-07-08 19:54:05 +07:00
Christopher Ng ad0f2db292 Add current scope to scope actions label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-07 19:02:24 +07:00
Carl Schwan f99a06c89a Don't allow setting password bigger than 469 characters
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-05 11:47:25 +07:00
Christopher Ng 05d53c6340 Fix undefined logger
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-28 18:19:15 +07:00
Louis Chemineau 347ca20f4e Rename setting name to reduce its length
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-27 11:04:17 +07:00
Christopher Ng 2948c5e1f1 Use unique key to prevent email component reuse
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-10 20:15:35 +07:00
Valdnet dfe7243338
l10n: Delete apostrophe
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-06-07 16:41:38 +07:00
rakekniven 4399ed4712
l10n: Fix escaping issue
At Transifex the string is cut and shown `For the server to work properly, it`

I modified this without vue knowledge. @CarlSchwan Can you check please?

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-06-03 16:14:29 +07:00
jld3103 26804ceccb Fix Nextcloud Android app not showing proper name 2022-05-30 16:11:26 +07:00
Carl Schwan 6d883a8572 Fix various errors reported by eslint
And also make sure eslint doesn't try to index apps-extra that contains
other repo with not necessarely the same eslint rules

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-24 10:12:18 +07:00
Pytal e647b9fa49
Merge pull request #32443 from nextcloud/port/background-job-admin 2022-05-20 09:58:13 +07:00
Carl Schwan 697b83bf50
Merge pull request #32501 from nextcloud/cleanup/admin-delegation-setting
Cleanup admin delegation setting page
2022-05-20 18:55:18 +07:00
Carl Schwan e8e0f97c9a Port BackgroundJob admin settings to vue
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-20 15:00:54 +07:00
Carl Schwan 9d5a542a4e Improve two factor admin settings
- Port more of it to vue
- Use new nextcloud vue components for the setting section
- Add a bit of spacing between the elements

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-20 13:27:55 +07:00
Carl Schwan 4f4d777767 Cleanup admin delegation setting page
- Simplify code a bit
- Add link to doc
- Use Nextcloud vue component a bit more

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-19 18:15:41 +07:00
John Molakvoæ 264adf0c3b
Fix profile and add gradient-primary-background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +07:00
John Molakvoæ 73918b8af9
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:00 +07:00
Louis Chemineau 80fa3c7319 Add setting to ignore email during search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-03 17:50:29 +07:00
szaimen 34004a3339 fix showing of all apps are up-to-date in apps management
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-25 12:30:39 +07:00
John Molakvoæ 493b20605f
Font fixes and design update for theme picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 09:31:07 +07:00
Louis Chemineau 37f1c8640e Add settings to ignore second display name in search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-12 17:27:59 +07:00
Louis Chemineau 0e06ee68c0 Add settings to not match userID during full match
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-06 15:41:41 +07:00
Vincent Petry b8b4d247b4
Merge pull request #31194 from nextcloud/feat/allow-to-exclude-groups-from-password-enforcement
Allow to disable password policy enforcement for selected groups
2022-04-06 10:13:23 +07:00
Carl Schwan a29251e02d Allow to disable password policy enforcement for selected groups
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-05 17:04:17 +07: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 +07:00
Vincent Petry 7bcc1830a2
Set max length to app token field to match backend
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-25 09:42:00 +07:00
Vanessa Pertsch 779e38e6a6 add new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-21 14:00:04 +07:00
Christopher Ng 108abd77ed Add profile default setting for admin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 02:55:12 +07:00
Christopher Ng 1fc0b4320c Add global profile toggle config
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 02:55:12 +07:00
Vanessa ae79c0cc1c
Merge pull request #31378 from nextcloud/fix/31237/new-button-UserList
use new button component UserList
2022-03-15 08:08:37 +07:00
Louis Chemineau 7e8ae46a01 Use global $ in settings admin.js
Fix https://github.com/nextcloud/server/issues/31570

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-14 20:00:37 +07:00
Vanessa Pertsch c1dfd6f784 use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>

Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-14 09:34:27 +07: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 +07:00
Vincent Petry 8f6a3f4e6d
Merge pull request #31359 from nextcloud/fix/apps-error-message-timeout
Fix apps settings error message timeout
2022-03-03 17:16:15 +07:00
Christopher Ng a68318a52b Fix duplicate primary email message
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 01:16:16 +07: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 +07:00
Simon L 774fac10dc
Merge pull request #31355 from nextcloud/fix/23441/fix-developer-link
try to fix developer link
2022-03-01 10:42:18 +07: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 +07:00
Vanessa Pertsch 800f5f1be1 use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-01 07:37:35 +07: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 +07:00
Vanessa Pertsch 49a7d9b7d3 use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
2022-02-24 16:59:57 +07:00
Vanessa Pertsch af5479467e use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
2022-02-24 16:59:57 +07:00
szaimen 1116529b56 fix all modals after vue 5.0
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-22 13:27:14 +07:00
Carl Schwan e1f8b09b92 Fix external app
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 18:02:46 +07: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 +07:00
szaimen d460c37024 try to fix overlapping buttons in apps-management
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-10 20:26:55 +07:00
Joas Schilling 40e141ee4a
Fix selecting user status, clear time and app password scope
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 09:11:42 +07: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 +07:00
Julien Veyssier 63e755e1c8
change Actions trigger to <button> when editing user
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-02-03 12:50:24 +07:00
Louis Chemineau 78481e2e7c Add compiled files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +07: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 +07: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 +07: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 +07:00
John Molakvoæ 3192b3e2f2
Merge pull request #30729 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-7.0.1 2022-01-22 09:54:34 +07:00
Louis Chemineau e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +07:00
Valdnet 0fb15e30a8 l10n: Spelling unification in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-20 09:56:30 +07:00
Valdnet 00b43cfa6b Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-20 08:30:59 +07:00
Valdnet ae8085fbf8 Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-20 08:20:07 +07:00
Louis Chemineau 14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +07: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 +07:00
Louis Chemineau d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +07:00
John Molakvoæ 79f14e8299 Use sync modifier with openMenu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-08 09:59:12 +07:00
John Molakvoæ (skjnldsv) dd7bf0f902
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +07:00
John Molakvoæ (skjnldsv) 74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +07:00
Louis Chemineau adfb9010d4
Migrate to webpack v5
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:12:47 +07:00
Christoph Wurst 91916a01a4
Fix rendering app authors with homepage or email
When the first author of an app doesn't have homepage/email attributes
set in info.xml then any further author was rendered as `[object
Object]` due to the complex XML node seralized to a JavaScript string.
The logic was fixed so that it converts any of the authors to simple
text.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-28 16:30:18 +07:00
szaimen 70feadafb4 improve personal settings on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-23 11:08:49 +07:00
Quentin Guidée de5743cfb7
Devices & sessions: fix misaligned header
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-21 23:21:14 +07:00
Daniel Calviño Sánchez 45e66458ff Fix input for groups validation in new user form
The hidden input used for form validation was not actually hidden since
Nextcloud 22, as the DOM structure changed to show a dialog rather than
adding a row on top of the list when adding new users, so the CSS rules
no longer matched.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-07 18:02:17 +07:00
Christopher Ng 9ac81f6c2a Set number of visibility dropdown rows dynamically
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-26 01:04:21 +07:00
Christopher Ng 7ad07d6aa6 Improve accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-26 00:26:20 +07:00
szaimen 0224687e23 Personalsettings - remove marginLeft as it breaks the layout
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-24 01:45:54 +07:00
Christopher Ng 697a6935a4 Improve sorting
- Extract sort logic into a separate function
- Sort non-core parameters with localeCompare

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 00:22:07 +07:00
Christopher Ng 5b3a114cc5 Fix unsupported scopes being enabled for new properties
- Shorten disabled scope messages
- Update wording

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-04 23:13:43 +07:00
Christopher Ng 19c62d051f Add new profile visibility section
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-04 00:31:32 +07:00
Christopher Ng 06c9a8d9bf Remove unused click handler
- Handle long lines unbroken by white space
- Cleanup

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-21 20:54:06 +07:00
Christopher Ng 3afe3916cd Allow textarea resize
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-20 17:15:38 +07:00
Christopher Ng 3be9d3ca8f Profile frontend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19 04:59:36 +07:00
Valdnet a4b0dfa3d3 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-07 08:50:35 +07:00
Joas Schilling 0dae8805c2
Improve icon and section title of "Admin privileges"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-06 19:13:16 +07:00
Julius Härtl c9656eff06
Only load screenshots if available from app store releases
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-05 13:28:08 +07:00
Carl Schwan 6958d8005a
Add admin privilege delegation for admin settings
This makes it possible for selected groups to access some settings
pages.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-09-29 21:43:31 +07:00
Valdnet 98fc129ebb l10n: Replace "mail" to "email"
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-22 11:13:28 +07:00
Arthur Schiwon 21af4b604b
fix code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-15 15:38:49 +07:00
Arthur Schiwon 5897029fa2
fix updating and thus UI rendering on update notification change
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-15 15:38:49 +07:00
Arthur Schiwon b22628f9e6
offer to unset notification email instead of disabling
- also the only way to reset when system mail cannot be modified

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-15 15:38:49 +07:00