Alexandre Aubin
|
965e9db70e
|
tests: add mypy + misc fixes to make test pass
|
2021-09-17 16:17:53 +02:00 |
|
ljf
|
08f7866f77
|
[fix] Prefill input with long color question
|
2021-09-15 14:40:42 +02:00 |
|
alexAubin
|
58fa26a5d5
|
🎨 Format Python code with Black
|
2021-09-03 13:53:54 +00:00 |
|
Alexandre Aubin
|
8909577b91
|
cli prompt: misc code improvements
|
2021-09-03 15:49:36 +02:00 |
|
Alexandre Aubin
|
e08d0139f6
|
cli promt: improve coe for yes/no parsing
|
2021-09-03 15:30:35 +02:00 |
|
ljf
|
882caf4786
|
[enh] Add prefill and multiline in prompt
|
2021-08-30 14:43:14 +02:00 |
|
Alexandre Aubin
|
e3ef1ced95
|
Merge pull request #288 from YunoHost/actions/black
Format Python code with Black
|
2021-08-28 12:35:37 +02:00 |
|
Alexandre Aubin
|
9b4b6d7009
|
Unused var
|
2021-08-28 12:35:28 +02:00 |
|
alexAubin
|
52c9e2a813
|
🎨 Format Python code with Black
|
2021-08-27 22:56:45 +00:00 |
|
Alexandre Aubin
|
6e1e034e10
|
More cookie/auth code cleanup
|
2021-08-28 00:56:08 +02:00 |
|
Alexandre Aubin
|
9c13472703
|
Actually delete cookie when logging out
|
2021-08-27 23:10:58 +02:00 |
|
Alexandre Aubin
|
8562c05d3b
|
Add httponly to API cookies
|
2021-08-27 22:46:15 +02:00 |
|
alexAubin
|
fe84eba4ab
|
🎨 Format Python code with Black
|
2021-08-27 20:14:09 +00:00 |
|
Alexandre Aubin
|
0eaccab3b8
|
python3-argcomplete seems unused in practice...
|
2021-08-27 22:05:23 +02:00 |
|
Alexandre Aubin
|
a263039958
|
Code cleanup / reorganize
|
2021-08-27 21:17:39 +02:00 |
|
Alexandre Aubin
|
b0fd78657e
|
Moaaaar lint/test fixes
|
2021-08-27 19:45:07 +02:00 |
|
Alexandre Aubin
|
3c4520a6d8
|
Moar fikses
|
2021-08-27 19:14:23 +02:00 |
|
Alexandre Aubin
|
b54f35dc32
|
Unused i18n keys
|
2021-08-27 19:02:16 +02:00 |
|
Alexandre Aubin
|
049523f2b6
|
Fix unused import / vars
|
2021-08-27 18:58:18 +02:00 |
|
alexAubin
|
c848185709
|
🎨 Format Python code with Black
|
2021-08-27 16:44:39 +00:00 |
|
Alexandre Aubin
|
e68de91a82
|
Merge branch 'dev' into rework-authenticator-system
|
2021-08-27 18:43:57 +02:00 |
|
alexAubin
|
274a534beb
|
🎨 Format Python code with Black
|
2021-08-23 13:25:51 +00:00 |
|
Alexandre Aubin
|
6ff033d2dc
|
Attempt to fix tests for CLI auth
|
2021-08-23 10:44:28 +02:00 |
|
ljf
|
29292583fa
|
[fix] 500 error
|
2021-07-30 18:35:19 +02:00 |
|
ljf
|
36cac914d6
|
[enh] tox recommendation
|
2021-07-30 17:56:39 +02:00 |
|
ljf
|
a84ccb44cc
|
[enh] Allow file type in actionmaps
|
2021-07-30 17:56:39 +02:00 |
|
Alexandre Aubin
|
8c8c1d4829
|
Missing default arg values for prompt/display
|
2021-07-09 21:55:15 +02:00 |
|
Alexandre Aubin
|
67d9c9cdd1
|
Get rid of msettings, replace with a convenient singleton class that also wraps prompt and display
|
2021-07-09 21:39:07 +02:00 |
|
Alexandre Aubin
|
ebdb1e22ee
|
Further attempt to simplify authentication management code + get rid of msignals madness
|
2021-07-09 20:42:26 +02:00 |
|
Alexandre Aubin
|
6310ef5b6e
|
[wip] Try to simplify authentication code more, properly differentiate credentials authentication vs. session authentication, trash the 'msignals' mess
|
2021-06-19 17:16:22 +02:00 |
|
Alexandre Aubin
|
f792166581
|
Naive rewrite of the Authenticator methods to avoid the mystic __call__ stuff, improve semantic
|
2021-06-15 17:58:12 +02:00 |
|
Alexandre Aubin
|
4345081e6f
|
Rename 'password' into 'credentials' in authenticator stuff for semantic, because we could also need a login or other stuff
|
2021-06-14 17:23:41 +02:00 |
|
Alexandre Aubin
|
d0c569eead
|
More cleaning up, test fixing
|
2021-06-13 18:51:13 +02:00 |
|
Alexandre Aubin
|
e2cb8cdfab
|
Merge branch 'dev' into rework-authenticator-system
|
2021-06-13 15:34:22 +02:00 |
|
ljf
|
2c9ec9f638
|
[fix] Damn array args bug
|
2021-06-03 18:01:43 +02:00 |
|
ljf (zamentur)
|
f91fad08da
|
[fix] Request params not decoded
|
2021-05-25 13:35:04 +02:00 |
|
ljf (zamentur)
|
d9789364b4
|
[fix] Unicode password doesn't log in
|
2021-05-17 12:18:51 +02:00 |
|
Alexandre Aubin
|
e22aac9af0
|
Black
|
2021-03-23 00:24:33 +01:00 |
|
Alexandre Aubin
|
b17a6fa627
|
Attempt to fix test: handle argparse errors as validation errors
|
2021-03-23 00:12:15 +01:00 |
|
Alexandre Aubin
|
bc1bdbb247
|
Introduce validation errors, authentication errors, corresponding http codes
|
2021-03-12 03:55:52 +01:00 |
|
Alexandre Aubin
|
f790bde101
|
We don't need these wrapper classes, just call HTTPResponse directly
|
2021-03-12 03:14:34 +01:00 |
|
Alexandre Aubin
|
af0957c028
|
Rework and externalize the authenticator system
|
2021-03-09 05:43:09 +01:00 |
|
Alexandre Aubin
|
bdd048197d
|
Misc logging fixes
|
2021-01-31 16:14:06 +01:00 |
|
Alexandre Aubin
|
e7a01c68f5
|
Revert "[mod] unify all subloggers under moulinette.core"
This reverts commit c88f127b8c691c6121229402be4375fdc62ed6bf.
|
2021-01-31 16:14:06 +01:00 |
|
Laurent Peuch
|
10576f7138
|
[mod] unify all subloggers under moulinette.core
|
2021-01-31 16:14:06 +01:00 |
|
Alexandre Aubin
|
cf98095303
|
Merge pull request #269 from YunoHost/fix-argparse
Fix argparse
|
2021-01-31 14:41:11 +01:00 |
|
Kayou
|
90f894b541
|
Do not encode strings for plain output
|
2021-01-30 11:13:53 +01:00 |
|
Kay0u
|
53cbca2c1e
|
Add test without action
|
2021-01-26 21:19:26 +01:00 |
|
Kay0u
|
1a95e6e779
|
Merge branch 'dev' into fix-argparse
|
2021-01-26 21:04:39 +01:00 |
|
Kay0u
|
84d250c1c2
|
monkey patch _get_action_name
|
2021-01-26 12:05:25 +01:00 |
|