diff --git a/README.md b/README.md index a9822ad..3cbe914 100755 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Castopod is easy to install and was built on top of CodeIgniter4, a powerful PHP - Multi-tenant: host as many podcasts as you want - Multi-user: add contributors and set roles -**Shipped version:** 1.7.4~ynh1 +**Shipped version:** 1.8.2~ynh1 **Demo:** https://podcast.podlibre.org/@podlibre_fr diff --git a/README_fr.md b/README_fr.md index 8392b11..8e29c72 100755 --- a/README_fr.md +++ b/README_fr.md @@ -31,7 +31,7 @@ Castopod est une plate-forme d'hébergement gratuite et open source conçue pour - Multi-locataire : hébergez autant de podcasts que vous le souhaitez - Multi-utilisateur : ajouter des contributeurs et définir des rôles -**Version incluse :** 1.7.4~ynh1 +**Version incluse :** 1.8.2~ynh1 **Démo :** https://podcast.podlibre.org/@podlibre_fr diff --git a/conf/sql/v1.8.0.sql b/conf/sql/v1.8.0.sql new file mode 100644 index 0000000..1c3a404 --- /dev/null +++ b/conf/sql/v1.8.0.sql @@ -0,0 +1,2 @@ +INSERT INTO `cp_platforms` (`slug`, `type`, `label`, `home_url`, `submit_url`) VALUES +('matrix', 'social', 'Matrix', 'https://matrix.org/', 'https://matrix.org/try-matrix/'); diff --git a/manifest.toml b/manifest.toml index b6fb648..04783a6 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Castopod" description.en = "Hosting platform made for podcasters" description.fr = "Plateforme d'hébergement conçue pour les podcasteurs" -version = "1.7.4~ynh1" +version = "1.8.2~ynh1" maintainers = ["orhtej2"] @@ -42,8 +42,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://code.castopod.org/adaures/castopod/uploads/6bab4d6e3ce5f8362b964786528a5b1b/castopod-1.7.4.zip" - sha256 = "808800d4e5bf40ac9e1fb3a5c243d2c3575ceb54ef78ce540c895382288c842c" + url = "https://code.castopod.org/adaures/castopod/uploads/c2a4216026fd78c02d5ec53ab7738085/castopod-1.8.2.zip" + sha256 = "e0add6f37ae6cd9ef8b5c519f8c886fb64e90d36f6781a08b315acfbc6ebfd7e" in_subdir = true [resources.system_user] diff --git a/scripts/upgrade b/scripts/upgrade index be334e6..f68d25d 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -128,6 +128,10 @@ if ynh_compare_current_package_version --comparison lt --version "1.7.3~ynh1"; t # cf https://code.castopod.org/adaures/castopod/-/releases/v1.7.3 ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.7.3.sql" fi +if ynh_compare_current_package_version --comparison lt --version "1.8.2~ynh1"; then + # cf https://code.castopod.org/adaures/castopod/-/releases/v1.7.3 + ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < "../conf/sql/v1.8.0.sql" +fi #================================================= # END OF SCRIPT diff --git a/sources/patches/main-001-allow-unsafe-login.patch b/sources/patches/main-001-allow-unsafe-login.patch deleted file mode 100644 index 7574678..0000000 --- a/sources/patches/main-001-allow-unsafe-login.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ruN castopod.old/vendor/codeigniter4/shield/src/Config/Auth.php castopod/vendor/codeigniter4/shield/src/Config/Auth.php ---- castopod.old/vendor.old/codeigniter4/shield/src/Config/Auth.php 2023-10-31 13:05:34 -+++ castopod/vendor/codeigniter4/shield/src/Config/Auth.php 2023-10-31 12:57:04 -@@ -375,7 +375,7 @@ - * - * @deprecated This is only for backward compatibility. - */ -- public bool $supportOldDangerousPassword = false; -+ public bool $supportOldDangerousPassword = true; - - /** - * ////////////////////////////////////////////////////////////////////