aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some appsCôme Chilliet2024-02-056-12/+12
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Make it clear in the deprecation comment that DI is preferredCôme Chilliet2024-02-051-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use OCP\Util::getL10N instead of OC::$server->getL10NCôme Chilliet2024-02-0513-17/+14
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #40981 from nextcloud/fix/object-storage-userArthur Schiwon2024-02-023-37/+31
|\ | | | | fix(objectstorage): cleanup HomeObjectStoreStorage
| * refactor(objectstorage): cleanup typesThomas Citharel2024-02-023-15/+21
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * refactor(objectstorage): move $user property from ObjectStoreStorage class ↵Thomas Citharel2024-02-022-14/+6
| | | | | | | | | | | | to HomeObjectStoreStorage Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * fix(objectstorage): cleanup HomeObjectStoreStorageThomas Citharel2024-02-021-8/+4
| | | | | | | | | | | | Fix invalid signature for getUser() method and change occurences of OC\User\User for OCP\IUser Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | make failure to load app commands non-fatalRobin Appelman2024-02-021-1/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #43132 from nextcloud/enh/41755/update-appframework-apiMaxence Lange2024-02-013-14/+529
|\ | | | | sync with new OCP\IAppConfig
| * adding testMaxence Lange2024-01-312-3/+3
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * fix psalmMaxence Lange2024-01-313-7/+12
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * sync with new OCP\IAppConfigMaxence Lange2024-01-312-14/+524
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #43203 from nextcloud/fix/cleanup-register-command-with-diJoas Schilling2024-02-017-68/+33
|\ \ | |/ |/| Use Dependency Injection in register_commands.php
| * fix: Make Repair object injectable and fix BackgroundRepair testCôme Chilliet2024-02-011-5/+4
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * chore: Fix DI for integrity checker before installationCôme Chilliet2024-01-301-1/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * chore: use DI for \OC\RepairCôme Chilliet2024-01-304-16/+14
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * chore: Fix DI for Encryption\DecryptAll commandCôme Chilliet2024-01-302-47/+14
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | also updated parent etags when a changed etag is detected during scanningRobin Appelman2024-01-312-7/+30
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | dont reuse etag for folders marked explicitly unscannedRobin Appelman2024-01-311-1/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | dav: fix wrong decoding of pluses in URLsLorenz Brun2024-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHP's urldecode function does not decode URLs according to RFC 3986, but according to the HTML 4.01 query parameter encoding. This results in pluses being wrongly decoded to spaces even though they should not be decoded at all. Use rawurldecode instead, which follows RFC 3986 properly. This fixes an issue where files on DAV shares containing pluses were incorrectly decoded to spaces. Fixes: #15849 Signed-off-by: Lorenz Brun <lorenz@brun.one>
* | Merge pull request #38173 from ↵Louis2024-01-316-1/+69
|\ \ | | | | | | | | | | | | arawa/feature/37677/exclude-some-groups-from-sharing-with-users New core setting : shareapi_only_share_with_group_members_exclude_gro…
| * | feat(php,vue): Create a new parameterBaptiste Fotia2024-01-316-1/+69
| | | | | | | | | | | | Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
* | | Merge pull request #42933 from nextcloud/fix/db/dirty-read-on-primaryChristoph Wurst2024-01-311-0/+4
|\ \ \ | |/ / |/| | fix(db): Execute dirty reads on the primary node
| * | fix(db): Execute dirty reads on the primary nodeChristoph Wurst2024-01-301-0/+4
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Revert "switching to new IAppConfig"Maxence Lange2024-01-301-16/+52
| | | | | | | | | | | | | | | | | | | | | This reverts commit c693c58d253168e712cde57b2dd8ea3262b900e8. Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | switching to new IAppConfigMaxence Lange2024-01-301-52/+16
| |/ |/| | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #43194 from ↵Côme Chilliet2024-01-304-0/+4
|\ \ | |/ |/| | | nextcloud/fix/fix-psalm-missing-template-parameter
| * chore: Fix missing template parameter for IEventListenerCôme Chilliet2024-01-304-0/+4
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #43185 from nextcloud/feat/db/dirty-queries-productionJoas Schilling2024-01-301-1/+9
|\ \ | | | | | | feat(db): Make dirty query logging available in production
| * | feat(db): Make dirty query logging available in productionChristoph Wurst2024-01-301-1/+9
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #43191 from nextcloud/fix/use-di-for-setup-classCôme Chilliet2024-01-305-223/+139
|\ \ | |/ |/|
| * chore: Cleanup Installer class as wellCôme Chilliet2024-01-292-69/+33
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix: Use DI for Setup class and move away from deprecated methodsCôme Chilliet2024-01-294-154/+106
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #43031 from nextcloud/fix/fix-throw-phpdoc-in-setupresultCôme Chilliet2024-01-291-0/+9
|\ \
| * | Document throwing behavior of SetupResult upon invalid rich objectCôme Chilliet2024-01-291-0/+9
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #42794 from nextcloud/fix/invalid-trusted-proxiesFerdinand Thiessen2024-01-291-1/+8
|\ \ | |/ |/| fix(Request): Catch exceptions in `isTrustedProxy`
| * fix(Request): Catch exceptions in `isTrustedProxy`Ferdinand Thiessen2024-01-271-1/+8
| | | | | | | | | | | | | | | | | | The function fails if the configured trusted proxies contain invalid characters and the underlying IpUtils will throw. But as it is used by `getRemoteAddress` which is used by logging / templating, thrown errors are not reported but silently fail with error 500. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #42930 from nextcloud/fix/6914/overwritecondArthur Schiwon2024-01-291-5/+3
|\ \ | | | | | | Fix: config param 'overwritecondaddr' not working
| * | code style: ommited space, reverted [code review]Pavel Kryl2024-01-271-1/+1
| | |
| * | fixing bug #6914: Config Param 'overwritecondaddr' not workingPavel Kryl2024-01-271-6/+4
| |/ | | | | | | | | | | | | - just ignoring/removing extra parameter 'protocol' as suggested by blizzz Signed-off-by: Pavel Kryl <pavel@kryl.eu>
* / Fix(l10n): Update translations from TransifexNextcloud bot2024-01-282-0/+4
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-01-274-4/+150
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* better indexesMaxence Lange2024-01-243-20/+29
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #42597 from nextcloud/perf/s3-mkdir-update-sizeJulius Härtl2024-01-233-16/+20
|\ | | | | perf: Avoid updating the folder size if we know the size difference
| * perf: Avoid updating the folder size if we know the size differenceJulius Härtl2024-01-123-16/+20
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | fix(apps): Fix type information of app managerJoas Schilling2024-01-232-9/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #42929 from nextcloud/fix/db/transacted-read-not-dirtyChristoph Wurst2024-01-231-2/+5
|\ \ | | | | | | fix(db): Do not log transacted reads as dirty read
| * | fix(db): Do not log transacted reads as dirty readChristoph Wurst2024-01-181-2/+5
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #42971 from ↵Christoph Wurst2024-01-221-13/+24
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/auth/login-email-password-login-name-mismatch fix(auth): Fix logging in with email and app password
| * | | fix(auth): Fix logging in with email, password and login name mismatchChristoph Wurst2024-01-191-13/+24
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>