aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #31265 from nextcloud/fs-limited-setupVincent Petry2022-03-2414-42/+498
|\ | | | | Fine grained filesystem setup
| * Add missing PHPDoc in InvalidateMountCacheEventVincent Petry2022-03-241-0/+10
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Make phpcs happy in MountProviderCollectionVincent Petry2022-03-241-2/+2
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Apply suggestions from code reviewRobin Appelman2022-03-243-10/+11
| | | | | | | | | | | | | | Co-authored-by: Louis <6653109+artonge@users.noreply.github.com> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add comment for getMountForPath loopRobin Appelman2022-03-241-0/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * make mount cache duration configurableRobin Appelman2022-03-242-7/+23
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * fix method nameRobin Appelman2022-03-242-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * caching of userfolderRobin Appelman2022-03-241-4/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * fmtRobin Appelman2022-03-243-6/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * invalidate mount cache on circles changeRobin Appelman2022-03-241-18/+43
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * perform full setup if a cached mount doesn't have a provider setRobin Appelman2022-03-242-5/+26
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * don't double setup provider when calling `setupForUser` after `setupForPath`Robin Appelman2022-03-242-4/+15
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add logic to perform a full filesystem setup when neededRobin Appelman2022-03-245-2/+92
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * update cached mounts when only specific providers have been setupRobin Appelman2022-03-243-2/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * improve lazy UserFolderRobin Appelman2022-03-243-7/+70
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * setup only relevant mounts when possibleRobin Appelman2022-03-242-15/+106
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * fixed when accessing static filesystem calls before setupRobin Appelman2022-03-241-4/+23
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * allow getting mounts by providerRobin Appelman2022-03-242-6/+26
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * allow getting cached mounts by path from the mount cacheRobin Appelman2022-03-242-0/+56
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * return a lazy folder from Root::getUserFolderRobin Appelman2022-03-241-9/+13
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * allow setting some metadata in the lazyfolder without having to get the real ↵Robin Appelman2022-03-241-1/+24
| | | | | | | | | | | | folder Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix autoloaderJoas Schilling2022-03-242-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow reactions also with other combined emojisJoas Schilling2022-03-242-2/+109
|/ | | | | | | | Honerful copying the EmojiService from UserStatus for now I think this should be put into a decent place and then reused, but I couldn't find somethin short term before beta1 Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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