Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Calendar plugin #145

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
12 changes: 7 additions & 5 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down