mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
commit
75952d20ab
5 changed files with 24 additions and 3 deletions
|
@ -40,7 +40,7 @@ Castopod is currently in beta but already quite stable and used by podcasters ar
|
||||||
- Multi-user: add contributors and set roles
|
- Multi-user: add contributors and set roles
|
||||||
- i18n support: translated in English, French & Polish with more to come!
|
- i18n support: translated in English, French & Polish with more to come!
|
||||||
|
|
||||||
**Shipped version:** 1.0.0-99~ynh1
|
**Shipped version:** 1.0.0-99~ynh2
|
||||||
|
|
||||||
**Demo:** https://podcast.podlibre.org/@podlibre_fr
|
**Demo:** https://podcast.podlibre.org/@podlibre_fr
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ Castopod is currently in beta but already quite stable and used by podcasters ar
|
||||||
- Multi-user: add contributors and set roles
|
- Multi-user: add contributors and set roles
|
||||||
- i18n support: translated in English, French & Polish with more to come!
|
- i18n support: translated in English, French & Polish with more to come!
|
||||||
|
|
||||||
**Version incluse :** 1.0.0-99~ynh1
|
**Version incluse :** 1.0.0-99~ynh2
|
||||||
|
|
||||||
**Démo :** https://podcast.podlibre.org/@podlibre_fr
|
**Démo :** https://podcast.podlibre.org/@podlibre_fr
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Hosting platform made for podcasters",
|
"en": "Hosting platform made for podcasters",
|
||||||
"fr": "Plateforme d'hébergement conçue pour les podcasteurs"
|
"fr": "Plateforme d'hébergement conçue pour les podcasteurs"
|
||||||
},
|
},
|
||||||
"version": "1.0.0-99~ynh1",
|
"version": "1.0.0-99~ynh2",
|
||||||
"url": "https://castopod.org/",
|
"url": "https://castopod.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
|
|
11
scripts/from_beta_16.sql
Normal file
11
scripts/from_beta_16.sql
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
SET AUTOCOMMIT = 0;
|
||||||
|
START TRANSACTION;
|
||||||
|
|
||||||
|
ALTER TABLE `cp_settings`
|
||||||
|
ADD COLUMN context VARCHAR(255) NULL AFTER `type`;
|
||||||
|
|
||||||
|
ALTER TABLE cp_podcasts ADD COLUMN published_at DATETIME DEFAULT NULL AFTER
|
||||||
|
updated_by;
|
||||||
|
UPDATE cp_podcasts SET published_at = created_at;
|
||||||
|
|
||||||
|
COMMIT;
|
|
@ -116,6 +116,16 @@ chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# MYSQL CONFIGURATION
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
if ynh_compare_current_package_version --comparison eq --version 1.0.0-96~ynh1
|
||||||
|
then
|
||||||
|
ynh_script_progression --message="Upgrading MySQL configuration..." --weight=1
|
||||||
|
ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name < ./from_beta_16.sql
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue