summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Proxy server could cache http response when it is not privateClement Wong2020-05-151-3/+3
| | | | Signed-off-by: Clement Wong <git@clement.hk>
* Merge pull request #20513 from nextcloud/backport/20246/stable17Roeland Jago Douma2020-04-202-3/+4
|\ | | | | [stable17] Provide the proper language to the mailer
| * Provide the proper language to the mailerRoeland Jago Douma2020-04-202-3/+4
| | | | | | | | | | | | | | Else we can't properly translate the footer in the recipients e-mail language. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | fix credentialsManager documentation and ensure userId to be used as stringArthur Schiwon2020-04-161-3/+3
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix requested changesTimObert2020-02-231-10/+5
| | | | Signed-off-by: Tim Obert <tobert@w-commerce.de>
* Change the route generation of AuthPublicShareController.php and adjust the ↵Tim Obert2020-02-231-3/+13
| | | | | | routes for file sharing Signed-off-by: Tim Obert <tobert@w-commerce.de>
* Allow to specify apps that somethign is a dirJoas Schilling2019-12-121-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow to check for the mimetype by content onlyJoas Schilling2019-12-121-1/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* set default CSP on NotFoundResponseRoeland Jago Douma2019-09-101-0/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #16928 from nextcloud/fix/icontrolelrmethodreflectorRoeland Jago Douma2019-09-031-0/+1
|\ | | | | Remove reflect method form public interface
| * Remove reflect method form public interfaceRoeland Jago Douma2019-08-301-0/+1
| | | | | | | | | | | | | | | | The reflect method is (and should) only every be called internally. Since if you call it again it would otherwise start mixing and matching arguments etc. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Define a guest type so Talk can use it in it's notificationsJoas Schilling2019-09-021-0/+19
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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