summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | avoids users searches on backend, faster processingArthur Schiwon2019-04-174-5/+5
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Prefetching blows up if there are a lot of files.Roeland Jago Douma2019-04-181-7/+0
|/ / | | | | | | | | | | | | | | I saw instances where people had a lot of files (each with custom properties) and all this prefetching blew up and started to consume an insane amount of RAM resulting in the process getting killed. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Deduplicate index namesJoas Schilling2019-03-271-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Make sure all tables have named indexesJoas Schilling2019-03-271-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | implement principal property search for calendar user address set propertyGeorg Ehrke2019-03-213-0/+25
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #14641 from nextcloud/assemblystream-seekMorris Jobke2019-03-151-3/+37
|\ \ | | | | | | make assemblystream seekable
| * | make assemblystream seekableRobin Appelman2019-03-131-3/+37
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | throw a proper error if rename fails in davRobin Appelman2019-03-141-1/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Improve codeMorris Jobke2019-03-131-2/+2
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Use dependency injection for app managerMorris Jobke2019-03-133-4/+15
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Created infrastructure to show circles' shared filesVinicius Cubas Brand2019-03-132-5/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it. Issue: https://github.com/nextcloud/circles/issues/137 Changes to comply to https://github.com/coletivoEITA/circles/pull/2 Polishing: get files shared to circles in caldav Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com> Signed-off-by: Maxence Lange <maxence@artificial-owl.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #6512 from coletivoEITA/add_circles_sharing_to_caldavMorris Jobke2019-03-137-5/+96
|\ \ \ | |/ / |/| | Change CALDAV to allow calendars be shared with circles.
| * | Use proper dependency injection for app managerMorris Jobke2019-03-053-4/+12
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Fix whitespaceMorris Jobke2019-03-051-1/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Suppress phan exceptions because they are catched by a class_existsMorris Jobke2019-03-051-0/+3
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | use class_exists on correct class to please phanGeorg Ehrke2019-03-041-2/+2
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | properly catch exceptions of detailsCircleGeorg Ehrke2019-03-031-1/+9
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | Get user's circles without touching sessionVinicius Cubas Brand2019-03-011-6/+1
| | | | | | | | | | | | | | | | | | This works with nextcloud/circles#260 Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
| * | allow sharing addressbooks with circlesGeorg Ehrke2019-03-012-3/+4
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | Share calendar to circleVinicius Cubas Brand2019-03-014-2/+78
| |/ | | | | | | | | | | | | * Allow user to share calendar with a circle * Allow user to see calendars shared with his/her circles Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* | "Fix" the unit testsJoas Schilling2019-03-061-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #14514 from nextcloud/fix/no_debug_outputRoeland Jago Douma2019-03-041-3/+6
|\ \ | | | | | | Do not just write foobar
| * | Do not just write foobarRoeland Jago Douma2019-03-041-3/+6
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #13871 from PLUTEX/masterMorris Jobke2019-03-041-1/+3
|\ \ \ | |/ / |/| | dav: Fix handling of chunked WebDAV upload
| * | dav: Fix handling of chunked WebDAV uploadJan-Philipp Litza2019-01-281-1/+3
| | | | | | | | | | | | | | | | | | When $data is null (which can happen when $request->getBodyAsStream() returns null), the Exceptions says "copied bytes: 0, expected filesize: 0", which sounds more like success...
* | | Merge pull request #12978 from tobiasKaminsky/noteOnDavMorris Jobke2019-03-042-0/+39
|\ \ \ | | | | | | | | Add note to dav endpoint
| * | | Update apps/dav/lib/Connector/Sabre/Node.phpChristoph Wurst2019-03-041-1/+1
| | | | | | | | | | | | Co-Authored-By: tobiasKaminsky <tobias@nextcloud.com>
| * | | Add note to dav endpointtobiasKaminsky2019-02-272-0/+39
| | | | | | | | | | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* | | | Fix dav has-photo plugin extendJohn Molakvoæ (skjnldsv)2019-03-031-2/+2
| |_|/ |/| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Add HasPhoto DAV pluginJohn Molakvoæ (skjnldsv)2019-02-272-0/+102
|/ / | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #14066 from nextcloud/feature/noid/casted-system-valuesJoas Schilling2019-02-221-1/+1
|\ \ | | | | | | Get typed system values
| * | Make sure maintenance mode is always casted to boolJoas Schilling2019-02-221-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #14299 from ↵Morris Jobke2019-02-201-0/+4
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/14298/fix_storages_not_closing_handle Hanlde writestream not closing source
| * | | Hanlde writestream not closing sourceRoeland Jago Douma2019-02-201-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Fixes #14298 If a storage doesn'tclose the write stream then $isEOF is not yet set. So we have to fallback. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #11832 from nextcloud/bugfix/9849/birthday_without_yearMorris Jobke2019-02-203-14/+152
|\ \ \ | |/ / |/| | set birthday year to 1970 if no year, take X-APPLE-OMIT-YEAR into account
| * | Add Repair step to regenerate birthday calendarGeorg Ehrke2019-02-163-3/+106
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | unicode all the birthday iconsGeorg Ehrke2019-02-161-9/+24
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | set birthday year to 1970, take X-APPLE-OMIT-YEAR into accountGeorg Ehrke2019-02-161-3/+23
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Make sure that we have a streamRoeland Jago Douma2019-02-181-0/+7
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add a wrapper to determine if a file is EOFRoeland Jago Douma2019-02-151-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | The stream is already closed at this point. Which means feof will always return false. We have to determine if the stream is EOF in the preCloseCallback. And pass this info along. Then the logic works as expected. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #10068 from ↵Morris Jobke2019-01-314-1/+379
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/feature/1434/provisioning_profiles_for_dav Add Apple Provisioning profile
| * | | Fix theming defaults injection if theming app is disabledMorris Jobke2019-01-311-5/+3
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Add Apple Provisioning profileGeorg Ehrke2019-01-304-1/+381
| |/ / | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Use proper mime type for icoDaniel Kesselberg2019-01-281-1/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Add ico as avatarDaniel Kesselberg2019-01-281-32/+32
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #5881 from nextcloud/command-move-calendarMorris Jobke2019-01-283-0/+310
|\ \ \ | |_|/ |/| | Add command to move a calendar from an user to another
| * | Handle moving calendar to an user who already has the shareThomas Citharel2019-01-162-19/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extra: * Fix @ChristophWurst style remarks * Add a Note that share links have changed when calendars has user shares (see #13603) Signed-off-by: Thomas Citharel <tcit@tcit.fr> Fix forgotten test change Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | Don't check group shares if shareWithGroupMembersOnly is falseThomas Citharel2019-01-161-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> Remove the system user check Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | add list-calendars commandGeorg Ehrke2019-01-163-57/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com> Rebase and delete URI suggestion part Invite to use occ dav:list-calendars instead Signed-off-by: Thomas Citharel <tcit@tcit.fr> Fix autoload Signed-off-by: Thomas Citharel <tcit@tcit.fr> Use injection & test everything And rebase Signed-off-by: Thomas Citharel <tcit@tcit.fr> Add test for ListCalendars and refactoring Signed-off-by: Thomas Citharel <tcit@tcit.fr> Fix indentation Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * | Add command to move a calendar from an user to anotherThomas Citharel2019-01-162-0/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> Add a basic check for displaynames in case we fail to get calendar from uri and put some sf console styles & refactor a bit Signed-off-by: Thomas Citharel <tcit@tcit.fr> basic Tests Signed-off-by: Thomas Citharel <tcit@tcit.fr> add forgotten createNamedParameter() Signed-off-by: Thomas Citharel <tcit@tcit.fr>