Commit graph

810 commits

Author SHA1 Message Date
Carl Schwan
9095a36b94 refactor(dbal): Port away from getDatabasePlatform() instanceof pattern
Use getDatabaseProvider instead.

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-10-13 13:44:08 +02:00
Côme Chilliet
8950f9fe74
Merge pull request #55462 from IONOS-Productivity/fix/admin_delegation-show-all-priority-items
Fix admin delegation show all priority items
2025-10-07 12:03:32 +02:00
Joas Schilling
122cd68d56
fix(PHP): Drop PHP 8.1 for Nextcloud 33
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-10-02 11:04:07 +02:00
Misha M.-Kupriyanov
b0ed8b1455 fix(admin-delegation-show): show delegations for all priorities
otherwise delegation only from the first priority array ara shown

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-10-01 12:33:13 +02:00
Misha M.-Kupriyanov
33577b3120 feat(admin-delegation-show): add priority to json output
in order to be able to better understand priority sorting.

php occ admin-delegation:show --output=json_pretty

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-10-01 12:33:13 +02:00
Stephan Orbaugh
f8fd111946
Merge pull request #55260 from IONOS-Productivity/feature/add_json_output_to_occ_admin-delegation
admin-delegation occ - add output option for show command to support JSON formats
2025-09-30 13:48:31 +02:00
Côme Chilliet
7a327b98cc
Merge pull request #55261 from nextcloud/fix/hide-empty-settings-section
fix(admin): Hide empty section for users admin delegation
2025-09-28 19:02:41 +02:00
Côme Chilliet
407cc43069
Merge pull request #55321 from nextcloud/fix/improve-connectivity-check
Improve connectivity check
2025-09-28 14:51:32 +02:00
Côme Chilliet
20e536839a
feat: Add admin-delegation-section as well for completeness
Also renamed delegation into admin-delegation in xml schema.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-28 14:50:15 +02:00
Côme Chilliet
92b1dda5e2
fix(settings): Put Users delegated settings back into admindelegation section
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-28 14:50:14 +02:00
Côme Chilliet
09acd7e308
feat(settings): Add support for delegated settings not appearing in menu
Adds a new type of settings, delegation, which is only used for admin
 delegation but does not appear in admin menu.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-28 14:50:14 +02:00
Côme Chilliet
480ef16946
fix(admin): Hide empty section for users admin delegation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-28 14:50:13 +02:00
provokateurin
d59338b377
refactor: Apply rector Nextcloud 26 set
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-09-28 11:45:52 +02:00
Ferdinand Thiessen
aca305aeba fix(settings): add missing sharing autocompletion configs to UI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-26 18:26:37 +02:00
Côme Chilliet
1c4276eea2
fix(setupchecks): Remove startpage from connectivity check and avoid redirection
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-26 16:50:54 +02:00
Côme Chilliet
cc3851f73c
fix(setupchecks): Use a lighter request to test connectivity
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-09-26 16:48:24 +02:00
Misha M.-Kupriyanov
c04398c2bd feat(admin-delegation): add JSON output support with validation
- Add --output option supporting plain, json, and json_pretty formats
- Add validateOutputFormat() method for input validation
- Implement proper error handling for invalid output formats
- Support empty state handling for both plain and JSON outputs
- Use Base class writeArrayInOutputFormat() for consistent JSON output
- Maintain backward compatibility with plain format as default

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-09-23 13:30:14 +02:00
Misha M.-Kupriyanov
898d5a5fcc refactor(admin-delegation): extract data collection logic to separate methods
- Extract collectDelegationData() method to eliminate code duplication
- Add formatSettingsData() method for consistent data formatting
- Add outputPlainFormat() method to separate concerns
- Add proper empty state handling with user-friendly message

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-09-23 13:30:14 +02:00
Misha M.-Kupriyanov
613a643fc5 refactor(admin-delegation): extract plain output to new function
prepare to add json output

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-09-23 13:30:14 +02:00
Misha M.-Kupriyanov
7fe45314b3 chore(admin-delegation): remove unused settings variable
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-09-23 13:30:14 +02:00
Maxence Lange
70dd0de0ff fix(userconfig): using api bit functions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-17 10:17:53 -01:00
Maxence Lange
0249e3a2f5 fix(userconfig): set 'mail' as indexed
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-09-17 10:17:52 -01:00
Carl Schwan
7e1c49ad9d refactor: Port away from IQueryBuilder::execute in apps/
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-09-16 11:35:01 +02:00
Ferdinand Thiessen
e266543d67 fix(settings): rename "Settings presets" to "Quick presets"
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-12 14:53:16 +02:00
Josh
34f1d52cf6 chore: Remove 'json' module from PHP modules check
Removed 'json' module from the list of required PHP modules.

