Commit graph

76754 commits

Author SHA1 Message Date
Côme Chilliet
61da345203 fix(tests): Fix Folder tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-19 14:24:22 +02:00
Côme Chilliet
b44ac8238d fix(tests): Remove deprecated tests for ServerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-19 14:24:22 +02:00
Louis Chemineau
8bff8d22e2 fix: Override start method of \Sabre\DAV\Server to remove exception output
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 14:24:22 +02:00
Robin Appelman
25449de27b test: fix ShareControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 14:24:22 +02:00
Robin Appelman
d2d475a749 test: fix trashbin StorageTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman
bf480bbde9 test: fix ShareAPIControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman
8a156768a5 test: fix service overwrite in PartFileInRootUploadTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman
8b8508c8b1 test: put parent items into cache in tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman
dd68f678b2 fix: ensure parent folder exists when writing a file to object storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman
e82ab7816f test: fix incorrect ltrim usage in test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman
7b1b5526b7 fix: verify that parent exists in cache when inserting
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman
1e03bd5d18 fix: fix object store id for test object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman
e8c7216d5b fix: cleanup objectstore file_put_content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman
9b07b7d9c1 fix: create intermediate directories for objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Robin Appelman
5bcd74ae87 fix: get source file before moving the cache item in objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 13:59:08 +02:00
Louis Chemineau
337df1f760 fix: Drop unnecessary exit
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 13:59:08 +02:00
Nextcloud bot
406e74fae7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-19 00:20:49 +00:00
Ferdinand Thiessen
77321bc6cf
Merge pull request #47944 from nextcloud/backport/47883/stable30
[stable30] fix(setup-checks): Ensure URL with webroot works
2024-09-19 00:19:19 +02:00
Nextcloud bot
dd4caaff0c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 09:28:08 +00:00
Nextcloud bot
429fbaf470
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 00:22:13 +00:00
Kate
e4f5d39464
Merge pull request #48088 from nextcloud/backport/48008/stable30 2024-09-17 12:53:41 +02:00
John Molakvoæ
781cda5195
Merge pull request #48109 from nextcloud/backport/46218/stable30 2024-09-17 10:14:00 +02:00
Nextcloud bot
06b378c302
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 00:20:49 +00:00
Christoph Wurst
97fd49af8e
Merge pull request #48097 from nextcloud/backport/47924/stable30
[stable30] 🥅 — Catch MaxInstancesExceededException on calendar events
2024-09-16 20:11:43 +02:00
John Molakvoæ
2308294a68 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 17:08:10 +00:00
Louis Chemineau
7c99850958 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 17:08:10 +00:00
Robin Appelman
c4eb1ac8fe
Merge pull request #48101 from nextcloud/backport/46140/stable30
[stable30] fix(config): Add missing handling for `envCache` in `getKeys()`
2024-09-16 18:59:32 +02:00
Josh Richards
344c9682de fix: switch from explode to substr (faster)
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 15:06:03 +00:00
Josh Richards
a7b4808b32 fix(config): add envCache tests for getKeys()
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 15:06:03 +00:00
Josh Richards
f3e28596c4 fix(config): Add missing handling for envCache in getKeys()
NC_ env variable overrides were not appearing in
the output of `occ config:list system` nor `occ
config:system:get xxx`. This was creating nearly
impossible to diagnose configuration/ behavior
disprepancies.

- Refactored readData() so that we aren't saving
  the entire environment in the envCache anymore
  (only those prefixed "NC_") and so that we save
  NC_ provided config values under their real
  key.
- Refactored getValue() to accommodate readData()
  refactor
- Fixed getKeys() to properly return
  envCache keys too

Environment provided config variables now appear
in `occ config:list system` as expected.

Environment provided config variables now appear
when queried via `occ config:system:get KEY`

envCache is now free of non-NC stuff.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 15:06:03 +00:00
Luc Didry
f83cebf79e fix(dav): catch MaxInstancesExceededException on calendar events
Signed-off-by: Luc Didry <luc@didry.org>
2024-09-16 14:34:29 +00:00
provokateurin
b7b5b50050 fix(Entity): Fix magic setter call for custom strong typed setters
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-16 13:52:27 +00:00
Kate
cea10d643e
Merge pull request #48072 from nextcloud/backport/48044/stable30 2024-09-16 14:35:09 +02:00
John Molakvoæ
66caa85e5e
Merge pull request #48071 from nextcloud/backport/48030/stable30 2024-09-16 14:23:58 +02:00
Louis
139b2cdb6d
Merge pull request #48000 from nextcloud/backport/47920/stable30
[stable30] feat: Reset route if neither the Viewer of the Sidebar is open
2024-09-16 14:21:19 +02:00
Kate
e4074b6d54
Merge pull request #48076 from nextcloud/backport/48050/stable30 2024-09-16 13:14:23 +02:00
John Molakvoæ
0714e14ed7
Merge pull request #48073 from nextcloud/backport/48063/stable30 2024-09-16 13:00:22 +02:00
Kate
434992530d
Merge pull request #48069 from nextcloud/backport/48031/stable30 2024-09-16 12:21:10 +02:00
Louis Chemineau
f44c76e61d
chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 11:53:45 +02:00
provokateurin
23a612ee5e fix(weather_status): Fix search address errors when offline
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-16 09:34:19 +00:00
Joas Schilling
9371d93249 fix(a11y): Add OTF font loading check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-16 09:26:59 +00:00
Louis Chemineau
ae70a426ac feat: Reset route if neither the Viewer of the Sidebar is open
When the viewer or the sidebar is opened, we add the fileid to the route.
When both of them are closed, we do not remove the fileid from the route.
This means that, upon reload, the sidebar will be opened even though it was closed previously.

This PR ensure that the fileid is removed from the route when both the Sidebar and the Viewer are closed.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 11:18:13 +02:00
Anna Larch
4474357b3c test: cast node name and data to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:12:09 +00:00
Anna Larch
eeb14df43b fix(dav): cast parameters to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:11:00 +00:00
Anna Larch
ff49395e46 fix(filesreport): cast fileId to integer
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:09:54 +00:00
Kate
32866bc7ee
Merge pull request #48056 from nextcloud/backport/48043/stable30 2024-09-16 11:06:27 +02:00
github-actions[bot]
3a22fe2770
Merge pull request #48059 from nextcloud/automated/noid/stable30-update-psalm-baseline
[stable30] Update psalm-baseline.xml
2024-09-16 11:06:07 +02:00
John Molakvoæ
d74b5175a6
Merge pull request #47902 from nextcloud/backport/47881/stable30 2024-09-16 11:02:33 +02:00
nextcloud-command
2d633fc014 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-16 02:36:54 +00:00
Nextcloud bot
70bd525c84
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 00:20:18 +00:00