Commit graph

74968 commits

Author SHA1 Message Date
Nextcloud bot
bc3cd58df7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-22 00:20:53 +00:00
Nextcloud bot
910caabcf2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-21 00:20:57 +00:00
Nextcloud bot
bade66e33c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-20 00:21:28 +00:00
Robin Appelman
017951f862
Merge pull request #48214 from nextcloud/backport/48205/stable29
[stable29] Ci fixes
2024-09-19 21:19:38 +02:00
Louis Chemineau
b731f9533a fix: Prevent duplicate creation of print_exception function
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 17:51:51 +02:00
Côme Chilliet
617c663c3b fix(tests): Fix Folder tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-19 17:51:51 +02:00
Louis Chemineau
ee9f3115d9 fix: Override start method of \Sabre\DAV\Server to remove exception output
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 17:51:51 +02:00
Robin Appelman
fafc93b08a test: fix ShareControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:51:51 +02:00
Robin Appelman
c17d78c663 test: fix trashbin StorageTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:51:51 +02:00
Robin Appelman
3f0c63eff3 test: fix ShareAPIControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:51:51 +02:00
Robin Appelman
ebbf74fded test: fix service overwrite in PartFileInRootUploadTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:45:37 +02:00
Robin Appelman
f38d70404d test: put parent items into cache in tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:45:28 +02:00
Robin Appelman
79e7c48144 fix: ensure parent folder exists when writing a file to object storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:53 +02:00
Robin Appelman
6c9bef6857 test: fix incorrect ltrim usage in test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:49 +02:00
Robin Appelman
671170a269 fix: verify that parent exists in cache when inserting
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:45 +02:00
Robin Appelman
48cd657d26 fix: fix object store id for test object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:41 +02:00
Robin Appelman
6683711516 fix: cleanup objectstore file_put_content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:34 +02:00
Robin Appelman
f71dce6c9e fix: create intermediate directories for objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:30 +02:00
Robin Appelman
68e82ba0e5 fix: get source file before moving the cache item in objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 17:44:27 +02:00
Louis Chemineau
88aa7683d9 fix: Drop unnecessary exit
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-19 17:44:23 +02:00
Nextcloud bot
c2170cf74e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-19 00:20:55 +00:00
Nextcloud bot
96658d2506
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 09:28:16 +00:00
Nextcloud bot
28aaed3c21
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 00:22:20 +00:00
Richard Steinmetz
14d75f0632
Merge pull request #48119 from nextcloud/backport/48090/stable29
[stable29] fix(settings): disable Discover when appstore is disabled
2024-09-17 23:15:33 +02:00
Grigorii K. Shartsev
f8ce148cb9 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 18:09:30 +02:00
Anna
1ab34417db
Merge pull request #48096 from nextcloud/backport/47924/stable29
[stable29] 🥅 — Catch MaxInstancesExceededException on calendar events
2024-09-17 12:18:59 +02:00
Grigorii K. Shartsev
4a6831e0d1 fix(settings): disable Discover when appstore is disabled
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 08:32:37 +00:00
John Molakvoæ
b937093d25
Merge pull request #48104 from nextcloud/backport/46218/stable29 2024-09-17 10:14:08 +02:00
Nextcloud bot
b5abfde604
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 00:20:58 +00:00
Robin Appelman
0a20c69c85
Merge pull request #48100 from nextcloud/backport/46140/stable29
[stable29] fix(config): Add missing handling for `envCache` in `getKeys()`
2024-09-16 18:54:23 +02:00
Kate
1c7b5c83ff
Merge pull request #48087 from nextcloud/backport/48008/stable29 2024-09-16 17:53:16 +02:00
John Molakvoæ
790ef0ea17 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:18:02 +00:00
Louis Chemineau
41111e5f0a 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:18:02 +00:00
Josh Richards
75555d34b1 fix: switch from explode to substr (faster)
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 14:57:26 +00:00
Josh Richards
80bbffa78a fix(config): add envCache tests for getKeys()
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-16 14:57:26 +00:00
Josh Richards
4b9a74658d 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 14:57:26 +00:00
Luc Didry
5aa5ac4701 fix(dav): catch MaxInstancesExceededException on calendar events
Signed-off-by: Luc Didry <luc@didry.org>
2024-09-16 14:34:27 +00:00
provokateurin
bbb867f541 fix(Entity): Fix magic setter call for custom strong typed setters
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-16 13:52:18 +00:00
Kate
440d8ea4b3
Merge pull request #48070 from nextcloud/backport/48044/stable29 2024-09-16 14:40:45 +02:00
Kate
f2f60c20f9
Merge pull request #48067 from nextcloud/backport/48031/stable29 2024-09-16 14:29:41 +02:00
Louis
bac653aee7
Merge pull request #48001 from nextcloud/backport/47920/stable29
[stable29] feat: Reset route if neither the Viewer of the Sidebar is open
2024-09-16 14:21:20 +02:00
Kate
7d440fa953
Merge pull request #48068 from nextcloud/backport/48030/stable29 2024-09-16 12:49:37 +02:00
Louis Chemineau
08c35a50b5
chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 11:59:34 +02:00
Louis Chemineau
936f34d3a5
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:59:34 +02:00
John Molakvoæ
bbe3b99254
Merge pull request #47983 from nextcloud/backport/47928/stable29 2024-09-16 11:20:00 +02:00
Anna Larch
0c4287312d test: cast node name and data to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:10:52 +00:00
Anna Larch
4a6ed02a9a fix(dav): cast parameters to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:09:35 +00:00
Anna Larch
c49da2186a fix(filesreport): cast fileId to integer
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-16 09:08:57 +00:00
Kate
4ada11453f
Merge pull request #48057 from nextcloud/automated/noid/stable29-update-psalm-baseline 2024-09-16 11:06:09 +02:00
John Molakvoæ
408c870f61
Merge pull request #47862 from nextcloud/backport/47860/stable29 2024-09-16 11:01:28 +02:00