summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Expose subadmin to OCPRoeland Jago Douma2019-01-291-0/+99
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove legacy activity stuffJoas Schilling2019-01-242-256/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow access to addressbook unique uriJohn Molakvoæ (skjnldsv)2019-01-222-0/+19
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Co-Authored-By: Joas Schilling <coding@schilljs.com>
* Merge pull request #13032 from nextcloud/objectstore-write-existsMorris Jobke2019-01-141-0/+9
|\ | | | | upload new files in objectstore to a .part path first
| * Add objectExists to objectstore interfaceRobin Appelman2018-12-121-0/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Set default frame-ancestors to 'self'Roeland Jago Douma2019-01-081-1/+3
| | | | | | | | | | | | For #13042 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | CSP: Allow fonts to be provided in dataRoeland Jago Douma2019-01-071-0/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Access id property without getter.Daniel Kesselberg2018-12-241-1/+1
| | | | | | | | | | | | Some implementations typehint getId to integer but default is null. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Fetch lastInsertId only when id nullDaniel Kesselberg2018-12-241-1/+3
| | | | | | | | | | | | | | | | When id column has no autoincrement flag query for lastInsertId fails on postgres because no value has been generated. Call lastInsertId only if id is null. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | allow content provide to generate new IndexMaxence Lange2018-12-201-0/+14
|/ | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Remove deprecated functions from SecureRandomRoeland Jago Douma2018-12-071-26/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add optional locale parameter to interface as wellJulius Härtl2018-12-071-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add IMapperExceptionRoeland Jago Douma2018-12-063-2/+34
| | | | | | | This way code using the DB mappers can have try catch blocks on this type of exceptions if they do not care if there was non or to many. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix activatable/deactivatable 2fa provider interface typosChristoph Wurst2018-12-032-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>