summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/DAV
Commit message (Collapse)AuthorAgeFilesLines
* Add visibility to all constantsChristoph Wurst2020-04-103-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-107-24/+24
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-109-32/+6
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove space between switch case and colonChristoph Wurst2020-04-092-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-092-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-0/+1
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-39/+39
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-312-5/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-251-3/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* remove the detour trough node and work with path directlyRobin Appelman2020-03-181-34/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use INode instead of Node for custom propertiesRobin Appelman2020-03-181-5/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* handle long property paths to hasing paths >250 charsRobin Appelman2020-03-181-21/+36
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* remove unused codeRobin Appelman2020-03-181-53/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* merge the two almost identical custom property backendsRobin Appelman2020-03-181-18/+100
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersChristoph Wurst2019-12-059-11/+19
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-225-3/+8
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* implement principal property search for calendar user address set propertyGeorg Ehrke2019-03-211-0/+7
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Fix whitespaceMorris Jobke2019-03-051-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Share calendar to circleVinicius Cubas Brand2019-03-011-1/+1
| | | | | | | * Allow user to share calendar with a circle * Allow user to see calendars shared with his/her circles Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* Fix displayName return of dav groups requestJohn Molakvoæ (skjnldsv)2018-11-101-10/+6
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* allow group principal search for dav displayname propertyGeorg Ehrke2018-10-221-9/+132
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* use the same ignored properties list for both CustomerPropertiesBackendsRobin Appelman2018-08-281-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* When sharing calendars and addressbooks the principal has to be verified to ↵Roeland Jago Douma2018-05-271-3/+9
| | | | | | | | be valid https://github.com/owncloud/core/pull/30149/commits/d3fb8fcdd3a6b00bde0c3c9eb4039876e7fc1967 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove unused import statementsMorris Jobke2018-02-141-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class statement instead of stringMorris Jobke2018-01-291-2/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7075 from nextcloud/remove-unused-variablesRoeland Jago Douma2017-11-071-1/+1
|\ | | | | Remove unused variables
| * Remove unused variablesMorris Jobke2017-11-061-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Change @georgehrke's emailMorris Jobke2017-11-062-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update license headersMorris Jobke2017-11-066-2/+7
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Check if the user/group exists for dav sharesJoas Schilling2017-10-051-1/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix comparisons in the dav appJoas Schilling2017-08-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [DAV] Fix URLUtil::splitPath usageRoeland Jago Douma2017-08-011-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #4443 from nextcloud/cleanup-unused-importsJoas Schilling2017-04-241-1/+0
|\ | | | | Remove unused use statements
| * Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | add owner-displayname property to calendars and addressbooksGeorg Ehrke2017-04-231-0/+1
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* OCA\DAV\Files\CustomPropertiesBackend -> OCA\DAV\DAV\CustomPropertiesBackendGeorg Ehrke2017-03-271-0/+291
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Properly handle groups with a /Roeland Jago Douma2017-02-271-3/+3
| | | | | | | | | | | | If a group contains a slash the principal URI becomes principals/groups/foo/bar. Now the URI is plit on '/' so this creates issues ;) Fixes #2957 * Add tests for groups with / Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #1545 from nextcloud/delete-calendars-with-their-usersMorris Jobke2016-09-281-0/+8
|\ | | | | Delete calendars with their users
| * delete shares to an userThomas Citharel2016-09-271-0/+8
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | fix annotations & copyright headersThomas Citharel2016-09-261-3/+0
| |
* | Use true random string as uri for public calendars - as a result we can no ↵Thomas Müller2016-09-261-4/+0
| | | | | | | | longer return the pre-publish-url
* | Allow public access to the principals/system/publicThomas Müller2016-09-261-3/+4
| |
* | Fix requests for browser plugin as well as for the public calendar root folderThomas Müller2016-09-261-6/+18
| |
* | Allow not-authenticated access to specific urlsThomas Müller2016-09-262-0/+97
|/
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-217-8/+16
|
* Fix type hintingRobin Appelman2016-07-081-1/+1
|
* Update license headersLukas Reschke2016-05-262-2/+3
|