aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * Merge pull request #28541 from nextcloud/path-prefix-index2Robin Appelman2021-10-191-1/+14
| |\ | | | | | | add a prefix index to filecache.path, attempt 2
| | * disable path prefix index on postgresql for nowRobin Appelman2021-10-081-1/+14
| | | | | | | | | | | | | | | | | | | | | having the index work properly for the queries we need it for requires some additional options which dbal does not support at the momement. to prevent making it harder to add the correct index later on we don't create the index for now on postgresql Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Merge pull request #28751 from nextcloud/feat/28139/profile-pagePytal2021-10-185-0/+203
| |\ \
| | * | Profile backendChristopher Ng2021-10-194-0/+194
| | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
| | * | Add new account propertiesChristopher Ng2021-10-191-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - New properties - Organisation - Role - Headline - Biography - Profile Enabled property - Fix errors with building default account properties - Fix L10N factory method `getLanguage` not public error - Update tests Signed-off-by: Christopher Ng <chrng8@gmail.com>
| * | | Add an API to set and rollback the user statusCarl Schwan2021-10-182-1/+22
| |/ / | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Merge pull request #29243 from nextcloud/bugfix/noid/ipropagator-sizedifferenceVincent Petry2021-10-181-1/+2
| |\ \ | | | | | | | | Add already used optional sizeDifference parameter to IPropagator
| | * | Add already used optional sizeDifference parameter to IPropagatorJulius Härtl2021-10-141-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | Merge pull request #29188 from nextcloud/enhancement/public-write-apiDaniel2021-10-152-0/+74
| |\ \ \ | | | | | | | | | | Add calendar object creation API to OCP
| | * | | Add create method to extended calendar implementationAnna Larch2021-10-152-0/+74
| | |/ / | | | | | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Bump since versionJoas Schilling2021-10-141-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Move queries to the joblistJoas Schilling2021-10-141-0/+15
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Add Public Calendar ProviderAnna Larch2021-10-145-0/+168
| | | | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | Merge pull request #29187 from ↵Julius Härtl2021-10-131-3/+3
| |\ \ | | | | | | | | | | | | nextcloud/fix/noid/passwordless-app-password-generation
| | * | allow null password in UserLoggedInEventJulien Veyssier2021-10-131-3/+3
| | |/ | | | | | | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
| * | Merge pull request #26688 from nextcloud/enh/better-share-exceptiondebugJohn Molakvoæ2021-10-131-0/+14
| |\ \
| | * | Default message for ShareNotFound exceptionJohn Molakvoæ (skjnldsv)2021-08-181-0/+14
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Merge pull request #29015 from ↵Christoph Wurst2021-10-131-5/+30
| |\ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/enhancement/l10n-factory-find-generic-language Add L10n factory method for generic language heuristics
| | * | | Add L10n factory method for generic language heuristicsChristoph Wurst2021-10-131-5/+30
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing `findLanguage` method tries its best to find the best language for the current users. For some tasks we don't want this but rather determine the most generic language for *another* user, e.g. when the current user trigger an email notifiaction to someone else. In this case the current user's language is a bad guess in many multi-language environments. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * / | Keep group restrictions when reenabling apps after an updateJoas Schilling2021-10-131-6/+0
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Merge pull request #28608 from nextcloud/path-prefix-filterVincent Petry2021-10-072-0/+20
| |\ \ | | | | | | | | generate a better optimized query for path prefix search filters
| | * | generate a better optimized query for path prefix search filtersRobin Appelman2021-08-262-0/+20
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Merge pull request #27733 from ↵Julius Härtl2021-10-052-3/+17
| |\ \ \ | | | | | | | | | | | | | | | PhrozenByte/enhancement/noid/IURLGenerator-linkToDefaultPageUrl
| | * \ \ Merge branch 'master' into enhancement/noid/IURLGenerator-linkToDefaultPageUrlDaniel Rudolf2021-08-0419-21/+113
| | |\ \ \
| | * | | | Add RedirectToDefaultAppResponse::__construct() annotationsDaniel Rudolf2021-07-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>