Commit graph

24531 commits

Author SHA1 Message Date
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
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
Andy Scherzinger
682c8e6a61
Merge pull request #50796 from nextcloud/backport/50781/stable30
[stable30] perf(files): faster query to fetch incomplete directories
2025-02-17 19:15:58 +01:00
Daniel
88b43178cb
Merge pull request #49481 from nextcloud/backport/49004/stable30
[stable30] Bug/48678/restore dav error response
2025-02-15 16:50:32 +01:00
Robin Appelman
33fb176651 fix: make locked exception path relative to the view
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-15 14:42:51 +01:00
Git'Fellow
4a8bea67c7 fix(repair): PHP8.3 deprecation warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-02-15 11:08:58 +00:00
Nextcloud bot
edff281844
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-15 00:22:09 +00:00
Benjamin Gaussorgues
765b4921ff
perf(files): faster query to fetch incomplete directories
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-02-14 10:57:26 +01:00
Andy Scherzinger
7bf1126b1f
Merge pull request #49657 from nextcloud/backport/48769/stable30
[stable30] Fix incorrect permissions when copying shared files
2025-02-14 10:30:46 +01:00
Andy Scherzinger
0c7ddb3dab
Merge pull request #50804 from nextcloud/backport/48651/stable30
[stable30] fix(files): Correctly copy the cache information during copy operations
2025-02-14 07:40:30 +01:00
Nextcloud bot
213d38f510
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-14 00:22:20 +00:00
Louis Chemineau
a663b3e0cd fix(files): Correctly copy the cache information on copy operations
Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-13 23:35:59 +00:00
Robin Appelman
9f1666ef3d fix: use scan_permissions when copying cache items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 18:17:31 +01:00
Robin Appelman
5c9a3a2423 fix: store unmaked source permissions as scan_permissions when loading share cache items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 18:17:31 +01:00
Robin Appelman
da334737e4 fix: rework move into object store to better preserve fileids
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +01:00
Robin Appelman
e85d5df5f0 fix: preserve fileid when moving from objectstore to non-objectstore
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +01:00
Robin Appelman
9fd7dfd1c2 fix: ensure source folder is removed from cache when moving to objectstore
otherwise this causes confusion down the line as it's contents will be moved to the new cache

Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-13 17:31:51 +01:00
Marcel Klehr
befca3e4b9 fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-13 16:44:10 +01:00
Marcel Klehr
be1759fcdc fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-02-13 16:44:10 +01:00
Andy Scherzinger
094ea5c885
Merge pull request #50761 from nextcloud/backport/50324/stable30
[stable30] fix: don't use cached root info from shared cache if the watcher has detected an update
2025-02-13 16:43:50 +01:00
Andy Scherzinger
6964531134
Merge pull request #50704 from nextcloud/backport/50660/stable30
[stable30] fix: make sure we process mime extensions as string
2025-02-13 16:42:50 +01:00
John Molakvoæ
e87bca73d4
Merge pull request #50777 from nextcloud/backport/46480/stable30
[stable30] fix(Mailer): Fix sendmail binary fallback
2025-02-13 11:58:37 +01:00
Nextcloud bot
e8fbb315f8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-13 00:21:54 +00:00
Josh
431c6d0609
fix(Mailer): Fix sendmail binary fallback
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-02-12 13:23:11 +01:00
Nextcloud bot
bfa0888217
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-12 00:22:42 +00:00
Robin Appelman
3bfcd8371b
fix: don't use cached root info from shared cache if the watcher has detected an update
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-11 16:21:37 +01:00
Nextcloud bot
6c7be99290
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-10 00:21:59 +00:00
Nextcloud bot
e3429afd43
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-09 00:21:59 +00:00
Nextcloud bot
66d7e8a5b7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-08 00:21:57 +00:00
Ferdinand Thiessen
96384cd950
fix(FediverseAction): Ensure valid fediverse links are generated
Harden also for existing values of the profile.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:41:49 +01:00
Ferdinand Thiessen
57fc8f1182
fix(AccountManager): Sanitize social media handles
Ensure to only accept valid X and fediverse handles.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:41:49 +01:00
John Molakvoæ
86408a5be7 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-02-06 15:15:41 +00:00
skjnldsv
80a4cb586f fix: make sure we process mime extensions as string
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-06 15:15:41 +00:00
John Molakvoæ
0e6f3ba02b
Merge pull request #50676 from nextcloud/backport/50193/stable30
[stable30] fix(oauth2): adjust db schemas when migrating from owncloud
2025-02-06 10:23:39 +01:00