Commit Graph

78149 Commits (2ae64efd52ed2ff2eea075d4624d71ed62e104b0)
 

Author SHA1 Message Date
Joas Schilling 2ae64efd52 fix(base.php): Correct order for booting \OC\Server
A recent change had broken authentication with an older
FastCGI Apache2 module, because the IRequest object got
initialised before the fix from self::handleAuthHeaders()
copied the authentication headers into the correct $_SERVER
variables.
Since this part is completely independent from any Nextcloud
code it is now done as a first thing within the init() call.

Additionally similar issues could happen when another class
would boot too early and read other global PHP settings like
ini values and default timezone, so those are now also moved
to the beginning.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-10 11:33:16 +07:00
Nextcloud bot a45ab8a748
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-10 00:23:08 +07:00
Nextcloud bot 2f6ff96cf4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-09 00:23:27 +07:00
Nextcloud bot ca86ea1eab
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-08 00:22:33 +07:00
Nextcloud bot d4027abcaa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-07 00:23:49 +07:00
John Molakvoæ 942388fd70
Merge pull request #51241 from nextcloud/release/30.0.7_rc1
30.0.7 RC1
2025-03-06 15:43:32 +07:00
max-nextcloud be312b5426
Merge pull request #50691 from nextcloud/backport/50567/stable30
[stable30] Add LDAP test settings command
2025-03-06 12:52:06 +07:00
John Molakvoæ 8cfb2eb17d
Merge pull request #51261 from nextcloud/skjnldsbot/dep-upload-stable30
[stable30] chore(deps): update `@nextcloud/upload` to 1.9.0
2025-03-06 12:15:31 +07:00
nextcloud-command de7f330394 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-06 10:12:45 +07:00
skjnldsv dc6a2c594a chore(deps): update `@nextcloud/upload` to 1.9.0
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-06 11:05:27 +07:00
Nextcloud bot 8d049caf17
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 08:26:31 +07:00
Christoph Wurst dfac339b10
Merge pull request #51282 from nextcloud/backport/51258/stable30
[stable30] fix(dav): Use IUser::getDisplayName directly
2025-03-06 06:23:19 +07:00
Kate 89881bab08
Merge pull request #51231 from nextcloud/backport/51073/stable30
[stable30] feat: log query for dbal exceptions
2025-03-06 06:12:31 +07:00
Nextcloud bot 8d07327db6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 00:23:47 +07:00
Robin Appelman bcb13b1295 feat: log query for dbal exceptions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-05 22:52:28 +07:00
Christoph Wurst 776d9145b8 fix(dav): Use IUser::getDisplayName directly
No need to send this from the client.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-05 22:51:44 +07:00
Andy Scherzinger 08aa641883
Merge pull request #51285 from nextcloud/backport/51071/stable30
[stable30] fix(translation): Fix string concatenation in LDAP endpoint
2025-03-05 20:49:35 +07:00
Louis 0bfb2ff542
Merge pull request #51294 from nextcloud/backport/51280/stable30
[stable30] fix(login): Properly target public page with attribute
2025-03-05 18:45:18 +07:00
Louis Chemineau cc1a5e7c91 fix(login): Properly target public page with attribute
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 17:01:11 +07:00
Andy Scherzinger 7bbeae4c3c
Merge pull request #51252 from nextcloud/backport/50989/stable30
[stable30] fix: Use case insensitive check when validating login name
2025-03-05 17:48:25 +07:00
Joas Schilling b9b9dc90e7
fix(l10n): Readd the space
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 17:08:18 +07:00
Côme Chilliet 11ce100818 feat(user_ldap): Add a --clearcache option to ldap:test-user-settings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 17:01:27 +07:00
Côme Chilliet 779f2934b8 fix(user_ldap): Remove redundant if check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 17:01:27 +07:00
Côme Chilliet 8a39411147 feat(user_ldap): Add command test-user-settings to test LDAP user settings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 17:01:27 +07:00
Côme Chilliet bbcb102262 feat(user_ldap): upstream common code into Proxy class and add public getters for backends
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 17:01:27 +07:00
nextcloud-command 78ccbda381 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-05 15:59:34 +07:00
Joas Schilling 7abb5726ca
fix(l10n): Fix leading spaces and unicode single quotes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 16:49:35 +07:00
Joas Schilling bc1c497abd
fix(translation): Fix string concatenation in LDAP endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 16:49:11 +07:00
Andy Scherzinger 76486b7a20
Merge pull request #49840 from nextcloud/revert-49825-revert-49650-backport/49293/stable30
Revert "Revert "[stable30] fix: Handle copy of folders containing live photos""
2025-03-05 16:27:12 +07:00
Joas Schilling 31cbd6a138
Merge pull request #51272 from nextcloud/backport/51256/stable30
[stable30] fix(dav): Handle long absence status earlier
2025-03-05 15:52:50 +07:00
Louis Chemineau 6cbffb0b53
fix(test): Escape quotes in runOccCommand argument
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 15:04:44 +07:00
max-nextcloud 88408b6546
Merge pull request #50778 from nextcloud/backport/46114/stable30
[stable30] fix(user_ldap): Avoid extra LDAP request when mapping a user for the first time
2025-03-05 15:02:04 +07:00
Kate 6d3cf9c668
Merge pull request #51222 from nextcloud/backport/50852/stable30
[stable30] feat: Support deleting metadata from WebDAV
2025-03-05 14:57:51 +07:00
Côme Chilliet 9982e291e2 chore: composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +07:00
Côme Chilliet 8717646cbf fix(user_ldap): Fix user_ldap tests by mocking new method exists in manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +07:00
Côme Chilliet 17a680c225 fix(user_ldap): Lowercase value for all attributes in configuration
Avoid surprises by making sure these are lowercased apart from
 documented special case user displayname.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +07:00
