summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13819 from ↵Morris Jobke2019-02-072-0/+84
|\ | | | | | | | | nextcloud/bugfix/noid/unify-html-encoding-handling-with-other-ros-apps Unify the HTML encoding handling with other ROS apps
| * Update documentation of setParsed* and setRich*Joas Schilling2019-01-252-0/+84
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #13748 from nextcloud/cache-insert-eventMorris Jobke2019-02-071-0/+72
|\ \ | | | | | | add event for inserting cache entries
| * | add event for inserting cache entriesRobin Appelman2019-02-071-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | this provides a reliable way for apps to listen to new files without the need to of cache wrappers to hook into inserts themselves (something which isn't 100% reliable) Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #13969 from ↵Morris Jobke2019-02-071-0/+37
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/enh/additional_scripts_no_on_public_pages No need to emit additonalscript event on public pages
| * | | Add StandaloneTemplateResponseRoeland Jago Douma2019-02-061-0/+37
| |/ / | | | | | | | | | | | | | | | | | | This can be used by pages that do not have the full Nextcloud UI. So notifications etc do not load there. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Remove public interface that was only needed for testingMorris Jobke2019-02-071-9/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Add since labelsMorris Jobke2019-02-071-0/+13
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Implement guest avatar endpointMichael Weimann2019-02-073-0/+155
|/ / | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Emit to load additionalscriptsRoeland Jago Douma2019-01-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #13662 This will fire of an event after a Template Response has been returned. There is an event for the generic loading and one when logged in. So apps can chose to load only on loged in pages. This is a more generic approach than the files app event. As some things we might want to load on other pages as well besides the files app. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #13894 from nextcloud/feature/noid/chunk-indexable-documentsMorris Jobke2019-01-311-1/+21
|\ \ | | | | | | Allow provider to returns indexeable documents by chunks
| * | phpdocMaxence Lange2019-01-311-2/+3
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | removing default value in param $chunkMaxence Lange2019-01-291-2/+2
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | +generateChunks()Maxence Lange2019-01-291-2/+21
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | Add a key parameter to the new initial state APIChristoph Wurst2019-01-301-3/+7
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Provide initial stateRoeland Jago Douma2019-01-291-0/+56
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | 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>