Commit Graph

23519 Commits

Author SHA1 Message Date
Côme Chilliet 0ea2913ac3
fix: Log exceptions thrown by setup checks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-25 09:36:12 +01:00
Nextcloud bot 31794adb26
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-25 00:19:59 +00:00
Nextcloud bot 608c82b88b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-24 00:20:00 +00:00
John Molakvoæ fb97d551a1
Merge pull request #44357 from nextcloud/wrapper-instanceof-resiliant 2024-03-22 20:43:34 +01:00
Ferdinand Thiessen c35e237307
Merge pull request #44400 from nextcloud/bugfix/noid/allow-debug-loglevel-again
fix(logging): Restore the option to log with debug level
2024-03-22 16:55:38 +01:00
Ferdinand Thiessen 63f19661d2
fix(AppStore\Fetcher): Ensure `get` returns an array
When fetch fails and the `data` prop contains null (e.g. `json_decode` failed),
then we should return an empty array instead of null.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-22 15:01:16 +01:00
Ferdinand Thiessen 03dbbc90be
fix(JSRecourceLocator): Add missing slash after server root
The `OC::$SERVERROOT` is always returned without a trailing slash, so we need to add a slash between server root and apps directory.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-22 14:51:27 +01:00
Joas Schilling 497528e45e
fix(logging): Restore the option to log with debug level
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-22 01:05:26 +01:00
Adam Serbinski 34ca6bd46a ShareByMailProvider: getAccessList: recommended style changes
Signed-off-by: Adam Serbinski <adam@serbinski.com>
2024-03-21 18:25:31 -04:00
Adam Serbinski 9c528d412c ShareByMailProvider: getAccessList: add token to returned array
This allows the share URI to be regenerated.

Signed-off-by: Adam Serbinski <adam@serbinski.com>
2024-03-21 18:25:31 -04:00
Adam Serbinski 26ae5e6dfb ShareByMailProvider: getAccessList: return full list of recipients
Previously was returning only boolean true if the Node was shared
by email, or false if not. Now provides an array containing the
list of email share recipients.

Signed-off-by: Adam Serbinski <adam@serbinski.com>
2024-03-21 18:25:31 -04:00
Ferdinand Thiessen a35edaa1b1
Merge pull request #44252 from nextcloud/enh/s3-connectivity
feat(ObjectStore): Make the S3 `concurrency` option configurable
2024-03-21 19:01:15 +01:00
Pytal 45efd28db7
Merge pull request #44368 from nextcloud/feat/new-file-menu-icon-svg
feat: Add new mdi New file menu icons
2024-03-21 10:45:50 -07:00
Ferdinand Thiessen 32dee2f84a
feat(ObjectStore): Make S3 MultipartUpload concurrency configurable
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-21 16:25:49 +01:00
Ferdinand Thiessen 69c5e8ebde
fix(ObjectStore): Use common S3 trait so config and connection trait members are in sync
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-21 16:25:42 +01:00
Arthur Schiwon 42180a2cd0
Merge pull request #44295 from nextcloud/fix/direct-edit-incognito
Allow injecting the user temporarily for direct editing
2024-03-21 13:54:34 +01:00
Christopher Ng 66e77d41c8 feat: Add iconSvgInline to TemplateFileCreator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-20 15:50:52 -07:00
Robin Appelman d5fa2ec7c3
fix: log error when default getWrapperStorage would return null
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-20 14:26:01 +01:00
Stephan Orbaugh 6fa89c85b0
Merge pull request #44339 from nextcloud/fix/noid/use-share-owner
fix(share): use share owner to get ownership
2024-03-20 09:06:21 +01:00
Maxence Lange bf71bd1305 fix(share): use share owner to confirm reshare
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-20 00:31:09 -01:00
Christoph Wurst b8868e2652
fix(config): Make sure user keys are strings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-19 18:27:53 +01:00
John Molakvoæ 323acaf207
Merge pull request #44316 from nextcloud/fix/resolveGroupShares 2024-03-19 16:15:55 +01:00
Julius Härtl e330efe5a0
fix: Implement option to temporarily set the user session
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-19 13:48:23 +01:00
skjnldsv c0e7ea55df fix(sharing): resolveGroupShares setPermissions on null
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-03-19 13:09:10 +01:00
Julius Härtl 20dd80d2fd
fix: Do not use incognito mode for direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-19 11:30:18 +01:00
Ferdinand Thiessen bae133bf4f fix(AppDiscoverFetcher): Do not remove entries as expired that have no expiry date
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-19 09:36:06 +01:00
Joas Schilling 6101abbb2d
Merge pull request #44154 from nextcloud/enh/appapi-rate-limit-bypass
Added rate limit bypass for app_api requests
2024-03-19 09:32:57 +01:00
Nextcloud bot b083a8cfd7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-19 00:19:50 +00:00
Florian Klinger f3a4abd98c
fix: add check for app_api_system session flag to bypass rate limit
Signed-off-by: Florian Klinger <florian.klinger@nextcloud.com>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-03-18 20:09:15 +02:00
Robin Appelman afb589a69b
fix: ensure nested mount points are handled in the correct order
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-18 18:13:31 +01:00
Côme Chilliet a0a957c961
fix(setupcheck): Catch Throwables from setup checks and show them to the admin
This avoids letting a buggy setup check from an application crash the
 setupcheck system. The throwable is shown instead.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:56:04 +01:00
