Commit Graph

23593 Commits (master)

Author SHA1 Message Date
Louis Chemineau 751795999a
feat(files)): Add retry logic to cover deadlock situations when moving many files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 months ago
Benjamin Gaussorgues b304dc78f8
Merge pull request #44470 from nextcloud/fix/compatibility-replica-splitting 2 months ago
Benjamin Gaussorgues f8d1487dcd
Merge pull request #44475 from nextcloud/fix/disabled-ipv6 2 months ago
Ferdinand Thiessen 0cb691d07e
Merge pull request #44412 from nextcloud/fix/add-csp-nonce-by-default
fix(CSP): Add CSP nonce by default and convert `browserSupportsCspV3` to blacklist
2 months ago
Ferdinand Thiessen 5a513c924f
fix(CSP): Add CSP nonce by default and convert `browserSupportsCspV3` to blocklist
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months ago
Benjamin Gaussorgues 42f4e6ac34
Merge pull request #42931 from hrenard/master 2 months ago
Richard Steinmetz 4177e8a617
Merge pull request #44474 from nextcloud/fix/preview/webp-preview-format
fix(preview): webp preview format
2 months ago
Ferdinand Thiessen 7880086de8
fix(S3): Adjust typing for 32bit compatibility
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months ago
Benjamin Gaussorgues 7e4be1fcfd
fix(dns): detect disabled IPv6 support in DNS pinning
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2 months ago
Benjamin Gaussorgues 1a55084930
Merge pull request #44270 from nextcloud/fix/catch-setupcheck-trowables 2 months ago
Hugo Renard e389e63974 fix: always add user to group cache
When there is no user in a group, and we add one, it's not added to the group cache. So consecutive call of addUser() and getUsers() is inconsistent.
Furthermore, the user cache is never null, so this check is unesserary.

