summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-idJoas Schilling2022-03-221-0/+39
|\ | | | | Extract request id handling to dedicated class so it can be injected without DB dependency
| * Extract request id handling to dedicated class so it can be injected manuallyJoas Schilling2022-02-231-0/+39
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #24166 from nextcloud/imaginary-prototypeCarl Schwan2022-03-181-0/+30
|\ \ | | | | | | Send images to Imaginary docker to generate previews
| * | Send images to imaginary docker to generate previewsVincent Petry2022-03-171-0/+30
| | | | | | | | | | | | | | | 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-181-0/+5
|\ \ \ | | | | | | | | Do chuncked job deletion
| * | | Do chuncked job deletionCarl Schwan2022-03-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | 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-171-0/+9
|/ / / | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Fix autoloader and phpdoc for new classCôme Chilliet2022-03-142-0/+4
| | | | | | | | | | | | 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 #30963 from nextcloud/feat/calendar-migrationPytal2022-03-101-0/+5
|\ \ \
| * | | Various minor updatesChristopher Ng2022-03-021-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | | Calendar export and importChristopher Ng2022-03-021-0/+5
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | Allow to set a strict-dynamic CSP through the APIJulius Härtl2022-03-092-0/+17
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #31431 from nextcloud/fs-setup-managerRobin Appelman2022-03-084-17/+51
|\ \ \ \ | | | | | | | | | | Unify/cleanup filesystem setup
| * | | | type fixesRobin Appelman2022-03-041-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | move logic to decide what to setup to setupmanagerRobin Appelman2022-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | adjust tests to new fs setupRobin Appelman2022-03-041-0/+32
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | more type hints for ICachedMountInfo and IMountManagerRobin Appelman2022-03-043-17/+17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #31418 from nextcloud/enh/simple-file-extensionPytal2022-03-072-1/+18
|\ \ \ \ \
| * | | | | Note DI only usage in PHPDocChristopher Ng2022-03-071-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | | | | Add missing @since in InMemoryFile to please CICôme Chilliet2022-03-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | Extend simple file with extension getterChristopher Ng2022-03-042-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | | | Merge pull request #31447 from nextcloud/doc/manager-interfaceMichaIng2022-03-065-3/+37
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Clarify that some interface are not meant to be implemented
| * | | | | Add a few more non-extendable interfaceCarl Schwan2022-03-053-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | | | Clarify that some interface are not meant to be implementedCarl Schwan2022-03-042-2/+10
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This make sure that apps don't implement this interfaces and gives us more liberty to add new methods to them (as long as it is compatible from an usage point of view) Signed-off-by: Carl Schwan <carl@carlschwan.eu> Co-authored-by: Vincent Petry <vincent@nextcloud.com>
* | | | | Merge pull request #31387 from nextcloud/fix/common-main-core-script-orderJohn Molakvoæ2022-03-041-1/+6
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Make sure common and main core scripts are loaded firstJohn Molakvoæ2022-03-041-1/+6
| |/ / / | | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* / / / Fix avatar file return typeChristopher Ng2022-03-031-2/+2
|/ / / | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Merge pull request #31377 from nextcloud/fix/specify-nullable-stringAnna2022-02-281-1/+1
|\ \ \ | | | | | | | | Specify string as nullable for credentials password
| * | | Specify string as nullable for credentials passwordAnna Larch2022-02-281-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | | Extend ImportSource interface to list files of a folderChristopher Ng2022-02-241-0/+10
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | store mountprovider for each mount in the mounts tableRobin Appelman2022-02-232-0/+16
|/ / / | | | | | | | | | | | | | | | this enabled more fine grained filesystem setup Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #31106 from ↵Joas Schilling2022-02-231-1/+14
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/techdebt/noid/improve-user-status-update-handling Improve user status revert performance
| * | Allow to revert the user status of multiple users in 3 queries instead of 3*nJoas Schilling2022-02-151-1/+14
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #31173 from ↵Côme Chilliet2022-02-224-0/+99
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/enhancement/user_migration-version-handling Add version handling to IMigrator
| * | Please drone checkersCôme Chilliet2022-02-211-0/+2
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Avoid passing both $importSource and $version while version comes from sourceCôme Chilliet2022-02-173-8/+14
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Improve version handling for user_migrationCôme Chilliet2022-02-174-3/+31
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Add version handling to IMigratorCôme Chilliet2022-02-172-0/+63
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #30367 from nextcloud/fix/minor-api-doc-fixJulius Härtl2022-02-182-2/+5
|\ \ | | | | | | Fix some issues with the API documentation
| * | Fix some issues with the API documentationCarl Schwan2022-02-172-2/+5
| |/ | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Merge pull request #31141 from nextcloud/fix/better-cache-policyCarl Schwan2022-02-171-2/+2
|\ \ | | | | | | Improve caching policy use immutable when loading versionned assets
| * | Improve caching policyCarl Schwan2022-02-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cache css with version in url. This makes most js and css requests to be cached by the browser * Force caching previews, the etag is in the url so that if the propfind gives a new etag, we will refresh it otherwise it's no use to try to fetch the new etag and do tons of DB queries Tested with firefox and 'debug' => false (important so that the js/css urls are generated with ?v= parameter) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Add Transactional trait for atomic DB operationsChristoph Wurst2022-02-171-0/+70
| |/ |/| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Extend export destination interfaceChristopher Ng2022-02-111-2/+13
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Allow registration of migratorsChristopher Ng2022-02-114-0/+205
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>