summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add offset for home limited searchesRoeland Jago Douma2019-12-101-1/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Verify that is an array before accessing itGeorg Ehrke2019-12-091-2/+4
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Update license headersChristoph Wurst2019-12-05215-324/+693
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17941 from nextcloud/search-by-ownerRoeland Jago Douma2019-12-051-7/+75
|\ | | | | Allow filtering the search results to the users home storage
| * Allow filtering the search results to the users home storageRobin Appelman2019-12-031-7/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done by adding a ```xml <d:eq> <d:prop> <oc:owner-id/> </d:prop> <d:literal>$userId</d:literal> </d:eq> ``` clause to the search query. Searching by `owner-id` can only be done with the current user id and the comparison can not be inside a `<d:not>` or `<d:or>` statement Signed-off-by: Robin Appelman <robin@icewind.nl>
* | respect shareapi_allow_share_dialog_user_enumeration in Principal backend ↵Georg Ehrke2019-12-033-3/+26
|/ | | | | | for Sabre/DAV Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge pull request #18113 from nextcloud/bugfix/15967/webcal_cache_headersRoeland Jago Douma2019-11-292-1/+98
|\ | | | | Add refresh-interval to exported calendars
| * Add refresh-interval to exported calendarsGeorg Ehrke2019-11-272-1/+98
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Set common-name to user's displayname if none is setGeorg Ehrke2019-11-291-1/+16
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Mode to modern phpunitRoeland Jago Douma2019-11-272-6/+2
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-22138-171/+253
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge remote-tracking branch 'origin/master' into filecache-extensionRoeland Jago Douma2019-11-181-3/+15
|\
| * re-acquired expired shared locks on large file uploadsRobin Appelman2019-11-131-3/+15
| | | | | | | | | | | | | | during large file uploads, the shared lock that we get at the begining can expire leading to locked errors later on, instead of erroring, try to re-get the lock Signed-off-by: Robin Appelman <robin@icewind.nl>
* | hookup creation and upload time into davRobin Appelman2019-11-133-0/+39
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Return $schema on change and null otherwiseDaniel Kesselberg2019-10-291-1/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #17174 from ↵Roeland Jago Douma2019-09-172-2/+9
|\ | | | | | | | | nextcloud/bugfix/noid/properly_mark_birthday_calendars_as_not_sharable properly mark birthday calendars as not shareable for now
| * properly mark birthday calendars as not shareable for nowGeorg Ehrke2019-09-172-2/+9
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Sabre/VObject returns a DateAndOrTime object now, so adapt to it in Birthday ↵Georg Ehrke2019-09-161-4/+11
|/ | | | | | service Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge pull request #16970 from ↵Roeland Jago Douma2019-09-042-0/+5
|\ | | | | | | | | nextcloud/bugfix/noid/opt_in_for_push_notifications_calendar_reminders Make push notifications for calendar reminders opt-in
| * Make push notifications for calendar reminders opt-inGeorg Ehrke2019-09-022-0/+5
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #16835 from ↵Roeland Jago Douma2019-09-041-0/+11
|\ \ | |/ |/| | | | | nextcloud/bugfix/16833/remove-orphan-event-data-from-subscriptions Remove orphaned calendar data from deleted subscriptions
| * Check the calendar type of calendarobjects & calendarchangesThomas Citharel2019-08-261-0/+6
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * Remove orphaned calendar data from deleted subscriptionsThomas Citharel2019-08-221-0/+5
| | | | | | | | | | | | Closes #16833. Ref #13511 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge pull request #16615 from ↵Roeland Jago Douma2019-08-281-2/+395
|\ \ | | | | | | | | | | | | nextcloud/feature/16518/rooms_resources_should_respond Make rooms / resources automatically reply to invites
| * | Make rooms / resources automatically reply to invitesGeorg Ehrke2019-08-261-2/+395
| |/ | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Merge pull request #16871 from nextcloud/fix/dav-reminder-job-constructorRoeland Jago Douma2019-08-261-0/+1
|\ \ | | | | | | Fix missing parent constructor call in DAV reminder job
| * | Fix missing parent constructor call in DAV reminder jobChristoph Wurst2019-08-261-0/+1
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / replace coffin with textual description "Death of ..."Georg Ehrke2019-08-261-49/+132
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* fix foreach error for reminder generatorGeorg Ehrke2019-08-181-0/+8
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Final fixesGeorg Ehrke2019-08-159-126/+97
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Add repair step to register reminder index for existing eventsGeorg Ehrke2019-08-153-4/+235
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Support recurring events + repeating alarmsGeorg Ehrke2019-08-1517-571/+1901
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Provide a fake AudioProvider that is basically the same as PushProvider, ↵Georg Ehrke2019-08-152-0/+38
| | | | | | better then not showing reminders at all for now Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Stop using deprecated registerNotifier, use registerNotifierService insteadGeorg Ehrke2019-08-151-12/+6
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Implement getID and getName in Reminder/Notifier as required since Nextcloud 17Georg Ehrke2019-08-151-0/+20
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* smaller syntax changes to CalDAV reminder classesGeorg Ehrke2019-08-157-56/+38
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* run send reminders background-job only when mode is not set to occGeorg Ehrke2019-08-151-4/+9
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* add occ dav:send-event-reminders, so you don't have to rely on the ↵Georg Ehrke2019-08-151-0/+74
| | | | | | background-job Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Support event reminders (email and notifications)Thomas Citharel2019-08-1514-6/+1265
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge pull request #16666 from nextcloud/feature/calendar/delegationRoeland Jago Douma2019-08-1512-96/+550
|\ | | | | Feature/calendar/delegation
| * use principaluri instead of userid, allowing to add delegates for rooms and ↵Georg Ehrke2019-08-1510-185/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup add owner_id and proxy_id as db index, since we use it for querying Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup don't add ACL for each individual proxy, just use calendar-proxy groups Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup allow delegation of resources / rooms Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup fix addIndex call in migration Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup fix remaining constructor calls of Principal Signed-off-by: Georg Ehrke <developer@georgehrke.com> !fixup minor fixes and unit tests Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * Early first stage implementation of the groupsetRoeland Jago Douma2019-08-151-2/+54
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Use the proxymapper to obtain valid proxy dataRoeland Jago Douma2019-08-156-24/+89
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add DB mapper and EntityRoeland Jago Douma2019-08-142-0/+109
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add table to handle calendar delegationsRoeland Jago Douma2019-08-141-0/+53
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #12392 from ↵Roeland Jago Douma2019-08-151-3/+50
|\ \ | | | | | | | | | | | | brad2014/feature/properly-present-buttons-from-imip-mails Customize presentation of accept/decline buttons in iMip mail
| * | Move dav.invitation_link_recipients from getSystemValue to getAppValuebrad20142019-07-311-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per @georgehrke change request for PR #12392, instead of setting dav.invitation_link_recipients in the system config.php file, we set it in the database table oc_appconfig. Furthermore, the value of the config variable is always a string: 'yes' to include links in imip mail, 'no' to exclude them, or a comma-separated list of email addresses and/or domains for which they should be included. If not specified in oc_appconfig, the default is 'yes'. Signed-off-by: brad2014 <brad2014@users.noreply.github.com>
| * | Revert 3ff3ed0c56 case-insensitive compares.Brad Rubenstein2019-02-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | My oops. The comparisons, which are copied from the IMipPlugin shipped with sabre-io/dav, do not need to be case insensitive because the sender and recipient names are normalized by sabre, (see calls to getNormalizedValue in voboject/lib/ITip/Broker.php). Signed-off-by: Brad Rubenstein <brad@wbr.tech>
| * | Respect RSVP parameter for attendees when adding accept/decline buttons.Brad Rubenstein2019-02-281-2/+17
| | | | | | | | | | | | | | | | | | | | | If RSVP=TRUE parameter is FALSE or absent for an ATTENDEE, then do no present accept/decline buttons. The organizer isn't asking for an RSVP. Signed-off-by: Brad Rubenstein <brad@wbr.tech>
| * | Customize presentation of accept/decline buttons in iMip mailBrad Rubenstein2019-02-281-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix Issue #11230 Only present accept/decline button links in iMip mail for REQUEST, not CANCEL or others. Fix Issue #12156 Implement config setting "dav.invitation_link_recipients", to control which invitation recipients see accept/decline button links. The default, for public internet facing servers, is to always include them. For a server on a private intranet, this setting can be set to the email addresses or email domains of users whose browsers can access the nextcloud server referenced by those accept/decline button links. It can also be set to "false" to exclude the links from all requests. Signed-off-by: Brad Rubenstein <brad@wbr.tech>