Signed-off-by: Hugo Renard <hugo.renard@protonmail.com>
2 months ago
Richard Steinmetz e9c0d0e67f
fix(preview): webp preview format
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2 months ago
Julius Härtl 2fdb9184fa
fix: Allow using replica config with split databases
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 months ago
Nextcloud bot 992dd3977e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months ago
Varun Patil 024f689c97
Merge pull request #44230 from nextcloud/varun/config-read
config: fix correctness issues in reading
2 months ago
Ferdinand Thiessen 2525e73caa fix(DB): Sanitize `host` parameter for postgres databases when IPv6 address is passed
Doctrine is using `pg_connect` with the `host` parameter, this does not allow IPv6 addresses in URI notation.
So we need to extract the IP address and pass it directly

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months ago
Varun Patil 158558763d fix(config): correctness issues in reading
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2 months ago
Robin Appelman ae19e949ed
Merge pull request #44458 from nextcloud/fileacces-interface
feat: add interface for lower level filecache acess without having to do direct db queries
2 months ago
Joas Schilling ce059fe078
Merge pull request #44453 from nextcloud/bugfix/noid/fix-cloud-id-generation-with-http
fix(federation): Fix creating local cloudIds with http:// protocol
2 months ago
Robin Appelman 1d9354a81e
feat: add interface for lower level filecache acess without having to do direct db queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
Joas Schilling 7c6934dea9
fix(typo): Fix typo in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 months ago
Joas Schilling dababa5138
fix(federation): Fix creating local cloudIds with http:// protocol
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 months ago
Andy Scherzinger 46906b7d69
Merge pull request #32631 from nextcloud/feature/32629/getAccessList-share-by-email-recipients
Get access list share by email recipients
2 months ago
Ferdinand Thiessen c352f0198b
Merge pull request #44410 from nextcloud/fix/fetcher-on-null
fix(AppStore\Fetcher): Ensure `get` returns an array
2 months ago
Côme Chilliet 0ea2913ac3
fix: Log exceptions thrown by setup checks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 months ago
Nextcloud bot 31794adb26
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months ago
Nextcloud bot 608c82b88b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months ago
John Molakvoæ fb97d551a1
Merge pull request #44357 from nextcloud/wrapper-instanceof-resiliant 2 months ago
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
2 months ago
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>
2 months ago
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>
2 months ago
Joas Schilling 497528e45e
fix(logging): Restore the option to log with debug level
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 months ago
Adam Serbinski 34ca6bd46a ShareByMailProvider: getAccessList: recommended style changes
Signed-off-by: Adam Serbinski <adam@serbinski.com>
2 months ago
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>
2 months ago
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>
2 months ago
Ferdinand Thiessen a35edaa1b1
Merge pull request #44252 from nextcloud/enh/s3-connectivity
feat(ObjectStore): Make the S3 `concurrency` option configurable
2 months ago
Pytal 45efd28db7
Merge pull request #44368 from nextcloud/feat/new-file-menu-icon-svg
feat: Add new mdi New file menu icons
2 months ago
Ferdinand Thiessen 32dee2f84a
feat(ObjectStore): Make S3 MultipartUpload concurrency configurable
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months ago
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>
2 months ago
Arthur Schiwon 42180a2cd0
Merge pull request #44295 from nextcloud/fix/direct-edit-incognito
Allow injecting the user temporarily for direct editing
2 months ago
Christopher Ng 66e77d41c8 feat: Add iconSvgInline to TemplateFileCreator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 months ago
Robin Appelman d5fa2ec7c3
fix: log error when default getWrapperStorage would return null
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
Stephan Orbaugh 6fa89c85b0
Merge pull request #44339 from nextcloud/fix/noid/use-share-owner
fix(share): use share owner to get ownership
2 months ago
Maxence Lange bf71bd1305 fix(share): use share owner to confirm reshare
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 months ago
Christoph Wurst b8868e2652
fix(config): Make sure user keys are strings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 months ago
John Molakvoæ 323acaf207
Merge pull request #44316 from nextcloud/fix/resolveGroupShares 2 months ago
Julius Härtl e330efe5a0
fix: Implement option to temporarily set the user session
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 months ago
skjnldsv c0e7ea55df fix(sharing): resolveGroupShares setPermissions on null
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2 months ago
Julius Härtl 20dd80d2fd
fix: Do not use incognito mode for direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 months ago
Ferdinand Thiessen bae133bf4f fix(AppDiscoverFetcher): Do not remove entries as expired that have no expiry date
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months ago
Joas Schilling 6101abbb2d
Merge pull request #44154 from nextcloud/enh/appapi-rate-limit-bypass
Added rate limit bypass for app_api requests
2 months ago
Nextcloud bot b083a8cfd7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months ago
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>
2 months ago
Robin Appelman afb589a69b
fix: ensure nested mount points are handled in the correct order
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
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>
2 months ago
Ferdinand Thiessen e838aa9514
fix(Logger): Warn on invalid `loglevel` configuration option
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months ago
skjnldsv a47a70790c fix: getLogLevel return type
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2 months ago
Nextcloud bot 8b4864fcad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months ago
John Molakvoæ 2954d52ac8
Merge pull request #44189 from nextcloud/artonge/fix/do_not_throw_exception_if_etag_is_not_set 2 months ago
John Molakvoæ 1ecf3b3840
Merge pull request #44004 from nextcloud/share-resolve-group-perf 2 months ago
John Molakvoæ e2f08d9748
Merge pull request #43534 from nextcloud/enh/noid/log-mnor-syntax-update 2 months ago
John Molakvoæ 836c882b8c
Merge pull request #43446 from jithin-space/add-patch-request-to-http-client-interface 2 months ago
Robin Appelman 0e7497296f perf: improve performance of resolving group shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
Nextcloud bot 97adb26cd9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months ago
John Molakvoæ 77f47ed68f
Merge pull request #43862 from nextcloud/enh/cancel-stt-scheduled-transcription 2 months ago
Anupam Kumar 1111c3fafb
Merge pull request #41684 from nextcloud/feat/rst-mimetype
feat(mimetypes): Add mimetype for ReStructuredText
2 months ago
John Molakvoæ eb61f6b065
Merge pull request #40117 from summersab/refactor/OC-Server-getCommentsManager 2 months ago
John Molakvoæ 27886aa184
Merge pull request #40125 from summersab/refactor/OC-Server-getThemingDefaults 2 months ago
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>
2 months ago
John Molakvoæ f341c218c5
Merge pull request #40115 from summersab/refactor/OC-Server-getCapabilitiesManager 2 months ago
John Molakvoæ 5a1ed2d9ea
Merge pull request #40131 from summersab/refactor/OC-Server-getShareManager 2 months ago
Anupam Kumar 8b0d49327a
feat(mimetypes): Add mimetype for ReStructuredText
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2 months ago
John Molakvoæ 7ecd4747cf
Merge branch 'master' into refactor/OC-Server-getCloudFederationFactory
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2 months ago
John Molakvoæ f5e3fea285
Merge pull request #40138 from summersab/refactor/OC-Server-getHasher 2 months ago
John Molakvoæ 27defd7e51
Merge pull request #40127 from summersab/refactor/OC-Server-getTwoFactorAuthManager 2 months ago
John Molakvoæ 7ea5044659
Merge pull request #40136 from summersab/refactor/OC-Server-getGetRedisFactory 2 months ago
skjnldsv 2c8d410f67 fix: php-cs
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2 months ago
John Molakvoæ 6b4d918dec
Merge pull request #40123 from summersab/refactor/OC-Server-getRootFolder 2 months ago
John Molakvoæ f2556901f9
fix: php-cs `CapabilitiesManager`
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2 months ago
John Molakvoæ 490533188b
Merge pull request #40143 from summersab/refactor/OC-Server-getLockdownManager 2 months ago
John Molakvoæ f29fc47587
Merge pull request #40142 from summersab/refactor/OC-Server-getLazyRootFolder 2 months ago
Andrew Summers 1a5ec3dec9 Refactor `OC\Server::getCloudFederationFactory`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2 months ago
Andrew Summers 6910832170 Refactor `OC\Server::getCommentsManager`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2 months ago
Andrew Summers 0047789580 Refactor `OC\Server::getTwoFactorAuthManager`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2 months ago
John Molakvoæ bbb7955cad
Merge branch 'master' into refactor/OC-Server-getThemingDefaults 2 months ago
Andrew Summers c0f12d7691 Refactor `OC\Server::getGetRedisFactory`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2 months ago
Andrew Summers fe5eead3ac Refactor `OC\Server::getLazyRootFolder`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2 months ago
Andrew Summers 45eb4a839d Refactor `OC\Server::getLockingProvider`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2 months ago
Andrew Summers b45c3a096e Refactor `OC\Server::getCapabilitiesManager`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2 months ago
Andrew Summers cd585885b8 Refactor `OC\Server::getLockdownManager`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2 months ago
Andrew Summers f9ce6bfdff Refactor `OC\Server::getHasher`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2 months ago
John Molakvoæ 9338ef36de
Merge branch 'master' into refactor/OC-Server-getShareManager
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2 months ago
John Molakvoæ 3f560ae940
Merge branch 'master' into refactor/OC-Server-getRootFolder
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2 months ago
Julien Veyssier 76925f15d6
feat(stt): add ability to cancel a scheduled transcription
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2 months ago
Nextcloud bot df1cd1ba7e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months ago
Benjamin Gaussorgues 74f996bbcb
Merge pull request #44129 from nextcloud/feat/discover-apps-section 2 months ago
Benjamin Gaussorgues d15e45c2ff
Merge pull request #36252 from nextcloud/modernize-mime-typeloader 2 months ago
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>
2 months ago
Ferdinand Thiessen f4efb762ec
feat: Allow to fetch app discover json and provide frontend API route
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months ago
Thomas Citharel ffeb797ecc
refactor(mimeloader): modernize MimeTypeLoader
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 months ago
Benjamin Gaussorgues 5158bbf09b
fix: avoid scanning a non existing directory
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2 months ago
John Molakvoæ f316edb9ff
Merge pull request #43652 from hopleus/bugfix/fixed-get-filename-in-fileinfo 2 months ago
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>
2 months ago
Arthur Schiwon 10593d1847
Merge pull request #44178 from nextcloud/fix/noid/nav-init-add
fix(Navigation): ensure NavManager is inited when adding an entry
2 months ago
jithin-space 987b984688 added @since 29.0.0 on comment 2 months ago
Nextcloud bot dfccc12b16
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months ago
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>
2 months ago
Maxence Lange 519e434573 fix(updatenotification): spread the use of new appconfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 months ago
sorbaugh 82a17248f0 feat: Adding PublicSectorBundle
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 months ago
Andrey Borysenko 865fd3ba08
fix: add missing copyrights and strict types
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2 months ago
hopleus a25c70c9b0
Refactoring getName function
Signed-off-by: hopleus <hopleus@gmail.com>
2 months ago
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>
2 months ago
Maxence Lange 618aaddff2 fix(core): remove deprecated code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 months ago
Maxence Lange 13412333e6 fix(core): minor syntax update
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 months ago
Eduardo Morales 5c6be88d40 chore(assets): build autoloader
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2 months ago
Arthur Schiwon b32c0f7da6
Merge pull request #39990 from nextcloud/recursive-share
add some recrusive detection/prevention
2 months ago
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
2 months ago
Maxence Lange f4beb95cdc
Merge pull request #42707 from nextcloud/enh/noid/store-file-etag-at-metadata-creation
enh(metadata): store current file etag
2 months ago
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>
2 months ago
Maxence Lange 0a79884abf feat(appconfig): switching integrity check to lazy config values
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 months ago
Joas Schilling b2b4f34d96
Merge pull request #44073 from nextcloud/fix/provide-correct-icon
fix(AppManager): Allow to query dark **or** bright icon
2 months ago
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
2 months ago
Maxence Lange 467c84ec53 feat(files): copy live photos
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 months ago
Julius Härtl 9522ef8497
Merge pull request #43778 from nextcloud/fix/edge-csp
Fix CSP for script-src with nonce on edge
2 months ago
Robin Appelman ea8a774a0a fix: add some recrusive detection/prevention
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
Maxence Lange b0c79636ba fix(appconfig): no insert statement if data already exist
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 months ago
Robin Appelman 47ebc1119a
Merge pull request #44064 from nextcloud/deprecate-getNumberOfUnreadCommentsForFolder
refactor: depricate getNumberOfUnreadCommentsForFolder and redo it's …
2 months ago
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>
2 months ago
Julius Härtl 02d6d3f5b1
fix: Add edge as supported user agent for CSPv3 nonces
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 months ago
Julius Härtl b8c5bff673
fix: Adjust user agent pattern for Edge
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 months ago
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>
2 months ago
Julius Härtl 972a611288
fix: Avoid clear cache with prefix
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 months ago
Nextcloud bot 27b09ce00a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 months ago
John Molakvoæ 7dd22b0c83
Merge pull request #43982 from nextcloud/fixMemExaust
fix(filecache): Move from array_merge to avoid memory exhaustion on large scans
2 months ago
Ferdinand Thiessen 876e2d6198
feat(AppManager): Provide `getAppIcon` function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months ago
Robin Appelman eb5832b8fa refactor: depricate getNumberOfUnreadCommentsForFolder and redo it's implementation based on getNumberOfUnreadCommentsForObjects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
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"
2 months ago
Maxence Lange 3fa5e598a8 feat(metadata): get deprecated status using file etag
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2 months ago
Joas Schilling 951c330d39
Revert "don't perform an explicit setup when using the file cache" 2 months ago
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>
2 months ago
Ferdinand Thiessen 01d5af66be feat(IClient): Add `request` function to do arbitrary HTTP requests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2 months ago
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
2 months ago
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
2 months ago
Robin Appelman efcb16f859
Merge pull request #43086 from nextcloud/s3-internal-multipart-copy-disable
disable the internal s3sdk multi part copy logic
2 months ago
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
2 months ago
Ferdinand Thiessen 8d58356dc1
Merge pull request #43917 from nextcloud/fix/jsresourcelocator-apppath
fix(JSResourceLocator): Consider configured app roots for files
2 months ago
Joas Schilling 3a67080a96
fix(appconfig): Make sure sensitive values stay sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 months ago
Joas Schilling 24607a37d8
feat(appconfig): Automatically store "sensitive" appconfigs encrypted in the database
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 months ago
Robin Appelman abfbe67ec9
Merge pull request #42638 from nextcloud/shares-in-folder-storage
also filter by storage when getting shares in folder
2 months ago
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
2 months ago
Côme Chilliet 29a648ab73
fix: Avoid calling setUserValue on null user id
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 months ago
Robin Appelman 702c679cfa
Merge pull request #44000 from nextcloud/more-sharing-cleaup
cleanup: remove long depricated share code
2 months ago
Robin Appelman 4fba4cd14c fix: fix user folder init
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
Robin Appelman af466a0d3a fix: ensure user home mounts is registered
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
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>
2 months ago
Côme Chilliet 28c3e40f35
Merge pull request #44015 from nextcloud/fix/remove-oc-json-encode-usages
fix: Remove calls to deprecated OC_JSON::encode
2 months ago
Robin Appelman 9bb3d873fb
Merge pull request #44029 from nextcloud/share-manager-build
refactor: make share manager buildable
2 months ago
Robin Appelman bfeb97c54a fix: also filter by storage when getting shares in folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
Robin Appelman c54f7bd761 fix: disable the internal s3sdk multi part copy logic
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
Robin Appelman a598de627c chore: remove long depricated share code
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
Robin Appelman 339702e376 refactor: make share manager buildable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
Côme Chilliet 80191906b3 feat: Store last known quota usage for a user
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 months ago
Jonas 8e8d26d690
chore(IURLGenerater): Document changes to `URL_REGEX_NO_MODIFIERS`
Signed-off-by: Jonas <jonas@freesources.org>
2 months ago
Jonas 782f808228
Merge pull request #43997 from nextcloud/fix/url_regex
fix: Make URL pattern regexes match localhost and URLs with ports
2 months ago
Robin Appelman 51019fda7a fix: clearify logic around getMountsForFileId filtering
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
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>
2 months ago
Robin Appelman 9ea3f4ab8f perf: use lazy user in UserMountCache for getting user for cached mount
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 months ago
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>
2 months ago
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>
2 months ago
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>
2 months ago
Robin Appelman fd4ca13867
Merge pull request #43471 from nextcloud/cache-path-by-id
Cache path by id
2 months ago
Julius Härtl ad8cb2ce7f
Merge pull request #43855 from nextcloud/feat/team-provider
Implement team provider api
2 months ago
Robin Appelman 56c75aa7dc
Merge pull request #43975 from nextcloud/search-optimize-fixes
Handle more cases in the MergeDistributive search query optimizer
2 months ago
Julius Härtl c7813bfdaf
feat: Implement team provider api
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 months ago
Nextcloud bot 80e4193d4f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 months ago
Git'Fellow 575159b819
fix(filecache): Move from array_merge to avoid memory exhaustion
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
3 months ago
Robin Appelman 1ae15967fc
Merge pull request #43791 from nextcloud/share-api-cleanup
Share api cleanup
3 months ago
Julius Härtl 646d5adcc5
Merge pull request #43972 from nextcloud/fix/fetch-custom-appstore
fix: Fetch custom app store url without internet connection
3 months ago
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>
3 months ago
Robin Appelman 3971313d4c fix: don't short circuit query optimizer
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 months ago
Robin Appelman a9ee278ec6 perf: cache path by id to speedup getting nodes by id
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 months ago
Robin Appelman e7a7b4a401 perf: switch places that always use the first getById result to getFirstNodeById
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 months ago
hopleus dc77f4039e
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 3 months ago
Julius Härtl e13fb468cf
fix: Fetch custom app store url without internet connection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 months ago
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>
3 months ago
Ferdinand Thiessen 3a036a26f5
fix(IUrlGenerator): Add `throws` documentation for `imagePath` function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 months ago
Nextcloud bot 5748c8cf63
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 months ago
John Molakvoæ e0705f1015
Merge pull request #43057 from nextcloud/feat/cache-authtoken 3 months ago
Nextcloud bot dfb6b52cde
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 months ago
Ferdinand Thiessen 51ea3de8a7
fix(JSResourceLocator): Consider configured app roots for files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 months ago
hopleus fefa3382e7
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 3 months ago
John Molakvoæ fa0e3d66ba
Merge pull request #42542 from nextcloud/aac-mimetype 3 months ago
John Molakvoæ 8df55ef5aa
Merge pull request #29988 from nextcloud/enh/hide-overwrites-from-disabled-apps-list 3 months ago
John Molakvoæ 747c391953
Merge pull request #30957 from rotdrop/bugfix/collaboration-mail-plugin-fix-array-access-resulting-in-type-error 3 months ago
Nextcloud bot ff9c3b0ee2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 months ago
Ferdinand Thiessen 1017f4f34a fix: Also expose forbidden filename character in the capabilities
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 months ago
Ferdinand Thiessen 27642d3e6d fix: Enforce forbidden filename characters on backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
3 months ago
Benjamin Gaussorgues d1189f923c
feat(perf): add cache for authtoken lookup
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
3 months ago
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>
3 months ago
Joas Schilling 6f95febe17
Merge pull request #43646 from nextcloud/feat/noid/occ-keys-test-command
Add user:keys:verify command
3 months ago
Greta b2751b57f9
Merge pull request #43209 from nextcloud/enh/edit-indices
feat(occ): add possibility to edit indices
3 months ago
hopleus 2c79492f68
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 3 months ago
Nextcloud bot 7560415105
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 months ago
Marcel Müller e23e89f384 feat(occ): Add user:keys:test command
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
3 months ago
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>
3 months ago
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>
3 months ago
Joas Schilling e5b0c06b24
feat(comments): Allow mentions of federated users, groups and teams in the future
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 months ago
Unpublished 4af1c5cb33 Add .aac mime type mapping
Signed-off-by: Unpublished <Unpublished@users.noreply.github.com>
3 months ago
Robin Appelman 96942e436b
fix: update "move into share" check to share manager
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 months ago
Johannes Merkel 06d076410a
feat(occ): add possibility to edit indices
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
3 months ago
hopleus bc4f5c19f2
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 3 months ago
Nextcloud bot 6ee590b71d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 months ago
Robin Appelman d0ebe36906
fix: remove old test-only methods
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 months ago
hopleus 6fd56a955c
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 3 months ago
Benjamin Gaussorgues 3f269782aa
Merge pull request #43428 from nextcloud/feat/share-expiration-with-time 3 months ago
Julius Härtl 7e0899aaaf
fix: Avoid unitialized access of fts manager properties
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 months ago
hopleus f2f2a64ad7
Merge branch 'master' into bugfix/fixed-get-filename-in-fileinfo 3 months ago
Nextcloud bot 34c9bfc767
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 months ago
John Molakvoæ b080113fdd
Merge branch 'master' into fix/42480/user-admin-not-admin
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
3 months ago
Richard Steinmetz f2e6abadbf
feat: theme error page
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
3 months ago
John Molakvoæ 1d8d43f159
Merge pull request #43787 from nextcloud/fix/opendir-temporary-failure 3 months ago
John Molakvoæ d6df5b5a70
Merge pull request #41910 from nextcloud/debug-force-full-fs-setup 3 months ago
Robin Appelman ac7f3ee985 add a debug option to force a full filesystem setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 months ago
Robin Kluth 414f8f1f2d Include `hostName:$port` for Host access violation message as well
Signed-off-by: Robin Kluth <Commifreak@users.noreply.github.com>
3 months ago
Robin Kluth 25c0021137 Log Host/IP in `LocalServerException` for `Host violates local access rules`
Signed-off-by: Robin Kluth <Commifreak@users.noreply.github.com>
3 months ago
Robin Kluth d70cd5add2 Log Host/IP in `LocalServerException` for `Host violates local access rules`
Signed-off-by: Robin Kluth <Commifreak@users.noreply.github.com>
3 months ago
Nextcloud bot ba866cd4a8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 months ago
John Molakvoæ 5207274148
Merge pull request #43529 from nextcloud/enh/noid/leave-log-early-if-no-crash-reporter 3 months ago
John Molakvoæ b1720970b0
Merge pull request #43187 from hschletz/patch-1 3 months ago
John Molakvoæ 09b1f049bd
Merge pull request #40135 from summersab/refactor/OC-Server-getEventLogger 3 months ago
John Molakvoæ 1629b4103d
Merge pull request #38996 from fsamapoor/refactor_lib_private_fulltextsearch 3 months ago
John Molakvoæ edc35f74c7
Merge pull request #42893 from nextcloud/file-info-key-location 3 months ago
John Molakvoæ 04cb02b968
Merge pull request #32429 from nextcloud/fix/profiler-data-loca 3 months ago
John Molakvoæ bc3061d61e
Merge pull request #39173 from shdehnavi/refactor_lib_private_ocs 3 months ago
John Molakvoæ c4975b363e
Merge pull request #39299 from shdehnavi/refactor_lib_private_app 3 months ago
John Molakvoæ d0f7156c96
Merge pull request #42045 from nextcloud/enh/early-exception-print
feat: Print early exceptions in debug mode instead of plain error pages
3 months ago
John Molakvoæ f303e95fb4
Merge pull request #40126 from summersab/refactor/OC-Server-getTrustedDomainHelper 3 months ago
John Molakvoæ 0348ad5e0d
Merge pull request #40111 from summersab/refactor/OC-Server-getAppFetcher 3 months ago
John Molakvoæ 18434d1ef3
Merge pull request #38562 from nextcloud/redis-default-ttl 3 months ago
John Molakvoæ b0b4c7e042
Merge pull request #30417 from nextcloud/sualko-patch-1 3 months ago
Julius Härtl 22eab7ba36
fix: Throw instead of yielding nothing when listing local directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 months ago
John Molakvoæ 6c837fd51e
Merge pull request #39607 from FedericoHeichou/fix-double-dots-with-pipe-sendmail 3 months ago
hschletz b277841cb4 Fix data type in FilesMetadata::setIntList()
FilesMetadata::setIntList() throws an exception because it uses the incorrect type IMetadataValueWrapper::TYPE_STRING_LIST instead of IMetadataValueWrapper::TYPE_INT_LIST.

Signed-off-by: hschletz <holger.schletz@web.de>
3 months ago
Julius Härtl efc3d76e43 feat: Print early exceptions in debug mode instead of plain error pages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 months ago
Hamid Dehnavi 09b3702c3b Refactor lib/private/ocs
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>

Refactor lib/private/ocs

Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>

Refactor lib/private/ocs

Co-authored-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>

Add adjustments based on the review

Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>

replace qualifier with an import

Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>

refactor lib/private/OCS

Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
3 months ago
Hamid Dehnavi cf17db2fe6 Fix psalm errors
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
3 months ago
Hamid Dehnavi b6ef67edfc Make adjustments based on the psalm review
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
3 months ago
Hamid Dehnavi 7a8d79b85c Fix code style
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
3 months ago
Hamid Dehnavi 84749d53a9 Refactor lib/private/App
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
3 months ago
Andrew Summers e69ca0632a Refactor `OC\Server::getEventLogger`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
3 months ago