Linux-Presentation-Day [LPD]

Tools collection around the LPD.

  • Dokuwiki Staff: Repair n modernize Webcal Plugins

    0 Open
    0 Closed

    dokuwiki_stuff

    Dokuwiki Staff: Plugins and more

    Project: 20240825 / Webcalendar compatibility for PHP 8.3.10+

    Problem:

    PHP8 incompatibility in webdavclient and some minor errors in webdavclient and davcal

    Error eg:

    Error: Call to a member function getConnections() on null
    An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the webdavclient plugin.
    
    E_WARNING: Undefined array key 1/srv/www/vhosts/bs-lug/public_html/lib/plugins/davcal/syntax/table.php(71)
    
    Error: Call to a member function getConnections() on null/srv/www/vhosts/bs-lug/public_html/lib/plugins/webdavclient/admin.php(231)
    Error: Call to a member function indexerSyncAllConnections() on null/srv/www/vhosts/bs-lug/public_html/lib/plugins/webdavclient/action.php(36)
    

    Howto reproduce:

    • Install emty Dokuwiki
    • Install Plugins sqlite, davcal, webdavclient
    • Call DW/Admin/Webdav_connection_setup

    Plugins need for install:

    Normal DW-Plugin:
        * https://www.dokuwiki.org/plugin:sqlite
    
    URLs:
        * https://github.com/dokufreaks/dokuwiki-plugin-davcal
         / https://www.dokuwiki.org/plugin:davcal # DW-Calendar
        * https://gitlab.aboehler.at/dokuwiki/webdavclient
         / https://www.dokuwiki.org/plugin:webdavclient # The Webdavclient for mutiple Calendar-Sources
    

    May Alternates:

    Only a PHP script to get remote ICS's calendar files and reparse them? So we lost full integration and combine of local DW-Calenders (Davcal)

    URLs:
        * https://github.com/OzzyCzech/icalparser/blob/master/example/index.php
        * https://github.com/u01jmg3/ics-parser/blob/master/examples/index.php
    

    /Project: 20240825