diff --git a/README.md b/README.md index 3855709..7ea1476 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ It shall NOT be edited by hand. BicBucStriim is a simple PHP application that runs in the Apache/PHP environment provided by the NAS (or any other server). It assumes that you manage your e-book collection with Calibre. The application reads the [Calibre](https://calibre-ebook.com/) data and publishes it in HTML form. To access the e-book catalog you simply point your ebook reader to your NAS, select one of your e-books and download it. -**Shipped version:** 3.3.0~ynh1 +**Shipped version:** 3.3.0~ynh2 ## Screenshots diff --git a/README_es.md b/README_es.md index 16e12d9..a2d7f9f 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,7 @@ No se debe editar a mano. BicBucStriim is a simple PHP application that runs in the Apache/PHP environment provided by the NAS (or any other server). It assumes that you manage your e-book collection with Calibre. The application reads the [Calibre](https://calibre-ebook.com/) data and publishes it in HTML form. To access the e-book catalog you simply point your ebook reader to your NAS, select one of your e-books and download it. -**Versión actual:** 3.3.0~ynh1 +**Versión actual:** 3.3.0~ynh2 ## Capturas diff --git a/README_eu.md b/README_eu.md index 5ba170d..f09aa84 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,7 @@ EZ editatu eskuz. BicBucStriim is a simple PHP application that runs in the Apache/PHP environment provided by the NAS (or any other server). It assumes that you manage your e-book collection with Calibre. The application reads the [Calibre](https://calibre-ebook.com/) data and publishes it in HTML form. To access the e-book catalog you simply point your ebook reader to your NAS, select one of your e-books and download it. -**Paketatutako bertsioa:** 3.3.0~ynh1 +**Paketatutako bertsioa:** 3.3.0~ynh2 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 8970cba..2dceedd 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. BicBucStriim est une application PHP simple qui s'exécute dans l'environnement Apache/PHP fourni par le NAS (ou tout autre serveur). Cela suppose que vous gérez votre collection de livres électroniques avec Calibre. L'application lit les données [Calibre](https://calibre-ebook.com/) et les publie sous forme HTML. Pour accéder au catalogue de livres électroniques, il vous suffit de pointer votre lecteur de livres électroniques sur votre NAS, de sélectionner l'un de vos livres électroniques et de le télécharger. -**Version incluse :** 3.3.0~ynh1 +**Version incluse :** 3.3.0~ynh2 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 67895f1..fc2f98f 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. BicBucStriim is a simple PHP application that runs in the Apache/PHP environment provided by the NAS (or any other server). It assumes that you manage your e-book collection with Calibre. The application reads the [Calibre](https://calibre-ebook.com/) data and publishes it in HTML form. To access the e-book catalog you simply point your ebook reader to your NAS, select one of your e-books and download it. -**Versión proporcionada:** 3.3.0~ynh1 +**Versión proporcionada:** 3.3.0~ynh2 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 7a33f56..5b0ed8c 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ BicBucStriim is a simple PHP application that runs in the Apache/PHP environment provided by the NAS (or any other server). It assumes that you manage your e-book collection with Calibre. The application reads the [Calibre](https://calibre-ebook.com/) data and publishes it in HTML form. To access the e-book catalog you simply point your ebook reader to your NAS, select one of your e-books and download it. -**分发版本:** 3.3.0~ynh1 +**分发版本:** 3.3.0~ynh2 ## 截图 diff --git a/conf/extra_php-fpm.conf b/conf/extra_php-fpm.conf index 700c37c..8e64c61 100644 --- a/conf/extra_php-fpm.conf +++ b/conf/extra_php-fpm.conf @@ -2,3 +2,5 @@ php_admin_value[upload_max_filesize] = 50M php_admin_value[post_max_size] = 50M +php_value[apc.enabled]=1 +php_value[apc.enable_cli]=1 diff --git a/manifest.toml b/manifest.toml index eeb0517..c28d9fe 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "BicBucStriim" description.en = "Digital books streamer, providing web-based access to your e-book collection" description.fr = "Interface web pour accéder à votre collection d'e-book" -version = "3.3.0~ynh1" +version = "3.3.0~ynh2" maintainers = ["Alex"] @@ -24,8 +24,8 @@ ldap = false sso = false -disk = "50M" -ram.build = "50M" +disk = "130M" +ram.build = "100M" ram.runtime = "50M" [install] @@ -60,4 +60,5 @@ ram.runtime = "50M" "php8.2-xml", "php8.2-sqlite3", "php8.2-mbstring", + "php8.2-apcu", ] diff --git a/scripts/install b/scripts/install index 4dc13c4..cd1c1ef 100644 --- a/scripts/install +++ b/scripts/install @@ -19,7 +19,6 @@ ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" -# chmod -R ga+w "$install_dir/data" #================================================= # SYSTEM CONFIGURATION diff --git a/scripts/restore b/scripts/restore index 76a9cc0..2a75fa5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -18,7 +18,6 @@ ynh_restore_file --origin_path="$install_dir" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" -# chmod -R ga+w "$install_dir/data" #================================================= # RESTORE SYSTEM CONFIGURATIONS diff --git a/scripts/upgrade b/scripts/upgrade index d22eb05..a5c6c9b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,22 +9,16 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# ENSURE DOWNWARD COMPATIBILITY -#================================================= -# ynh_script_progression --message="Ensuring downward compatibility..." --weight=2 - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= ynh_script_progression --message="Upgrading source files..." --weight=7 # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="data" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" -# chmod -R ga+w "$install_dir/data" #================================================= # REAPPLY SYSTEM CONFIGURATIONS