Commit graph

121 commits

Author SHA1 Message Date
Alexandre Aubin
f4b87f9695 Move low-level apt stuff to utils/packages.py 2019-04-24 17:46:39 +02:00
Alexandre Aubin
6fc6d6cfe6 Who knows, maybe this folder doesn't exist in some context 2019-02-22 15:16:07 +01:00
Alexandre Aubin
1d8d3c2828 Add small helper to check if dpkg is in a broken state 2019-02-18 15:58:05 +01:00
Josué Tille
4282d7edca
Fix tests 2018-12-29 21:16:55 +01:00
Alexandre Aubin
ba5c55e50d
Merge branch 'stretch-unstable' into autopep8 2018-12-15 15:11:29 +01:00
Alexandre Aubin
7e3a90232f __raw_msg__ -> raw_msg 2018-12-14 14:17:20 +00:00
Alexandre Aubin
46972788b2
Add comment about the motivation behind YunohostError 2018-12-14 15:05:56 +01:00
Alexandre Aubin
115b557b67 autopep8 + a few manual tweaks 2018-12-13 18:52:26 +00:00
Alexandre Aubin
b93e96d33b Fix tests + allow to bypass m18n in YunohostError if a raw message is provided 2018-12-12 19:38:05 +00:00
Alexandre Aubin
2dd1d8ccfe Unused errno + remaining unecessary m18n.n 2018-12-12 19:01:28 +00:00
Alexandre Aubin
07ffe6f592 Fix misc typo and forgotten m18n.n 2018-12-12 19:01:28 +00:00
Alexandre Aubin
24cf090221 Fix YunohostError definition 2018-12-12 19:01:28 +00:00
Irina LAMBLA
4ba309a221 modif MoulinetteError to YunohostError 2018-12-12 19:01:28 +00:00
Irina LAMBLA
c4b77b2894 add YunohostError 2018-12-12 18:56:26 +00:00
Irina LAMBLA
fab662f4ef The rest
The ones that sed didn't find. Modified by hand.
2018-12-12 18:56:26 +00:00
Alexandre Aubin
69d0503ba5 Forgot to get the 'value' key here.. 2018-11-28 22:01:27 +00:00
Alexandre Aubin
f28df1348d Merge branch 'cracklib' of https://github.com/YunoHost/yunohost into cracklib 2018-10-31 00:17:52 +00:00
Alexandre Aubin
1ce20259cd Cracklib is too nazi, use a simple txt list + grep to search for password 2018-10-31 00:17:09 +00:00
Alexandre Aubin
ded9b58575 Use level 1 as default for everybody 2018-10-26 14:31:16 +00:00
Alexandre Aubin
4268c0d04d Forgot 'self' 2018-10-26 14:30:25 +00:00
Alexandre Aubin
319602537d To me this doesnt make sense :| Either the password is accepted or it is not, but we shall not give advice to the user *after* validating the password... 2018-10-25 19:39:08 +00:00
Alexandre Aubin
354cd8106e Misc cleaning 2018-10-25 19:36:27 +00:00
Alexandre Aubin
2209f75985 Raise the level 1 length from 6 to 8 to reduce the gap with level 2 2018-10-25 19:33:36 +00:00
Alexandre Aubin
c313084dc3 Consistency with comment in settings.py 2018-10-25 19:30:34 +00:00
Alexandre Aubin
914088954d Propagate interface changes everywhere the assertion is used 2018-10-25 19:21:15 +00:00
Alexandre Aubin
167df05f56 Not sure to understand the whole logic behind this :/ To me this should as simple as this ? 2018-10-25 19:03:41 +00:00
Alexandre Aubin
55256c1973 Merge LoggerPasswordValidator with PasswordValidator 2018-10-25 18:36:55 +00:00
Alexandre Aubin
3c5ce491c5 Various changes to try to improve the semantic of everything @.@ 2018-10-25 18:27:52 +00:00
Alexandre Aubin
2b00e072d8 Merge Profile validator into regular validator 2018-10-25 17:31:32 +00:00
Alexandre Aubin
85d3c7df34 Moar cleaning 2018-10-25 17:23:58 +00:00
Alexandre Aubin
08e1d929c1 Simplify the 'listed' check 2018-10-25 17:10:54 +00:00
Alexandre Aubin
aac9b78c03 We aint using that online thing :| 2018-10-25 16:51:40 +00:00
ljf
4a1363489a [fix] Bad indentation 2018-08-29 03:07:00 +02:00
ljf
0a633e74d7 [enh] Change the way password.py interract with ssowat 2018-08-29 01:25:28 +02:00
ljf
ca91a9cae5 [enh] Protect password 2018-08-29 01:09:13 +02:00
ljf
536b46e527 [enh] Support advice with standalone password.py 2018-08-28 21:34:33 +02:00
ljf
783c512628 [enh] PasswordValidator without Moulinette 2018-08-28 08:56:12 +02:00
ljf
67e82111c1 [enh] Validate pwd with Online Pwned List 2018-08-28 03:09:43 +02:00
ljf
0c33ad50fc [enh] Validate pwd with Online Pwned List 2018-08-28 03:09:12 +02:00
Alexandre Aubin
93cb07ed61 Add status code to error message 2018-08-22 16:27:11 +00:00
Alexandre Aubin
b09d71f40b Add timeout to POST request 2018-08-22 16:26:44 +00:00
ljf (zamentur)
39639044ca
Merge branch 'stretch-unstable' into journals 2018-08-10 16:08:07 +02:00
Alexandre Aubin
625e870008 Revert "[enh] Don't display log advertisement if not needed"
This reverts commit 37c5547755.
2018-08-10 00:52:46 +02:00
ljf
37c5547755 [enh] Don't display log advertisement if not needed 2018-08-06 02:19:23 +02:00
Alexandre Aubin
581eb066b9 [fix] Microdecision : dyndns update was broken if no IPv6 on the server 2018-07-25 18:39:13 +00:00
Alexandre Aubin
eb42a25ada Add python helper equivalent to yunopaste 2018-07-21 17:55:46 +00:00
Laurent Peuch
834088551f [fix] uses moulinette download_text utils 2018-06-30 14:39:31 +02:00
Laurent Peuch
43b10298fc [fix] timeout on get_public_ip otherwish dyndns update is stucked 2018-06-30 11:14:54 +02:00
Alexandre Aubin
fe3435736b Merge branch 'unstable' into stretch-unstable 2018-06-16 16:15:11 +02:00
Alexandre Aubin
2aeed38ea5 Disable predictable network interface names to avoid cases where devices
don't reboot properly because interface name changed...
2018-06-13 20:01:49 +02:00