aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #30378 from nextcloud/feature/accept-multiple-args-on-concatJoas Schilling2022-01-071-3/+3
|\ | | | | Accept multipe args on concat
| * Accept multipe args on concatVitor Mattos2022-01-061-3/+3
| | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | Merge pull request #29921 from ↵Joas Schilling2022-01-051-0/+11
|\ \ | |/ |/| | | | | nextcloud/feature/noid/allow-to-count-commments-with-multiple-verbs Allow to count comments with multiple verbs
| * Allow to count comments with multiple verbsJoas Schilling2021-11-261-0/+11
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #30393 from ↵Joas Schilling2022-01-041-1/+17
|\ \ | | | | | | | | | | | | nextcloud/feature/add-group-concat-aggregator-function Add group_concat aggregator function
| * | Use quote functionJoas Schilling2022-01-041-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Add a test with integerJoas Schilling2022-01-041-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Add unit testVitor Mattos2022-01-031-2/+1
| | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | Add unit test and orderBy parameterVitor Mattos2022-01-031-1/+2
| | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | Add group_concat aggregator functionVitor Mattos2022-01-031-0/+16
| | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | Sort app scripts topologically by its dependenciesJonas Meurer2021-12-291-29/+20
|/ / | | | | | | | | | | | | | | | | | | | | Implement a proper topological sorting algorithm. Based on the implementation by https://github.com/marcj/topsort.php Logs an error in case a circular dependency is detected. Fixes: #30278 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | Further improve addScript logic, migrate to uksort()Jonas Meurer2021-12-201-56/+25
| | | | | | | | | | | | | | Instead of the logic with `first` and `last`, store dependencies in an own array and sort the scripts topologically by its dependencies later. Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | Sort app scripts by dependencies (Fixes: #30278)Jonas Meurer2021-12-201-4/+28
| | | | | | | | Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | Merge pull request #30130 from nextcloud/fix/config_is_read_onlyChristoph Wurst2021-12-171-0/+2
|\ \ | | | | | | Don't write to config file if `config_is_read_only` is set
| * | Don't write to config file if `config_is_read_only` is setJonas Meurer2021-12-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Also don't write to cache in this case to prevent cache and config file being out of sync. Fixes: #29901 Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | | Fix LDAP related docblocks typesCôme Chilliet2021-12-161-2/+2
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Deprecate entity slugsChristoph Wurst2021-12-141-0/+1
|/ / | | | | | | | | | | | | They are only used a single time in the whole Nextcloud Github organization. We can inline the code there and slim down the public API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Convert strict_search to wildcard property and add psalm docsJoas Schilling2021-12-082-3/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Only limit search in the system address bookJoas Schilling2021-12-081-1/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Only wildcard search if enumeration is allowedJoas Schilling2021-12-082-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix typing problems in OC_ImageCôme Chilliet2021-12-061-1/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Adapt testsJohn Molakvoæ (skjnldsv)2021-12-021-0/+2
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Allow scripts prioritization based on other appsJohn Molakvoæ (skjnldsv)2021-12-021-4/+78
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | code checker fixes for instanceOfStorageRobin Appelman2021-12-023-2/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | teach psalm about `Storage::instanceOfStorage`Robin Appelman2021-12-021-0/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #29830 from ↵Christoph Wurst2021-11-291-0/+3
|\ \ | | | | | | | | | | | | nextcloud/enhancement/wfe-operation-scope-psalm-type-hint Add Psalm specific scope type hint for the WFE operation
| * | Add Psalm specific scope type hint for the WFE operationChristoph Wurst2021-11-221-0/+3
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | add method to shorten a string to given byte size to UtilsArthur Schiwon2021-11-261-0/+24
| |/ |/| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Fix default value for $type in ↵Côme Chilliet2021-11-231-2/+2
| | | | | | | | | | | | | | | | | | OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder::literal This fixes PHP errors about passing null to PDO::quote second parameter. We may want to change IExpressionBuilder as well? Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix Iterator return typesCôme Chilliet2021-11-231-0/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Fix ArrayAccess and JsonSerializable return typesCôme Chilliet2021-11-238-13/+10
|/ | | | | | First round of modifications for PHP 8.1 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #29714 from nextcloud/bump-doctrine-dbalJohn Molakvoæ2021-11-152-4/+4
|\
| * Allow NULL as well for limit, not integer onlyJoas Schilling2021-11-152-4/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Document and type allowed values for calendar property searchesChristoph Wurst2021-11-111-0/+57
|/ | | | | | | | | For API users it looked like any properties could be searched. But it turned out to be a hand picked list of properties that we index and then use for the search. To prevent application errors where special props are not found, I suggest we document and type the allowed values. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move common logic to share managerJoas Schilling2021-11-091-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add IManager::getCalendarsForPrincipal APIChristoph Wurst2021-11-032-3/+12
| | | | | | | | The Calendar app needs to access calendars of a given principal in the back-end. The new calendar providers were not accessible for apps before this patch. Now they can access the ICalendar objects on demand. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #29479 from nextcloud/fix/images-php-8.0Côme Chilliet2021-11-021-1/+1
|\ | | | | Fix image handling for PHP 8.0
| * Fix resource usages in OC_ImageCôme Chilliet2021-10-281-1/+1
| | | | | | | | | | | | This makes sure using resource or GdImage (PHP>=8) behaves the same. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Register missing DAV app calendar providerChristoph Wurst2021-10-281-1/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #29444 from ↵Joas Schilling2021-10-281-0/+56
|\ | | | | | | | | nextcloud/bugfix/noid/public-api-for-trusted-domain-helpers Add an OCP for trusted domain helper
| * Add an OCP for trusted domain helperJoas Schilling2021-10-281-0/+56
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #29453 from nextcloud/bugfix/noid/improve-wordingJohn Molakvoæ2021-10-271-2/+1
|\ \
| * | Improve wordingJoas Schilling2021-10-271-2/+1
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / Use more explicit naming for profile link actionChristopher Ng2021-10-251-2/+2
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Fair use of push notificationsJoas Schilling2021-10-232-1/+15
| | | | | | | | | We want to keep offering our push notification service for free, but large users overload our infrastructure. For this reason we have to rate-limit the use of push notifications. If you need this feature, consider setting up your own push server or using Nextcloud Enterprise. Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge branch 'master' into imountpoint-ocp-storageJohn Molakvoæ2021-10-22586-1538/+2564
|\
| * Bump doctrine/dbal from 3.0.0 to 3.1.3Christoph Wurst2021-10-221-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Move preview provider registration to bootstrapRoeland Jago Douma2021-10-212-0/+16
| | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Change origin field to appIdJoas Schilling2021-10-202-7/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add appName to contactsmenu action APIJohn Molakvoæ2021-10-202-2/+16
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>