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

Merge branch 'testing' into arch

This commit is contained in:
Limezy 2022-08-06 00:27:30 +08:00 committed by GitHub
commit 518962a876
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 69 additions and 27 deletions

View file

@ -27,7 +27,7 @@ PhotoPrism® is an AI-Powered Photos App for the Decentralized Web. It makes use
- Automatic classification of pictures based on their content and location - Automatic classification of pictures based on their content and location
**Shipped version:** 2022.06.17~ynh1 **Shipped version:** 2022.07.30~ynh1
**Demo:** https://demo-fr.photoprism.app **Demo:** https://demo-fr.photoprism.app
@ -44,6 +44,9 @@ PhotoPrism® is an AI-Powered Photos App for the Decentralized Web. It makes use
* 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

View file

@ -15,19 +15,19 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
## Vue d'ensemble ## Vue d'ensemble
PhotoPrism® is an AI-Powered Photos App for the Decentralized Web. It makes use of the latest technologies to tag and find pictures automatically without getting in your way. You can run it at home, on a private server, or in the cloud. 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.
### Features ### Fonctionnalités
- Browse all your photos and videos without worrying about RAW conversion, duplicates or video formats - Parcourez toutes vos photos et vidéos sans vous soucier de la conversion RAW, des doublons ou des formats vidéo
- Easily find specific pictures using powerful search filters - Retrouvez facilement des photos spécifiques grâce à des filtres de recherche puissants
- Includes four high-resolution world maps to bring back the memories of your favorite trips - Inclut quatre cartes du monde en haute résolution pour raviver les souvenirs de vos voyages préférés
- Play Live Photos™ by hovering over them in albums and search results - Lancez les Photos Live™ en les survolant dans les albums et les résultats de recherche
- Recognizes the faces of your family and friends - Reconnaît les visages de votre famille et de vos amis
- Automatic classification of pictures based on their content and location - Classification automatique des photos en fonction de leur contenu et de leur emplacement
**Version incluse :** 2022.06.17~ynh1 **Version incluse :** 2022.07.30~ynh1
**Démo :** https://demo-fr.photoprism.app **Démo :** https://demo-fr.photoprism.app
@ -37,16 +37,19 @@ PhotoPrism® is an AI-Powered Photos App for the Decentralized Web. It makes use
## Avertissements / informations importantes ## Avertissements / informations importantes
* Known limitations: * Limites connues :
* Although reaching level 7, Photoprism hasn't yet been extensively tested in real conditions * Bien qu'ayant atteint le niveau 7, Photoprism n'a pas encore été testé de manière approfondie en conditions réelles.
* Please use with **extreme care** if you install it on a test server ! * Veuillez l'utiliser avec **extrême prudence** si vous l'installez sur un serveur de test !
* Not tested yet with AMD architecture * Pas encore testé avec l'architecture AMD
* Photoprism currently supports only one user. OIDC should be supported within a few months * Photoprism ne supporte actuellement qu'un seul utilisateur. OIDC devrait être supporté d'ici quelques mois.
* Photoprism requires an important amount of RAM and disk to install or to work properly * Photoprism nécessite une quantité importante de RAM et de disque pour être installé et fonctionner correctement.
* At first install, you'll be prompted for credentials * Les données sont stockées dans `/home/yunohost.app/photoprism/photos/`
* Username is "admin" * Attention, ces données ne sont pas sauvegardées par défaut lorsqu'une sauvegarde est lancée
* Password is the password you have set during the installation
* 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.
## Documentations et ressources ## Documentations et ressources

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

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

@ -158,7 +158,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"
#================================================= #=================================================
@ -192,7 +192,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

@ -155,7 +155,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"
#================================================= #=================================================
@ -188,7 +188,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