Commit graph

507 commits

Author SHA1 Message Date
Ferdinand Thiessen
44742d617f
fix(settings): Also sanitize fediverse and twitter handle in the frontend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-09 13:46:27 +01:00
Ferdinand Thiessen
5c7802acc0
fix(settings): Clarify peculiarities of enabling encryption
- Clarify that enabling server side encryption will not encrypt
  existing files but only new or changed files.
- Clarify that server side encryption can only be disabled using OCC
- Ensure there is accessible information of encryption state (`disabled`
  input will not be announced so make it `aria-disabled` instead)
- Make warning more prominent by moving it into a dialog

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 17:45:57 +01:00
provokateurin
e0accb5d51
fix(settings): Fix mail server settings form
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-26 15:49:26 +01:00
Max
55ea6208ca fix(encryption): handle empty encryptionModules fine
`[].find(...)` will return `undefined`.
`undefined[0]` throws an exception.
Handle this case more gracefully.

Signed-off-by: Max <max@nextcloud.com>
2025-01-20 14:33:36 +00:00
Ferdinand Thiessen
9758a6afd2
fix(app-store): Update update count in navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-28 14:14:26 +01:00
Marcel Müller
50be325119 fix(appstore): Hide last modified information for shipped apps
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-10-18 12:06:56 +02:00
Grigorii K. Shartsev
4a6831e0d1 fix(settings): disable Discover when appstore is disabled
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 08:32:37 +00:00
Christopher Ng
69faba6da7 fix(settings): Add back create group icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-11 10:45:09 -07:00
provokateurin
e08bf1f4b0 fix(settings): Fix sharing exclude groups from password requirement option not working
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 15:13:57 +00:00
Ferdinand Thiessen
577a5045e8
fix(settings): Hide forbidden UI elements for group managers
1. The "recent" accounts API only works for admin and delegated admin -> hide for group managers
2. Group managers can not create new groups -> Hide the UI to add a new group for them
3. Accounts created by group managers require one of the groups, which is managed by the group manager, assigned.
   So if the group manager only manageres a single group, we should preselect that group.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 20:22:48 +02:00
fenn-cs
0faef87433 chore(ShareSettings): Proper wording for share autocompletion settings
The existing is incorrect and can be misleading as seen in : https://github.com/nextcloud/server/issues/42501

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-31 10:37:10 +02:00
Ferdinand Thiessen
7a2fbe11ec chore(deps): Update debounce to 2.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 19:05:38 +02:00
Ferdinand Thiessen
00c077be56 fix(settings): Use axios directly for health check to preven URL sanitizing
When using Apache with `DirectorySlash` it will respond with 301 and the URL with trailing slash.
But when using traefik as the reverse proxy it can not rewrite redirects, this leads to the problem
that the Apache response is using HTTP in the redirect but the real server (traefik) is only listening on HTTPS.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-10 21:25:44 +02:00
Côme Chilliet
29e7294d9b
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-27 14:58:43 +02:00
Ferdinand Thiessen
14a0d0534a 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 15:09:04 +00:00
Josh
1ddc77e74d 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-03 09:06:42 +00:00
Ferdinand Thiessen
5453c1d7fa
feat(settings): Allow to sort groups in the account management alphabetically
We can do this purly in the frontend - but when enforced from the backend using the existing system config,
we need to follow the requirement. We then show a warning about the configuration.

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

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

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:25 +01:00
Ferdinand Thiessen
ac4003879d
feat(settings): Implement carousel type for app discover section
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:24 +01:00
Ferdinand Thiessen
aa29204fe0
feat(settings): Implement post type for app discover section
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:24 +01:00
Ferdinand Thiessen
4cadb82850
feat(settings): Implement new app discover section for app management
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:24 +01:00
Côme Chilliet
443b26761d
fix: Migrate WebDAV endpoint check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-14 16:20:17 +01:00
Côme Chilliet
9f819f311f feat: Migrate HSTS check to Security headers SetupCheck
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-13 12:49:52 +01:00
jld3103
4ac2375ca2
feat: Add declarative settings
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-03-12 13:56:54 +02:00
Ferdinand Thiessen
78bcab1aac
fix(settings): Save account management settings in local storage
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:40 +01:00
Ferdinand Thiessen
cbdadba2e3
fix(settings): Always open the details tab for selected app
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:40 +01:00
Ferdinand Thiessen
30d5b02811
feat(settings): Split account management into navigation and content
The should ease the maintenance of it due to reduced complexity.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-11 16:02:34 +01:00