Commit graph

1620 commits

Author SHA1 Message Date
Josué Tille
bba393c45c
Add possibility to use template or predefined config 2019-02-15 14:06:53 +01:00
Josué Tille
140ae8e51a
Change the way to manage the jail and filter file and improve documentations
Using a template file make more easy to use a custom failregex.
It also give the possiblitity to use custom settings in the fail2ban config
2019-02-13 21:25:49 +01:00
Alexandre Aubin
fa2d80bce7
Remove sudo 2018-08-29 13:27:25 +02:00
Alexandre Aubin
62c8f577c9
Remove old sudo 2018-08-29 13:25:29 +02:00
Maniack Crudelis
7752bc0fb7
Update fail2ban helpers from experimental helpers. 2018-08-27 21:51:36 +02:00
Jimmy Monin
561f1aecb0 Update to latest version from Experimental_helpers 2018-05-19 10:11:16 +02:00
Jimmy Monin
35d4a1001f Add fail2ban helpers 2017-09-02 18:27:25 +02:00
Laurent Peuch
a6639c4530 Merge pull request #358 from YunoHost/crypto_random_for_password
[fix] use cryptorandom to generate password
2017-08-30 08:44:39 +02:00
Laurent Peuch
dee1dee407 Merge pull request #357 from ariasuni/fix-485
[fix] Alow dash at the beginning of app settings
2017-08-30 04:48:10 +02:00
Laurent Peuch
fea6d3568f [fix] previous string was expecting an app name but we don't have any 2017-08-28 18:00:23 +02:00
Laurent Peuch
c6b5284be8 [fix] use cryptorandom to generate password 2017-08-27 05:42:33 +02:00
ariasuni
8e45f960a7 [fix] Use --value="$3" syntax so that $3 can begin with a dash 2017-08-27 03:37:32 +02:00
Alexandre Aubin
32d3a9940b Update changelog for 2.7.2 release 2017-08-22 21:26:15 -04:00
Alexandre Aubin
a06b69438d Merge branch 'testing' into unstable 2017-08-22 21:22:35 -04:00
Alexandre Aubin
950359061e [fix] Set firewall start as background task (to be done right after postinstall) to avoid lock issues 2017-08-23 02:02:44 +02:00
Alexandre Aubin
d5b6072c84 [fix] Explicitly require moulinette and ssowat >= 2.7.1 2017-08-22 15:27:52 +02:00
Laurent Peuch
8117ffb85f [mod] pep8 on app.py 2017-08-20 22:52:51 +02:00
Laurent Peuch
40a5bcc96b [mod] pep8 on backup.py 2017-08-20 22:51:26 +02:00
Laurent Peuch
83971afb9c [mod] pep8 on hooks.py 2017-08-20 21:19:04 +02:00
Laurent Peuch
40ea2f9477 [mod] pep8 on tools.py 2017-08-20 21:18:25 +02:00
root
c05b4e7f50 Update changelog for 2.7.1 release 2017-08-20 02:10:45 +00:00
Laurent Peuch
66524213cd Merge pull request #348 from YunoHost/clean_domains.py
Clean domains.py
2017-08-19 20:23:31 +02:00
Alexandre Aubin
360ac66bc7 Use app_ssowatconf instead of os.system call 2017-08-19 11:11:49 -04:00
Laurent Peuch
b77d58a671 Merge pull request #347 from YunoHost/enh-simpler-lock-system
[enh] Simpler lock system
2017-08-18 04:13:15 +02:00
Laurent Peuch
4f1cf058c2 Merge pull request #351 from YunoHost/dev_shell
Integrate a command to launch a dev shell from within moulinette context
2017-08-18 04:12:25 +02:00
Laurent Peuch
20c3c8386d Merge pull request #349 from YunoHost/fix-925-local-domain-resolution
[fix] Local domain resolution in cert-install/renew
2017-08-18 03:44:46 +02:00
Laurent Peuch
8567164d58 Merge pull request #346 from YunoHost/fix-559-dns-conf-is-not-actual-conf
[fix] Tell user that domain dns-conf shows a recommendation only
2017-08-18 03:24:48 +02:00
Laurent Peuch
c864565683 Merge pull request #350 from YunoHost/clean_user.py
[fix] Use SHA-512 for passwords in LDAP
2017-08-18 02:20:09 +02:00
Alexandre Aubin
d010a288b2 [enh] Add a complete docstring with explanations and reference 2017-08-15 21:06:00 +02:00
Laurent Peuch
1cd121e801 [doc] add comment explaining choices in _hash_user_password 2017-08-15 20:54:58 +02:00
Laurent Peuch
4e1a839557 [enh] can do a 'yunohost tools shell -c command' à la python -c 2017-08-15 17:24:26 +02:00
Laurent Peuch
52c7a37a78 [enh] add 'yunohost tools shell' 2017-08-15 17:18:50 +02:00
Laurent Peuch
970d9b0207 [fix] uses strong hash for admin password 2017-08-15 12:52:44 +02:00
Laurent Peuch
c5a44b8638 [fix] also uses sha512 in user_update() 2017-08-15 00:34:33 +02:00
Laurent Peuch
147b305e8a [mod] extract password generation code to a function 2017-08-15 00:34:07 +02:00
Laurent Peuch
685f3746ef [fix] forgot to remove args from actionsmap 2017-08-14 23:07:47 +02:00
Laurent Peuch
6c9156c3ae [enh] according to https://www.safaribooksonline.com/library/view/practical-unix-and/0596003234/ch04s03.html we can go up to 16 salt caracters 2017-08-14 16:49:50 +02:00
Laurent Peuch
4419ec10ce [fix] move to sh512 because it's fucking year 2017 2017-08-14 16:09:46 +02:00
Laurent Peuch
49d5c70fd6 [mod] add more salt because life is miserable 2017-08-14 15:44:06 +02:00
Laurent Peuch
9d0e615bb4 [enh] use the full length of available chars for salt generation 2017-08-14 15:24:45 +02:00
Laurent Peuch
8c6db3845d [fix] use real random for hash selection 2017-08-14 15:23:51 +02:00
Laurent Peuch
c14acc0fae [mod] don't use exception when not needed 2017-08-14 10:38:32 +02:00
Laurent Peuch
d14bc31771 [mod] directly call python instead of using os.system 2017-08-14 10:37:05 +02:00
Laurent Peuch
32002d56a0 [mod] inline for code lisibility 2017-08-14 00:54:33 +02:00
Laurent Peuch
062ceff612 [mod] style 2017-08-14 00:53:46 +02:00
Laurent Peuch
d441290b2f [mod] lisibility 2017-08-14 00:53:13 +02:00
Laurent Peuch
ad285937f3 [mod] to the real test 2017-08-14 00:50:35 +02:00
Laurent Peuch
c8ce4f843a [mod] style 2017-08-14 00:48:37 +02:00
Laurent Peuch
d0666d86d6 [mod] we don't use those filter/offset/limit stuff 2017-08-14 00:47:16 +02:00
Laurent Peuch
968259239d [mod] call directly python code instead of using os.system 2017-08-13 23:40:44 +02:00