mirror of
https://github.com/YunoHost-Apps/photonix_ynh.git
synced 2024-09-03 19:56:29 +02:00
0.24
This commit is contained in:
parent
b943d0955a
commit
1365449480
5 changed files with 10 additions and 14 deletions
|
@ -3,9 +3,9 @@
|
|||
|
||||
;; Test complet
|
||||
; Manifest
|
||||
domain="domain.tld" (DOMAIN)
|
||||
admin="john" (USER)
|
||||
is_public=1 (PUBLIC|public=1|private=0)
|
||||
domain="domain.tld"
|
||||
admin="john"
|
||||
is_public=1
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/photonixapp/photonix/archive/refs/tags/v0.22.0.tar.gz
|
||||
SOURCE_SUM=1a34e4ee981455e826fe5bf4fbcba7d9fba36b94802f8c927dfbfa5b6c3e3848
|
||||
SOURCE_URL=https://github.com/photonixapp/photonix/archive/refs/tags/v0.24.0.tar.gz
|
||||
SOURCE_SUM=3da99fb455cfb7b0b29a5c4e48fba3dd5caefd66f508643aced484550eb96576
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -20,7 +20,7 @@ location /static-collected {
|
|||
}
|
||||
|
||||
location ~ ^/(admin|graphql|thumbnailer) {
|
||||
proxy_pass http://localhost:__PORT__;
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Photo management application that streamlines the process of storing, presenting and re-discovering photos",
|
||||
"fr": "Application de gestion de photos qui simplifie le processus de stocker, présenter er re-découvrir ses photos"
|
||||
},
|
||||
"version": "0.22.0~ynh1",
|
||||
"version": "0.24.0~ynh1",
|
||||
"url": "https://photonix.org/",
|
||||
"license": "AGPL-3.0-only",
|
||||
"maintainer": {
|
||||
|
@ -14,7 +14,7 @@
|
|||
"email": "jules.bertholet@example.com"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.2.4"
|
||||
"yunohost": ">= 11.1.15"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
@ -26,13 +26,11 @@
|
|||
"install" : [
|
||||
{
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
"example": "example.com"
|
||||
"type": "domain"
|
||||
},
|
||||
{
|
||||
"name": "admin",
|
||||
"type": "user",
|
||||
"example": "johndoe"
|
||||
"type": "user"
|
||||
},
|
||||
|
||||
{
|
||||
|
|
|
@ -34,8 +34,6 @@ load_settings
|
|||
#=================================================
|
||||
ynh_script_progression --message="Validating restoration parameters..." --weight=1
|
||||
|
||||
ynh_webpath_available --domain=$domain --path_url=$path_url \
|
||||
|| ynh_die --message="Path not available: ${domain}${path_url}"
|
||||
test ! -d $final_path \
|
||||
|| ynh_die --message="There is already a directory: $final_path "
|
||||
test ! -d $data_path \
|
||||
|
|
Loading…
Add table
Reference in a new issue