diff --git a/scripts/_common.sh b/scripts/_common.sh index bab530d..c3d7381 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -19,6 +19,7 @@ YNH_COMPOSER_VERSION=2.3.7 contextmenu_version=3.3.1 automatic_addressbook_version=v0.4.3 carddav_version=4.4.3 +calendar_version=3.5.7 #================================================= # EXPERIMENTAL HELPERS diff --git a/scripts/install b/scripts/install index 6a8a2f5..4df7332 100644 --- a/scripts/install +++ b/scripts/install @@ -152,14 +152,16 @@ mkdir -p "$final_path/"{logs,temp} # Install net_LDAP ynh_composer_exec --commands="require kolab/net_ldap3" -# Install contextmenu and automatic_addressbook plugins -# https://plugins.roundcube.net/packages/sblaisot/automatic_addressbook +# Install contextmenu, automatic_addressbook and calendar plugins # https://plugins.roundcube.net/#/packages/johndoh/contextmenu +# https://plugins.roundcube.net/#/packages/projectmyst/automatic_addressbook +# https://plugins.roundcube.net/#/packages/kolab/calendar ynh_composer_exec --commands="require \ johndoh/contextmenu $contextmenu_version \ - sblaisot/automatic_addressbook $automatic_addressbook_version" + sblaisot/automatic_addressbook $automatic_addressbook_version \ + kolab/calendar $calendar_version" -installed_plugins+=" 'contextmenu', 'automatic_addressbook'," +installed_plugins+=" 'contextmenu', 'automatic_addressbook', 'calendar'," ynh_add_config --template="../conf/enigma.config.inc.php" --destination="$final_path/plugins/enigma/config.inc.php" mkdir -p "$final_path/plugins/enigma/home" diff --git a/scripts/upgrade b/scripts/upgrade index 532c9ea..6114eeb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -204,14 +204,16 @@ then # Install net_LDAP ynh_composer_exec --commands="require kolab/net_ldap3" - # Update or install contextmenu and automatic_addressbook plugins - # https://plugins.roundcube.net/packages/sblaisot/automatic_addressbook + # Update or install contextmenu, automatic_addressbook and calendar plugins # https://plugins.roundcube.net/#/packages/johndoh/contextmenu - ynh_composer_exec --commands="update --no-dev --prefer-dist \ + # https://plugins.roundcube.net/#/packages/projectmyst/automatic_addressbook + # https://plugins.roundcube.net/#/packages/kolab/calendar + ynh_composer_exec --commands="update --prefer-dist \ johndoh/contextmenu $contextmenu_version \ - sblaisot/automatic_addressbook $automatic_addressbook_version" + sblaisot/automatic_addressbook $automatic_addressbook_version \ + kolab/calendar $calendar_version" - installed_plugins+=" 'contextmenu', 'automatic_addressbook'," + installed_plugins+=" 'contextmenu', 'automatic_addressbook', 'calendar'," ynh_add_config --template="../conf/enigma.config.inc.php" --destination="$final_path/plugins/enigma/config.inc.php" mkdir -p "$final_path/plugins/enigma/home"