summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* No need to have these classes we tighten the default CSP from time toRoeland Jago Douma2019-07-273-0/+3
| | | | | | time Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove deprecated searchByTagRoeland Jago Douma2019-07-261-13/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Dont assign $options to $options and cleanup docDaniel Kesselberg2019-07-221-2/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #16450 from ↵Morris Jobke2019-07-221-28/+0
|\ | | | | | | | | nextcloud/tech-debt/noid/cleanup-unused-OC_API-methods Removes unused OC_API::register
| * Removes unused OC_API::registerMorris Jobke2019-07-181-28/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #14954 from tacruc/searchPatternsMorris Jobke2019-07-191-1/+2
|\ \ | |/ |/| Allow to search for real pattern in contacts
| * Allow to search for real pattern in contactsArne Hamann2019-05-281-1/+2
| | | | | | | | | | | | Added an option escape_like_param to allow wildcards Signed-off-by: Arne Hamann <kontakt+github@arne.email>
* | Merge pull request #15040 from ↵Morris Jobke2019-07-176-65/+155
|\ \ | | | | | | | | | | | | nextcloud/feature/13980/push-for-deleted-notifications Notifications overhaul
| * | Keep the old method as a fallback and adjust the testsJoas Schilling2019-07-162-2/+18
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Change how Notifiers and Apps are registeredJoas Schilling2019-07-153-10/+58
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Make all interfaces strictJoas Schilling2019-07-155-60/+86
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #16075 from nextcloud/bugfix/15823/app-restricted-groupsMorris Jobke2019-07-171-0/+15
|\ \ \ | | | | | | | | Remove deleted groups from app restrictions fixes #15823
| * | | Remove deleted groups from app restrictions fixes #15823Greta Doci2019-06-271-0/+15
| | | | | | | | | | | | | | | | Signed-off-by: Greta Doci <gretadoci@gmail.com>
* | | | fix phpdocMaxence Lange2019-07-161-1/+5
| | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | set and complete the searched stringMaxence Lange2019-07-161-0/+18
| |/ / |/| | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | new model to manage some simple queriesMaxence Lange2019-07-142-0/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> fixing issue in addSubTag() Signed-off-by: Maxence Lange <maxence@artificial-owl.com> fix const Signed-off-by: Maxence Lange <maxence@artificial-owl.com> autoload Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Revert "fixing issue in addSubTag()" This reverts commit a9ab2ab91b98133c69272f27ea1b51594719e241. Signed-off-by: Maxence Lange <maxence@artificial-owl.com> syntax Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | Merge pull request #15867 from nextcloud/preview-versioningRoeland Jago Douma2019-07-091-0/+39
|\ \ \ | | | | | | | | allow keeping multiple preview "versions" of the same file
| * | | allow keeping multiple preview "versions" of the same fileRobin Appelman2019-07-081-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The main use case here is storage provided versioning where we dont have separate file ids for all the versions, by allowing a prefix for the version we can store separate previews for all the versions. Additionally, by keeping all the version previews in the same folder as the "normal" previews they will be cleaned up properly when the file is deleted Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Add an event to edit the CSPRoeland Jago Douma2019-07-083-0/+55
|/ / / | | | | | | | | | | | | | | | | | | | | | This introduces and event that can be listend to when we actually use the CSP. This means that apps no longer have to always inject their CSP but only do so when it is required. Yay for being lazy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Allow apps to store longer messages in the comments APIJoas Schilling2019-06-261-2/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #15870 from nextcloud/preview-provider-v2Roeland Jago Douma2019-06-252-0/+58
|\ \ \ | | | | | | | | Add new Provider interface for preview providers
| * | | Add new Provider interface for preview providersRobin Appelman2019-06-172-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the main difference is passing the `File` object to the provider instead of a `View` + path Old providers will still continue to work as before Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Add event dispatcher to OCPChristoph Wurst2019-06-254-1/+143
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Add extendedSupport to SubscriptionJulius Härtl2019-06-173-3/+29
|/ / / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / / Add strict type on Notifications testsJohn Molakvoæ (skjnldsv)2019-06-131-9/+9
|/ / | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | 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>