Ferdinand Thiessen e838aa9514
fix(Logger): Warn on invalid `loglevel` configuration option
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-17 20:20:43 +01:00
skjnldsv a47a70790c fix: getLogLevel return type
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-03-17 14:09:13 +01:00
Nextcloud bot 8b4864fcad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-17 00:19:38 +00:00
John Molakvoæ 2954d52ac8
Merge pull request #44189 from nextcloud/artonge/fix/do_not_throw_exception_if_etag_is_not_set 2024-03-16 14:09:57 +01:00
John Molakvoæ 1ecf3b3840
Merge pull request #44004 from nextcloud/share-resolve-group-perf 2024-03-16 14:05:36 +01:00
John Molakvoæ e2f08d9748
Merge pull request #43534 from nextcloud/enh/noid/log-mnor-syntax-update 2024-03-16 13:21:47 +01:00
John Molakvoæ 836c882b8c
Merge pull request #43446 from jithin-space/add-patch-request-to-http-client-interface 2024-03-16 13:21:13 +01:00
Robin Appelman 0e7497296f perf: improve performance of resolving group shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-16 13:20:08 +01:00
Nextcloud bot 97adb26cd9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-16 00:19:23 +00:00
John Molakvoæ 77f47ed68f
Merge pull request #43862 from nextcloud/enh/cancel-stt-scheduled-transcription 2024-03-15 17:53:30 +01:00
Anupam Kumar 1111c3fafb
Merge pull request #41684 from nextcloud/feat/rst-mimetype
feat(mimetypes): Add mimetype for ReStructuredText
2024-03-15 22:19:43 +05:30
John Molakvoæ eb61f6b065
Merge pull request #40117 from summersab/refactor/OC-Server-getCommentsManager 2024-03-15 17:03:54 +01:00
John Molakvoæ 27886aa184
Merge pull request #40125 from summersab/refactor/OC-Server-getThemingDefaults 2024-03-15 17:03:30 +01:00
Corentin Damman 0fa9f3049f feat(files_sharing): allow to specify allowed groups to share instead of excluded groups
Relates to #3387

