mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
commit
76f2e9e7f5
9 changed files with 27 additions and 11 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
|
||||
- i18n support: translated in English, French & Polish with more to come!
|
||||
|
||||
**Shipped version:** 1.0.0-96~ynh1
|
||||
**Shipped version:** 1.0.0-98~ynh1
|
||||
|
||||
**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
|
||||
- i18n support: translated in English, French & Polish with more to come!
|
||||
|
||||
**Version incluse :** 1.0.0-96~ynh1
|
||||
**Version incluse :** 1.0.0-98~ynh1
|
||||
|
||||
**Démo :** https://podcast.podlibre.org/@podlibre_fr
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ auth.gateway="cp-auth"
|
|||
#--------------------------------------------------------------------
|
||||
database.default.hostname="localhost"
|
||||
database.default.database="__DB_NAME__"
|
||||
database.default.username="__DB_NAME__"
|
||||
database.default.username="__DB_USER__"
|
||||
database.default.password="__DB_PWD__"
|
||||
database.default.DBPrefix="cp_"
|
||||
|
||||
|
@ -35,3 +35,9 @@ cache.redis.host="127.0.0.1"
|
|||
cache.redis.password=null
|
||||
cache.redis.port=6379
|
||||
cache.redis.database=__REDIS_DB__
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# REST API configuration
|
||||
#--------------------------------------------------------------------
|
||||
# restapi.enabled=true
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://code.castopod.org/adaures/castopod/uploads/ca9489b2a78f3434dc7b98065ab8caab/castopod-1.0.0-beta.16.zip
|
||||
SOURCE_SUM=dba778738f7d2800051422f57886f0230d3a4f30e94167528632de5e1267949a
|
||||
SOURCE_URL=https://code.castopod.org/adaures/castopod/uploads/34c2c6a92d934a403425219e59524177/castopod-1.0.0-beta.18.zip
|
||||
SOURCE_SUM=33889bf23cc133fbd735a19ec1cc92a61195da7d806163e4b266e668c5ad4833
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
* * * * * __USER__ /usr/bin/php__PHPVERSION__ __FINALPATH__/public/index.php scheduled-activities
|
||||
* * * * * __USER__ /usr/bin/php__PHPVERSION__ __FINALPATH__/public/index.php scheduled-video-clips
|
||||
* * * * * __USER__ /usr/bin/php__PHPVERSION__ __FINALPATH__/public/index.php scheduled-websub-publish
|
||||
* * * * * __APP__ /usr/bin/php__PHPVERSION__ __FINALPATH__/public/index.php scheduled-activities
|
||||
* * * * * __APP__ /usr/bin/php__PHPVERSION__ __FINALPATH__/public/index.php scheduled-video-clips
|
||||
* * * * * __APP__ /usr/bin/php__PHPVERSION__ __FINALPATH__/public/index.php scheduled-websub-publish
|
|
@ -1,4 +1,5 @@
|
|||
location / {
|
||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/public/;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Hosting platform made for podcasters",
|
||||
"fr": "Plateforme d'hébergement conçue pour les podcasteurs"
|
||||
},
|
||||
"version": "1.0.0-96~ynh1",
|
||||
"version": "1.0.0-98~ynh1",
|
||||
"url": "https://castopod.org/",
|
||||
"upstream": {
|
||||
"license": "GPL-3.0-only",
|
||||
|
|
|
@ -13,6 +13,10 @@ source /usr/share/yunohost/helpers
|
|||
# MANAGE SCRIPT FAILURE
|
||||
#=================================================
|
||||
|
||||
ynh_clean_setup () {
|
||||
### Remove this function if there's nothing to clean before calling the remove script.
|
||||
true
|
||||
}
|
||||
# Exit if an error occurs during the execution of the script
|
||||
ynh_abort_if_errors
|
||||
|
||||
|
@ -49,7 +53,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=1
|
|||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||
ynh_app_setting_set --app=$app --key=admin --value=$admin
|
||||
ynh_app_setting_set --app=$app --key=phpversion --value=$phpversion
|
||||
ynh_app_setting_set --app=$app --key=password --value="$password"
|
||||
|
||||
#=================================================
|
||||
|
@ -160,6 +163,8 @@ ynh_script_progression --message="Configuring permissions..." --weight=10
|
|||
# Make app public if necessary or protect it
|
||||
if [ $is_public -eq 1 ]
|
||||
then
|
||||
# Everyone can access the app.
|
||||
# The "main" permission is automatically created before the install script.
|
||||
ynh_permission_update --permission="main" --add="visitors"
|
||||
fi
|
||||
|
||||
|
|
|
@ -14,6 +14,10 @@ source /usr/share/yunohost/helpers
|
|||
# MANAGE SCRIPT FAILURE
|
||||
#=================================================
|
||||
|
||||
ynh_clean_setup () {
|
||||
#### Remove this function if there's nothing to clean before calling the remove script.
|
||||
true
|
||||
}
|
||||
# Exit if an error occurs during the execution of the script
|
||||
ynh_abort_if_errors
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue