Merge branch 'development'
This commit is contained in:
commit
23dbb083f0
|
@ -2,6 +2,7 @@
|
||||||
package Lufi;
|
package Lufi;
|
||||||
use Mojo::Base 'Mojolicious';
|
use Mojo::Base 'Mojolicious';
|
||||||
use Mojolicious::Sessions;
|
use Mojolicious::Sessions;
|
||||||
|
use Mojo::File;
|
||||||
use Email::Valid;
|
use Email::Valid;
|
||||||
use Data::Validate::URI qw(is_web_uri);
|
use Data::Validate::URI qw(is_web_uri);
|
||||||
use Lufi::DefaultConfig qw($default_config);
|
use Lufi::DefaultConfig qw($default_config);
|
||||||
|
@ -76,7 +77,14 @@ sub startup {
|
||||||
Mojo::IOLoop->recurring(2 => sub {
|
Mojo::IOLoop->recurring(2 => sub {
|
||||||
my $loop = shift;
|
my $loop = shift;
|
||||||
|
|
||||||
|
my $lockfile = Mojo::File->new($ENV{MOJO_CONFIG})->basename('.conf').'-provisioning.lock';
|
||||||
|
return if -e $lockfile;
|
||||||
|
|
||||||
|
$lockfile = Mojo::File->new($lockfile)->touch();
|
||||||
|
|
||||||
$self->provisioning();
|
$self->provisioning();
|
||||||
|
|
||||||
|
$lockfile->remove();
|
||||||
});
|
});
|
||||||
|
|
||||||
# Create directory if needed
|
# Create directory if needed
|
||||||
|
|
|
@ -5,8 +5,8 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"PO-Revision-Date: 2020-03-22 18:29+0000\n"
|
"PO-Revision-Date: 2020-06-05 22:24+0000\n"
|
||||||
"Last-Translator: Luc Didry <luc@framasoft.org>\n"
|
"Last-Translator: pi <pi@solidaris.me>\n"
|
||||||
"Language-Team: German <https://weblate.framasoft.org/projects/lufi/"
|
"Language-Team: German <https://weblate.framasoft.org/projects/lufi/"
|
||||||
"default-theme/de/>\n"
|
"default-theme/de/>\n"
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
|
@ -991,9 +991,31 @@ msgstr ""
|
||||||
#: themes/default/templates/about.html.ep:17
|
#: themes/default/templates/about.html.ep:17
|
||||||
msgid "As Lufi is a free software licensed under of the terms of the <a href=\"https://gnu.org/licenses/agpl.html\" class=\"classic\">AGPLv3</a>, you can install it on you own server. Have a look on the <a href=\"https://framagit.org/fiat-tux/hat-softwares/lufi/wikis/home\" class=\"classic\">Wiki</a> for the procedure."
|
msgid "As Lufi is a free software licensed under of the terms of the <a href=\"https://gnu.org/licenses/agpl.html\" class=\"classic\">AGPLv3</a>, you can install it on you own server. Have a look on the <a href=\"https://framagit.org/fiat-tux/hat-softwares/lufi/wikis/home\" class=\"classic\">Wiki</a> for the procedure."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Da es sich bei Lufi um eine freie Software handelt, die unter den edingungen "
|
"Da es sich bei Lufi um eine freie Software handelt, die unter den "
|
||||||
"der <a href=\"https://gnu.org/licenses/agpl.html\" class=\"classic\""
|
"Bedingungen der <a href=\"https://gnu.org/licenses/agpl.html\" class=\""
|
||||||
">AGPLv3</a> lizenziert ist, können Sie sie auf Ihrem eigenen Server "
|
"classic\">AGPLv3</a> lizenziert ist, können Sie sie auf Ihrem eigenen Server "
|
||||||
"installieren. Werfen Sie einen Blick auf die <a href=\"https://framagit.org/"
|
"installieren. Werfen Sie einen Blick in das <a href=\"https://framagit.org/"
|
||||||
"fiat-tux/hat-softwares/lufi/wikis/home\" class=\"classic\">Wiki</a> für das "
|
"fiat-tux/hat-softwares/lufi/wikis/home\" class=\"classic\">Wiki</a> für das "
|
||||||
"Verfahren."
|
"Verfahren."
|
||||||
|
|
||||||
|
#: themes/default/templates/partial/index.js.ep:24
|
||||||
|
msgid "File uploaded"
|
||||||
|
msgstr "Datei hochgeladen"
|
||||||
|
|
||||||
|
#: themes/default/templates/partial/render.js.ep:9
|
||||||
|
msgid "File downloaded"
|
||||||
|
msgstr "Datei heruntergeladen"
|
||||||
|
|
||||||
|
#. (sprintf('<a href="https://framagit.org/fiat-tux/hat-softwares/lufi/-/commit/%s" class="classic">%s</a>', stash('version')
|
||||||
|
#: themes/default/templates/about.html.ep:22
|
||||||
|
msgid "Latest commit of this instance: %1"
|
||||||
|
msgstr "Neueste Änderung dieser Instanz: %1"
|
||||||
|
|
||||||
|
#. (sprintf('<a href="https://framagit.org/fiat-tux/hat-softwares/lufi/-/releases/%s" class="classic">%s</a>', stash('version')
|
||||||
|
#: themes/default/templates/about.html.ep:21
|
||||||
|
msgid "Latest tag of this instance: %1"
|
||||||
|
msgstr "Neueste Version dieser Instanz: %1"
|
||||||
|
|
||||||
|
#: themes/default/templates/about.html.ep:20
|
||||||
|
msgid "Version"
|
||||||
|
msgstr "Version"
|
||||||
|
|
Loading…
Reference in New Issue