Signed-off-by: Corentin Damman <c.damman@intopix.com>
2024-03-15 16:52:59 +01:00
John Molakvoæ f341c218c5
Merge pull request #40115 from summersab/refactor/OC-Server-getCapabilitiesManager 2024-03-15 16:06:12 +01:00
John Molakvoæ 5a1ed2d9ea
Merge pull request #40131 from summersab/refactor/OC-Server-getShareManager 2024-03-15 16:05:59 +01:00
Anupam Kumar 8b0d49327a
feat(mimetypes): Add mimetype for ReStructuredText
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-03-15 20:23:27 +05:30
John Molakvoæ 7ecd4747cf
Merge branch 'master' into refactor/OC-Server-getCloudFederationFactory
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-03-15 15:33:06 +01:00
John Molakvoæ f5e3fea285
Merge pull request #40138 from summersab/refactor/OC-Server-getHasher 2024-03-15 15:08:32 +01:00
John Molakvoæ 27defd7e51
Merge pull request #40127 from summersab/refactor/OC-Server-getTwoFactorAuthManager 2024-03-15 15:05:33 +01:00
John Molakvoæ 7ea5044659
Merge pull request #40136 from summersab/refactor/OC-Server-getGetRedisFactory 2024-03-15 14:54:36 +01:00
skjnldsv 2c8d410f67 fix: php-cs
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-03-15 14:52:55 +01:00
John Molakvoæ 6b4d918dec
Merge pull request #40123 from summersab/refactor/OC-Server-getRootFolder 2024-03-15 14:49:59 +01:00
John Molakvoæ f2556901f9
fix: php-cs `CapabilitiesManager`
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-03-15 14:45:51 +01:00
John Molakvoæ 490533188b
Merge pull request #40143 from summersab/refactor/OC-Server-getLockdownManager 2024-03-15 14:44:23 +01:00
John Molakvoæ f29fc47587
Merge pull request #40142 from summersab/refactor/OC-Server-getLazyRootFolder 2024-03-15 14:44:15 +01:00
Andrew Summers 1a5ec3dec9 Refactor `OC\Server::getCloudFederationFactory`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-03-15 13:14:30 +01:00
Andrew Summers 6910832170 Refactor `OC\Server::getCommentsManager`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-03-15 13:14:06 +01:00
Andrew Summers 0047789580 Refactor `OC\Server::getTwoFactorAuthManager`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-03-15 13:12:51 +01:00
John Molakvoæ bbb7955cad
Merge branch 'master' into refactor/OC-Server-getThemingDefaults 2024-03-15 13:12:32 +01:00
Andrew Summers c0f12d7691 Refactor `OC\Server::getGetRedisFactory`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-03-15 13:11:40 +01:00
Andrew Summers fe5eead3ac Refactor `OC\Server::getLazyRootFolder`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-03-15 13:11:37 +01:00
Andrew Summers 45eb4a839d Refactor `OC\Server::getLockingProvider`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-03-15 13:11:33 +01:00
Andrew Summers b45c3a096e Refactor `OC\Server::getCapabilitiesManager`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-03-15 13:05:49 +01:00
Andrew Summers cd585885b8 Refactor `OC\Server::getLockdownManager`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-03-15 13:05:05 +01:00
Andrew Summers f9ce6bfdff Refactor `OC\Server::getHasher`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-03-15 13:04:27 +01:00
John Molakvoæ 9338ef36de
Merge branch 'master' into refactor/OC-Server-getShareManager
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-03-15 13:03:34 +01:00
John Molakvoæ 3f560ae940
Merge branch 'master' into refactor/OC-Server-getRootFolder
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-03-15 13:01:10 +01:00
Julien Veyssier 76925f15d6
feat(stt): add ability to cancel a scheduled transcription
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-03-15 12:52:17 +01:00
Nextcloud bot df1cd1ba7e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-15 00:29:22 +00:00
Benjamin Gaussorgues 74f996bbcb
Merge pull request #44129 from nextcloud/feat/discover-apps-section 2024-03-14 21:09:30 +01:00
Benjamin Gaussorgues d15e45c2ff
Merge pull request #36252 from nextcloud/modernize-mime-typeloader 2024-03-14 20:51:17 +01:00
Ferdinand Thiessen df502c114d
feat(settings): Cache app discover images to ensure privacy of users
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:25 +01:00
Ferdinand Thiessen f4efb762ec
feat: Allow to fetch app discover json and provide frontend API route
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-14 20:45:24 +01:00
Thomas Citharel ffeb797ecc
refactor(mimeloader): modernize MimeTypeLoader
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-03-14 17:24:36 +01:00
Benjamin Gaussorgues 5158bbf09b
fix: avoid scanning a non existing directory
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-03-14 16:26:52 +01:00
John Molakvoæ f316edb9ff
Merge pull request #43652 from hopleus/bugfix/fixed-get-filename-in-fileinfo 2024-03-14 15:50:52 +01:00
Louis Chemineau 8205de75c7
fix(files): Do not throw an exception if the etag is not set in metadata
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-14 11:18:36 +01:00
Arthur Schiwon 10593d1847
Merge pull request #44178 from nextcloud/fix/noid/nav-init-add
fix(Navigation): ensure NavManager is inited when adding an entry
2024-03-14 09:26:20 +01:00
jithin-space 987b984688 added @since 29.0.0 on comment 2024-03-14 12:52:56 +05:30
Nextcloud bot dfccc12b16
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-14 00:20:39 +00:00
Arthur Schiwon 1f2d267443
fix(Navigation): ensure NavManager is inited when adding an entry
otherwise custom order cannot be applied

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-03-13 16:05:14 +01:00
Maxence Lange 519e434573 fix(updatenotification): spread the use of new appconfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-13 02:22:11 -01:00
sorbaugh 82a17248f0 feat: Adding PublicSectorBundle
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-12 10:26:50 -07:00
Andrey Borysenko 865fd3ba08
fix: add missing copyrights and strict types
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-03-12 18:14:40 +02:00
hopleus a25c70c9b0
Refactoring getName function
Signed-off-by: hopleus <hopleus@gmail.com>
2024-03-12 17:24:24 +03:00
jld3103 4ac2375ca2
feat: Add declarative settings
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-03-12 13:56:54 +02:00
Maxence Lange 618aaddff2 fix(core): remove deprecated code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-12 10:19:20 -01:00
Maxence Lange 13412333e6 fix(core): minor syntax update
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-12 10:19:20 -01:00
Eduardo Morales 5c6be88d40 chore(assets): build autoloader
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-03-11 15:57:12 -05:00
Arthur Schiwon b32c0f7da6
Merge pull request #39990 from nextcloud/recursive-share
add some recrusive detection/prevention
2024-03-11 19:30:50 +01:00
Maxence Lange 007b924379
Merge pull request #43907 from nextcloud/enh/noid/switching-to-lazy-config-2
feat(appconfig): storing integrity check result as a lazy config value
2024-03-11 15:15:45 -01:00
Maxence Lange f4beb95cdc
Merge pull request #42707 from nextcloud/enh/noid/store-file-etag-at-metadata-creation
enh(metadata): store current file etag
2024-03-11 12:46:29 -01:00
Maxence Lange b0bfe3e2cd feat(appconfig): repair step to migrate lazy config values
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
f

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-11 10:59:43 -01:00
Maxence Lange 0a79884abf feat(appconfig): switching integrity check to lazy config values
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-11 10:59:43 -01:00
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
Robin Appelman ea8a774a0a fix: add some recrusive detection/prevention
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-08 14:20:14 +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
Maxence Lange 3fa5e598a8 feat(metadata): get deprecated status using file etag
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-07 12:49:06 -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
Robin Appelman 56c75aa7dc
Merge pull request #43975 from nextcloud/search-optimize-fixes
Handle more cases in the MergeDistributive search query optimizer
2024-03-05 10:26:40 +01:00
Julius Härtl c7813bfdaf
feat: Implement team provider api
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-05 08:13:58 +01:00
Nextcloud bot 80e4193d4f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-05 00:19:41 +00:00
Git'Fellow 575159b819
fix(filecache): Move from array_merge to avoid memory exhaustion
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-03-04 18:13:45 +01:00
Robin Appelman 1ae15967fc
Merge pull request #43791 from nextcloud/share-api-cleanup
Share api cleanup
2024-03-04 15:46:09 +01:00
Julius Härtl 646d5adcc5
Merge pull request #43972 from nextcloud/fix/fetch-custom-appstore
fix: Fetch custom app store url without internet connection
2024-03-04 15:00:26 +01:00
Robin Appelman 6fb447676e fix: handle cases where non-binary operators are mixed in for optimizing search queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 14:25:52 +01:00
Robin Appelman 3971313d4c fix: don't short circuit query optimizer
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 14:25:52 +01:00
Robin Appelman a9ee278ec6 perf: cache path by id to speedup getting nodes by id
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 13:57:31 +01:00
Robin Appelman e7a7b4a401 perf: switch places that always use the first getById result to getFirstNodeById
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 13:57:31 +01:00
hopleus dc77f4039e
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-03-04 15:48:00 +03:00
Julius Härtl e13fb468cf
fix: Fetch custom app store url without internet connection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-04 12:47:14 +01:00
Robin Appelman 4d110c1dd6 feat: add interface to get only a single node by id instead of all nodes for the id
this should be enough in most(?) cases and makes efficient implementation and caching easier

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 12:26:30 +01:00
Ferdinand Thiessen 3a036a26f5
fix(IUrlGenerator): Add `throws` documentation for `imagePath` function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-02 21:33:50 +01:00
Nextcloud bot 5748c8cf63
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-02 00:19:04 +00:00
John Molakvoæ e0705f1015
Merge pull request #43057 from nextcloud/feat/cache-authtoken 2024-03-01 14:47:43 +01:00
Nextcloud bot dfb6b52cde
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-01 00:38:32 +00:00
Ferdinand Thiessen 51ea3de8a7
fix(JSResourceLocator): Consider configured app roots for files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-29 17:27:20 +01:00
hopleus fefa3382e7
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-29 16:16:57 +03:00
John Molakvoæ fa0e3d66ba
Merge pull request #42542 from nextcloud/aac-mimetype 2024-02-29 12:31:58 +01:00
John Molakvoæ 8df55ef5aa
Merge pull request #29988 from nextcloud/enh/hide-overwrites-from-disabled-apps-list 2024-02-29 11:47:50 +01:00
John Molakvoæ 747c391953
Merge pull request #30957 from rotdrop/bugfix/collaboration-mail-plugin-fix-array-access-resulting-in-type-error 2024-02-29 08:40:27 +01:00
Nextcloud bot ff9c3b0ee2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-29 00:20:21 +00:00
Ferdinand Thiessen 1017f4f34a fix: Also expose forbidden filename character in the capabilities
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-28 22:19:25 +01:00
Ferdinand Thiessen 27642d3e6d fix: Enforce forbidden filename characters on backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-28 22:19:25 +01:00
Benjamin Gaussorgues d1189f923c
feat(perf): add cache for authtoken lookup
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-02-28 15:04:04 +01:00
Joas Schilling ecb111cec7
fix(federation): Allow cloud federation providers to handle unsuccessful return codes
Otherwise they are put to retry and will immediately trigger bruteforce protection infinitely

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-28 10:20:55 +01:00
Joas Schilling 6f95febe17
Merge pull request #43646 from nextcloud/feat/noid/occ-keys-test-command
Add user:keys:verify command
2024-02-28 09:20:04 +01:00
Greta b2751b57f9
Merge pull request #43209 from nextcloud/enh/edit-indices
feat(occ): add possibility to edit indices
2024-02-28 09:05:23 +01:00
hopleus 2c79492f68
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-28 07:47:43 +03:00
Nextcloud bot 7560415105
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-28 00:28:25 +00:00
Marcel Müller e23e89f384 feat(occ): Add user:keys:test command
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-02-27 22:43:08 +01:00
MichaIng 7b137ddd75 feat(updater): hide overwrites from disabled apps list on upgrade
If an incompatible app is enabled manually, it is added to the "app_install_overwrite" array in config.php. Nextcloud upgrades won't disable any app in this array, but they were still shown on the upgrade page and logs as being disabled.

