Commit graph

23256 commits

Author SHA1 Message Date
Joas Schilling
b2b4f34d96
Merge pull request #44073 from nextcloud/fix/provide-correct-icon
fix(AppManager): Allow to query dark **or** bright icon
2024-03-08 17:07:06 +01:00
Maxence Lange
170f93ad72
Merge pull request #43425 from nextcloud/enh/noid/no-insert-statement-if-we-know-it-exists
enh(appconfig): only try to insert new value if in doubt
2024-03-08 13:58:39 -01:00
Maxence Lange
467c84ec53 feat(files): copy live photos
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-08 13:09:22 -01:00
Julius Härtl
9522ef8497
Merge pull request #43778 from nextcloud/fix/edge-csp
Fix CSP for script-src with nonce on edge
2024-03-08 14:51:53 +01:00
Maxence Lange
b0c79636ba fix(appconfig): no insert statement if data already exist
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-08 11:40:11 -01:00
Robin Appelman
47ebc1119a
Merge pull request #44064 from nextcloud/deprecate-getNumberOfUnreadCommentsForFolder
refactor: depricate getNumberOfUnreadCommentsForFolder and redo it's …
2024-03-08 12:28:58 +01:00
Julius Härtl
78ba1b0712
fix: Allow nonce in csp header also if no other reasons are given
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-08 12:11:46 +01:00
Julius Härtl
02d6d3f5b1
fix: Add edge as supported user agent for CSPv3 nonces
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-08 12:11:46 +01:00
Julius Härtl
b8c5bff673
fix: Adjust user agent pattern for Edge
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-08 12:11:46 +01:00
Ferdinand Thiessen
c8d7a5acaa fix(AppManager): Allow to query dark **or** bright icon
The navigation needs the bright icon, while the notifications and activity need a dark icon.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-08 09:51:03 +01:00
Julius Härtl
972a611288
fix: Avoid clear cache with prefix
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-08 09:08:43 +01:00
Nextcloud bot
27b09ce00a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-08 00:19:17 +00:00
John Molakvoæ
7dd22b0c83
Merge pull request #43982 from nextcloud/fixMemExaust
fix(filecache): Move from array_merge to avoid memory exhaustion on large scans
2024-03-07 22:53:08 +01:00
Ferdinand Thiessen
876e2d6198
feat(AppManager): Provide getAppIcon function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 22:40:31 +01:00
Robin Appelman
eb5832b8fa refactor: depricate getNumberOfUnreadCommentsForFolder and redo it's implementation based on getNumberOfUnreadCommentsForObjects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-07 19:19:07 +01:00
John Molakvoæ
7b7fc307b6
Merge pull request #44061 from nextcloud/revert-32163-file-cache-gc-no-full-setup
Revert "don't perform an explicit setup when using the file cache"
2024-03-07 15:52:41 +01:00
Joas Schilling
951c330d39
Revert "don't perform an explicit setup when using the file cache" 2024-03-07 14:38:02 +01:00
Côme Chilliet
82fbab4632 fix: Swap method and uri parameter in request to match upstream order
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-07 14:06:08 +01:00
Ferdinand Thiessen
01d5af66be feat(IClient): Add request function to do arbitrary HTTP requests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 14:06:08 +01:00
John Molakvoæ
b7088e7071
Merge pull request #32163 from nextcloud/file-cache-gc-no-full-setup
don't perform an explicit setup when using the file cache
2024-03-07 11:09:19 +01:00
Côme Chilliet
7033967115
Merge pull request #43996 from nextcloud/feat/store-last-known-quota-usage
feat: Store last known quota usage for a user
2024-03-07 10:29:04 +01:00
Robin Appelman
efcb16f859
Merge pull request #43086 from nextcloud/s3-internal-multipart-copy-disable
disable the internal s3sdk multi part copy logic
2024-03-07 10:13:00 +01:00
Joas Schilling
718c845434
Merge pull request #43114 from nextcloud/bugfix/noid/automatically-encrypt-sensitive-values
feat(appconfig): Automatically store "sensitive" appconfigs encrypted in the database
2024-03-07 09:57:21 +01:00
Ferdinand Thiessen
8d58356dc1
Merge pull request #43917 from nextcloud/fix/jsresourcelocator-apppath
fix(JSResourceLocator): Consider configured app roots for files
2024-03-07 09:01:44 +01:00
Joas Schilling
3a67080a96
fix(appconfig): Make sure sensitive values stay sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-06 22:58:59 +01:00
Joas Schilling
24607a37d8
feat(appconfig): Automatically store "sensitive" appconfigs encrypted in the database
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-06 22:27:14 +01:00
Robin Appelman
abfbe67ec9
Merge pull request #42638 from nextcloud/shares-in-folder-storage
also filter by storage when getting shares in folder
2024-03-06 19:08:41 +01:00
John Molakvoæ
dfae067bbc
Merge pull request #43437 from nextcloud/cleanup-mount-by-id-duplication
use lazy user in UserMountCache for getting user for cached mount instead of duplicating logic
2024-03-06 18:57:54 +01:00
Côme Chilliet
29a648ab73
fix: Avoid calling setUserValue on null user id
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-06 18:36:08 +01:00
Robin Appelman
702c679cfa
Merge pull request #44000 from nextcloud/more-sharing-cleaup
cleanup: remove long depricated share code
2024-03-06 18:02:03 +01:00
Robin Appelman
4fba4cd14c fix: fix user folder init
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 17:52:24 +01:00
Robin Appelman
af466a0d3a fix: ensure user home mounts is registered
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 17:52:24 +01:00
Robin Appelman
c68fe20ac4 perf: don't perform an explicit setup when using the file cache
the automated partial setup does it's job already

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 17:52:23 +01:00
Côme Chilliet
28c3e40f35
Merge pull request #44015 from nextcloud/fix/remove-oc-json-encode-usages
fix: Remove calls to deprecated OC_JSON::encode
2024-03-06 17:14:54 +01:00
Robin Appelman
9bb3d873fb
Merge pull request #44029 from nextcloud/share-manager-build
refactor: make share manager buildable
2024-03-06 17:14:03 +01:00
Robin Appelman
bfeb97c54a fix: also filter by storage when getting shares in folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 15:33:05 +01:00
Robin Appelman
c54f7bd761 fix: disable the internal s3sdk multi part copy logic
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 15:32:14 +01:00
Robin Appelman
a598de627c chore: remove long depricated share code
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 15:24:48 +01:00
Robin Appelman
339702e376 refactor: make share manager buildable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 14:33:51 +01:00
Côme Chilliet
80191906b3 feat: Store last known quota usage for a user
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-06 12:15:03 +01:00
Jonas
8e8d26d690
chore(IURLGenerater): Document changes to URL_REGEX_NO_MODIFIERS
Signed-off-by: Jonas <jonas@freesources.org>
2024-03-06 12:11:48 +01:00
Jonas
782f808228
Merge pull request #43997 from nextcloud/fix/url_regex
fix: Make URL pattern regexes match localhost and URLs with ports
2024-03-06 11:29:28 +01:00
Robin Appelman
51019fda7a fix: clearify logic around getMountsForFileId filtering
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 10:54:00 +01:00
Robin Appelman
e33b32095e Revert "Filter mounts for file id before trying to get user information"
This reverts commit 1e2cf820c8.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 10:54:00 +01:00
Robin Appelman
9ea3f4ab8f perf: use lazy user in UserMountCache for getting user for cached mount
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 10:53:55 +01:00
Côme Chilliet
ead574ba7f fix: Remove calls to deprecated OC_JSON::encode
to_string was useless because L10N string is json serializable now and
serialize to string correctly. Removed all external calls to
OC_JSON::encode to ease removing the rest of it later.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-06 10:42:21 +01:00
Jonas
02694411a8 fix: Make URL pattern regexes match localhost and URLs with ports
E.g. the file reference widget should work with links to Nextcloud on
localhost.

This adjusts the URL pattern regexes in server to be in sync with the
ones in `@nextcloud/vue`. See nextcloud-libraries/nextcloud-vue#5176
for further details.

Signed-off-by: Jonas <jonas@freesources.org>
2024-03-06 09:59:42 +01:00
Côme Chilliet
f2c36a55fe
fix: Remove unused endpoint from base.php
It’s not called anymore, and app loading cannot break boot anymore

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-06 00:05:15 +01:00
Robin Appelman
fd4ca13867
Merge pull request #43471 from nextcloud/cache-path-by-id
Cache path by id
2024-03-05 17:26:25 +01:00
Julius Härtl
ad8cb2ce7f
Merge pull request #43855 from nextcloud/feat/team-provider
Implement team provider api
2024-03-05 11:57:07 +01:00