diff --git a/conf/app.src b/conf/app.src index 35c1ac8..5790e69 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://framagit.org/luc/lutim/repository/archive.tar.gz?ref=dd4ca47ac0ea8e5527364ba9ebddfab0c977f3ea -SOURCE_SUM=64e86adf69cf63fcf025314a5ee5d30c +SOURCE_URL=https://framagit.org/luc/lutim/repository/0.8.6/archive.tar.gz +SOURCE_SUM=3906c49d4b75dd6cc1065c3a98c43ce1 SOURCE_SUM_PRG=md5sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/lutim.conf.template b/conf/lutim.conf.template index 4d7eed3..b85c181 100644 --- a/conf/lutim.conf.template +++ b/conf/lutim.conf.template @@ -25,6 +25,10 @@ # mandatory secrets => ['__SECRET__'], + # choose a theme. See the available themes in `themes` directory + # optional, default is 'default' + #theme => 'default', + # length of the images random URL # optional, default is 8 #length => 8, @@ -107,12 +111,52 @@ #prefix => '/', prefix => '__PATH__', + # choose what database you want to use + # valid choices are sqlite and postgresql (all lowercase) + # optional, default is sqlite + #dbtype => 'sqlite', + # define a path to the SQLite database # you can define it relative to lutim directory or set an absolute path # remember that it has to be in a directory writable by Lutim user # optional, default is lutim.db #db_path => 'lutim.db', + # PostgreSQL ONLY - only used if dbtype is set to postgresql + # these are the credentials to access the PostgreSQL database + # mandatory if you choosed postgresql as dbtype + #pgdb => { + # database => 'lutim', + # host => 'localhost', + # #user => 'DBUSER', + # #pwd => 'DBPASSWORD' + #}, + + # use Minion instead of directly increase counters + # need to launch a minion worker service if enabled + # optional, Minion is disabled by default + #minion => { + # enabled => 0, + # # Which Minion backend to use? + # # valid values are sqlite and postgresql (all lowercase) + # # mandatory if Minion is enabled, default is sqlite + # dbtype => 'sqlite', + # # SQLite ONLY - only used if if you choose sqlite as Minion backend, define the path to the minion database + # # you can define it relative to lutim directory or set an absolute path + # # remember that it has to be in a directory writable by Lutim user + # # optional, default is minion.db + # db_path => 'minion.db', + # # PostgreSQL ONLY - only used if you choose postgresql as Minion backend + # # these are the credentials to access the Minion's PostgreSQL database + # # mandatory if you choosed postgresql as Minion backend, no default + # pgdb => { + # database => 'lutim_minion', + # host => 'localhost', + # #user => 'DBUSER', + # #pwd => 'DBPASSWORD' + # } + #}, + # define the height of the thumbnails generated at users' will # this is not the height of the thumbnails send after upload, # we're talking about thumbnails generated when someone asked for @@ -121,6 +165,14 @@ # optional, default is 100 (pixels) #thumbnail_size => 100, + # maximum number of files that can be downloaded as a single zip archive + # if too many files are asked, it results a timeout, so Lutim split the zip URL + # in multiple URLs, each with max_file_size images. + # timeout behavior depends heavily on your server ressources (CPU) and if images + # are encrypted + # optional, default is 15 + #max_files_in_zip => 15, + ########################## # Lutim cron jobs settings ########################## diff --git a/manifest.json b/manifest.json index 5ab2c03..3f6e44c 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self hosting images and sharing anonymous application", "fr": "Application d'hĂ©bergement et de partage d'images anonyme" }, - "version": "0.7.1", + "version": "0.8.6", "url": "https://lut.im", "license": "AGPL-3.0", "maintainer": { @@ -41,15 +41,6 @@ "example": "/lutim", "default": "/lutim" }, - { - "name": "admin", - "type": "user", - "ask": { - "en": "Choose the Lutim administrator (must be an existing YunoHost user)", - "fr": "Choisissez un administrateur Lutim (doit ĂȘtre un utilisateur YunoHost)" - }, - "example": "john" - }, { "name": "is_public", "type": "boolean", diff --git a/scripts/_variables b/scripts/_variables index 2f0a533..c1c74ae 100644 --- a/scripts/_variables +++ b/scripts/_variables @@ -1,4 +1,4 @@ #!/bin/bash # Dependencies -app_depencencies="carton perlmagick" +app_depencencies="carton perlmagick libpq-dev"