summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Add interface to allow storages from opting out of encryptionRobin Appelman2018-11-291-0/+31
| | | | | | As opposed to hard-coding a list of excluded storages Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add PHPDoc for thrown exceptionMorris Jobke2018-11-191-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix string doc type casingChristoph Wurst2018-11-151-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Throw exception if decryption failsRoeland Jago Douma2018-11-141-0/+1
| | | | | | For #11868 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #11942 from nextcloud/techdebt/noid/use-count-functionMorris Jobke2018-11-121-2/+3
|\ | | | | Use the defined func()->count() instead of manual counting
| * Use the defined func()->count() instead of manual countingJoas Schilling2018-11-081-2/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add deprecation message ofr insertIfNotExistMorris Jobke2018-11-091-0/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Catch UniqueConstraintViolationException inside insertIfNotExistMorris Jobke2018-11-091-1/+3
| | | | | | | | | | | | | | | | This is the most common case for the usage of this method. See also https://github.com/nextcloud/server/issues/12369 and the linked tickets. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #12335 from nextcloud/fix/12319/respect-fixed-usernamesblizzz2018-11-081-0/+3
|\ \ | |/ |/| do not offer to change display name or password, if not possible.
| * do not offer to change display name or password, if not possible.Arthur Schiwon2018-11-071-0/+3
| | | | | | | | | | | | Fixes #12319 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #12348 from nextcloud/fix/basic_csp_no_longer_deprecatedMorris Jobke2018-11-081-1/+0
|\ \ | | | | | | Basic CSP no longer deprecated
| * | Basic CSP no longer deprecatedRoeland Jago Douma2018-11-081-1/+0
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Clear avatar cache with frontend repairJohn Molakvoæ (skjnldsv)2018-11-081-0/+1
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Expose the backend of IUserRoeland Jago Douma2018-11-021-0/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* New user backend interface to check if a user can confirm passwordsRoeland Jago Douma2018-11-021-0/+36
| | | | | | | On some backends (saml for example) users can't revalidate their passwords as Nextcloud has no way to do verify it. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #12193 from nextcloud/interface-fulltxtsearch-issue-00002Maxence Lange2018-11-021-3/+79
|\ | | | | +infoBool / +infoInt
| * init some varMaxence Lange2018-11-011-3/+3
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * +infoBool / +infoIntMaxence Lange2018-11-011-0/+76
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #11844 from nextcloud/multiple-link-sharesMorris Jobke2018-11-011-0/+17
|\ \ | |/ |/| allow to create multiple link shares via share api
| * allow to add labels to sharesBjoern Schiessle2018-11-011-0/+17
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | extend storage api to allow directly writing a stream to storageRobin Appelman2018-10-311-0/+40
| | | | | | | | | | | | | | | | | | | | | | this removes the need for temporary storages with some external storage backends. The new method is added to a separate interface to maintain compatibility with storage backends implementing the storage interface directly (without inheriting common) Currently the interface is implemented for objectstorage based storages and local storage and used by webdav uploads Signed-off-by: Robin Appelman <robin@icewind.nl>
* | missing typeMaxence Lange2018-10-311-2/+2
|/ | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge remote-tracking branch 'origin/interfaces-files-fulltextsearch' into ↵Maxence Lange2018-10-301-0/+112
|\ | | | | | | | | interfaces-files-fulltextsearch Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * implementing files_fulltextsearch within coreMaxence Lange2018-10-251-0/+112
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Merge pull request #12056 from nextcloud/interfaces-fulltextsearch-2Roeland Jago Douma2018-10-3016-0/+3871
|\ \ | | | | | | Public interfaces FullTextSearch
| * | public interfaces FullTextSearchMaxence Lange2018-10-3016-0/+3871
| | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> -@return mixed Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Merge remote-tracking branch 'origin/interfaces-fulltextsearch-2' into interfaces-fulltextsearch-2 Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | Merge pull request #11899 from nextcloud/enhancement/noid/sharing-consolidationRoeland Jago Douma2018-10-301-6/+8
|\ \ \ | | | | | | | | Sharing user consolidation
| * | | Make enhancing entries with type property optionalJulius Härtl2018-10-301-6/+8
| |/ / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / / Extend IShare to show hide download stateRoeland Jago Douma2018-10-301-0/+21
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add getExtension() to FileInfoRobin Appelman2018-10-292-0/+16
| | | | | | | | | | | | | | this is a fairly common operation so it makes sense to prevent having to repeatedly implement it. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Allow property filters to be nullJulius Härtl2018-10-241-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #11439 from nextcloud/trash-modular-apiMorris Jobke2018-10-231-0/+6
|\ \ | | | | | | Modular trashbin api
| * | expose storagefactory in server containerRobin Appelman2018-10-171-0/+6
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add report-uri to CSPRoeland Jago Douma2018-10-212-0/+23
| |/ |/| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #11711 from nextcloud/feature/backgroundjobs_ocpChristoph Wurst2018-10-193-0/+253
|\ \ | |/ |/| Add proper backgroundjobs to OCP
| * fixup! Add backgroundjobs to OCPRoeland Jago Douma2018-10-091-0/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add backgroundjobs to OCPRoeland Jago Douma2018-10-093-0/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds abstract classes to base background jobs on. Right now almost all uses of this use the private namespace. For most usages it will be enough to just extend the the abstract classes QueuedJob or TimedJob. It should be a straight forward drop in replacement. The private jobs can then be killed off after a few releases. So we have a nice public API. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #11740 from nextcloud/feature/noid/account-apiRoeland Jago Douma2018-10-154-0/+310
|\ \ | | | | | | Public API to get user acocunt data
| * | Add \OCP\Account public APIJulius Härtl2018-10-154-0/+310
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | include dashboard into coreMaxence Lange2018-10-1510-0/+1579
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Merge remote-tracking branch 'origin/interface-dashboard' into interface-dashboard Signed-off-by: Maxence Lange <maxence@artificial-owl.com> moving data object to OCP Signed-off-by: Maxence Lange <maxence@artificial-owl.com> update autoload files Signed-off-by: Maxence Lange <maxence@artificial-owl.com> +@since Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | Disallow unsafe-eval by defaultRoeland Jago Douma2018-10-141-6/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Make activity events strictJoas Schilling2018-10-121-39/+41
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #11719 from ↵Morris Jobke2018-10-101-1/+9
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/allow-to-mock-new-datetime Allow to inject/mock `new \DateTime()` similar to time()
| * | Allow to inject/mock `new \DateTime()` similar to time()Joas Schilling2018-10-091-1/+9
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #11622 from nextcloud/feature/11617Roeland Jago Douma2018-10-091-0/+8
|\ \ | | | | | | Add function to generate urls for OCS routes
| * | Add function to generate urls for OCS routesRoeland Jago Douma2018-10-091-0/+8
| |/ | | | | | | | | | | | | | | | | | | fixes #11617 The OCS routes are only absolute for now as they are often exposed to the outside anyway and are on a different endpoint than index.php in anyway. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-1/+1
|/ | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #11686 from ↵Morris Jobke2018-10-091-0/+1
|\ | | | | | | | | nextcloud/deprecation/noid/ocp_util_recursiveArraySearch Deprecate unused OCP\Util::recursiveArraySearch
| * Deprecate unused OCP\Util::recursiveArraySearchMorris Jobke2018-10-081-0/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Deprecate unused, private OC_Helper::linkToPublicMorris Jobke2018-10-081-1/+6
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>