Commit graph

1838 commits

Author SHA1 Message Date
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
frju365
cfeaf52309
[fix] blank spaces for travis. 2019-11-03 14:36:21 +01:00
frju365
cb4057eabc
[fix] Return nothing if argument is already set. 2019-11-03 14:19:36 +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
Luke Murphy
cef72f7de9
Add some unit tests for the actionsmap module 2019-09-11 00:47:10 +01:00
Bram
6b5d271068
Merge pull request #217 from decentral1se/add-more-moulinette-unit-tests
Add tests for text/serialize modules
2019-09-01 22:18:09 +02:00
Alexandre Aubin
97aad385b4
Add comment about the _authentiate_session mechanism 2019-08-30 20:13:17 +02:00
Luke Murphy
2c84ee1541
Add tests for text/serialize modules
Also take a pass on the docstrings.
2019-08-28 17:57:16 +02:00
Bram
f405802718
Merge pull request #218 from decentral1se/badges-on-readme
Add CI and license badge
2019-08-28 17:53:35 +02:00
Luke Murphy
ad1eeef550
Add CI and license badge 2019-08-28 17:51:42 +02:00
Bram
1541b743eb
[README] add link to dev documentation 2019-08-25 16:43:27 +02:00
Alexandre Aubin
050a982c93 Add note 2019-08-23 02:40:41 +02:00
Alexandre Aubin
2addea1e08 Implement basic tests for auth mechanism 2019-08-23 02:37:57 +02:00
Alexandre Aubin
82ba7e5b04 Moar things to run tests correctly on the API 2019-08-22 12:30:26 +02:00
Alexandre Aubin
6d44c46740 Be able to run test on the API 2019-08-22 03:27:31 +02:00
Alexandre Aubin
6899217fa0 Make linter gods happy 2019-08-21 16:22:16 +02:00
Alexandre Aubin
0a13e5b000 Fix is_authenticated mechanism 2019-08-21 16:12:03 +02:00
Alexandre Aubin
d7a33e5a14 Typo 2019-08-21 16:11:07 +02:00
Alexandre Aubin
7482f052f6 Get rid of gnupg, just store a hash of the id:token to reauthenticate later using session info 2019-08-20 20:31:10 +02:00