summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector
Commit message (Collapse)AuthorAgeFilesLines
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1029-85/+40
| | | | | | | | | | | | | | | 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-104-7/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove spaces after method or function callChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-096-37/+37
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-092-0/+2
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-094-9/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix multiline commentsChristoph Wurst2020-04-081-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-3115-2/+17
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19325 from nextcloud/dependachristoph/composer/sabre-4.0Roeland Jago Douma2020-03-306-6/+6
|\ | | | | Update Sabre (and friends) to 4.0
| * Sabre/DAV 4.0: beforeMethod is now beforeMethod:*Georg Ehrke2020-03-276-6/+6
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-274-6/+0
|\ \ | |/ |/| Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-254-6/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-2611-37/+37
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use lowercase true, false and null constantsChristoph Wurst2020-03-252-2/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Limit enumeration in principal searchJulius Härtl2020-03-201-1/+28
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* merge the two almost identical custom property backendsRobin Appelman2020-03-182-352/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* pass the existing locks info when making locked exception with absolute pathsRobin Appelman2020-03-021-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Check for empty authorization headers for office requests and allow ↵Julius Härtl2020-02-041-2/+5
| | | | | | anonymous option on the whole tree Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headers for 18Christoph Wurst2019-12-202-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18061 from nextcloud/bugfix/noid/dav-plugin-oldRoeland Jago Douma2019-12-161-2/+21
|\ | | | | Load apps dav plugins on the old webdav route
| * Load apps dav plugins on the old webdav routeJulius Härtl2019-12-041-2/+21
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #17935 from nextcloud/feature/noid/public-auth-for-circlesRoeland Jago Douma2019-12-111-2/+6
|\ \ | | | | | | adding share type circles
| * | using IShare::Maxence Lange2019-12-051-4/+5
| | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | adding share type circlesMaxence Lange2019-12-051-1/+4
| |/ | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* / Update license headersChristoph Wurst2019-12-0539-50/+81
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* respect shareapi_allow_share_dialog_user_enumeration in Principal backend ↵Georg Ehrke2019-12-031-0/+21
| | | | | | for Sabre/DAV Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Some php-cs fixesRoeland Jago Douma2019-11-2220-41/+47
| | | | | | | | | | | * 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>
* Merge remote-tracking branch 'origin/master' into filecache-extensionRoeland Jago Douma2019-11-181-3/+15
|\
| * re-acquired expired shared locks on large file uploadsRobin Appelman2019-11-131-3/+15
| | | | | | | | | | | | | | during large file uploads, the shared lock that we get at the begining can expire leading to locked errors later on, instead of erroring, try to re-get the lock Signed-off-by: Robin Appelman <robin@icewind.nl>
* | hookup creation and upload time into davRobin Appelman2019-11-133-0/+39
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #16666 from nextcloud/feature/calendar/delegationRoeland Jago Douma2019-08-151-50/+50
|\ | | | | Feature/calendar/delegation
| * use principaluri instead of userid, allowing to add delegates for rooms and ↵Georg Ehrke2019-08-151-103/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup add owner_id and proxy_id as db index, since we use it for querying Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup don't add ACL for each individual proxy, just use calendar-proxy groups Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup allow delegation of resources / rooms Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup fix addIndex call in migration Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup fix remaining constructor calls of Principal Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup minor fixes and unit tests Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Early first stage implementation of the groupsetRoeland Jago Douma2019-08-151-2/+54
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Use the proxymapper to obtain valid proxy dataRoeland Jago Douma2019-08-151-14/+32
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Return proper responses when office is requesting OPTIONS/HEAD with empty ↵Julius Härtl2019-08-141-1/+4
|/ | | | | | Bearer header Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #14429 from tobiasKaminsky/shareesOnDavRoeland Jago Douma2019-08-132-50/+109
|\ | | | | Show sharees via propfind
| * get all shares, not only first one per typetobiasKaminsky2019-08-081-2/+1
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
| * use namespace everywheretobiasKaminsky2019-08-061-3/+3
| | | | | | | | | | | | no camelCase Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
| * Fix testsRoeland Jago Douma2019-08-011-0/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * add display name to sharee listtobiasKaminsky2019-07-311-2/+3
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
| * Unify share fetchingRoeland Jago Douma2019-07-301-99/+27
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Use proper ShareeListRoeland Jago Douma2019-07-302-6/+61
| | | | | | | | | | | | This makes the XML parsing more sane ;) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Use proper cachingRoeland Jago Douma2019-07-301-25/+54
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * wiptobiasKaminsky2019-07-231-58/+32
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
| * wiptobiasKaminsky2019-07-223-62/+72
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
| * Show sharees via propfindtobiasKaminsky2019-07-222-1/+62
| | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* | More precise error message when expected filesize does not match - could be ↵Morris Jobke2019-07-291-3/+2
| | | | | | | | | | | | on reading or writing side Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Do not log locked filesRoeland Jago Douma2019-07-261-1/+8
|/ | | | | | | This is the code doing its job. There is no need to spam the log file with this. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* dont use part files for dav writes when the target folder doesn't have ↵Robin Appelman2019-07-031-2/+7
| | | | | | create permissions Signed-off-by: Robin Appelman <robin@icewind.nl>
* log inner exception during dav writeRobin Appelman2019-06-061-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>