summaryrefslogtreecommitdiffstats
path: root/apps/dav
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #19901 from nextcloud/bugfix/noid/vcard-photo-handlingRoeland Jago Douma2020-04-173-27/+89
|\ | | | | Improved vcard photo handling
| * Update Contact Size after removing photoGeorg Ehrke2020-04-151-6/+38
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Don't populate the PHOTO property when it's not an imageJoas Schilling2020-04-152-3/+31
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Always transform the etag and read the dataJoas Schilling2020-04-152-12/+14
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Use table variable everywhereJoas Schilling2020-04-151-7/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Update list of multiple propertiesJohn Molakvoæ (skjnldsv)2020-04-172-15/+87
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | DAV's exception logger should deal with any ThrowableArthur Schiwon2020-04-151-1/+1
|/ | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #20138 from ↵Joas Schilling2020-04-152-43/+65
|\ | | | | | | | | nextcloud/bugfix/noid/make-remote-checking-more-generic Make remote checking more generic
| * Fix unit testsJoas Schilling2020-04-151-5/+50
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Check all remotes for local accessJoas Schilling2020-04-141-38/+15
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #19351 from nextcloud/dav-upload-hashRoeland Jago Douma2020-04-151-9/+22
|\ \ | |/ |/| Return hashes of uploaded content for dav uploads
| * dont set headers for cliRobin Appelman2020-04-131-1/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Return hashes of uploaded content for dav uploadsRobin Appelman2020-04-131-8/+19
| | | | | | | | | | | | | | | | hashes are set in "X-Hash-MD5", "X-Hash-SHA1" and "X-Hash-SHA256" headers. these headers are set for file uploads and the MOVE request at the end of a multipart upload. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Verify that destination is not a directory.Daniel Kesselberg2020-04-142-4/+54
| | | | | | | | | | | | Otherwise file_put_contents will fail later. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Only delete the default calendar setting when the default calendarThomas Citharel2020-04-131-1/+4
| | | | | | | | | | | | itself is deleted Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Provide dav setting for user's default calendarThomas Citharel2020-04-136-15/+265
|/ | | | | | And add tests to handle schedule-default-calendar-URL Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* [tx-robot] updated from transifexNextcloud bot2020-04-132-2/+34
|
* [tx-robot] updated from transifexNextcloud bot2020-04-122-0/+10
|
* Merge pull request #20426 from nextcloud/techdebt/psr2John Molakvoæ2020-04-11101-359/+359
|\ | | | | It is done
| * Format code according to PSR2Christoph Wurst2020-04-103-3/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Add visibility to all constantsChristoph Wurst2020-04-1046-146/+146
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Add visibility to all methods and position of static keywordChristoph Wurst2020-04-1071-210/+210
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | [tx-robot] updated from transifexNextcloud bot2020-04-112-0/+16
|/
* Format control structures, classes, methods and functionChristoph Wurst2020-04-10204-681/+377
| | | | | | | | | | | | | | | 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-1017-55/+55
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20391 from nextcloud/refactor/spaces-cleanupChristoph Wurst2020-04-0915-29/+29
|\ | | | | Remove all extra whitespace PSR2 does not like
| * Remove space between switch case and colonChristoph Wurst2020-04-095-15/+15
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Remove trailing whitespaces from commentsChristoph Wurst2020-04-091-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Remove trailing and in between spacesChristoph Wurst2020-04-096-10/+10
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Remove spaces after method or function callChristoph Wurst2020-04-093-3/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #20384 from nextcloud/techdebt/lowercase-keywordsChristoph Wurst2020-04-092-2/+2
|\ \ | |/ |/| Use php keywords in lowercase
| * Use php keywords in lowercaseChristoph Wurst2020-04-092-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-0977-178/+178
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-0932-27/+6
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-0928-331/+331
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix multiline commentsChristoph Wurst2020-04-082-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20188 from ↵Roeland Jago Douma2020-04-072-6/+53
|\ | | | | | | | | nextcloud/bug/19662/add-default-title-for-event-in-invitatios Add default titles for titleless events in invitations
| * Add default titles for titleless events in invitationsThomas Citharel2020-04-032-6/+53
| | | | | | | | | | | | Closes #19662 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #19761 from ↵Roeland Jago Douma2020-04-062-0/+2
|\ \ | | | | | | | | | | | | nextcloud/bugfix/19658/add_missing_index_to_original_migration Add missing index to original migration
| * | Create Mount IDs as BigInt by defaultGeorg Ehrke2020-03-032-1/+1
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | Add indices to original DAV migrationGeorg Ehrke2020-03-031-0/+2
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Merge pull request #20139 from ↵Roeland Jago Douma2020-04-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/unify-default-value-for-restricting-user-enumeration-with-settings Unify default value for restricting user enumeration with settings
| * | | Unify default value for restricting user enumeration with settingsDaniel Calviño Sánchez2020-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the value was never enabled or disabled, the settings show "Restrict username enumeration to groups" as disabled. However, in some components it was enabled by default, which caused an inconsistency in the behaviour with respect to the settings, for example in the contacts menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Catch NoUserException when running the upload cleanup as cronjobJulius Härtl2020-04-031-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | [tx-robot] updated from transifexNextcloud bot2020-04-034-16/+22
| |_|/ |/| |
* | | Query Application class on publicwebdavJulius Härtl2020-04-021-1/+1
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #19890 from nextcloud/enh/comments-reference-idJoas Schilling2020-04-021-8/+13
|\ \ \ | | | | | | | | Add optional comments reference_id
| * | | Fix unit testsJoas Schilling2020-04-021-8/+13
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Update the license headers for Nextcloud 19Christoph Wurst2020-03-31140-57/+201
|/ / / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #19325 from nextcloud/dependachristoph/composer/sabre-4.0Roeland Jago Douma2020-03-3021-40/+44
|\ \ \ | | | | | | | | Update Sabre (and friends) to 4.0