summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate our old, internal background job base classesChristoph Wurst2022-02-225-0/+13
| | | | | | | The OCP ones should be used instead. This makes it more visible in our IDEs that the base class of background job should be replaced. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #31173 from ↵Côme Chilliet2022-02-226-0/+101
|\ | | | | | | | | 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>
| * Update autoloadCôme Chilliet2022-02-212-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>
* | [tx-robot] updated from transifexNextcloud bot2022-02-224-2/+6
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #31217 from ↵Joas Schilling2022-02-211-0/+5
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/also-cache-non-existing-entry Also cache non-existing to reuse it
| * | Also cache non-existing to reuse itJoas Schilling2022-02-161-0/+5
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #31195 from nextcloud/wrap_exceptionLouis2022-02-211-1/+1
|\ \ | | | | | | Wrap S3 multipart upload exception
| * | Wrap S3 multipart upload exceptionLouis Chemineau2022-02-161-1/+1
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | Wrap S3 multipart upload exceptionLouis Chemineau2022-02-151-1/+1
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #30367 from nextcloud/fix/minor-api-doc-fixJulius Härtl2022-02-183-10/+8
|\ \ \ | | | | | | | | Fix some issues with the API documentation
| * | | Fix some issues with the API documentationCarl Schwan2022-02-173-10/+8
| | |/ | |/| | | | | | | 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-173-0/+72
| |/ / |/| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | [tx-robot] updated from transifexNextcloud bot2022-02-162-2/+78
| |/ |/| | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Extend export destination interfaceChristopher Ng2022-02-111-2/+13
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Allow registration of migratorsChristopher Ng2022-02-117-0/+236
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #30959 from nextcloud/redis-pconnectVincent Petry2022-02-111-4/+12
|\ | | | | use persistent connections when connecting to redis
| * use persistent connections when connecting to redisRobin Appelman2022-02-011-4/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #31035 from paierlep/fix/occ_scan_no_files_errorVincent Petry2022-02-101-1/+1
|\ \ | | | | | | Removes misleading error message in occ files:scan for new users.
| * | Removes misleading error message in occ files:scan for new users.Christian Paier2022-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the occ files:scan command printed an error message for any new users without any files/folders in the data directory. With this change only users with any file/folder is scanned. This fixes #25433. Signed-off-by: Christian Paier <hallo+git@cpaier.com>
* | | handle setupFS with null userRobin Appelman2022-02-091-4/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | dont mark fs as setup when no user is activeRobin Appelman2022-02-091-2/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix fs cache test user setupRobin Appelman2022-02-091-0/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | pass user object during fs initRobin Appelman2022-02-092-8/+15
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | only setup part of the filesystem for appdata requestsRobin Appelman2022-02-094-49/+61
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #31007 from ↵Christoph Wurst2022-02-096-26/+168
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/enhancement/bootstrap-calendar-resource-room-backend-registration Move calendar resource/room backend registration to IBootstrap
| * | | Move calendar resource/room backend registration to IBootstrapChristoph Wurst2022-02-076-26/+168
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #30945 from ↵Joas Schilling2022-02-087-5/+62
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/techdebt/noid/background-job-time-windows Background job time windows
| * | | Use the new option to signaling insensitivityJoas Schilling2022-02-071-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Allow apps to specify if their background job can be delayedJoas Schilling2022-02-076-5/+60
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #30973 from ↵Vincent Petry2022-02-071-6/+7
|\ \ \ | |/ / |/| | | | | | | | nextcloud/techdebt/noid/allow-spliting-activities-to-another-database Allow specify a config prefix for another database connection
| * | Allow specify a config prefix for another database connectionJoas Schilling2022-02-031-6/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-02-052-0/+36
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #30984 from UmbrellaCodr/ffmpeg-previewSimon L2022-02-041-2/+4
|\ \ \ | | | | | | | | reduce 'Movie preview generation failed Output' log errors
| * | | reduce 'Movie preview generation failed Output' log errorsUmbrellaCodr2022-02-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for movies under 5 seconds Signed-off-by: UmbrellaCodr <umbrella@biohazard.cc> Update lib/private/Preview/Movie.php Co-authored-by: Simon L. <szaimen@e.mail.de>
* | | | Merge pull request #30354 from nextcloud/enhancement/talk-apiJoas Schilling2022-02-0411-0/+470
|\ \ \ \ | | | | | | | | | | Add a Talk API for OCP
| * | | | Add a Talk API for OCPChristoph Wurst2022-02-0411-0/+470
| |/ / / | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #30888 from nextcloud/comments-interfaceJoas Schilling2022-02-042-34/+90
|\ \ \ \ | | | | | | | | | | Update ICommentsManager with reaction methods
| * | | | Update ICommentsManager with reaction methodsVitor Mattos2022-02-032-34/+90
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix psalm errors Reorder methods and remove return null Use best pattern on docblock Goals: update https://github.com/ChristophWurst/nextcloud_composer/ with reaction methods. The script https://github.com/ChristophWurst/nextcloud_composer/blob/master/build.sh only get lib/public classes Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | | Merge pull request #30990 from nextcloud/enh/noid/fulltextsearch-collectionSimon L2022-02-041-0/+11
|\ \ \ \ | | | | | | | | | | FullTextSearch/IIndex: +getCollection(): string;
| * | | | +getCollection(): string;Maxence Lange2022-02-031-0/+11
| | |/ / | |/| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* / | | Use the unjailed-path in OC_Helper::getStorageInfo() for files located in ↵Claus-Justus Heine2022-02-031-1/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SharedStorage. The current implementation already switches the storage-backend to $storage->getSourceStorage(). However, it then calls $rootInfo->getInternalPath() which returns the internal path relative to the storage where the share is mounted. This is wrong, we need also to unjail the path. Compare, e.g., with OCA\Files_Sharing\SharedStorage::file_get/put_contents() for the "logic". Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* | | [tx-robot] updated from transifexNextcloud bot2022-02-032-2/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #30235 from ↵Joas Schilling2022-02-023-3/+4
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/bugfix/noid/primary-key-for-ratelimit-table Add primary key for ratelimit table
| * | Make the DB query simpler (as we just deleted all other entries)Joas Schilling2022-01-281-3/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>