summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Fix avatar file return typeChristopher Ng2022-03-041-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Merge pull request #31244 from nextcloud/backport/31141/stable23Carl Schwan2022-02-281-2/+2
|\ | | | | [stable23] Improve caching policy use immutable when loading versionned assets
| * Improve caching policyCarl Schwan2022-02-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Cache css with version in url. This makes most js and css requests to be cached by the browser * Force caching previews, the etag is in the url so that if the propfind gives a new etag, we will refresh it otherwise it's no use to try to fetch the new etag and do tons of DB queries Tested with firefox and 'debug' => false (important so that the js/css urls are generated with ?v= parameter) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Allow apps to specify if their background job can be delayedJoas Schilling2022-02-223-2/+44
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to get custom loggers for syslog, errorlog and systemdlog tooJoas Schilling2022-02-161-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix psalm warning related to registerEventListenerCarl Schwan2022-01-291-1/+1
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix psalm not runningCarl Schwan2022-01-271-1/+1
| | | | | | | | | | The issue was that we were using psalm/phar instead of vimeo/psalm. This caused issue with the custom psalm plugin in buildd/psalm. This is using the opportunity to also update the psalm version from 3.8 to 3.17 and the php-cs-fixer too. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Convert strict_search to wildcard property and add psalm docsJoas Schilling2021-12-132-3/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only limit search in the system address bookJoas Schilling2021-12-131-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only wildcard search if enumeration is allowedJoas Schilling2021-12-132-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>
* 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>
* 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>
* Merge pull request #29662 from ↵Vincent Petry2021-11-171-0/+5
|\ | | | | | | | | nextcloud/enhancement/calendar-search-properties-api-stable23 [stable23] Document allowed property names for calendar property searches
| * Document allowed property names for calendar property searchesChristoph Wurst2021-11-111-0/+5
| | | | | | | | | | | | | | | | | | 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 the allowed values. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Allow NULL as well for limit, not integer onlyJoas Schilling2021-11-152-4/+4
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>