Commit Graph

79372 Commits

Author SHA1 Message Date
Nextcloud bot
fe2cf50496
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-01 00:45:14 +00:00
Ferdinand Thiessen
477a3f84e7
Merge pull request #51128 from nextcloud/backport/50881/stable31
[stable31] fix(dav): Handle end of stream in `File::put`
2025-03-01 01:04:02 +01:00
John Molakvoæ
159c5140b2
Merge pull request #51143 from nextcloud/backport/51126/stable31 2025-02-28 19:57:08 +01:00
skjnldsv
b58497d2a3 fix(cypress): wait for toast to appear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-28 16:03:54 +00:00
Ferdinand Thiessen
25b4c7dccd fix(dav): Handle end of stream in File::put
If the stream is aborted and the callback wrapper returns false (or
null as it happened in some cases), we should not try to write to the
storage but abort the operation.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-28 09:38:11 +00:00
Nextcloud bot
52163b4905
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 00:23:28 +00:00
Joas Schilling
be8902cdb8
Merge pull request #51118 from nextcloud/backport/33545/stable31
[stable31] make it possible to run occ as root
2025-02-27 22:46:11 +01:00
Frank Karlitschek
d28eb731a8 fix(occ): Make it possible to run as root
Signed-off-by: Frank Karlitschek <karlitschek@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-27 21:23:49 +00:00
Joas Schilling
25268f2fdf
Merge pull request #51058 from nextcloud/backport/51049/stable31
[stable31] fix(l10n): Improve english source strings
2025-02-27 16:51:47 +01:00
John Molakvoæ
4ab69ec7f4
Merge pull request #51093 from nextcloud/backport/51077/stable31
[stable31] files: fix exception when share-attributes is undefined
2025-02-27 14:57:00 +01:00
Varun Patil
752bc004ae fix(files): exception when share-attributes is undefined
Signed-off-by: Varun Patil <varunpatil@ucla.edu>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-27 12:21:16 +00:00
Nextcloud bot
6e52b55555
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 00:22:29 +00:00
Arthur Schiwon
e332784e1b
Merge pull request #51076 from nextcloud/backport/51071/stable31
[stable31] fix(translation): Fix string concatenation in LDAP endpoint
2025-02-26 23:11:54 +01:00
Joas Schilling
2ffa65201f fix(translation): Fix string concatenation in LDAP endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-26 18:27:18 +00:00
Louis
45439dcd9c
Merge pull request #51062 from nextcloud/backport/51050/stable31
[stable31] fix: Report duplicated extra files in integrity check
2025-02-26 15:58:33 +01:00
Louis Chemineau
fe56b3ccc2 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:26:38 +00:00
nextcloud-command
ba38abe4cd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-26 13:23:58 +00:00
Joas Schilling
1a60bca362 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 13:08:49 +00:00
Andy Scherzinger
3b49ee1c6b
Merge pull request #51034 from nextcloud/backport/48795/stable31
[stable31] feat: support migrating an instance to sharding
2025-02-26 11:05:50 +01:00
John Molakvoæ
f9fd3cf17b
Merge pull request #51047 from nextcloud/backport/50366/stable31 2025-02-26 09:43:46 +01:00
nextcloud-command
8a04a89028 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-26 07:59:11 +00:00
Joas Schilling
4538a4f4b4
Merge pull request #51041 from nextcloud/automated/noid/stable31-update-ca-cert-bundle
[stable31] fix(security): Update CA certificate bundle
2025-02-26 08:52:31 +01:00
nfebe
3f745a9fea fix(systemtags): Use literal strings for i18n in showSuccess
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-02-26 07:42:01 +00:00
nextcloud-command
a8f664c58e fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-02-26 02:31:06 +00:00
Nextcloud bot
4201daaa40
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-26 00:21:55 +00:00
Robin Appelman
ea678c0280 feat: support migrating an instance to sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-25 21:43:54 +00:00
Andy Scherzinger
77db5c76e8
Merge pull request #50963 from nextcloud/dependabot/npm_and_yarn/stable31/ts-loader-9.5.2
[stable31] chore(deps-dev): bump ts-loader from 9.5.1 to 9.5.2
2025-02-25 21:25:25 +01:00
Andy Scherzinger
3bc2e4358d
Merge pull request #50994 from nextcloud/backport/50992/stable31
[stable31] fix(admin_audit): Fix incorrect truncation of files path in admin audit log
2025-02-25 20:32:16 +01:00
dependabot[bot]
3225d6b896 chore(deps-dev): bump ts-loader from 9.5.1 to 9.5.2
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.5.1 to 9.5.2.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.5.1...v9.5.2)