This commit assures that only apps which are really disabled, i.e. which are not in the "app_install_overwrite" array, are shown and logged as disabled during upgrades.

Signed-off-by: MichaIng <micha@dietpi.com>
2024-02-27 20:19:56 +01:00
Claus-Justus Heine 493333036b fix(collaboration): collaboration MailPlugin: Protect access to a potentially missing array component by ??.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2024-02-27 17:50:51 +01:00
Joas Schilling e5b0c06b24
feat(comments): Allow mentions of federated users, groups and teams in the future
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-27 17:11:23 +01:00
Unpublished 4af1c5cb33 Add .aac mime type mapping
Signed-off-by: Unpublished <Unpublished@users.noreply.github.com>
2024-02-27 14:44:23 +01:00
Robin Appelman 96942e436b
fix: update "move into share" check to share manager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-27 14:15:23 +01:00
Johannes Merkel 06d076410a
feat(occ): add possibility to edit indices
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-02-27 11:03:08 +01:00
hopleus bc4f5c19f2
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-27 10:38:18 +03:00
Nextcloud bot 6ee590b71d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-27 00:19:42 +00:00
Robin Appelman d0ebe36906
fix: remove old test-only methods
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-26 18:46:35 +01:00
hopleus 6fd56a955c
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-26 16:49:21 +03:00
Benjamin Gaussorgues 3f269782aa
Merge pull request #43428 from nextcloud/feat/share-expiration-with-time 2024-02-26 10:07:41 +01:00
Julius Härtl 7e0899aaaf
fix: Avoid unitialized access of fts manager properties
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-26 07:57:13 +01:00
hopleus f2f2a64ad7
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 2024-02-26 09:37:24 +03:00
Nextcloud bot 34c9bfc767
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-25 00:20:35 +00:00
John Molakvoæ b080113fdd
Merge branch 'master' into fix/42480/user-admin-not-admin
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-02-24 19:31:22 +01:00
Richard Steinmetz f2e6abadbf
feat: theme error page
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-02-24 18:28:28 +01:00
John Molakvoæ 1d8d43f159
Merge pull request #43787 from nextcloud/fix/opendir-temporary-failure 2024-02-24 17:38:55 +01:00
John Molakvoæ d6df5b5a70
Merge pull request #41910 from nextcloud/debug-force-full-fs-setup 2024-02-24 17:25:29 +01:00
Robin Appelman ac7f3ee985 add a debug option to force a full filesystem setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-24 11:55:20 +01:00
Robin Kluth 414f8f1f2d Include `hostName:$port` for Host access violation message as well
Signed-off-by: Robin Kluth <Commifreak@users.noreply.github.com>
2024-02-24 11:34:34 +01:00