Commit graph

492 commits

Author SHA1 Message Date
Alexandre Aubin
965e9db70e tests: add mypy + misc fixes to make test pass 2021-09-17 16:17:53 +02:00
Kayou
4eb60dac12
open pipeReader as a binary file 2021-09-17 15:00:13 +02:00
kay0u
19df292c73 🎨 Format Python code with Black 2021-09-17 11:53:30 +00:00
Kay0u
fdc61c915c
add a missing decode in LogPipe class 2021-09-17 13:52:53 +02:00
ljf
08f7866f77 [fix] Prefill input with long color question 2021-09-15 14:40:42 +02:00
zamentur
2543e5c8ab 🎨 Format Python code with Black 2021-09-12 21:56:17 +00:00
ljf
6e714314f0 [enh] Support bytes in write_to_file 2021-09-12 23:55:40 +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
bd557468d3 [enh] read_yaml support stream 2021-09-02 02:28:51 +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
37b995424f Remove old globals.py 2021-08-27 22:06:29 +02:00
Alexandre Aubin
0eaccab3b8 python3-argcomplete seems unused in practice... 2021-08-27 22:05:23 +02:00
Alexandre Aubin
ac94de6afd Attempt to simplify the moulinette_env mess 2021-08-27 22:03:17 +02:00
Alexandre Aubin
a263039958 Code cleanup / reorganize 2021-08-27 21:17:39 +02:00
Alexandre Aubin
8d1025e32b Simplify overly complex code about cache management 2021-08-27 20:46:36 +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
4574ea5fdb Merge branch 'dev' into enh-file-args 2021-08-23 15:22:00 +02:00
Alexandre Aubin
6ff033d2dc Attempt to fix tests for CLI auth 2021-08-23 10:44:28 +02:00
Alexandre Aubin
fa509e6c2e Merge branch 'dev' into rework-authenticator-system 2021-08-22 22:33:33 +02:00
Alexandre Aubin
3e256f8e88 test: Make flake8 happy 2021-08-22 11:17:01 +02:00
Alexandre Aubin
27e7cd294a tests: improve/fix i18n tests 2021-08-20 14:18:54 +02:00
Alexandre Aubin
3585ba697a Remove the damn :s} in locale strings 2021-08-20 10:24:23 +02:00
Alexandre Aubin
3c0542ef24 Merge branch 'dev' into rework-authenticator-system 2021-08-20 10:13:02 +02:00
Alexandre Aubin
2a89a82660 Add warning when trying to feed non-string values to Popen env 2021-08-19 18:15:30 +02:00
ljf
9af308dd93 [fix] Avoid warning and use safeloader 2021-08-17 17:23:27 +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
f985507761 Fix f-strings and linter 2021-06-13 19:09:24 +02:00