CalDAV Calendaring (Calendar Sync)
This provides surgemail standalone CalDAV calendaring support (with shared calendars) for mobile devices and desktop clients, and access by surgeweb.
|
|
||ifdef||cmd_tellmail||
|
|
To monitor installation progress, DO NOT RELOAD PAGE
||endif||
||ifdef||cmd_caldav||
|
||do_tellmail||
||endif||
||if(not(istrue(caldav_installed)))||
|
|
||else||
||iftrue(caldav_should_upgrade_v3)||
|
Newer version of SabreDAV / PHP is available [surgemail calendaring v3], upgrade by pressing "update current install" button below. This will:
- Upgrade your calendaring database to use the file: scripts/data/caldb_v3.sqlite (instead of scripts/data/caldb_v2.sqlite)
- Use Sabredav version 3.2.2 (modified for php 8.5+)
- Use modern php 8+ (8.5.4 has been tested). On windows this will be automatically installed. On unix configurations you will need to install this yourself and update g_web_php_exe to point at the new php-cgi 8.5+ binary
if there are any issues with the upgrade, you can restore your previous configuration by setting: g_calendar_version "2" (the upgrade should have set g_calendar_version "3")
||else||
||iftrue(caldav_should_upgrade)||
|
Newer version of SabreDAV / PHP is available [surgemail calendaring v2], upgrade by pressing "update current install" button below. This will:
- Upgrade your calendaring database to use the file: scripts/data/caldb_v2.sqlite instead of scripts/data/caldb.sqlite
- Use Sabredav version 3.2.2 instead of 1.6.2
- Use php 7+. On windows this will be automatically installed. On unix configurations you will need to install this yourself and update g_web_php_exe to point at the new php-cgi 7+ binary
if there are any issues with the upgrade, you can restore your previous configuration by removing the setting: g_calendar_version "2"
||else|| ||iftrue(caldav_should_upgrade_minor)||
|
Newer version of SabreDAV / PHP is available, upgrade by pressing "update current install" button below. This will:
- Update the surgemail/phplib/* files
||endif|| ||endif|| ||endif||
|
Installation status:
$$INSTALLED$$
|
CalDAV already installed and enabled, to test the interface connect to:
1. Verify php is running test php (if not, on unix you may need to point g_web_php_exe at the system php-cgi executable. eg "/usr/local/bin/php-cgi"; or on windows install the VS2015 redistributables)
2. Verify SabreDAV environment is valid test php (you may need additional php modules)
3. Verify authentication integration test php (need to login with full "user@domain.com")
4. Connect using surgeweb or mobile client (eg iOS device)
||endif||
|
|
Display of caldav calendars within surgeweb is configurable at the bottom of surgeweb customisation page
If there are any problems getting the calendaring to work see documentation installation walkthrough.
NOTE: On windows the installer will install a standalone running php-cgi install in the surgemail/php directory. On unix you will need to make sure you have PHP 7.0+ (with the modules: PDO, PDO_SQLITE, PHP_IMAP) installed and g_web_php_exe points to this.
||if(istrue(caldav_installed))||
|
|
CALENDAR DEBUG CONTEXT (see g_calendar_version setting)
|
| Version currently active : | ||g_calendar_version|| |
| Using database: | ||caldebug_data|| |
| Using integration script: | ||caldebug_script|| |
| Using phplib NetWin: | ||caldebug_lib|| |
| Using phplib Sabredav: | ||caldebug_sabre|| |
| Using php: | ||caldebug_php|| |
|
|
|
Troubleshoot Calendars: ||fixcal_results||
Check for events with faulty date formatting
||endif||
|