Page MenuHomePhabricator

davcal PlugInProject
ActivePublic

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

The DokuWiki DAVCal PlugIn adds calendaring functionality to DokuWiki enabling users to sync their calendars. It is based on fullcalendar and SabreDAV.

Recent Activity

Apr 20 2020

andreas closed T139: Patch: Calculate missing end date from duration as Resolved.

Finally, this should be fixed in rDAVCALe4bc2b1c0d4a53495d69bc0e916c5e70b3941ea2. Feel free to reopen if it doesn't work as intended.

Apr 20 2020, 2:34 PM · davcal PlugIn

Feb 26 2020

andreas closed T140: Using upper case letters in URL, calendar isn't shown as Invalid.
Feb 26 2020, 12:03 PM · davcal PlugIn
charlykwr added a comment to T140: Using upper case letters in URL, calendar isn't shown.

OK. Thank you for your analysis. I will try it. Many thanks.

Feb 26 2020, 12:02 PM · davcal PlugIn
andreas added a comment to T140: Using upper case letters in URL, calendar isn't shown.

Thanks - DokuWiki thinks the request is a CSRF attack. The reason is that some requests are performed to your uppercase URL and some to your lowercase URL. I suppose that IIS invokes separate PHP instances for the different URLs and thus the security tokens do not match.

Feb 26 2020, 12:00 PM · davcal PlugIn
charlykwr added a comment to T140: Using upper case letters in URL, calendar isn't shown.
Feb 26 2020, 11:18 AM · davcal PlugIn
andreas added a comment to T140: Using upper case letters in URL, calendar isn't shown.

Then we need to go the more complicated route and I have to ask for more details:

Feb 26 2020, 10:42 AM · davcal PlugIn
charlykwr added a comment to T140: Using upper case letters in URL, calendar isn't shown.

Unfortunately, that's not possible. We are using DokuWiki in our Intranet. Access from outside isn't possible.

Feb 26 2020, 10:35 AM · davcal PlugIn
andreas added a comment to T140: Using upper case letters in URL, calendar isn't shown.

OK, then my theory is probably wrong :(

Feb 26 2020, 10:24 AM · davcal PlugIn
charlykwr added a comment to T140: Using upper case letters in URL, calendar isn't shown.

Sorry, I've forgotten to write that we are using IIS. You are right, DokuWiki and dokuwiki are separate folders – on UNIX systems. But using IIS on Windows Server, both names refer to the same directory. Therefore, we are able to use both styles. It works with all pages except pages using davcal.

Feb 26 2020, 10:18 AM · davcal PlugIn
andreas added a comment to T140: Using upper case letters in URL, calendar isn't shown.

Short answer: dokuwiki and DokuWiki are - usually - two separate folders and you should *never* mix them.

Feb 26 2020, 9:59 AM · davcal PlugIn
charlykwr created T140: Using upper case letters in URL, calendar isn't shown.
Feb 26 2020, 9:45 AM · davcal PlugIn

Feb 12 2020

andreas added a comment to T139: Patch: Calculate missing end date from duration.

Thanks for the patch, I'll review and apply it as soon as possible (there is another patch pending that arrived via E-Mail that needs some work as well).

Feb 12 2020, 1:45 PM · davcal PlugIn

Feb 10 2020

davidmehren created T139: Patch: Calculate missing end date from duration.
Feb 10 2020, 7:13 PM · davcal PlugIn

Oct 12 2019

andreas added a comment to T137: Setting to prevent overlapping/conflicting events.

OK - it sounds feasible and would need to be done entirely in JavaScript. Unfortunately, at the moment, I don't really have the time to work on this.
If you want to give it a try, I'd be happy to give you some guidance. If not, it's going to take a while, I'm afraid.

Oct 12 2019, 10:55 AM · davcal PlugIn

Oct 11 2019

nvm4it added a comment to T137: Setting to prevent overlapping/conflicting events.

Yes, this is exactly what I meant.

Oct 11 2019, 2:53 PM · davcal PlugIn
andreas added a comment to T137: Setting to prevent overlapping/conflicting events.

Could you be a bit more specific with what you mean? What exactly should the setting prevent/disable/disallow?

Oct 11 2019, 2:40 PM · davcal PlugIn
nvm4it triaged T137: Setting to prevent overlapping/conflicting events as Wishlist priority.
Oct 11 2019, 2:03 PM · davcal PlugIn

Aug 22 2018

janimatti.hatinen created T75: Google CalDAV client support in the S1 Open Source space.
Aug 22 2018, 12:45 AM · webdavclient PlugIn

Nov 24 2017

Diffusion closed T50: Localization is wrong and overwrites jQueryUI datapicker as Resolved by committing rDAVCAL4aeddad04e3b: Update fullcalendar to 3.7.0 and remove the translations for jQuery datetime..
Nov 24 2017, 10:45 PM · davcal PlugIn

Nov 15 2017

andreas added a comment to T50: Localization is wrong and overwrites jQueryUI datapicker.

OK, I can see the problem with the datepicker in bureaucracy now. This seems to be a "feature" of the underlying fullcalendar.js library, though. I'll need to investigate that a bit further.

Nov 15 2017, 7:02 PM · davcal PlugIn
andreas added a comment to T51: Lots of XSS vulnerabilities.

Thanks for your comment, much appreciated! It should be fixed now, would you mind having a look again?

Nov 15 2017, 6:54 PM · davcal PlugIn
splitbrain added a comment to T50: Localization is wrong and overwrites jQueryUI datapicker.

Yes, I had the problem with 2017-02-19e and the current hg checkout of your plugin.

Nov 15 2017, 4:36 PM · davcal PlugIn
splitbrain created T51: Lots of XSS vulnerabilities.
Nov 15 2017, 3:23 PM · davcal PlugIn
andreas claimed T50: Localization is wrong and overwrites jQueryUI datapicker.
Nov 15 2017, 3:01 PM · davcal PlugIn
andreas added a comment to T50: Localization is wrong and overwrites jQueryUI datapicker.

Thanks for the report. I cannot reproduce this on 2017-02-29e, the interface language of davcal follows DokuWiki's language for de, en, fr and nl. There is indeed a bug regarding datetimepicker which is always English (easy fix).

Nov 15 2017, 2:51 PM · davcal PlugIn
splitbrain added a comment to T50: Localization is wrong and overwrites jQueryUI datapicker.

Of course this breaks the localization of the calendar view itself.

Nov 15 2017, 2:42 PM · davcal PlugIn
splitbrain created T50: Localization is wrong and overwrites jQueryUI datapicker.
Nov 15 2017, 2:32 PM · davcal PlugIn

Nov 9 2017

19blue85 added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

Perfect now it works again :) I thought i made a mistake.

