Commit graph

1503 commits

Author SHA1 Message Date
Kay0u
fdb4db0124
add more test for auth 2020-01-02 12:33:51 +08:00
Kay0u
535f4bcb3b
moulinette_cli fixture 2020-01-02 12:33:10 +08:00
Kay0u
9315cab495
add more tests case 2020-01-02 12:32:57 +08:00
Kay0u
ce5d7ddaf0
fix conf authenticate all 2020-01-02 12:31:35 +08:00
Kay0u
94ccd9b05c
use the right authenticator 2020-01-02 12:30:43 +08:00
Kay0u
ac4a4c34b1
use default authenticator if none is defined 2020-01-02 12:17:12 +08:00
Kay0u
6f7f870d3d
use default profile by default 2020-01-02 12:14:23 +08:00
Kay0u
d51bb55573
add some members to authenticators 2020-01-02 12:12:24 +08:00
Kay0u
a83923f831
moving some lines 2020-01-02 12:11:10 +08:00
Kay0u
064ff259bd
fix test_process 2020-01-02 01:02:47 +08:00
Kay0u
315db8ac71
more tests for actionmap 2019-12-28 23:31:23 +08:00
Kay0u
d4b58ed97f
Warn messages + fix error message 2019-12-28 23:30:36 +08:00
Kay0u
7f0a0608e8
expose msignals 2019-12-28 23:30:10 +08:00
Kay0u
678d673fe8
add requirements 2019-12-28 23:29:26 +08:00
Kay0u
6d255bd839
install_requires: python-ldap 2019-12-22 18:16:54 +08:00
Kay0u
6edc021f83
Add more tests 2019-12-22 00:36:20 +08:00
decentral1se
54b8cab133 Apply Black on all the code base 2019-11-25 17:21:13 +01:00
decentral1se
6f5daa0c38 Configuration tweaks fox tox/travis to use and check Black 2019-11-25 17:20:34 +01:00
Alexandre Aubin
581275aeed
Merge pull request #216 from YunoHost/simplify-auth-mechanism
Simplify auth mechanism
2019-11-25 16:20:21 +01:00
Alexandre Aubin
952d707362 Make the linter gods happy 2019-11-20 00:27:34 +01:00
Alexandre Aubin
9b475f092e Fix broken test due to change in function name 2019-11-20 00:12:19 +01:00
Alexandre Aubin
53ab4709d1 Rewrite auth tests in a more clean way, now using webtest to run the API 2019-11-19 21:12:58 +01:00
Alexandre Aubin
9fda7f4716 Merge branch 'stretch-unstable' into simplify-auth-mechanism 2019-11-19 16:55:06 +01:00
Alexandre Aubin
dcfd70c5df Import hmac, used for compare_digest 2019-11-19 16:50:13 +01:00
Alexandre Aubin
06e72c0e86 Simplify cache code.. 2019-11-19 16:49:45 +01:00
Alexandre Aubin
e14d156650
Space typo
Co-Authored-By: Timost <Timost@users.noreply.github.com>
2019-11-19 14:42:19 +01:00
Alexandre Aubin
df752945af
Add upper bound for toml 2019-11-19 14:37:01 +01:00
Alexandre Aubin
19348421b0
monkeypatch and tmp_path not used
Co-Authored-By: Timost <Timost@users.noreply.github.com>
2019-11-19 14:33:49 +01:00
Alexandre Aubin
d3496425aa
monkeypatch and tmp_path not used
Co-Authored-By: Timost <Timost@users.noreply.github.com>
2019-11-19 14:32:28 +01:00
Alexandre Aubin
f1087662a0
Use hmac.compare_digest to compare hashes
Co-Authored-By: Timost <Timost@users.noreply.github.com>
2019-11-19 14:19:35 +01:00
Alexandre Aubin
e77e27730b
Update moulinette/authenticators/__init__.py
Co-Authored-By: Timost <Timost@users.noreply.github.com>
2019-11-01 16:47:05 +01:00
Alexandre Aubin
d36fd27d5d Update changelog for 3.7.0 testing 2019-10-31 18:59:24 +01:00
Alexandre Aubin
6829a3dc7e
Merge pull request #223 from yunohost-bot/weblate-yunohost-moulinette
Update from Weblate
2019-09-28 16:19:05 +02:00
Allan Nordhøy
b9370c6839 Translated using Weblate (Norwegian Bokmål)
Currently translated at 32.1% (18 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/nb_NO/
2019-09-27 15:41:07 +00:00
amirale qt
bd5eeb4ca3 Translated using Weblate (French)
Currently translated at 100.0% (56 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/fr/
2019-09-27 15:41:07 +00:00
advocatux
cdda60a18b Translated using Weblate (Spanish)
Currently translated at 100.0% (56 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/es/
2019-09-27 15:41:07 +00:00
Martin Döring
b5ef442a44 Translated using Weblate (German)
Currently translated at 67.9% (38 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/de/
2019-09-27 15:41:07 +00:00
advocatux
71c01d0131 Translated using Weblate (Spanish)
Currently translated at 100.0% (56 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/es/
2019-09-27 15:41:07 +00:00
Alexandre Aubin
808f6203fd Allow to customize color for CLI prompts 2019-09-27 17:40:44 +02:00
Alexandre Aubin
27afb4dc04
Merge pull request #221 from yunohost-bot/weblate-yunohost-moulinette
Update from Weblate
2019-09-20 22:45:25 +02:00
Alexandre Aubin
bdf0a1cb7a Small message tweak improvement considering from the webadmin you don't run commands strictly speaking but just click buttons 2019-09-19 13:41:22 +02:00
decentral1se
14a0f7ff66
Merge pull request #222 from YunoHost/change_timeout_warning
[ux] make timeout message more explicit
2019-09-19 12:58:47 +02:00
Laurent Peuch
d895ae3206 [ux] make timeout message more explicit 2019-09-16 02:54:01 +02:00
ButterflyOfFire
1ee783da1d Translated using Weblate (Arabic)
Currently translated at 94.6% (53 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/ar/
2019-09-13 12:47:40 +00:00
chema ortega ruiz
ad101758ec Translated using Weblate (Spanish)
Currently translated at 91.1% (51 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/es/
2019-09-13 12:47:40 +00:00
Quentí
704f2074e2 Translated using Weblate (Occitan)
Currently translated at 100.0% (56 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/oc/
2019-09-13 12:47:40 +00:00
ppr
873541b9d6 Translated using Weblate (French)
Currently translated at 100.0% (56 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/fr/
2019-09-13 12:47:40 +00:00
htsr
6da692617a Translated using Weblate (French)
Currently translated at 100.0% (56 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/fr/
2019-09-13 12:47:40 +00:00
xaloc33
c2b68c2e76 Translated using Weblate (Catalan)
Currently translated at 100.0% (56 of 56 strings)

Translation: YunoHost/moulinette
Translate-URL: https://translate.yunohost.org/projects/yunohost/moulinette/ca/
2019-09-13 12:47:40 +00:00
decentral1se
caf7d28ef0
Merge pull request #219 from decentral1se/add-actions-map-unit-tests
Add tests to cover some part of actionsmap.py
2019-09-13 14:47:32 +02:00