summaryrefslogtreecommitdiffstats
path: root/apps/dav
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* [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
| * | | RequestTestCase: Default type for headers needs to be arrayGeorg Ehrke2020-03-271-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | | Adjust FakeLockerPluginTest to new Sabre versionGeorg Ehrke2020-03-271-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | | Set custom ProdId in Birthday service, do not depend on Sabre Versio number ↵Georg Ehrke2020-03-272-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | for unit tests Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | | Fix usage of Sabre\HTTP\Request in unit testsGeorg Ehrke2020-03-275-18/+14
| | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | | Sabre/DAV 4.0: beforeMethod is now beforeMethod:*Georg Ehrke2020-03-2712-12/+12
| | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | | Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-2732-57/+0
|\ \ \ \ | |/ / / |/| | | Remove unused imports
| * | | Remove unused importsChristoph Wurst2020-03-2532-57/+0
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Use the short array syntax, everywhereChristoph Wurst2020-03-2633-254/+254
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #20172 from nextcloud/techdebt/phpunit-short-returnChristoph Wurst2020-03-2658-854/+854
|\ \ \ \ | | | | | | | | | | Use the shorter phpunit syntax for mocked return values
| * | | | Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-2558-854/+854
| |/ / / | | | | | | | | | | | | 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>
* | | Register an address book with recent contactsChristoph Wurst2020-03-251-5/+10
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #20145 from ↵blizzz2020-03-251-2/+2
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/generated-avatars-and-nophoto-cache Fix generated avatars and nophoto cache files
| * | | Fix generated avatars and nophoto cache filesJoas Schilling2020-03-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since nextcloud/server#19493 newFile() by default does not write the file anymore. Setting an empty string as content will make it write the file immediate, without having to call putContent() afterwards. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #19986 from nextcloud/bugfix/19980/fix_uid_as_uriRoeland Jago Douma2020-03-252-6/+20
|\ \ \ \ | | | | | | | | | | RefreshWebcalService: randomly generate calendar-object uri