Nov 9 2017, 2:35 PM · davcal PlugIn
andreas added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

No problem, I introduced a nice regression - I should definitely do more regression testing before pushing updates!
Anyway, please try the latest update published just now. The problem was/is the "C:" in <C:calendar-data> which confused the XML parser - I fixed it in 447fc5d456c1.

Nov 9 2017, 2:23 PM · davcal PlugIn
19blue85 added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

I'm sorry to hesitate you again.
Today i was working on the dokuwiki and recognised, that the plugin still dont work.
After that i saw the update for webdav
I updated the webdav plugin but nothing changed.

Nov 9 2017, 1:11 PM · davcal PlugIn

Nov 8 2017

andreas closed T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs as Resolved.
Nov 8 2017, 2:34 PM · davcal PlugIn
andreas added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

OK, I'm glad you got it working. I'm pushing an update anyway just now, since you discovered a bug with this broken XML tag.

Nov 8 2017, 2:34 PM · davcal PlugIn
19blue85 added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

It works now!
I updated davical from version 1.1.3 to 1.1.5 about backport package made a resync and now I see the data.
So I guess there where changes made for debian stretch.

Nov 8 2017, 2:25 PM · davcal PlugIn
19blue85 added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

Thanks for the quick response. Obvisily nothing changed i deleted brwoser cache etc.
Do you need access to my system?

Nov 8 2017, 12:56 PM · davcal PlugIn
andreas added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

OK, could you try the following:
In function clean_response (helper.php:1364), add as first line of the function:

$response = preg_replace('/xmlns[^=]*="[^"]*"/i', '', $response);

This might fix it, if not, we need to find another solution.

Nov 8 2017, 12:21 PM · davcal PlugIn
andreas triaged T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs as High priority.

Thanks, that is the relevant part. The function clean_response messes the response up when davical is used (I only test against Sabre/DAV resp. NextCloud). It might take a bit until I come up with a solution, but I'll make that a high priority task.

Nov 8 2017, 12:06 PM · davcal PlugIn
19blue85 added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

Nov 8 2017, 11:33 AM · davcal PlugIn
andreas added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

This is helpful, although webdavclient doesn't seem to log the raw response. There seems to be an empty tag <''> which is closed by </multistatus> and that probably confuses simplexml_load_string().
Could you add the following line in helper.php on line 1126 (right before $response = $this->clean_response(...))

Nov 8 2017, 10:06 AM · davcal PlugIn
19blue85 added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.


here is the output. do you need more?

Nov 8 2017, 9:49 AM · davcal PlugIn
andreas added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

Hm, seems to be related to davical. Unfortunately, I can't test this since I do not have a davical installation.
Please enable debug logging and force a sync. Then, you should be able to see some XML output in the debug log - be aware that your calendar data is included here!

Nov 8 2017, 9:39 AM · davcal PlugIn
19blue85 added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

Nov 8 2017, 9:34 AM · davcal PlugIn
19blue85 added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

Actual i found this at the apache error.log

Nov 8 2017, 9:24 AM · davcal PlugIn
andreas claimed T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.
Nov 8 2017, 8:31 AM · davcal PlugIn
andreas added a comment to T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.

What exactly are you trying to achieve? You want to synchronise your DokuWiki calendar to davical, right?
Did you configure WebDAV connections in the Admin section? If so, were you able to display the available calendars?

Nov 8 2017, 8:12 AM · davcal PlugIn
19blue85 created T49: davcal Plugin for dokuwiki Release 2017-02-19e "Frusterick Manners" don´t display inputs.
Nov 8 2017, 8:08 AM · davcal PlugIn

Oct 27 2017

andreas added a comment to T48: Auth no required.

I don't really understand your question. What I've understood is that a user should have read/write access to a calendar when he's logged in to DokuWiki. This is the exact behaviour. Put simply:

Oct 27 2017, 8:37 AM · davcal PlugIn

Oct 26 2017

algorys created T48: Auth no required.
Oct 26 2017, 12:44 PM · davcal PlugIn

Jul 28 2017

Diffusion closed T46: Please don't use `uniqid` as Resolved by committing rDAVCAL289b4fc06c1a: Make private URLs more secure, thanks to jvoisin. This fixes T46..
Jul 28 2017, 2:46 PM · davcal PlugIn

Jun 20 2017

jvoisin added a comment to T45: Please document how to run it under nginx.

Sure :)

Jun 20 2017, 6:55 PM · davcal PlugIn
jvoisin added a comment to T46: Please don't use `uniqid`.

Well, we're generating secret material, so I guess it's cryptography ;)

Jun 20 2017, 6:52 PM · davcal PlugIn