aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix passing null to strlenThomas Citharel2022-03-242-4/+4
| | | | | | | | | $filter can be null as it's the default value passed in ContactsMenuController. On PHP 8.1 : strlen(): Passing null to parameter #1 ($string) of type string is deprecated Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Automatically cut the token name on the first levelJoas Schilling2022-03-232-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Limit the length of app password namesJoas Schilling2022-03-232-0/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-idJoas Schilling2022-03-228-24/+127
|\ | | | | Extract request id handling to dedicated class so it can be injected without DB dependency
| * Update autoloaderJoas Schilling2022-02-252-0/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Allow to prefix the Query log with the request idJoas Schilling2022-02-231-2/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Extract request id handling to dedicated class so it can be injected manuallyJoas Schilling2022-02-235-22/+115
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #31580 from nextcloud/nickvergessen-patch-2Vincent Petry2022-03-221-2/+2
|\ \ | | | | | | Limit missing primary key fail to new tables and comment out for now
| * | Disable for now again until more apps are fixedJoas Schilling2022-03-211-2/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Limit missing primary key fail to new tablesJoas Schilling2022-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | This will work on CI so devs notice it when they install the app for testing, and at the same time existing faulty tables don't break the upgrade to 24 Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #31605 from nextcloud/cert-manager-cache-pathVincent Petry2022-03-221-7/+15
|\ \ \ | | | | | | | | cache the path of the certificate bundle
| * | | cache the path of the certificate bundleRobin Appelman2022-03-171-7/+15
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #31629 from nextcloud/feat/remove-ie-headersPytal2022-03-211-1/+0
|\ \ \ \ | |_|/ / |/| | |
| * | | Remove legacy Internet Explorer headersMichaIng2022-03-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | X-UA-Compatible and X-Download-Options headers are interpreted or relevant for Internet Explorer only. With the deprecation of Internet Explorer support in Nextcloud 20 and planned support removal already in Nextcloud 22, these became obsolete and are hereby removed, including their removal from setup checks. Signed-off-by: MichaIng <micha@dietpi.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-03-202-52/+52
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-03-192-2/+108
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #24166 from nextcloud/imaginary-prototypeCarl Schwan2022-03-189-4/+413
|\ \ \ | | | | | | | | Send images to Imaginary docker to generate previews
| * | | Send images to imaginary docker to generate previewsVincent Petry2022-03-179-4/+413
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Co-Authored-by: Vincent Petry <vincent@nextcloud.com>
* | | | Merge pull request #30768 from nextcloud/feat/chunked-mysql-joblist-removeCarl Schwan2022-03-182-1/+22
|\ \ \ \ | | | | | | | | | | Do chuncked job deletion
| * | | | Do chuncked job deletionCarl Schwan2022-03-172-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is helpful in cases where we are deleting tons jobs at the same time in a gallera cluster. This doesn't happen often but this can create issues. Test plan: 1. Use https://github.com/nextcloud/quota_warning/pull/88 2. Change max to 1 3. Enabled/Disable quota_warning app and see jobs getting sucessfully added and removed Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | Simplify comment search in special casesJoas Schilling2022-03-181-3/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Add profile default setting for adminChristopher Ng2022-03-182-12/+8
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | | Add global profile toggle configChristopher Ng2022-03-183-21/+41
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | | Merge pull request #31488 from nextcloud/enh/account-set-all-propertiesPytal2022-03-172-0/+65
|\ \ \ \ \
| * | | | | Add example to DocBlockChristopher Ng2022-03-171-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | | | | Add method to set all account properties from jsonChristopher Ng2022-03-172-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | | | Merge pull request #31608 from nextcloud/scanner-performance2Robin Appelman2022-03-174-10/+30
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | some file scanner performance improvements
| * | | | | some file scanner performance improvementsRobin Appelman2022-03-174-10/+30
| | |_|/ / | |/| | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #31598 from nextcloud/mount-find-rootRobin Appelman2022-03-172-4/+28
|\ \ \ \ \ | |_|/ / / |/| | | | setup for current user when finding mounts in the root
| * | | | setup for current user when finding mounts in the rootRobin Appelman2022-03-172-4/+28
| |/ / / | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #31487 from nextcloud/enh/account-json-serializationPytal2022-03-171-2/+9
|\ \ \ \ | |/ / / |/| | |
| * | | Discard duplicate collection name from account serializationChristopher Ng2022-03-171-2/+9
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | Merge pull request #31574 from nextcloud/s3-crt-bundleRobin Appelman2022-03-173-8/+24
|\ \ \ \ | |/ / / |/| | | use the nextcloud certificate bundle for s3
| * | | don't try to get custom certs for s3 primary storageRobin Appelman2022-03-152-3/+10
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | return default bundle when there is an error getting the bundleRobin Appelman2022-03-141-7/+11
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | use the nextcloud certificate bundle for s3Robin Appelman2022-03-141-1/+6
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Fix unknown Talk broker interfaceChristoph Wurst2022-03-151-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #31573 from nextcloud/exceptionserializer-load-failRobin Appelman2022-03-151-1/+7
|\ \ \ \ | | | | | | | | | | don't error if we can't load the ExceptionSerializer for early exceptions
| * | | | don't error if we can't load the ExceptionSerializer for early exceptionsRobin Appelman2022-03-141-1/+7
| |/ / / | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #31513 from nextcloud/techdebt/noid/enforce-primary-keysJoas Schilling2022-03-151-0/+2
|\ \ \ \ | | | | | | | | | | Enforce primary keys as they are required to be performant in MySQL c…
| * | | | Enforce primary keys as they are required to be performant in MySQL clustersJoas Schilling2022-03-101-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Fix autoloader and phpdoc for new classCôme Chilliet2022-03-144-0/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Improve wording of pathExists descriptionCôme Chilliet2022-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | | Add getOriginalUid in IImportSource to simplify code when importing under ↵Côme Chilliet2022-03-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | another uid Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Add pathExists method to IImportSource to test if a path exists in the archiveCôme Chilliet2022-03-141-0/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Move UserMigrationException to OCP and add @throws documentationCôme Chilliet2022-03-142-0/+32
| |/ / / |/| | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #31542 from nextcloud/psalm-userCountsCarl Schwan2022-03-141-0/+2
|\ \ \ \ | | | | | | | | | | Fix psalm issue about userCounts
| * | | | Fix psalm issue about userCountsCarl Schwan2022-03-111-0/+2
| |/ / / | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | [tx-robot] updated from transifexNextcloud bot2022-03-142-0/+20
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #31511 from ↵Joas Schilling2022-03-111-3/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/allow-installing-unstable-versions Allow installing unstable app versions based on channel and with `--allow-unstable` just like on updates