summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* Format code according to PSR2Christoph Wurst2020-04-102-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-1036-114/+114
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-1065-203/+203
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-10135-485/+272
| | | | | | | | | | | | | | | 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-1015-53/+53
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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-094-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove spaces after method or function callChristoph Wurst2020-04-092-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-0941-106/+106
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-0918-15/+4
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-0912-97/+97
| | | | 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>
* Merge pull request #20188 from ↵Roeland Jago Douma2020-04-071-1/+4
|\ | | | | | | | | 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-031-1/+4
| | | | | | | | | | | | 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>
* | | Update the license headers for Nextcloud 19Christoph Wurst2020-03-3160-34/+109
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #19325 from nextcloud/dependachristoph/composer/sabre-4.0Roeland Jago Douma2020-03-3012-11/+12
|\ \ \ | | | | | | | | Update Sabre (and friends) to 4.0
| * | | Set custom ProdId in Birthday service, do not depend on Sabre Versio number ↵Georg Ehrke2020-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | for unit tests Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | | Sabre/DAV 4.0: beforeMethod is now beforeMethod:*Georg Ehrke2020-03-2711-11/+11
| | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | | Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-2715-27/+0
|\ \ \ \ | |/ / / |/| | | Remove unused imports
| * | | Remove unused importsChristoph Wurst2020-03-2515-27/+0
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Use the short array syntax, everywhereChristoph Wurst2020-03-2617-47/+47
| | | | | | | | | | | | | | | | 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-251-3/+11
|\ \ \ \ | |/ / / |/| | | RefreshWebcalService: randomly generate calendar-object uri
| * | | RefreshWebcalService: randomly generate calendar-object uriGeorg Ehrke2020-03-161-3/+11
| | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | | Merge pull request #18788 from nextcloud/fix/18782/translate-busy-in-caldavChristoph Wurst2020-03-243-9/+23
|\ \ \ \ | |_|/ / |/| | | Translate 'Busy' in CalDAV
| * | | Translate 'Busy' in CalDAVGary Kim2020-02-233-9/+23
| | | | | | | | | | | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* | | | Add check that DateTime parameters are of correct typeThomas Citharel2020-03-221-3/+4
| | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | fix OCA\DAV\CalDAV\CalDavBackend search $optionsdartcafe2020-03-221-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: dartcafe <github@dartcafe.de>
* | | | Merge pull request #20042 from nextcloud/fix/noid/styled-dav-browser-errorRoeland Jago Douma2020-03-221-3/+12
|\ \ \ \ | | | | | | | | | | fix dav browser error page not styled
| * | | | use core templates for displaying dav errors in the browserArthur Schiwon2020-03-201-3/+9
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | fix dav browser error page not styledArthur Schiwon2020-03-191-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | Return empty system addressbook since we cannot easily limit it to groupsJulius Härtl2020-03-201-1/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Limit enumeration in principal searchJulius Härtl2020-03-201-1/+28
|/ / / / | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | remove the detour trough node and work with path directlyRobin Appelman2020-03-181-34/+8
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | use INode instead of Node for custom propertiesRobin Appelman2020-03-181-5/+6
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | handle long property paths to hasing paths >250 charsRobin Appelman2020-03-181-21/+36
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | remove unused codeRobin Appelman2020-03-181-53/+0
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | merge the two almost identical custom property backendsRobin Appelman2020-03-183-370/+101
| |/ / |/| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #19704 from Nils160988/masterRoeland Jago Douma2020-03-091-1/+1
|\ \ \ | | | | | | | | Fix hostname in Apple configuration profile
| * | | Fix hostname given in Apple config fileNils Wittenbrink2020-02-281-1/+1
| | |/ | |/| | | | | | | Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>