summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Fix userid casting in notificationsJohn Molakvoæ (skjnldsv)2019-06-111-2/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not try to autoload built in typesRoeland Jago Douma2019-06-041-1/+2
| | | | | | | | This avoids calls to the autoloader (or chain of autoloaders) to see if for example 'principalPrefix' class can be found. While we already know it is a string. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #15780 from nextcloud/td/depremove/callCheckRoeland Jago Douma2019-05-291-16/+0
|\ | | | | Remove deprecated function callCheck
| * Remove deprecated function callCheckRoeland Jago Douma2019-05-281-16/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #15779 from nextcloud/td/depremove/stringutilsRoeland Jago Douma2019-05-291-49/+0
|\ \ | | | | | | Remove deprecatred StringUtils class
| * | Remove deprecatred StringUtils classRoeland Jago Douma2019-05-281-49/+0
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Remove deprecated function checkAppEnabledRoeland Jago Douma2019-05-281-10/+0
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #15704 from nextcloud/enh/7276/group-namesblizzz2019-05-271-0/+36
|\ | | | | Group display name support (service level + ldap)
| * group display name support (service level + ldap)Arthur Schiwon2019-05-271-0/+36
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #15700 from nextcloud/fix/open_multiple_link_sharesMorris Jobke2019-05-241-0/+14
|\ \ | | | | | | Redirect to the right token on public shares
| * | Redirect to the right token on public sharesRoeland Jago Douma2019-05-231-0/+14
| |/ | | | | | | | | | | | | | | If the token doesn't match (or isn't set) during the redirect. We should properly set it. Else we might redirect to a later auth display that set these values. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Make it possible to show admin settings for sub adminsChristoph Wurst2019-05-232-1/+37
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fixes possible override of uniqueMember by autodetectionArthur Schiwon2019-05-171-1/+1
| | | | | | | | | | | | | * uniqueMember was the default so we did not know whether this setting is desired or the initial value * autodetection of the user-group association attribute runs only when it was not set (as far as we knew) * the default is now empty * thus LDAPProvider might return this value as well (in exceptional cases) * if a group base is given (edge case), use this instead of general base * resolves #12682 Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Allow 2FA to be setup on first loginRoeland Jago Douma2019-05-173-0/+118
| | | | | | | | | Once 2FA is enforced for a user and they have no 2FA setup yet this will now prompt them with a setup screen. Given that providers are enabled that allow setup then. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add interfaces to interact with subscription from support appMorris Jobke2019-05-134-0/+161
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow crash reporters to catpture any messageChristoph Wurst2019-05-092-4/+63
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Deprecate legacy share code and cleanup some unused methodsMorris Jobke2019-04-181-4/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Set empty CSP by defaultRoeland Jago Douma2019-04-1612-1/+34
| | | | | | | | | For #14179 By default responses should have the strictest (and simplest) CSP possible. Only template responses should require an actual CSP. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not use spaces in generated passwordsMorris Jobke2019-04-151-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* +isAvailable()Maxence Lange2019-04-101-0/+10
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Harden appdata putcontentRoeland Jago Douma2019-04-081-0/+1
| | | | | | | If for whatever reason appdata got into a strange state this will at least propegate up and not make it do boom the next run. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [#11236] Set parameter type in QBMapperMarius David Wieschollek2019-03-241-3/+35
| | | | Signed-off-by: Marius David Wieschollek <git.public@mdns.eu>
* Code cleanup.Ole Ostergaard2019-03-211-3/+3
| | | | Signed-off-by: Ole Ostergaard <ole.c.ostergaard@gmail.com>
* Add insertIgnoreConflict to IDBConnection interface.Ole Ostergaard2019-03-211-0/+14
| | | | Signed-off-by: Ole Ostergaard <ole.c.ostergaard@gmail.com>
* Use rich objects instead of name, link and iconJoas Schilling2019-03-192-36/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Replace the icon-class with an absolute link to an imageJoas Schilling2019-03-192-2/+3
| | | | | | Otherwise the icon can not be displayed in mobile apps Signed-off-by: Joas Schilling <coding@schilljs.com>
* CSP: set nonce for iframesRoeland Jago Douma2019-03-161-1/+5
| | | | | | | This for now uses the jsNonce. That way we can easily backport it. For 17 I will fix it properly. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #14548 from ↵Morris Jobke2019-03-081-1/+6
|\ | | | | | | | | nextcloud/bugfix/noid/avoid-duplicate-container-creation Avoid duplicate App container creation
| * Avoid duplicate App container creationJoas Schilling2019-03-051-1/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add preview data as optional data for filesJoas Schilling2019-03-071-0/+12
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fixing phpdocMaxence Lange2019-03-043-42/+52
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fixing INDEX_DONEMaxence Lange2019-03-041-3/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* cleaningMaxence Lange2019-03-042-987/+3
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* moving final class to private, new interface in publicMaxence Lange2019-03-0410-577/+899
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Register providers via class namesJoas Schilling2019-03-011-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Also cache the resource type because it is part of the identifierJoas Schilling2019-03-011-0/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix doc blockJoas Schilling2019-03-011-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add invalidation methods to the interfaceJoas Schilling2019-03-011-0/+19
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Further work on the access cacheJoas Schilling2019-03-014-12/+41
| | | | | | Searching for all is still a problem Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix doc blocksJoas Schilling2019-03-016-26/+34
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Implement search and rename in backendJulius Härtl2019-03-011-0/+8
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add link to resource providerJulius Härtl2019-03-012-0/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Only call resource provider if type matchesJulius Härtl2019-03-011-0/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow apps to register resource providersJulius Härtl2019-03-011-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add iconClass to resourcesJulius Härtl2019-03-012-0/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make names mandatoryJoas Schilling2019-03-012-1/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to create collectionsJoas Schilling2019-03-012-0/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Provider functionalityJoas Schilling2019-03-013-0/+48
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a controller with the most important methodsJoas Schilling2019-03-014-2/+31
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Basic implementation of resource and collection handlingJoas Schilling2019-03-015-0/+199
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>