Commit graph

77085 commits

Author SHA1 Message Date
Côme Chilliet
2bdc97741c
fix(tests): Fix Folder tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-17 19:19:08 +02:00
Côme Chilliet
9a9dd10c0c
fix(tests): Remove deprecated tests for ServerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-17 17:48:01 +02:00
Louis Chemineau
d2bf3613f6
fix: Drop unnecessary exit
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-17 17:32:33 +02:00
Stephan Orbaugh
f25acfb799
Merge pull request #47986 from cfiehe/fix_move_on_same_bucket
perf(ObjectStoreStorage): Improve (slow) move on same object bucket
2024-09-17 16:35:19 +02:00
Ferdinand Thiessen
4d275232f0
Merge pull request #48138 from nextcloud/chore/remove-legacy-settings-fors
fix: Remove legacy settings forms
2024-09-17 15:47:01 +02:00
Ferdinand Thiessen
f5b73d2c77
fix: Remove legacy settings forms
`OC_App::getForms` was always returning an empty array,
because there were no setter for `adminForms` or `personalForms` anymore.
So removed all that legacy settings forms logic.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-17 14:54:39 +02:00
John Molakvoæ
fe9981fad7
Merge pull request #48129 from nextcloud/feat/zst 2024-09-17 14:31:06 +02:00
John Molakvoæ (skjnldsv)
67fb4da40f
chore: update RepairMimeTypes migration
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-17 14:14:01 +02:00
Anna
f8dde2d254
Merge pull request #48086 from nextcloud/refactor/move-to-new-activity-exception
refactor: move to new activity exception
2024-09-17 12:35:46 +02:00
Anna Larch
1ce46c1fca refactor: move to new activity exception
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-17 12:06:24 +02:00
John Molakvoæ (skjnldsv)
1647a3b93a
chore: add application/zstd
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-17 11:36:57 +02:00
Kate
4e64a6eb48
Merge pull request #48080 from nextcloud/fix/storage/method-docs-inheritance 2024-09-17 11:16:20 +02:00
John Molakvoæ
57a5baa88f
Merge pull request #48094 from nextcloud/fix/storage/get-owner-false 2024-09-17 10:44:31 +02:00
Grigorii K. Shartsev
f0bf7990f8
Merge pull request #48090 from nextcloud/fix/settings--disable-discover-when-app-store-is-disabled
fix(settings): disable Discover when appstore is disabled
2024-09-17 13:31:26 +05:00
John Molakvoæ
a9ad7668eb
Merge pull request #47998 from nextcloud/fix/sabre-dav-itip-broker 2024-09-17 10:29:20 +02:00
John Molakvoæ
6f78730573
Merge pull request #48114 from nextcloud/fix/AppStore--remove-unneeded-warning 2024-09-17 10:26:31 +02:00
provokateurin
d2d1e3284d
fix(Storage): Fix method docs inheritance
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 10:20:38 +02:00
provokateurin
dc13f9cc1e
fix(Files): Handle getOwner() returning false
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 10:10:50 +02:00
provokateurin
8ca6fcace7
fix(Storage): Document getOwner() can return false
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 10:10:50 +02:00
Côme Chilliet
c256518ab3
Merge pull request #48110 from nextcloud/chore/remove-deprecated-aliases
chore: Remove deprecated aliases from dependency injection
2024-09-17 09:39:27 +02:00
github-actions[bot]
6c7d79b696
Merge pull request #48115 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-09-17 06:35:13 +02:00
nextcloud-command
f6c2ae298b chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-17 02:18:56 +00:00
Ferdinand Thiessen
c2443ad1f2
chore: Replace DI alias with real class
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-17 02:27:31 +02:00
Nextcloud bot
d76d971e55
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 00:20:40 +00:00
Grigorii K. Shartsev
70ed4aec39 fix(appstoreFetcher): get app list from custom app store
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 01:29:25 +02:00
Grigorii K. Shartsev
ce679c3da4 fix(appstoreFetcher): remove unneeded warning
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 01:24:49 +02:00
Côme Chilliet
0759b481e6
chore: Remove deprecated aliases from dependency injection
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 21:11:09 +02:00
Côme Chilliet
b9fb1db0f8
Merge pull request #48009 from nextcloud/fix/remove-references-to-deprected-storage-interface
fix: Remove OCP\Files\Storage interface deprecated since version 9
2024-09-16 20:50:38 +02:00
Côme Chilliet
03b969fb95
chore: Improve typing and phpdoc comments
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 20:29:48 +02:00
Robin Appelman
ede0c26b78
Merge pull request #46480 from nextcloud/fix/mailer-binaryfinder-fallback
fix(Mailer): Fix sendmail binary fallback
2024-09-16 18:18:14 +02:00
Côme Chilliet
e7ac9bb2d8
chore: Check storage is an instance of the correct class instead of psalm-suppress
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:39 +02:00
Côme Chilliet
ed0ac284e3
chore: Remove deprecated Storage::search method instead of moving it to IStorage
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet
5d01e0a73c
chore: psalm-suppress legacy code weirdness
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet
492e6997d8
chore: Fix psalm issues, put back private versions of getter in private Storage interface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet
f80eda4398
chore: fix autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet
a165d8f978
chore: Fix encryption test use statement
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet
22822d5e9b
fix: Fix other uses of removed Storage interface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:36 +02:00
Côme Chilliet
801733e523
fix: Remove OCP\Files\Storage interface deprecated since version 9
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:10:48 +02:00
John Molakvoæ
dde0b48c93
Merge pull request #46218 from nextcloud/artonge/fix/hash_return_type 2024-09-16 17:15:18 +02:00
Robin Appelman
d9c5512878
Merge pull request #46140 from nextcloud/fix-nc-env-inclusion
fix(config): Add missing handling for `envCache` in `getKeys()`
2024-09-16 16:55:13 +02:00
Grigorii K. Shartsev
5ac467ba0f chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-16 16:29:47 +02:00
Grigorii K. Shartsev
eab54788a2 fix(settings): disable Discover when appstore is disabled
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-16 16:28:04 +02:00
John Molakvoæ
6eefcdba0c
Merge pull request #47316 from Farcry69/fix/metadata-refresh-crash 2024-09-16 15:59:26 +02:00
Joas Schilling
cc9c61d580
Merge pull request #47947 from nextcloud/feat/make-setup-check-trait-public
feat: Make `CheckServerResponseTrait` public and provide as `OCP\SetupCheck\CheckServerResponseTrait`
2024-09-16 15:33:48 +02:00
Josh
87aa1267a8 fix(Mailer): Fix sendmail binary fallback
feat: add debug logging to sendmail binary finder

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-09-16 15:20:29 +02:00
Robin Appelman
13088b745a
Merge branch 'master' into fix-nc-env-inclusion
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-16 15:13:29 +02:00
Christoph Fiehe
9597072ada perf(ObjectStoreStorage): Improve (slow) move on same object bucket
This commit fixes the issue #47856. When you upload a file into a group folder and when you use a single S3 bucket as primary storage, the final move operation hangs for a long time. In the background, Nextcloud initiates a copy-delete sequence from the bucket into the bucket, with causes a lot unnecessary overhead. Nextcloud thinks that the file must be imported to another storage and does not recognize that everything is done on the same object bucket. In that case, the import step can be completely skipped, which saves time, network bandwidth and reduces the load on the object storage.

The behavior improves a lot with https://github.com/nextcloud/server/pull/46013. However, there are still some put messages that are being sent to the object storage when you use an object storage as primary storage and upload files into a group folder.

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-09-16 15:11:09 +02:00
John Molakvoæ
9acaf0788f chore: improve hash_file php usage in Local Storage
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-16 15:07:21 +02:00
Louis Chemineau
6674f790a9 fix(files): Ensure that the hash method does not return null
To match beececf660/lib/private/Files/View.php (L1050)

- Fix https://github.com/nextcloud/server/issues/44110

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 15:07:21 +02:00
Joas Schilling
cfed24cb02
Merge pull request #47924 from ldidry/catch-MaxInstancesExceededException
🥅 — Catch MaxInstancesExceededException on calendar events
2024-09-16 15:04:49 +02:00