summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1738 from ↵Morris Jobke2016-10-261-0/+34
|\ | | | | | | | | nextcloud/comments-provide-displaynames-with-mentions comment mentions: show displayname not uid
| * resolve displayname via manager and registerable resolversArthur Schiwon2016-10-191-2/+21
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * move mention extraction to (I)Comment and report mentions via DAVArthur Schiwon2016-10-191-0/+15
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Fix unit tests for BlockLegacyClientPluginThomas Müller2016-10-251-15/+10
| |
* | Goodbye Iframe transport !Vincent Petry2016-10-241-164/+0
| | | | | | | | | | | | Not needed any more in IE >= 11 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Use Webdav PUT for uploads in the web browserVincent Petry2016-10-242-2/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - uses PUT method with jquery.fileupload for regular and public file lists - for IE and browsers that don't support it, use POST with iframe transport - implemented Sabre plugin to handle iframe transport and redirect the embedded PUT request to the proper handler - added RFC5995 POST to file collection with "add-member" property to make it possible to auto-rename conflicting file names - remove obsolete ajax/upload.php and obsolete ajax routes Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add unit testLukas Reschke2016-10-221-0/+40
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #1834 from nextcloud/downstream-26186Morris Jobke2016-10-211-11/+35
|\ \ | | | | | | Add more files plugins to new DAV endpoint
| * | Add more files plugins to new DAV endpoint (#26186)Vincent Petry2016-10-201-11/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add more files plugins to new DAV endpoint Also fix report plugin to properly retrieve the path from the prolongated URL * In case the report is not for this plugin -> simply return to allow other plugins to get executed * Adjust onReport tests to match new behavior
* | | Move OC\Files\Storage\Shared to the right namespaceJoas Schilling2016-10-201-2/+2
|/ /
* | Merge pull request #1821 from nextcloud/downstream-26366Morris Jobke2016-10-201-14/+12
|\ \ | | | | | | Code style changes from downstream
| * | Sanitize length headers when validating quotaThomas Müller2016-10-201-14/+12
| | |
* | | Merge pull request #1796 from nextcloud/oc_fav-reportLukas Reschke2016-10-201-10/+29
|\ \ \ | |/ / |/| | Make it possible to filter by tags with REPORT method
| * | Make it possible to filter by tags with REPORT methodVincent Petry2016-10-191-10/+29
| |/ | | | | | | | | | | | | | | | | | | | | Enhanced the REPORT method on the Webdav endpoint and added a "oc:favorite" filter rule. When set, it will return a flat list of results filtered with only favorite files. The web UI was also adjusted to use this REPORT method instead of the private API endpoint. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Make sure we only use numbers as lengthJoas Schilling2016-10-191-0/+6
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [9.2] Sync deathdate and anniversary to birthday calendar (#25655)Thomas Müller2016-10-141-21/+34
| | | | | | | | * Sync deathdate and anniversary to birthday calendar (which should be renamed maybe) * Sync deathdate and anniversary to birthday calendar (which should be renamed maybe) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix unit testsJoas Schilling2016-10-063-11/+24
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #1518 from nextcloud/dav-fileshome-directory-propertiesMorris Jobke2016-10-061-52/+0
|\ | | | | FilesHome now also returns DAV properties
| * FilesHome now also returns DAV propertiesVincent Petry2016-09-261-52/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The files home node must also return DAV properties like etag, permissions, etc for the clients to work like they did with the old endpoint. This fix makes FilesHome extend the Sabre Directory class, this makes the FilesPlugin and other plugins recognize it as a directory and will retrieve the matching properties when applicable. Downstream of https://github.com/owncloud/core/pull/26066 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #1513 from nextcloud/fix-etag-on-moveMorris Jobke2016-09-281-5/+32
|\ \ | | | | | | Return ETag and OC-ETag in case of a move (#25683)
| * | Return ETag and OC-ETag in case of a move (#25683)Thomas Müller2016-09-281-5/+32
| | | | | | | | | | | | | | | | | | Downstreaming of https://github.com/owncloud/core/pull/25683 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Merge pull request #1545 from nextcloud/delete-calendars-with-their-usersMorris Jobke2016-09-281-15/+73
|\ \ \ | |/ / |/| | Delete calendars with their users
| * | Rename deleteAllSharesForUser() to deleteAllSharesByUser()Thomas Citharel2016-09-281-1/+1
| | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | Add IL10N to unit testLukas Reschke2016-09-271-0/+15
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | fix deletion of calendarsThomas Citharel2016-09-271-1/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | delete shares to an userThomas Citharel2016-09-271-0/+1
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | Adjust delete logic and ann unit testsThomas Müller2016-09-271-15/+57
| | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Merge pull request #1197 from nextcloud/oc-public-sharingLukas Reschke2016-09-276-3/+306
|\ \ \ | |/ / |/| | CalDAV calendar public sharing
| * | fix testsThomas Citharel2016-09-261-1/+1
| | |
| * | Use true random string as uri for public calendars - as a result we can no ↵Thomas Müller2016-09-263-19/+34
| | | | | | | | | | | | longer return the pre-publish-url
| * | Add new constructor argsLukas Reschke2016-09-261-5/+13
| | |
| * | Add missing constructor argumentLukas Reschke2016-09-261-2/+2
| | |
| * | Add test for PublicCalendarRootThomas Citharel2016-09-261-0/+103
| | |
| * | add missing testsThomas Citharel2016-09-262-3/+18
| | |
| * | test serializerThomas Citharel2016-09-261-0/+56
| | |
| * | fix things (indentation, tests, comments, backend custom implementationThomas Citharel2016-09-263-12/+12
| | |
| * | fix unpublishing testThomas Citharel2016-09-261-1/+1
| | |
| * | fix plugin testThomas Citharel2016-09-261-3/+15
| | |
| * | a few testsThomas Citharel2016-09-262-0/+89
| | |
| * | Fix some testsThomas Citharel2016-09-262-3/+8
| |/
* | Merge pull request #1457 from nextcloud/upstream-fix-birthday-calendar-componentLukas Reschke2016-09-261-0/+11
|\ \ | |/ |/| [Upstream] fix birthday calendar component
| * The birthday calendar can only hold VEVENT - refs ↵Thomas Müller2016-09-201-0/+11
| | | | | | | | https://github.com/owncloud/tasks/issues/338
* | Fix more testsJoas Schilling2016-09-201-4/+4
| |
* | Use magic DIJoas Schilling2016-09-201-2/+4
|/
* Improve chunk upload AssemblyStream performanceVincent Petry2016-09-131-3/+63
|
* Filter more mimetypesLukas Reschke2016-09-091-9/+51
| | | | There's no need to allow more than those defined mimetypes for images.
* Fix testsJoas Schilling2016-09-071-16/+28
|
* more efficient check if addressbook and calendar exists for userRobin Appelman2016-08-313-12/+8
|
* Add a unit test for all the magicJoas Schilling2016-08-301-1/+64
|
* [master] DAV: Return data-fingerprint always when asked (#25482)Markus Goetz2016-08-291-2/+4
| | | | | | | For owncloud/client#5056 Users can configure arbitrary subfolders for syncing, therefore we should always return it when asked for. The sync client makes sure to not always ask for it to save bandwidth.