1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00

Merge pull request #17 from Thovi98/Upgrade-to-latest-version

Upgrade to latest version
This commit is contained in:
Limezy 2022-08-05 21:04:28 +08:00 committed by GitHub
commit a2f01f9f11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 45 additions and 9 deletions

View file

@ -17,6 +17,11 @@
multi_instance=0 multi_instance=0
port_already_use=0 port_already_use=0
change_url=1 change_url=1
# 2022.06.17~ynh1
upgrade=1 from_commit=4de2ab27722b2300a6faff4f910ecf5b93160cb6
;;; Options ;;; Options
Email= Email=
Notification=none Notification=none
;;; Upgrade options
; commit=4de2ab27722b2300a6faff4f910ecf5b93160cb6
name=2022.06.17~ynh1

View file

@ -10,6 +10,7 @@ WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/live/bin/photoprism --config-path __FINALPATH__/live/config/ --trace start ExecStart=__FINALPATH__/live/bin/photoprism --config-path __FINALPATH__/live/config/ --trace start
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit StandardError=inherit
TimeoutSec=900
# Sandboxing options to harden security # Sandboxing options to harden security
# Depending on specificities of your service/app, you may need to tweak these # Depending on specificities of your service/app, you may need to tweak these

10
doc/DESCRIPTION_fr.md Normal file
View file

@ -0,0 +1,10 @@
PhotoPrism® est une application de photos alimentée par l'IA pour le Web décentralisé. Elle utilise les dernières technologies pour étiqueter et trouver des photos automatiquement, sans se mettre en travers de votre chemin. Vous pouvez l'utiliser chez vous, sur un serveur privé ou dans le nuage.
### Fonctionnalités
- Parcourez toutes vos photos et vidéos sans vous soucier de la conversion RAW, des doublons ou des formats vidéo
- Retrouvez facilement des photos spécifiques grâce à des filtres de recherche puissants
- Inclut quatre cartes du monde en haute résolution pour raviver les souvenirs de vos voyages préférés
- Lancez les Photos Live™ en les survolant dans les albums et les résultats de recherche
- Reconnaît les visages de votre famille et de vos amis
- Classification automatique des photos en fonction de leur contenu et de leur emplacement

View file

@ -5,6 +5,9 @@
* Photoprism currently supports only one user. OIDC should be supported within a few months * Photoprism currently supports only one user. OIDC should be supported within a few months
* Photoprism requires an important amount of RAM and disk to install or to work properly * Photoprism requires an important amount of RAM and disk to install or to work properly
* All data is stored in `/home/yunohost.app/photoprism/photos/`
* Be careful, this data is not backed-up by default when doing a backup
* At first install, you'll be prompted for credentials * At first install, you'll be prompted for credentials
* Username is "admin" * Username is "admin"
* Password is the password you have set during the installation * Password is the password you have set during the installation

13
doc/DISCLAIMER_fr.md Normal file
View file

@ -0,0 +1,13 @@
* Limites connues :
* Bien qu'ayant atteint le niveau 7, Photoprism n'a pas encore été testé de manière approfondie en conditions réelles.
* Veuillez l'utiliser avec **extrême prudence** si vous l'installez sur un serveur de test !
* Pas encore testé avec l'architecture AMD
* Photoprism ne supporte actuellement qu'un seul utilisateur. OIDC devrait être supporté d'ici quelques mois.
* Photoprism nécessite une quantité importante de RAM et de disque pour être installé et fonctionner correctement.
* Les données sont stockées dans `/home/yunohost.app/photoprism/photos/`
* Attention, ces données ne sont pas sauvegardées par défaut lorsqu'une sauvegarde est lancée
* Lors de la première installation, il vous sera demandé de fournir des informations d'identification.
* Le nom d'utilisateur est "admin".
* Le mot de passe est celui que vous avez défini lors de l'installation.

View file

@ -6,7 +6,7 @@
"en": "AI-Powered Photos App for the Decentralized Web", "en": "AI-Powered Photos App for the Decentralized Web",
"fr": "Gestion de photos en ligne" "fr": "Gestion de photos en ligne"
}, },
"version": "2022.06.17~ynh1", "version": "2022.07.30~ynh1",
"url": "photoprism.app", "url": "photoprism.app",
"upstream": { "upstream": {
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
@ -18,7 +18,7 @@
}, },
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"maintainer": { "maintainer": {
"name": "Raoul de Limezy" "name": "Thovi98"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 4.3.0"
@ -42,6 +42,10 @@
{ {
"name": "is_public", "name": "is_public",
"type": "boolean", "type": "boolean",
"help": {
"en": "If enabled, Photoprism will be accessible by mobile apps and by users without a YunoHost account. This can be changed later in the webadmin.",
"fr": "Si cette case est cochée, Photoprism sera accessible par des applications mobiles et par les utilisateurs nayant pas de compte YunoHost. Vous pourrez changer cela dans la webadmin."
},
"default": true "default": true
}, },
{ {

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
PHOTOPRISM_VERSION="220617-bullseye" PHOTOPRISM_VERSION="220730-bullseye"
#pkg_dependencies="libc6-dev libssl-dev libxft-dev libhdf5-serial-dev libpng-dev libheif-examples librsvg2-bin libx264-dev libx265-dev libnss3 libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev libzmq3-dev" #pkg_dependencies="libc6-dev libssl-dev libxft-dev libhdf5-serial-dev libpng-dev libheif-examples librsvg2-bin libx264-dev libx265-dev libnss3 libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev libzmq3-dev"
pkg_dependencies="" pkg_dependencies=""

View file

@ -133,7 +133,7 @@ chown $app:$app "$final_path/live/config/options.yml"
ynh_script_progression --message="Starting a systemd service..." ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="http: starting web server at" ynh_exec_warn_less ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="http: starting web server at"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX

View file

@ -157,7 +157,7 @@ ynh_script_progression --message="Adding a configuration file..."
ynh_add_config --template="../conf/options.yml" --destination="$final_path/live/config/options.yml" ynh_add_config --template="../conf/options.yml" --destination="$final_path/live/config/options.yml"
chmod 400 "$final_path/live/config/options.yml" chmod 600 "$final_path/live/config/options.yml"
chown $app:$app "$final_path/live/config/options.yml" chown $app:$app "$final_path/live/config/options.yml"
#================================================= #=================================================
@ -191,7 +191,7 @@ yunohost service add $app --description="AI-Powered Photos App for the Decentral
ynh_script_progression --message="Starting a systemd service..." ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="http: starting web server at" ynh_exec_warn_less ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="http: starting web server at"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT

View file

@ -132,7 +132,7 @@ yunohost service add $app --description="AI-Powered Photos App for the Decentral
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="http: starting web server at" ynh_exec_warn_less ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="http: starting web server at"
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -154,7 +154,7 @@ ynh_script_progression --message="Updating a configuration file..."
ynh_add_config --template="../conf/options.yml" --destination="$final_path/live/config/options.yml" ynh_add_config --template="../conf/options.yml" --destination="$final_path/live/config/options.yml"
chmod 400 "$final_path/live/config/options.yml" chmod 600 "$final_path/live/config/options.yml"
chown $app:$app "$final_path/live/config/options.yml" chown $app:$app "$final_path/live/config/options.yml"
#================================================= #=================================================
@ -187,7 +187,7 @@ yunohost service add $app --description="AI-Powered Photos App for the Decentral
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="http: starting web server at" ynh_exec_warn_less ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="http: starting web server at"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX