1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librephotos_ynh.git synced 2024-09-03 19:36:12 +02:00

Update to latest upstream version

This commit is contained in:
Jules Bertholet 2021-05-03 11:36:00 -04:00
parent 0537ab6b1c
commit 2326075c45
5 changed files with 13 additions and 12 deletions

View file

@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
## Overview ## Overview
LibrePhotos is a Google Photos-like app. It supports automatic classification of faces, grouping photos by date, location, or objects present, and album creation. LibrePhotos is a Google Photos-like app. It supports automatic classification of faces, grouping photos by date, location, or objects present, and album creation.
**Shipped version:** 2020-04-22 **Shipped version:** 2020-05-02
## Screenshots ## Screenshots

View file

@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
## Vue d'ensemble ## Vue d'ensemble
LibrePhotos est un sercice inspiré par Google Photos. Il prend en charge la classification des visages, le groupement des photos par date, la localisation géographique, ou objets présents, et la création d'albums. LibrePhotos est un sercice inspiré par Google Photos. Il prend en charge la classification des visages, le groupement des photos par date, la localisation géographique, ou objets présents, et la création d'albums.
**Version incluse :** 2020-04-13 **Version incluse :** 2020-05-02
## Captures d'écran ## Captures d'écran

View file

@ -1,7 +1,7 @@
SOURCE_URL=https://github.com/LibrePhotos/librephotos/tarball/88c29c910fddcf0f8a3c88c8538460a8fcc15aa4 SOURCE_URL=https://github.com/LibrePhotos/librephotos/tarball/6dbe1debe137183388f20b0fbdb1dfa0b6a27ace
SOURCE_SUM=c1a2bd55fd7bbf48eef7cafefcca0af33d8a07763bf764322f29f74227d68391 SOURCE_SUM=50482fd4487bd1a1b2be1053d8a649a6e994457a2f49d954dba2632c56bcdfb9
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=88c29c910fddcf0f8a3c88c8538460a8fcc15aa4 SOURCE_FILENAME=6dbe1debe137183388f20b0fbdb1dfa0b6a27ace
SOURCE_EXTRACT=true SOURCE_EXTRACT=true

View file

@ -6,7 +6,7 @@
"en": "A photo viewer and manager similar to Google Photos", "en": "A photo viewer and manager similar to Google Photos",
"fr": "Un gestionnaire de photos semblable à Google Photos" "fr": "Un gestionnaire de photos semblable à Google Photos"
}, },
"version": "0.0.20210422~ynh1", "version": "0.0.20210502~ynh1",
"url": "https://github.com/LibrePhotos/librephotos", "url": "https://github.com/LibrePhotos/librephotos",
"license": "MIT", "license": "MIT",
"maintainer": { "maintainer": {

View file

@ -1,5 +1,5 @@
diff --git a/ownphotos/settings.py b/ownphotos/settings.py diff --git a/ownphotos/settings.py b/ownphotos/settings.py
index 81966c8..296df86 100644 index 3449af1..f1a6be7 100644
--- a/ownphotos/settings.py --- a/ownphotos/settings.py
+++ b/ownphotos/settings.py +++ b/ownphotos/settings.py
@@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/1.11/ref/settings/ @@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/1.11/ref/settings/
@ -10,7 +10,7 @@ index 81966c8..296df86 100644
for envvar in ( for envvar in (
'SECRET_KEY', 'SECRET_KEY',
@@ -75,7 +76,7 @@ CONSTANCE_CONFIG = { @@ -76,7 +77,7 @@ CONSTANCE_CONFIG = {
'IMAGE_DIRS': ("/data", 'Image dirs list (serialized json)', str) 'IMAGE_DIRS': ("/data", 'Image dirs list (serialized json)', str)
} }
@ -19,9 +19,10 @@ index 81966c8..296df86 100644
CORS_ALLOW_HEADERS = ( CORS_ALLOW_HEADERS = (
'cache-control', 'cache-control',
@@ -92,10 +93,11 @@ CORS_ALLOW_HEADERS = ( @@ -93,10 +94,11 @@ CORS_ALLOW_HEADERS = (
'x-requested-with', 'x-requested-with',
) )
)
-CORS_ORIGIN_WHITELIST = ( -CORS_ORIGIN_WHITELIST = (
- 'http://localhost:3000', - 'http://localhost:3000',
@ -35,7 +36,7 @@ index 81966c8..296df86 100644
REST_FRAMEWORK = { REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': ( 'DEFAULT_PERMISSION_CLASSES': (
@@ -229,7 +231,7 @@ AUTH_PASSWORD_VALIDATORS = [ @@ -231,7 +233,7 @@ AUTH_PASSWORD_VALIDATORS = [
LANGUAGE_CODE = 'en-us' LANGUAGE_CODE = 'en-us'
@ -44,7 +45,7 @@ index 81966c8..296df86 100644
USE_I18N = True USE_I18N = True
@@ -265,8 +267,8 @@ FULLPHOTO_SIZE = (1000, 1000) @@ -267,8 +269,8 @@ FULLPHOTO_SIZE = (1000, 1000)
CORS_ORIGIN_ALLOW_ALL = False CORS_ORIGIN_ALLOW_ALL = False
CORS_ALLOW_CREDENTIALS = True CORS_ALLOW_CREDENTIALS = True
@ -55,7 +56,7 @@ index 81966c8..296df86 100644
#Must be less or egal of nb core CPU ( Nearly 2GB per process) #Must be less or egal of nb core CPU ( Nearly 2GB per process)
HEAVYWEIGHT_PROCESS_ENV = os.environ.get('HEAVYWEIGHT_PROCESS', '1') HEAVYWEIGHT_PROCESS_ENV = os.environ.get('HEAVYWEIGHT_PROCESS', '1')
@@ -287,3 +289,12 @@ LOGGING = { @@ -289,3 +291,12 @@ LOGGING = {
}, },
}, },
} }