From d5bdf0b434a3ed3c61c252b0514952a9b3e5f360 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Wed, 27 Dec 2023 08:24:05 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20=E2=80=94=20A=20bit=20of=20clean?= =?UTF-8?q?ing=20in=20URLs,=20email=20addresses=20and=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .provision/ansible-role-lufi/templates/lufi.conf.j2 | 4 ++-- CONTRIBUTING.md | 2 +- README.md | 6 +----- lib/Lufi/DefaultConfig.pm | 2 +- lufi.conf.template | 4 ++-- t/mysql.conf | 4 ++-- t/postgresql.conf | 4 ++-- t/sqlite.conf | 4 ++-- t/test.t | 2 +- utilities/lufi.service | 2 +- 10 files changed, 15 insertions(+), 19 deletions(-) diff --git a/.provision/ansible-role-lufi/templates/lufi.conf.j2 b/.provision/ansible-role-lufi/templates/lufi.conf.j2 index 9b9ee5f..fb78e88 100644 --- a/.provision/ansible-role-lufi/templates/lufi.conf.j2 +++ b/.provision/ansible-role-lufi/templates/lufi.conf.j2 @@ -163,8 +163,8 @@ #}, # Email sender address - # optional, default to no-reply@lufi.io - #mail_sender => 'no-reply@lufi.io', + # optional, default to no-reply@lufi.example.org + #mail_sender => 'no-reply@lufi.example.org', # Disable sending mail through the server # optional, default is false diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 85d6590..8eb56ee 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,3 @@ # CONTRIBUTING -Please, read about contributing at \ No newline at end of file +Please, read about contributing at diff --git a/README.md b/README.md index 6ec310e..fc7d11f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Lufi is licensed under the terms of the AGPL. See the [LICENSE](LICENSE) file. ## Official instance -There is a demonstration site, available at , with strong limitations on time and file size. +There is a demonstration site, available at , with strong limitations on time and file size. To really use Lufi, you can go to , provided by the [Framasoft association](https://framasoft.org) (you can help them to keep providing free services at ). @@ -80,10 +80,6 @@ The details on how to contribute are on the [wiki](https://framagit.org/fiat-tux This software uses [Fiat Tux Code of conduct](https://framagit.org/fiat-tux/code-of-conduct/blob/master/README.md). -## Make a donation - -You can make a donation to the author on [Tipeee](https://www.tipeee.com/fiat-tux) or on [Liberapay](https://liberapay.com/sky/). - ## Other dependencies Lufi is written in Perl with the [Mojolicious](http://mojolicio.us) framework. diff --git a/lib/Lufi/DefaultConfig.pm b/lib/Lufi/DefaultConfig.pm index 6baf5bb..c863220 100644 --- a/lib/Lufi/DefaultConfig.pm +++ b/lib/Lufi/DefaultConfig.pm @@ -16,7 +16,7 @@ our $default_config = { mail => { how => 'sendmail' }, - mail_sender => 'no-reply@lufi.io', + mail_sender => 'no-reply@lufi.example.org', disable_mail_sending => 1, theme => 'default', upload_dir => 'files', diff --git a/lufi.conf.template b/lufi.conf.template index 2a274b3..d66f8b5 100644 --- a/lufi.conf.template +++ b/lufi.conf.template @@ -171,8 +171,8 @@ #}, # Email sender address - # optional, default to no-reply@lufi.io - #mail_sender => 'no-reply@lufi.io', + # optional, default to no-reply@lufi.example.org + #mail_sender => 'no-reply@lufi.example.org', # Disable sending mail through the server # Recommended option as mail sending can be abused by spammers diff --git a/t/mysql.conf b/t/mysql.conf index dd1383a..d12aa8a 100644 --- a/t/mysql.conf +++ b/t/mysql.conf @@ -161,8 +161,8 @@ #}, # Email sender address - # optional, default to no-reply@lufi.io - #mail_sender => 'no-reply@lufi.io', + # optional, default to no-reply@lufi.example.org + #mail_sender => 'no-reply@lufi.example.org', # Disable sending mail through the server # Recommended option as mail sending can be abused by spammers diff --git a/t/postgresql.conf b/t/postgresql.conf index d81c70a..762e066 100644 --- a/t/postgresql.conf +++ b/t/postgresql.conf @@ -157,8 +157,8 @@ #}, # Email sender address - # optional, default to no-reply@lufi.io - #mail_sender => 'no-reply@lufi.io', + # optional, default to no-reply@lufi.example.org + #mail_sender => 'no-reply@lufi.example.org', # Disable sending mail through the server # Recommended option as mail sending can be abused by spammers diff --git a/t/sqlite.conf b/t/sqlite.conf index 47f8a1d..f0abcbe 100644 --- a/t/sqlite.conf +++ b/t/sqlite.conf @@ -161,8 +161,8 @@ #}, # Email sender address - # optional, default to no-reply@lufi.io - #mail_sender => 'no-reply@lufi.io', + # optional, default to no-reply@lufi.example.org + #mail_sender => 'no-reply@lufi.example.org', # Disable sending mail through the server # Recommended option as mail sending can be abused by spammers diff --git a/t/test.t b/t/test.t index c8daec1..96a34a8 100644 --- a/t/test.t +++ b/t/test.t @@ -57,7 +57,7 @@ BEGIN { mail => { how => 'sendmail' }, - mail_sender => 'no-reply@lufi.io', + mail_sender => 'no-reply@lufi.example.org', disable_mail_sending => 1, theme => 'default', upload_dir => 'files', diff --git a/utilities/lufi.service b/utilities/lufi.service index 0d6636d..c238caf 100644 --- a/utilities/lufi.service +++ b/utilities/lufi.service @@ -1,6 +1,6 @@ [Unit] Description=File hosting service with encryption -Documentation=https://framagit.org/luc/lufi +Documentation=https://framagit.org/fiat-tux/hat-softwares/lufi/ Requires=network.target After=network.target