---
updated-dependencies:
- dependency-name: ts-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 20:25:48 +01:00
Côme Chilliet
74531b680a fix(admin_audit): Fix incorrect truncation of files path in admin audit log
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-02-25 19:38:05 +01:00
Andy Scherzinger
74c30d08d8
Merge pull request #51028 from nextcloud/backport/50987/stable31
[stable31] Spelling standardization
2025-02-25 19:37:22 +01:00
Andy Scherzinger
0d6f26153c
Merge pull request #51003 from nextcloud/backport/50958/stable31
[stable31] Fix: NotFoundException for anonymous users
2025-02-25 19:36:57 +01:00
nextcloud-command
59370fc50a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-25 18:00:16 +00:00
Valdnet
fc0b59bb8f fix(l10n): Spelling standardization
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2025-02-25 17:42:13 +00:00
Andy Scherzinger
55b8a6ba13
Merge pull request #50941 from nextcloud/backport/50053/stable31
[stable31] fix: Change UserAgent to *cloud
2025-02-25 18:37:15 +01:00
Kostiantyn Miakshyn
22b3c6cd2e Fix: NotFoundException for anonymous users
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-02-25 18:15:30 +01:00
Maksim Sukharev
d4bbe3c64b
Merge pull request #50995 from nextcloud/backport/50956/stable31 2025-02-25 17:22:41 +01:00
Louis
d632679d8f
Merge pull request #51025 from nextcloud/backport/50903/stable31
[stable31] fix(files_versions): Do not expire versions newer than min age
2025-02-25 17:22:31 +01:00
nextcloud-command
32c559415e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-02-25 15:53:39 +00:00
Maksim Sukharev
0ec5954f1c fix: wipe local storages on log out
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-02-25 16:47:32 +01:00
Louis Chemineau
46b1825f2d fix(files_versions): Do not expire versions newer than min age
The auto expire logic does not take into account the min retention age set by the admin. So versions were eagerly deleted.

Fix https://github.com/nextcloud/server/issues/19791

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-02-25 15:04:21 +00:00
Côme Chilliet
5b421c99c6
Merge pull request #51017 from nextcloud/backport/50874/stable31
[stable31] fix: Initialize lastConnectionCheck after first connection
2025-02-25 16:01:39 +01:00
Joas Schilling
63b9a48e69
Merge pull request #50954 from nextcloud/backport/50942/stable31
[stable31] fix(cron): Ignore time sensitivity when a class was explicitely scheduled
2025-02-25 14:05:30 +01:00
Joas Schilling
43c677da86
Merge pull request #50953 from nextcloud/backport/50949/stable31
[stable31] ci(autochecks): Run some autochecks also on non-PHP files
2025-02-25 14:04:04 +01:00
Louis Chemineau
8a2437927d 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
aef968456f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-25 00:21:39 +00:00
Arthur Schiwon
051e46a7a2
Merge pull request #51011 from nextcloud/release/31.0.0
31.0.0
2025-02-24 22:41:02 +01:00
Nextcloud bot
0e038ec0a5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 21:01:11 +00:00
Arthur Schiwon
fd933f2f1b
build(hub): 31.0.0
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-02-24 21:42:00 +01:00
Nextcloud bot
3276012191
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-24 20:39:17 +00:00