Commit Graph

24017 Commits (151f4ce40bbf02c13ef8b7d95ceed93baff74ad6)

Author SHA1 Message Date
Nextcloud bot 151f4ce40b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-09 00:23:34 +07:00
Nextcloud bot 41dbdcc94c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-08 00:22:40 +07:00
Nextcloud bot 1fb32295ce
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 08:26:39 +07:00
Nextcloud bot e0c0939386
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 00:23:56 +07:00
Louis Chemineau 3f2dddd882 fix(login): Properly target public page with attribute
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-05 16:59:52 +07:00
Andy Scherzinger 07b1313061
Merge pull request #51253 from nextcloud/backport/50989/stable29
[stable29] fix: Use case insensitive check when validating login name
2025-03-05 17:48:48 +07:00
Marcel Müller 76c1bbf48b fix: No IFactory in constructor
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-03-05 11:41:20 +07:00
Joas Schilling df1f3c1768 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:41:20 +07:00
Cleopatra Enjeck M. 3f1c70bad3 fix: use mb_strtolower to convert login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:53 +07:00
Cleopatra Enjeck M. 9db02f2612 fix: Improve string comparison
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:53 +07:00
Cleopatra Enjeck M. a98f37bc89 fix: Use case insensitive check when validating login name
Signed-off-by: Cleopatra Enjeck M. <patrathewhiz@gmail.com>
2025-03-05 06:20:53 +07:00
Nextcloud bot 40d5dcbd30
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-05 00:23:05 +07:00
Louis e906134afe
Merge pull request #51060 from nextcloud/backport/51050/stable29
[stable29] fix: Report duplicated extra files in integrity check
2025-03-04 13:40:11 +07:00
Stephan Orbaugh d8040d7d7f
Merge pull request #51201 from nextcloud/backport/51194/stable29
[stable29] refactor(TempManager): Simplify and unify implementations and remove legacy behavior
2025-03-04 10:20:18 +07:00
Stephan Orbaugh 04ae493e0f
Merge pull request #51204 from nextcloud/backport/51000/stable29
[stable29] fix(FederatedShareProvider): Delete external shares when groups are deleted or users removed from a group
2025-03-04 10:19:45 +07:00
John Molakvoæ ed720978bc fix: psalm and OCP @since declarations
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-03-04 09:30:42 +07:00
skjnldsv 1672a357bd fix: make sure we process mime extensions as string
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-04 09:29:12 +07:00
provokateurin b51aad472c
fix(Share20\Manager): Propagate user and group deletion to remote share providers
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 08:01:03 +07:00
provokateurin 3ca39e3d94
fix(Share20): Convert broken hooks to IEventListener
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 08:00:59 +07:00
provokateurin 7e8ffd332b
refactor(TempManager): Simplify and unify implementations and remove legacy behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:50:44 +07:00
Nextcloud bot c4b98bf8e7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-04 00:23:54 +07:00
Louis Chemineau 7588237dc0
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-03-03 16:15:24 +07:00
Andy Scherzinger dfc5dee9ce
Merge pull request #51088 from nextcloud/backport/51051/stable29
[stable29] feat: Close sessions created for login flow v2
2025-03-03 15:26:32 +07:00
Louis Chemineau d7bc7f8aa4
fix(login): Support subfolder install for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:42 +07:00
Louis Chemineau 9f78eaaa97
fix(login): Also check legacy annotation for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 11:42:42 +07:00
Louis Chemineau ff5a03e890
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:04 +07:00
Nextcloud bot 44abe47c93
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-03 00:23:15 +07:00
Nextcloud bot a547740d13
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-02 00:23:07 +07:00
Nextcloud bot cb5401e93a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-01 00:45:30 +07:00
Nextcloud bot 07354bf64b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 00:23:47 +07:00
skjnldsv 59aa02ae8f chore: autoloader update
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-27 12:59:09 +07:00
Ferdinand Thiessen 8830bdbb1a refactor: convert sanitize account properties repair step to background job
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-27 12:59:09 +07:00
Ferdinand Thiessen fb714dfd40 fix: Optimize repair step performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-27 12:59:09 +07:00
Ferdinand Thiessen 62d122adfa 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-27 12:59:09 +07:00
Nextcloud bot bfaa1ae091
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 00:22:53 +07:00
Joas Schilling c63c27d8d5
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:27:20 +07:00
Nextcloud bot 874f8bc4e6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-26 00:22:11 +07:00
Louis Chemineau f9a4e80a72 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:08:43 +07:00
Nextcloud bot 169478643a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 21:01:26 +07:00
Nextcloud bot 77c9238892
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 00:22:20 +07:00
Nextcloud bot db9849f7a2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-23 00:22:21 +07:00
Nextcloud bot fecc044cfe
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 00:22:17 +07:00
Johannes Endres a49366910b 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:28:41 +07:00
Nextcloud bot 6530b330aa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-20 00:22:32 +07:00
Andy Scherzinger 3009d6441d
Merge pull request #50876 from nextcloud/backport/50807/stable29
[stable29] fix(files): properly forward open params from short urls
2025-02-19 18:34:42 +07:00
Andy Scherzinger 271903a774
Merge pull request #48108 from nextcloud/backport/46480/stable29
[stable29] fix(Mailer): Fix sendmail binary fallback
2025-02-19 18:34:19 +07:00
skjnldsv 9cee2c44c4 fix(files): properly forward open params from short urls
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-19 09:52:53 +07:00
Nextcloud bot 2cb6e985bd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-19 00:22:06 +07:00
Nextcloud bot 331fe98a72
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-18 00:22:21 +07:00
Josh 635dbdc785 fix(Mailer): Fix sendmail binary fallback
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-02-17 19:21:42 +07:00