DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:davcal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:davcal [2022-01-30 16:11] – [Bug fix] thaluengplugin:davcal [2024-02-08 09:03] (current) – [davcal Plugin] LMS23
Line 3: Line 3:
 ---- plugin ---- ---- plugin ----
 description: Add a synchronisable Calendar to DokuWiki description: Add a synchronisable Calendar to DokuWiki
-author     : Andreas Böhler +author     : DokuFreaks (previous: Andreas Böhler) 
-email      : dev@aboehler.at +email      : dev@aboehler.at
 type       : Syntax Plugin type       : Syntax Plugin
-lastupdate : 2020-04-20 +lastupdate : 2022-08-04 
-compatible : Elenor Of Tsort, Detritus, Hrun, Frusterick Manners, Greebo, !Hogfather+compatible : Elenor Of Tsort, Detritus, Hrun, Frusterick Manners, Greebo, Hogfather, Igor, "Jack Jackrum", Kaos
 depends    : sqlite depends    : sqlite
 conflicts  conflicts 
Line 13: Line 13:
 tags       : calendar, ical, caldav, !discontinued tags       : calendar, ical, caldav, !discontinued
  
-downloadurl: https://gitlab.com/ForestAndGarden/dokuwiki-archive/-/raw/main/davcal_2020-04-20.tar.gz # http://www.aboehler.at/hg/davcal/archive/tip.tar.gz #  +downloadurl: https://github.com/dokufreaks/dokuwiki-plugin-davcal/archive/refs/heads/master.zip 
-bugtracker : https://code.rnb-consulting.at/tag/davcal_plugin# FIXME +bugtracker : https://github.com/dokufreaks/dokuwiki-plugin-davcal/issues 
-sourcerepo : https://code.rnb-consulting.at/diffusion/DAVCAL/ # http://www.aboehler.at/hg/davcal/+sourcerepo : https://github.com/dokufreaks/dokuwiki-plugin-davcal
 donationurl:  donationurl: 
  
Line 21: Line 21:
 ---- ----
  
-:!: **This plugin is no longer maintained. E-Mails an Bug reports might no longer be answered and silently ignored. **+FIXME **Look for new maintainer Would be nice if someone could take on this plugin and develop it further! \\  
 +However, any help with a javascript update is welcome!** FIXME
  
-FIXME Look for new maintainer - Would be nice if someone could take on this plugin and develop it further! 
  
-===== Hogfather support ===== +===== New repository ===== 
-  * Edit ''lib/plugins/davcal/action/ajax.php'' and replace (starting with line 191)<code>require_once DOKU_INC 'inc/JSON.php'; +The original authors repository https://gitlab.aboehler.at/dokuwiki/davcalis cloned to  
-$json = new JSON(); +https://github.com/dokufreaks/dokuwiki-plugin-davcal
-header('Content-Type: application/json'); +
-echo $json->encode($data);</code> +
-  * with<code>header('Content-Typeapplication/json'); +
-echo json_encode($data);</code>+
  
-==== Bug fix ==== +Pull requests are welcome.
-  * upgrade fullcalendar.js to version 3.10.5 +
-  * upgrade moment.js to version 2.20.1 +
-I am using this plugin for a local calendar without davcal sync, so I have not tested the davcal functions. The local calendar suffered some display issues and a bug when selecting days in the monhtly calendar, which I fixed by upgrading the javascript libraries. Note that latest fullcalendar.js version 5.10.1 and later would require substantial code rewrite as it dropped dependencies to jquery and moment.js. Download [[https://github.com/fullcalendar/fullcalendar/releases/download/v3.10.5/fullcalendar-3.10.5.zip|fullcalendar-3.10.5.zip]], copy it to the davcal plugin folder, and change the references at the beginning of file ''script.js''. Written by thalueng, 30 Jan 2022.+
  
 ==== DAVCal provides ==== ==== DAVCal provides ====
Line 48: Line 41:
 ===== Requirements ===== ===== Requirements =====
  
-  * You need the sqlite PlugIn+  * You need the [[plugin:sqlite]] PlugIn
   * You need at least PHP 5.4 (required by the underlying DAV library), including the PHP XML module (php-xml((openSUSE users add the packages php5-dom, php5-xmlwriter, php5-xmlreader and php5-mbstring)))   * You need at least PHP 5.4 (required by the underlying DAV library), including the PHP XML module (php-xml((openSUSE users add the packages php5-dom, php5-xmlwriter, php5-xmlreader and php5-mbstring)))
   * CalDAV synchronisation requires   * CalDAV synchronisation requires
Line 148: Line 141:
 } }
 </code> </code>
 +
 +Also, CalDAV requires a similar code block for nginx.
 +<code>
 +location ~ ^/lib/plugins/davcal/calenderserver.php/(.*)$ {
 +    include fastcgi_params;
 +    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
 +    fastcgi_param REDIRECT_STATUS 200;
 +    fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
 +
 +    fastcgi_split_path_info ^(.+\.php)(.*)$;
 +    fastcgi_param PATH_INFO $fastcgi_path_info;
 +    fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
 +}
 +</code>
 +
 +Also, the caret (^) might need to be removed from the location line to get either block to work in some nginx configurations.  Also, the path to the PHP FPM sock might need adjusted.
  
 ===== Synchronization (Client Mode) ===== ===== Synchronization (Client Mode) =====
Line 224: Line 233:
   * Russian (ru)   * Russian (ru)
  
-If you would like to provide translations, don't hesitate to contact me or open a task at [[https://code.rnb-consulting.at/tag/davcal_plugin/|code.rnb-consulting.at/tag/davcal_plugin]].+If you would like to provide translations, don't hesitate to contact me or open a task at [[https://github.com/dokufreaks/dokuwiki-plugin-davcal]].
  
 ===== Limitations ===== ===== Limitations =====
Line 248: Line 257:
 === Change Log === === Change Log ===
  
-{{rss>http://feeds.feedburner.com/dokuwiki-plugin-davcal date}}+{{rss>https://github.com/dokufreaks/dokuwiki-plugin-davcal/commits/master.atom date}}
  
 === Known Bugs and Issues === === Known Bugs and Issues ===
  
-Please use the bug tracker ("Create Task...", click on the drop-down icon of the backlog) at <del>[[https://code.rnb-consulting.at/tag/davcal_plugin/|code.rnb-consulting.at/tag/davcal_plugin]]</del>. This page is unmonitored. +[[https://github.com/dokufreaks/dokuwiki-plugin-davcal/issues|Use GitHub]]
- +
-  * Timezone support is not fully tested +
-  * Recurring events should be displayed correctly, but there is no user-interface to add/edit them +
-  * Due to the underlying DAV library, you need at least PHP 5.4. Otherwise, you'll get PHP parse errors.+
  
 === ToDo/Wish List === === ToDo/Wish List ===
  
-Please use the bug tracker ("Create Task...", click on the drop-down icon of the backlog) at <del>[[https://code.rnb-consulting.at/tag/davcal_plugin/|code.rnb-consulting.at/tag/davcal_plugin]]</del>. This page is unmonitored.+[[https://github.com/dokufreaks/dokuwiki-plugin-davcal/issues|Use GitHub]]
  
-  * Add editor support for recurring events. Please! nth.DayPerMonth, EveryNDaysByStart, nth.DatePerMonth (+4): <del>https://code.rnb-consulting.at/T19</del> 
-  * Translations (please contact me via E-Mail if you would like to contribute translations) 
  
plugin/davcal.1643555462.txt.gz · Last modified: 2022-01-30 16:11 by thalueng

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki