summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * | Add a primary key to ratelimit_entries tableJoas Schilling2022-01-282-0/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | send request id in response headerRobin Appelman2022-02-011-0/+7
| |/ |/| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #29286 from nextcloud/enhancement/drop-php-7-3Côme Chilliet2022-02-011-3/+3
|\ \ | | | | | | Drop PHP7.3
| * | Drop PHP7.3Christoph Wurst2022-01-251-3/+3
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Allow sub-admins to access delegated settings.Claus-Justus Heine2022-01-311-14/+11
| |/ |/| | | | | Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
* | Merge pull request #30794 from ↵Joas Schilling2022-01-282-14/+65
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/allow-to-get-comments-with-verb Allow to get comments with a given set of verbs
| * | Fix typo in deprecatedJoas Schilling2022-01-211-2/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Allow to get comments with a given set of verbsJoas Schilling2022-01-212-14/+65
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #30855 from nextcloud/psalm/themingJohn Molakvoæ2022-01-274-8/+14
|\ \ \
| * | | Fix registerEventListener issuesCarl Schwan2022-01-271-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Fix psalm issues in theming appCarl Schwan2022-01-263-6/+12
| | |/ | |/| | | | | | | | | | | | | | | | | | | After this change, we are down to only one psalm warning for this app and related to the Application.php. This also make composer psam:update-baseline not silently ignore new errors. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #30876 from nextcloud/docs/deprecate_addScriptVincent Petry2022-01-272-2/+3
|\ \ \ | | | | | | | | Add deprecation notice to script & addScript func
| * | | Add deprecation notice to script & addScript funcLouis Chemineau2022-01-272-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | Merge pull request #30858 from nextcloud/fix/ajax-list-dir-content-on-fileLouis2022-01-271-1/+1
|\ \ \ \ | |/ / / |/| | | Return 404 when AJAX tries to list dir content but file given
| * | | Return 404 when AJAX tries to list dir content but file givenMichaIng2022-01-261-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | Due to a code mistake, the expected 404 return when AJAX tries to list a directory content with a non-directory file path given, does not happen. It instead fails with another exception. This commit restores the original intention to return 404 in the first place when passing a non-directory path with the "dir" parameter. Signed-off-by: MichaIng <micha@dietpi.com>
* | | Merge pull request #30832 from nextcloud/untrusted_domains_warningSimon L2022-01-261-1/+1
|\ \ \ | | | | | | | | Makes untrusted domain error a warning.
| * | | Makes untrusted domain error a warning.Pierre Ozoux2022-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It sends a 400 to the client, so I could even argue that it should be an error. But currently as an admin, I'm quiet surprised that I get a 400 in the UI, and nothing in the log with the default level. I saw this commit that explains the reason why info. But I disagree. Feel free to close the PR if you don't agree with it. Signed-off-by: Pierre Ozoux <pierre@ozoux.net>
* | | | Merge pull request #30822 from ↵Joas Schilling2022-01-262-74/+0
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | nextcloud/bugfix/29287/remove-create-function-calls Remove createPluralFunction which is replaced by Symfony\Translations…
| * | | Remove createPluralFunction which is replaced by Symfony\Translations libJoas Schilling2022-01-242-74/+0
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>