aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add a metadata service to store file metadataCarl Schwan2022-04-132-0/+6
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Adds a "Request password" button to the public share authentication page for ↵Cyrille Bollu2022-04-111-3/+44
|/ | | | | | | | | | | | | | | | | | shares of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves. - Creates a migration step for the files_sharing app to add the 'password_expiration_time' attribute to the oc_shares table. - Makes share temporary passwords' expiration time configurable via a system value. - Adds a system config value to allow permanent share passwords -Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue See https://github.com/nextcloud/server/issues/31005 Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
* Allow to set a strict-dynamic CSP through the APIJulius Härtl2022-03-092-0/+17
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #31141 from nextcloud/fix/better-cache-policyCarl Schwan2022-02-171-2/+2
|\ | | | | Improve caching policy use immutable when loading versionned assets
| * Improve caching policyCarl Schwan2022-02-161-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>
* | Add Transactional trait for atomic DB operationsChristoph Wurst2022-02-171-0/+70
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Allow registration of migratorsChristopher Ng2022-02-111-0/+11
|/ | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Move calendar resource/room backend registration to IBootstrapChristoph Wurst2022-02-071-0/+20
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add a Talk API for OCPChristoph Wurst2022-02-041-0/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* send request id in response headerRobin Appelman2022-02-011-0/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix registerEventListener issuesCarl Schwan2022-01-271-2/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* 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>
* Fix ArrayAccess and JsonSerializable return typesCôme Chilliet2021-11-231-0/+2
| | | | | | First round of modifications for PHP 8.1 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>
* Use more explicit naming for profile link actionChristopher Ng2021-10-251-2/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Move preview provider registration to bootstrapRoeland Jago Douma2021-10-211-0/+13
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Profile backendChristopher Ng2021-10-191-0/+13
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Add Public Calendar ProviderAnna Larch2021-10-141-0/+9
| | | | | Signed-off-by: Anna Larch <anna@nextcloud.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge branch 'master' into enhancement/noid/IURLGenerator-linkToDefaultPageUrlDaniel Rudolf2021-08-041-1/+1
|\
| * Remove some mentions of ownCloud from our api documentationCarl Schwan2021-07-291-1/+1
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Add RedirectToDefaultAppResponse::__construct() annotationsDaniel Rudolf2021-07-011-0/+3
| | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* | Deprecate RedirectToDefaultAppResponseDaniel Rudolf2021-07-011-3/+2
| | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* | Remove \OC::$server->getURLGenerator() usageDaniel Rudolf2021-07-011-1/+4
| | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* | Add IUrlGenerator::linkToDefaultPageUrl()Daniel Rudolf2021-06-301-1/+2
|/ | | | | | Replaces the deprecated \OC_Util::getDefaultPageUrl() and makes this API public. Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* Merge pull request #27635 from nextcloud/fix/datetime-constantsPytal2021-06-231-2/+2
|\ | | | | Fix usage of DateTime constants
| * Move DateTime::RFC2822 to DateTimeInterface::2822Christoph Wurst2021-06-231-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add security.txtLukas Reschke2021-06-231-0/+62
|/ | | | | | Ref https://securitytxt.org Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Phase out the controller reflectorChristoph Wurst2021-06-171-0/+6
| | | | | | | 1) PHP8 attributes will soon replace phpdoc annotations 2) Most of the class was never meant to be used by an app but internally Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #26494 from rigrig/fix-php8-deprecationsMorris Jobke2021-06-071-1/+1
|\ | | | | Fix some php 8 warnings
| * Fix a usort comparison function returning a boolean instead of an integerRichard de Boer2021-05-291-1/+1
| | | | | | | | | | | | PHP 8 shows deprecation warnings about this, see #25806 Signed-off-by: Richard de Boer <git@tubul.net>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0458-146/+46
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Escape filename in Content-DispositionLukas Reschke2021-06-021-6/+2
|/ | | | | | We should escape all occurences of ' and \ in here. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add DB exception throws tag to QBMapper PHPDocAnna Larch2021-05-261-7/+17
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* Merge pull request #26848 from ↵Morris Jobke2021-05-072-3/+12
|\ | | | | | | | | nextcloud/bugfix/noid/add-datetime-support-to-qbmapper Add datetime support to QBMapper
| * Add datetime support to QBMapperJoas Schilling2021-05-012-3/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Rename IQueryBuilder::executeUpdate to IQueryBuilder::executeStatementChristoph Wurst2021-05-051-3/+3
|/ | | | | | | | | Because executeUpdate wasn't a great name. And in DBAL they also use executeStatement more consistently now. Ref https://github.com/doctrine/dbal/issues/4607 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move 2FA registration to IBootstrapRoeland Jago Douma2021-04-201-0/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow registering NotifierServices trough IBootstrapRoeland Jago Douma2021-04-161-0/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix constraint violation detection in QB MapperJoas Schilling2021-04-161-3/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Make debugging easier which header is being setJoas Schilling2021-03-241-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use executeQuery and executeUpdate in the QBMapperChristoph Wurst2021-03-181-11/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Allow overwriting isAuthenticatedRoeland Jago Douma2021-03-091-1/+1
| | | | | | | * Some implementations might check for different things * IT will not change how the current ones work Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix some redundant castsRoeland Jago Douma2021-03-081-1/+1
| | | | | | Happier psalm Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove deprecated \OCP\APIRoeland Jago Douma2021-03-031-0/+4
| | | | | | | | Time to remove this forgood now. Remaining constant moved over The world is a tiny bit better Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Initialize \OCP\AppFramework\Http\ZipResponse::$resourcesChristoph Wurst2021-02-171-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Type the service registrationChristoph Wurst2021-02-101-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move TemplateProvider registration to boot context and make template type ↵Julius Härtl2021-01-281-0/+11
| | | | | | registration lazy Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add a hint about the direction of priorityJoas Schilling2021-01-151-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersChristoph Wurst2020-12-301-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #24702 from nextcloud/enhancement/well-known-handler-apiChristoph Wurst2020-12-181-0/+14
|\ | | | | Add well known handlers API