It's built-in and not possible to disable at compile time since PHP 8.0.0.

Refs:
- https://www.php.net/manual/en/json.installation.php
- https://wiki.php.net/rfc/always_enable_json
- https://www.php.net/ChangeLog-8.php#8.0.0

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-09-11 13:51:07 -04:00
Joas Schilling
d652c32a14
fix(security): Update Expires time
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-09-04 08:56:48 +02:00
Louis Chemineau
ed02d0df05 feat(Settings): Add section to select preset
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-08-27 14:20:58 +00:00
Ferdinand Thiessen
79184f3aed
feat(settings): migrate setup checks to Vue to prevent visual issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-26 18:35:55 +02:00
Maxence Lange
a81d58970c feat(lexicon): set/get current preset from controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>

feat(lexicon): set/get current preset from controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-26 09:00:04 -01:00
Enjeck C
eb0ddffaaa fix: Make some strings in CodeIntegrity.php translatable
Signed-off-by: Enjeck C <patrathewhiz@gmail.com>
2025-08-24 20:23:51 +02:00
Kate
4edfef4dd5
Merge pull request #53895 from nextcloud/fix/cleanup-updater-class 2025-08-19 17:40:15 +02:00
Maxence Lange
e1c7f6020c feat(preset): adding /settings/preset endpoint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-19 10:55:48 -01:00
Maxence Lange
66cc7b731a
Merge pull request #54408 from nextcloud/feat/noid/preset-on-share-link-expire-date
feat(preset): share link expiration date
2025-08-19 10:24:43 -01:00
Côme Chilliet
12edd2b23a
fix: Deduplicate code by using DependencyAnalyzer in the AppManager
Was a bit more complicated than expected because of a dependency loop,
the L10N factory uses the app manager, thus the AppManager cannot depend
on I10N directly or indirectly in its constructor.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-18 17:09:40 +02:00
Côme Chilliet
4abfd4871f
chore: Move isAppCompatible and shouldUpgrade to the app manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-08-18 16:18:38 +02:00
Ferdinand Thiessen
0dd8e5e32e
feat(settings): allow to set own timezone in personal settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-08-18 12:35:31 +02:00
Maxence Lange
6076b67696 feat(preset): share link expiration date
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-14 16:07:32 -01:00
Maxence Lange
cb84ccc57d feat(preset): share password protection
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-08-12 14:37:32 -01:00
Lukas Schaefer
1ae4764073
chore(settings): Rename ai settings to assistant
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
2025-08-08 13:54:08 -04:00
yemkareems
aa227f1c55 feat: add bluesky to accounts, show the same in profile edit and visibility option, in view profile and also in sharing tab
Signed-off-by: yemkareems <yemkareems@gmail.com>
2025-08-08 08:06:45 +00:00
Julien Veyssier
be7ef439cf
fix(taskprocessing): move LAZY_CONFIG_KEYS constant to the private namespace
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-04 10:11:24 +02:00
Julien Veyssier
2e3fa51132
feat(taskprocessing): load and store some config keys lazily
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-08-04 10:11:24 +02:00
Joas Schilling
3ccb3160b4
Merge pull request #53898 from nextcloud/ci-mariadb-118
ci: test against MariaDB 11.8 (latest LTS)
2025-07-28 08:10:05 +02:00
Ferdinand Thiessen
074b994218
fix(settings): verify source of app-discover media
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-21 14:06:47 +02:00
Ferdinand Thiessen
a18e61a1e5
feat(files_sharing): add config option for extending link-share permissions
This allows the admin to control the behavior whether link shares with
READ permissions should be extended to also gain SHARE permissions,
allowing users (public share receivers) to add the share to their cloud.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-17 16:59:36 +02:00
Josh
6b65031a08
feat(settings): add support for MariaDB 11.8 in setup checks
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-07-10 10:18:50 -04:00
Jana Peper
f8886fe27a feat: add toggle for AI guest restriction
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-07-03 10:25:19 +02:00
Ferdinand Thiessen
5981b7eb51
chore: apply new CSFixer rules
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

# Conflicts:
#	apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
2025-07-01 16:26:50 +02:00
John Molakvoæ
bd00b75b29
Merge pull request #53671 from nextcloud/fix/read-only-share-download 2025-07-01 15:11:06 +02:00
Ferdinand Thiessen
54f55a1a0e
Merge pull request #53429 from nextcloud/enh/opcache-checks
feat(settings): simplify OPcache checks
2025-07-01 14:26:04 +02:00