Côme Chilliet a36bcd0d0b fix(ldap): Fix user_ldap attribute casing to fix tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +07:00
Côme Chilliet 64ae882b49 fix(user_ldap): Correctly cache that user exists to avoid a request on mapping new user
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +07:00
Côme Chilliet 41aadb5be8 fix(user_ldap): Avoid extra LDAP request when mapping a user for the first time
Avoids using several LDAP searches to get UUID, display name and
 internal name, now gets all attributes at the same time.
Also avoids extra request to build an unused user object in userExists.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-03-05 14:46:11 +07:00
Louis Chemineau 2d839d767a
chore(tests): Fix using save/restore state in cypress
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 13:45:23 +07:00
Louis Chemineau bb010b233b
test: Expose set and getVariable in Cypress tests
Partial cherry pick of 4a90d5328

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 13:45:23 +07:00
Louis acf19f7880
Revert "Revert "[stable30] fix: Handle copy of folders containing live photos""
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 13:45:23 +07:00
Louis Chemineau 009a7a3368 feat: Support deleting metadata from WebDAV
The `$value` will be `null` if the update is wrapped inside a `<d:remove>...</d:remove>` block.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 13:39:40 +07:00
Louis e2f24ef92a
Merge pull request #51281 from nextcloud/artonge/fix/data-cy-files-action
[stable30] fix(test): Add missing data-cy attribute for file actions
2025-03-05 13:39:26 +07:00
Kate 60821a790d
Merge pull request #51277 from nextcloud/backport/51259/stable30
[stable30] fix(files): Don't do session related work in the constructor of the View
2025-03-05 13:27:54 +07:00
Louis Chemineau 5e49e75a15 fix(test): Add missing data-cy attribute for file actions
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-03-05 12:12:51 +07:00
Marcel Müller c6ca459b40 fix: No IFactory in constructor
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-03-05 11:34:03 +07:00
Joas Schilling 259919e9fd fix(files): Don't do session related work in the constructor of the View
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-05 11:34:03 +07:00
Ferdinand Thiessen 432d95e5d3
Merge pull request #51238 from nextcloud/backport/51229/stable30
[stable30] fix(lookup_server_connector): correctly handle account properties
2025-03-05 11:26:48 +07:00
Christoph Wurst 31deaf0ee1 fix(dav): Handle long absence status earlier
Validate the request early. Don't let this cause a database error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-03-05 10:02:55 +07:00