summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | | | 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-255-9/+40
|\ \ \ \ | |_|/ / |/| | | | | | | nextcloud/feature/noid/allow-to-log-audit-to-syslog
| * | | Allow to get custom loggers for syslog, errorlog and systemdlog tooJoas Schilling2022-01-195-9/+40
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Add specific psalm-return for getAllUserValuesCôme Chilliet2022-01-242-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-242-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-242-3/+15
| |/ / |/| | | | | | | | | | | | | | The method was already there in AllConfig but private Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-01-242-220/+318
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-01-222-2/+40
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #30379 from nextcloud/feature/add-comments-reactionsJoas Schilling2022-01-217-4/+304
|\ \ \ | |_|/ |/| | Add comments reactions
| * | Fix conflictVitor Mattos2022-01-212-2/+2
| | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | Fix check after change from string to mb_stringVitor Mattos2022-01-211-2/+2
| | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | Fix CSJoas Schilling2022-01-211-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Throw if trying to save reaction without supportJoas Schilling2022-01-211-0/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Only check mb_strlen()Joas Schilling2022-01-211-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Remove order from groupConcat as it is not working everywhereJoas Schilling2022-01-216-8/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Limit the summary and sort it afterwardsJoas Schilling2022-01-211-6/+15
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Fix groupConcat and ordering on OracleVitor Mattos2022-01-216-10/+12
| | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | Order the reaction summary, improvements on validationsVitor Mattos2022-01-211-13/+38
| | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | Disable reactions if database don't support utf8mb4Vitor Mattos2022-01-211-1/+20
| | | | | | | | | | | | | | | | | | Fix column size Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | Update composer autoload and change string to constantVitor Mattos2022-01-212-0/+2
| | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>