summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Add deprecation warningRoeland Jago Douma2019-08-291-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #16723 from nextcloud/fix/sharing/unshare-messageJoas Schilling2019-08-261-0/+8
|\ | | | | Add expiration event for shares
| * Add expiration event for sharesJohn Molakvoæ (skjnldsv)2019-08-211-0/+8
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Make the sharing constants publicly availableJoas Schilling2019-08-231-0/+57
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do not enforce the parent constructor of response to be calledRoeland Jago Douma2019-08-191-10/+8
| | | | | | | If there is no policy set we just take the default empty ones. That way no obscure errors get thrown if the constructor is not called. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* frame-src doesn't respect the nonce attributeRoeland Jago Douma2019-08-161-3/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make the auto-disabled list more broadJoas Schilling2019-08-151-1/+8
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Get the proper UIDRoeland Jago Douma2019-08-131-0/+44
| | | | | | | | | | | | | | | | | | | | | Some user backends (like the database backend) allow us to obtain a user case insensitive. However the UID itself is case sensitive. Example: * create a user User1 * login as User1 - This results the data/User1 folder to be created etc * now have some code somewhere that obtains the userFolder (from IRootFolder) but pas in 'uSER1' as uid - The code will check if that is a valid user. And in this case it is since User1 and uSER1 both map to the same user - However the the UID in the user object is used for the folder a new folder fill be create data/uSER1 With this PR this is avoided now. Since we obtain the real UID casing in the backend before creating the user object. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add feature policy headerRoeland Jago Douma2019-08-105-0/+318
| | | | | | | This adds the events and the classes to modify the feature policy. It also adds a default restricted feature policy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #16498 from nextcloud/feature/noid/room_metadataMorris Jobke2019-08-054-4/+282
|\ | | | | Allow calendar resources/rooms to provide metadata
| * Add standard metadata key for room-featuresGeorg Ehrke2019-08-021-0/+17
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Provide standard metadata keys for contact person of a resourceGeorg Ehrke2019-08-011-0/+15
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Provide standard metadata keys for location of roomGeorg Ehrke2019-08-011-0/+21
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * sync metadata of rooms / resources with cacheGeorg Ehrke2019-08-011-1/+1
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Add \OCP\Calendar\IMetadataProvider interface and provider for common ↵Georg Ehrke2019-08-014-4/+229
| | | | | | | | | | | | metadata keys Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | comparaison types: +regex +wildcardMaxence Lange2019-08-021-0/+2
|/ | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Add form-action CSP elementRoeland Jago Douma2019-07-312-0/+35
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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)