summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Fix some issues with the API documentationCarl Schwan2022-02-171-8/+3
|/ | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Allow registration of migratorsChristopher Ng2022-02-111-0/+25
| | | | 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-093-22/+130
|\ \ \ | | | | | | | | | | | | | | | | 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-073-22/+130
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #30945 from ↵Joas Schilling2022-02-082-3/+16
|\ \ \ | | | | | | | | | | | | | | | | 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-071-3/+14
| |/ / | | | | | | | | | 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>
* | 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-043-0/+193
|\ \ \ | | | | | | | | Add a Talk API for OCP
| * | | Add a Talk API for OCPChristoph Wurst2022-02-043-0/+193
| |/ / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #30888 from nextcloud/comments-interfaceJoas Schilling2022-02-041-34/+37
|\ \ \ | | | | | | | | Update ICommentsManager with reaction methods
| * | | Update ICommentsManager with reaction methodsVitor Mattos2022-02-031-34/+37
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | 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>
* | Merge pull request #30235 from ↵Joas Schilling2022-02-021-3/+0
|\ \ | |/ |/| | | | | 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>
* | 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-281-14/+41
|\ | | | | | | | | nextcloud/techdebt/noid/allow-to-get-comments-with-verb Allow to get comments with a given set of verbs
| * Allow to get comments with a given set of verbsJoas Schilling2022-01-211-14/+41
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #30855 from nextcloud/psalm/themingJohn Molakvoæ2022-01-272-4/+10
|\ \
| * | Fix psalm issues in theming appCarl Schwan2022-01-262-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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 #30822 from ↵Joas Schilling2022-01-261-65/+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-241-65/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Remove redundant if clauseCôme Chilliet2022-01-251-4/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Fix OC\Files\Storage\DAV::hasUpdated when cache is not setCôme Chilliet2022-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes the test OCA\Files_External\Tests\Storage\WebdavTest::testStat on PHP>=7.4 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #30763 from ↵John Molakvoæ2022-01-254-7/+36
|\ \ \ | | | | | | | | | | | | nextcloud/feature/noid/allow-to-log-audit-to-syslog
| * | | Allow to get custom loggers for syslog, errorlog and systemdlog tooJoas Schilling2022-01-194-7/+36
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Add specific psalm-return for getAllUserValuesCôme Chilliet2022-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Fix signatures and null $userId corner caseCôme Chilliet2022-01-241-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuration values are sometimes queried when there is no user in session, so $userId is null and we just want to return the default Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Add a new method getAllUserValues($userId) to IConfigCôme Chilliet2022-01-241-3/+3
| |/ / |/| | | | | | | | | | | | | | The method was already there in AllConfig but private Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #30379 from nextcloud/feature/add-comments-reactionsJoas Schilling2022-01-213-2/+279
|\ \ \ | |_|/ |/| | Add comments reactions
| * | Fix check after change from string to mb_stringVitor Mattos2022-01-211-2/+2
| | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>