1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00

Merge pull request #135 from YunoHost-Apps/testing

Upgrade to 1.8.2
This commit is contained in:
Mateusz 2024-01-20 21:48:36 +01:00 committed by GitHub
commit be57237e14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 11 additions and 17 deletions

View file

@ -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

View file

@ -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

2
conf/sql/v1.8.0.sql Normal file
View file

@ -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/');

View file

@ -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]

View file

@ -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

View file

@ -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;
/**
* ////////////////////////////////////////////////////////////////////