summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix testsBjoern Schiessle2017-03-241-7/+26
| | | | | | calling getAbsoluteBundlePath() in the constructor makes other tests fail Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Load cert file before syncing addressbooks and contactsJoas Schilling2017-03-241-16/+31
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* use right format for avatarsBjoern Schiessle2017-03-241-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* don't add empty values to the vcardBjoern Schiessle2017-03-241-3/+9
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* fix the way we create a new vcard to avoid to have multiple UIDsBjoern Schiessle2017-03-241-1/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* DummyGetResponsePlugin: ownCloud -> NexcloudChristoph Wickert2017-03-181-1/+1
| | | | Signed-off-by: Christoph Wickert <cwickert@suse.de>
* Chunking NG: Assemble in natural sort order of filesMarkus Goetz2017-03-171-1/+1
| | | | | | | | | | | For https://github.com/owncloud/client/pull/5476 Before this, the assembly could be bogusly in the order 0,1,10,11,2,3 etc. As per the spec "The name of every chunk should be its chunk number." https://github.com/cernbox/smashbox/blob/master/protocol/chunking.md Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Don't set the HTTP status twiceJoas Schilling2017-03-161-1/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* switch reshares to trueMaxence Lange2017-03-141-1/+1
| | | Signed-off-by: Maxence Lange <maxence@nextcloud.com>
* Merge pull request #3600 from coletivoEITA/masterRoeland Jago Douma2017-03-141-2/+2
|\ | | | | added method needsPartFile() in Storage
| * added method needsPartFile() in StorageVinicius Cubas Brand2017-03-141-2/+2
| | | | | | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* | safer casting of datetimeRobin Appelman2017-03-141-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix searching and ordering on getlastmodifiedRobin Appelman2017-03-131-2/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #3772 from nextcloud/favorite-searchMorris Jobke2017-03-131-5/+11
|\ \ | | | | | | Allow searching for favorites
| * | Allow searching for favoritesRobin Appelman2017-03-081-5/+11
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Correct incorrectly typed X-OC-Mtime headerStefan Schneider2017-03-101-1/+6
| | | | | | | | | | | | Signed-off-by: Stefan Schneider <stefan.schneider@squareweave.com.au>
* | | Merge pull request #3621 from kuimovvg/masterRoeland Jago Douma2017-03-091-0/+1
|\ \ \ | |/ / |/| | don't setted status when file is lock
| * | don't setted status when file is lockvkuimov2017-02-251-0/+1
| | |
* | | Merge pull request #3360 from nextcloud/dav-searchRobin Appelman2017-03-082-0/+273
|\ \ \ | | | | | | | | Implement webdav SEARCH
| * | | add tests for filesearchbackendRobin Appelman2017-03-011-7/+4
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | Implement webdav SEARCHRobin Appelman2017-03-012-6/+206
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | add icewind/searchdavRobin Appelman2017-02-281-0/+76
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Set a status code when setting a bodyJoas Schilling2017-03-071-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Add new user agent of windows 10 dav backendJoas Schilling2017-03-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Thanks Microsoft Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #3678 from ↵Roeland Jago Douma2017-03-032-17/+42
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/issue-3677-caldav-sharing-permission-problem CalDAV sharing permissions should not depend on the order
| * | | | Make sure shares use read-write when availableJoas Schilling2017-03-022-4/+24
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | Don't waste energy unless necessaryJoas Schilling2017-03-022-16/+21
| |/ / / | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / / / handle non existing owners when handling dav requestsRobin Appelman2017-03-021-3/+10
|/ / / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Properly handle groups with a /Roeland Jago Douma2017-02-272-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #3598 from ↵Roeland Jago Douma2017-02-241-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/issue-3583-shared-addressbooks-fail-on-legacy-endpoint Use the correct principal for shared addressbooks
| * | | Use the correct principal for shared addressbooksJoas Schilling2017-02-231-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Clean up single user modeMorris Jobke2017-02-221-3/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Single user mode basically disables WebDAV, OCS and cron execution. Since we heavily rely on WebDAV and OCS also in the web UI it's basically useless. An admin only sees a broken interface and can't even change any settings nor sees any files. Also sharing is not possible. As this is at least the case since Nextcloud 9 and we haven't received any reports for this it seems that this feature is not used at all so I removed it. The encryption commands now rely on the well tested maintenance mode. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | this is publicJohn Molakvoæ (skjnldsv)2017-02-141-1/+1
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | getUsersOwnAddressBooksJohn Molakvoæ (skjnldsv)2017-02-142-1/+28
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #3430 from nextcloud/fix-ios-client-detectionMorris Jobke2017-02-101-4/+3
|\ \ \ | | | | | | | | Fix detection of the new iOS app
| * | | Fix detection of the new iOS appJoas Schilling2017-02-101-4/+3
| |/ / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / / Add integration tests for legacy DAV endpointsLukas Reschke2017-02-102-1/+19
|/ / | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | fix shared-as-busy events for ownerGeorg Ehrke2017-01-261-1/+7
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Make sure the used event type and the setting/filter are the sameJoas Schilling2017-01-102-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #2512 from nextcloud/cleanup-system-tag-usageRoeland Jago Douma2017-01-061-3/+4
|\ \ | | | | | | Only allow admins to delete tags
| * | Only allow admins to delete tagsJoas Schilling2016-12-061-3/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Fix generation of birthday, deathdate and anniversary in case where no year ↵Thomas Müller2017-01-051-6/+39
| | | | | | | | | | | | | | | | | | | | | is set - which is allowed as per https://tools.ietf.org/html/rfc6350#section-6.2.5 (#26756) Signed-off-by: Lukas Reschke <lukas@statuscode.ch> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #2850 from nextcloud/downstream-26603Roeland Jago Douma2017-01-021-0/+3
|\ \ \ | | | | | | | | Fixed size issues on main detail view and disappearing of share recipients (#26603)
| * | | Fixed size issues on main detail view and disappearing of share recipients ↵Michael Jobst2016-12-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#26603) * fixed size issues on main detail view and disappearing of share recipients * Changes due to code comments * Moved reloadProperties() to FileInfoModel * Solved Scrutinizer issues * Bugfix: undefined value used on error * check if options are set for FileInfoModel.initialize() Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Fix legacy caldav endpointsRoeland Jago Douma2017-01-023-31/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * CaldavBackend is now endpoint aware (use old style principals on old endpoint and new onces on new). Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Add test execution against legacy DAV backendLukas Reschke2017-01-021-1/+1
|/ / / | | | | | | | | | | | | | | | Since the tests to quite hugely rely on sync tokens being present I also included those in the legacy backend. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Return explicit values instead of boolean from sabre (#26654)Sergio Bertolín2016-12-221-1/+5
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Merge pull request #2758 from nextcloud/only-one-dav-backendLukas Reschke2016-12-213-25/+28
|\ \ \ | | | | | | | | Register only one dav backend
| * | | Fix error when $view is null when being passed into some pluginsThomas Müller2016-12-192-24/+27
| | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | | Fix "Call to a member function getUID() on null"Thomas Müller2016-12-191-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>