mirror of
https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git
synced 2024-09-03 18:36:09 +02:00
Remove page_view
This commit is contained in:
parent
f99edf947d
commit
def10182c0
8 changed files with 1 additions and 29 deletions
|
@ -62,7 +62,6 @@ You can also find a configuration file for Etherpad at this path `/var/www/ether
|
|||
* [ep_headings2](https://www.npmjs.com/package/ep_headings2) - *Adds heading support to Etherpad Lite.*
|
||||
* [ep_markdown](https://www.npmjs.com/package/ep_markdown) - *Edit and Export as Markdown in Etherpad*
|
||||
* [ep_mypads](https://www.npmjs.com/package/ep_mypads) - *Groups and private pads for etherpad*
|
||||
* [ep_page_view](https://www.npmjs.com/package/ep_page_view) - *Add support to do 'page view', with a toggle on/off option in Settings, also Page Breaks with Control Enter*
|
||||
* [ep_spellcheck](https://www.npmjs.com/package/ep_spellcheck) - *Add support to do 'Spell checking'*
|
||||
* [ep_subscript_and_superscript](https://www.npmjs.com/package/ep_subscript_and_superscript) - *Add support for Subscript and Superscript*
|
||||
* [ep_table_of_contents](https://www.npmjs.com/package/ep_table_of_contents) - *View a table of contents for your pad*
|
||||
|
|
|
@ -61,7 +61,6 @@ Vous pouvez accéder à deux panneaux d'administration différents, pour Etherpa
|
|||
* [ep_headings2](https://www.npmjs.com/package/ep_headings2) - *Ajoute le support de titre à Etherpad Lite.*
|
||||
* [ep_markdown](https://www.npmjs.com/package/ep_markdown) - *Modifier et exporter en tant que Markdown dans Etherpad*
|
||||
* [ep_mypads](https://www.npmjs.com/package/ep_mypads) - *Groupes et pads privés pour etherpad*
|
||||
* [ep_page_view](https://www.npmjs.com/package/ep_page_view) - *Ajouter la prise en charge de 'page view', avec une option d'activation/désactivation dans Paramètres, ainsi que 'Page Breaks' avec Control + Entrée*
|
||||
* [ep_spellcheck](https://www.npmjs.com/package/ep_spellcheck) - *Ajouter le support pour faire de la vérification orthographique*
|
||||
* [ep_subscript_and_superscript](https://www.npmjs.com/package/ep_subscript_and_superscript) - *Ajouter la prise en charge de Subscript et Superscript*.
|
||||
* [ep_table_of_contents](https://www.npmjs.com/package/ep_table_of_contents) - *Voir une table des matières pour votre pad*
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
main.pad_configuration.pad_config_chatandusers=1|0
|
||||
main.pad_configuration.pad_config_alwaysshowchat=1|0
|
||||
main.pad_configuration.pad_config_show_markdown=1|0
|
||||
main.pad_configuration.pad_config_pageview=1|0
|
||||
main.pad_configuration.pad_config_automatic_logout=0|1
|
||||
main.pad_configuration.pad_config_skinname=noskin|colibris|noskin
|
||||
main.mypads_configuration.mypads=0|1
|
||||
|
|
|
@ -211,10 +211,6 @@
|
|||
// ep_markdown
|
||||
"ep_markdown_default": false, // Setting as default
|
||||
|
||||
// ep_page_view
|
||||
"ep_page_view_default" : false, // Set page view as default
|
||||
"ep_page_view_disable_change" : false, // Disable change of page view setting in UI
|
||||
|
||||
// Other plugins config
|
||||
// ep_comments_page
|
||||
// Display comments as icons, not boxes
|
||||
|
|
|
@ -42,11 +42,6 @@ name = "Etherpad configuration"
|
|||
type = "boolean"
|
||||
default = false
|
||||
|
||||
[main.pad_configuration.pad_config_pageview]
|
||||
ask = "Page view?"
|
||||
type = "boolean"
|
||||
default = false
|
||||
|
||||
[main.pad_configuration.pad_config_automatic_logout]
|
||||
ask = "Automatic logout"
|
||||
type = "boolean"
|
||||
|
|
|
@ -18,12 +18,11 @@ ep_align_version=0.2.5
|
|||
ep_author_hover_version=0.3.0
|
||||
ep_automatic_logut_version=1.0.8
|
||||
ep_comments_page_version=0.1.5
|
||||
#ep_countable_version=0.0.7
|
||||
ep_countable_version=0.0.7
|
||||
ep_delete_empty_pads_version=0.0.6
|
||||
ep_font_color_version=0.0.15
|
||||
ep_headings2_version=0.1.3
|
||||
ep_markdown_version=0.1.7
|
||||
ep_page_view_version=0.5.24
|
||||
ep_spellcheck_version=0.0.7
|
||||
ep_subscript_and_superscript_version=0.1.2
|
||||
ep_table_of_contents_version=0.2.3
|
||||
|
|
|
@ -67,10 +67,6 @@ pad_config_alwaysshowchat="${YNH_CONFIG_MAIN_PAD_CONFIGURATION_PAD_CONFIG_ALWAYS
|
|||
old_pad_config_show_markdown="$(get_config_value ep_markdown_default)"
|
||||
pad_config_show_markdown="${YNH_CONFIG_MAIN_PAD_CONFIGURATION_PAD_CONFIG_SHOW_MARKDOWN:-$old_pad_config_show_markdown}"
|
||||
|
||||
# Plugin option ep_page_view_default
|
||||
old_pad_config_pageview="$(get_config_value ep_page_view_default)"
|
||||
pad_config_pageview="${YNH_CONFIG_MAIN_PAD_CONFIGURATION_PAD_CONFIG_PAGEVIEW:-$old_pad_config_pageview}"
|
||||
|
||||
# Enable/disable ep_automatic_logut
|
||||
if grep -q "//.*\"automatic_logut_" $config_file
|
||||
then
|
||||
|
@ -149,7 +145,6 @@ show_config() {
|
|||
ynh_return "YNH_CONFIG_MAIN_PAD_CONFIGURATION_PAD_CONFIG_CHATANDUSERS=$pad_config_chatandusers"
|
||||
ynh_return "YNH_CONFIG_MAIN_PAD_CONFIGURATION_PAD_CONFIG_ALWAYSSHOWCHAT=$pad_config_alwaysshowchat"
|
||||
ynh_return "YNH_CONFIG_MAIN_PAD_CONFIGURATION_PAD_CONFIG_SHOW_MARKDOWN=$pad_config_show_markdown"
|
||||
ynh_return "YNH_CONFIG_MAIN_PAD_CONFIGURATION_PAD_CONFIG_PAGEVIEW=$pad_config_pageview"
|
||||
ynh_return "YNH_CONFIG_MAIN_PAD_CONFIGURATION_PAD_CONFIG_AUTOMATIC_LOGOUT=$pad_config_automatic_logout"
|
||||
ynh_return "YNH_CONFIG_MAIN_PAD_CONFIGURATION_PAD_CONFIG_SKINNAME=$pad_config_skinname"
|
||||
|
||||
|
@ -217,14 +212,6 @@ apply_config() {
|
|||
restart_etherpad=1
|
||||
fi
|
||||
|
||||
# Plugin option ep_page_view_default
|
||||
if [ "$pad_config_pageview" != "$old_pad_config_pageview" ]
|
||||
then
|
||||
ynh_replace_string --match_string="\(\"ep_page_view_default\" *: \).*," --replace_string="\1$pad_config_pageview," --target_file="$config_file"
|
||||
ynh_app_setting_set --app=$app --key=pad_config_pageview --value="$pad_config_pageview"
|
||||
restart_etherpad=1
|
||||
fi
|
||||
|
||||
# Plugin option ep_automatic_logut
|
||||
if [ "$pad_config_automatic_logout" != "$old_pad_config_automatic_logout" ]
|
||||
then
|
||||
|
|
|
@ -263,8 +263,6 @@ if [ $mypads -eq 1 ]; then
|
|||
# Framapad - Groups and private pads for etherpad
|
||||
npm install ep_mypads@${mypads_version} >> $install_log 2>&1
|
||||
fi
|
||||
# Framapad - Add support to do 'page view', with a toggle on/off option in Settings, also Page Breaks with Control Enter
|
||||
npm install ep_page_view@${ep_page_view_version} >> $install_log 2>&1
|
||||
# Framapad - Add support to do 'Spell checking'
|
||||
npm install ep_spellcheck@${ep_spellcheck_version} >> $install_log 2>&1
|
||||
# Framapad - Add support for Subscript and Superscript
|
||||
|
|
Loading…
Add table
Reference in a new issue