aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-0810-94/+290
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* chore: Delete deprecated internal Job classesCôme Chilliet2024-02-083-210/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Migrate away from internal Job classesCôme Chilliet2024-02-086-70/+45
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(migration): Make naming constraint fail softer on updatesJoas Schilling2024-02-071-10/+49
| | | | | | | | | | | | | | Only on installation we want to break hard, so that all developers notice the bugs when installing the app on any database or CI, and can work on fixing their migrations before releasing a version incompatible with Postgres. In case of updates we might be running on production instances and the administrators being faced with the error would not know how to resolve it anyway. This can also happen with instances, that had the issue before the current update, so we don't want to make their life more complicated than needed. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #43317 from nextcloud/fix/contacts-nameJohn Molakvoæ2024-02-071-2/+2
|\
| * fix(ContactsStore): Sanitize user ID given to guest avatar routeFerdinand Thiessen2024-02-031-2/+2
| | | | | | | | | | | | | | It is not allowed to use slashes within path parameters, so they would need to be encoded. But URL encoded slashes are not suported by Apache, so instead replace slash with space. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #41015 from nextcloud/background-scan-catch-storage-errorRobin Appelman2024-02-071-23/+27
|\ \ | | | | | | continue background scanning different storages if one fails
| * \ Merge branch 'master' into background-scan-catch-storage-errorRobin Appelman2024-01-31299-3017/+8238
| |\ \
| * | | continue background scanning different storages if one failsRobin Appelman2023-10-201-23/+27
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #43361 from ↵Ferdinand Thiessen2024-02-066-0/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/fix/add-missing-phpdoc-template-parameters chore: Add missing ArrayAccess template parameters
| * | | | chore: Add missing ArrayAccess template parametersCôme Chilliet2024-02-066-0/+12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Merge pull request #43131 from ↵Christoph Wurst2024-02-061-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | nextcloud/fix/files/cache-wrapper-no-partial-cache-entry-formatting fix(files): Don't attempt to format a partial cache entry
| * | | | fix(files): Don't attempt to format a partial cache entryChristoph Wurst2024-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | returns non lazy value while searching for lazyMaxence Lange2024-02-061-5/+8
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | Merge pull request #43275 from ↵Maxence Lange2024-02-051-6/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/enh/noid/no-exception-on-missing-key-updatelazy-updatesensitie return false on AppConfigUnknownKeyException
| * | | | | return false on AppConfigUnknownKeyExceptionMaxence Lange2024-02-011-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | | chore: Add references to phpdoc deprecation notice for IL10NCôme Chilliet2024-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* | | | | | 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-051-1/+1
| |_|_|_|/ |/| | | | | | | | | | | | | | 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-012-13/+297
|\ \ \ \ | | | | | | | | | | 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-312-5/+10
| | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | | | sync with new OCP\IAppConfigMaxence Lange2024-01-311-13/+292
| | |_|/ | |/| | | | | | 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-315-1/+60
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 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-315-1/+60
| | | | | | | | | | | | | | | | | | | | 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-304-212/+138
|\ \ \ \ | |/ / / |/| | |
| * | | 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-293-143/+105
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>