Commit graph

24563 commits

Author SHA1 Message Date
Nextcloud bot
4318455bbd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-11 00:23:15 +00:00
Nextcloud bot
2f6ff96cf4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-09 00:23:27 +00:00
Nextcloud bot
ca86ea1eab
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-08 00:22:33 +00:00
Nextcloud bot
8d049caf17
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 08:26:31 +00: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 +01:00
Nextcloud bot
8d07327db6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 00:23:47 +00:00
Robin Appelman
bcb13b1295 feat: log query for dbal exceptions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-03-05 22:52:28 +01: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 +00: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 +01: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 +01: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 +00: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 +00:00
Cleopatra Enjeck M.
22fa59b378 fix: use mb_strtolower to convert login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:52 +00:00
Cleopatra Enjeck M.
9dbf067f31 fix: Improve string comparison
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:52 +00:00
Cleopatra Enjeck M.
dc68d66945 fix: Use case insensitive check when validating login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:52 +00:00
Nextcloud bot
03a5f923c0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-05 00:22:58 +00:00
Stephan Orbaugh
34bd751923
Merge pull request #51202 from nextcloud/backport/51194/stable30
[stable30] refactor(TempManager): Simplify and unify implementations and remove legacy behavior
2025-03-04 10:20:00 +01:00
provokateurin
194f5eae1e
fix(Share20\Manager): Propagate user and group deletion to remote share providers
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:58:21 +01:00
provokateurin
7b5c9feca1
fix(Share20): Convert broken hooks to IEventListener
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:58:21 +01:00
provokateurin
552eb2678f
refactor(TempManager): Simplify and unify implementations and remove legacy behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:49:20 +01:00
Nextcloud bot
745b72b0c5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-04 00:23:44 +00:00
Andy Scherzinger
f69a4ff407
Merge pull request #51089 from nextcloud/backport/51051/stable30
[stable30] feat: Close sessions created for login flow v2
2025-03-03 15:25:50 +01:00
Louis Chemineau
0c809ccc7f
fix(login): Support subfolder install for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:43 +01:00
Louis Chemineau
a25a8f4f53
fix(login): Also check legacy annotation for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:43 +01:00
Louis Chemineau
9141eb473f
feat: Close sessions created for login flow v2
Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.

This commit add a property to the session object to track its origin, and will close it as soon as possible, i.e., on the first non public page request.

Signed-off-by: Louis Chemineau <louis@chmn.me>

[skip ci]

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:38:03 +01:00
Nextcloud bot
0a027ecd6d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-03 00:23:08 +00:00
Nextcloud bot
02aae2a0ea
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-02 00:23:00 +00:00
Nextcloud bot
63b99d8c13
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-01 00:45:21 +00:00
Nextcloud bot
bc807f7d35
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 00:23:37 +00:00
Nextcloud bot
62aa5a8214
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 00:22:41 +00:00
Joas Schilling
812a4d519e
Merge pull request #51057 from nextcloud/backport/51049/stable30
[stable30] fix(l10n): Improve english source strings
2025-02-26 16:20:14 +01:00
Joas Schilling
a5e6f46eb0
fix(l10n): Improve english source strings
- No leading/trailing whitespace
- Use asci single quote

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-26 15:06:47 +01:00
Louis Chemineau
854c3bcc62 fix: Report duplicated extra files in integrity check
The `array_diff` is not comparing the array keys. This means that an extra key with an expected hash will not be reported. Using `array_diff_assoc` will report such files.

For example, copying `status.php` to `status 2.php`, will only be reported with the new version.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-26 13:25:16 +00:00
Nextcloud bot
6a92fc0eae
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-26 00:22:03 +00:00
Louis Chemineau
d3b4b21e29 fix: Initialize lastConnectionCheck after first connection
We are checking whether the DB connection is alive once every 30 seconds. But when we are lacking the last check time, we are skipping the check and reconnect logic. This is causing the reconnect logic to never fire in those cases.

It seems to me that "those cases", are actually always the case, as upon initialization, we are not using the proper connection name to store the time.

In the `connect()` logic, when `$this->_conn` is null, `$this->getConnectionName()` is returning `replica`, so `$this->lastConnectionCheck` will be equal to `['replica' => time()];`

60711ea4cf/lib/private/DB/Connection.php (L215-L221)

60711ea4cf/lib/private/DB/Connection.php (L891-L893)

2b6d7bf65f/doctrine/dbal/src/Connections/PrimaryReadReplicaConnection.php (L136-L139)

Then, if the connection name ends up as being 'primary', the reconnect logic is skipped:

60711ea4cf/lib/private/DB/Connection.php (L874-L880)

Follow-up of https://github.com/nextcloud/server/pull/41819

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-25 11:07:34 +00:00
Nextcloud bot
26957e8a79
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 21:01:18 +00:00
Ferdinand Thiessen
d3dbe3ab2c
refactor: convert sanitize account properties repair step to background job
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 16:44:49 +01:00
Ferdinand Thiessen
bb73628ebe
fix: Optimize repair step performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 16:42:45 +01:00
Ferdinand Thiessen
9fdd48dd2d
fix: validate account properties as a repair step
Replace `ValidatePhoneNumber` from Nextcloud 21 with a new repair step,
`ValidateAccountProperties` which validates and sanitizes all account
properties.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-24 16:42:44 +01:00
Nextcloud bot
c4467ba1e4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 00:22:12 +00:00
Nextcloud bot
c25c45cc34
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-23 00:22:14 +00:00
Nextcloud bot
efd8072040
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 00:22:10 +00:00
Johannes Endres
b61ae01c52 fix: Change UserAgent to *cloud
Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: Johannes Endres <je@johannes-endres.de>
2025-02-21 09:29:26 +00:00
Nextcloud bot
3803fc5481
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-20 00:22:24 +00:00
Joas Schilling
0598fd74cd
Merge pull request #50900 from nextcloud/backport/50896/stable30
[stable30] fix(cron): Keep job class limitation when searching for the next job
2025-02-19 13:34:00 +01:00
Ferdinand Thiessen
f448d24507
Merge pull request #50877 from nextcloud/backport/50807/stable30
[stable30] fix(files): properly forward open params from short urls
2025-02-19 12:42:50 +01:00
Joas Schilling
2d1bfad11e fix(cron): Keep job class limitation when searching for the next job
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-19 09:27:50 +00:00
skjnldsv
137ff37cf8 fix(files): properly forward open params from short urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 10:13:55 +01:00
Nextcloud bot
78f532dd31
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-19 00:21:59 +00:00
Nextcloud bot
6f30c32aca
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-18 00:22:14 +00:00