Commit graph

530 commits

Author SHA1 Message Date
alexAubin
52bbab7df1 🎨 Format Python code with Black 2023-02-01 19:30:09 +00:00
Alexandre Aubin
4c03e16de9 Handle calling 'yunohost' with no args more gracefully 2023-01-06 17:33:31 +01:00
alexAubin
2d2eab4c30 🎨 Format Python code with Black 2023-01-05 18:15:55 +00:00
Alexandre Aubin
baa00c0812 Fix flake8 2022-12-24 19:28:26 +01:00
Alexandre Aubin
1e79e99cc8 Don't take lock for read/GET operations : also cover cases when there's a list of routes 2022-12-24 00:57:17 +01:00
Alexandre Aubin
ac0ac24996 Merge branch 'dev' into dont-take-lock-for-read-operations 2022-12-24 00:52:08 +01:00
Alexandre Aubin
676a19dc28 Don't take lock for read/GET operations 2022-12-24 00:02:24 +01:00
alexAubin
161c5d5c2b 🎨 Format Python code with Black 2022-12-23 23:01:46 +00:00
Alexandre Aubin
80873777c6 Code simplification/explicitation 2022-12-23 22:34:49 +01:00
Alexandre Aubin
50b19a95c6 Remove the 'global argument' mechanism ... we only use it for --version and it's just batshit overly complicated for what this achieves... 2022-12-23 20:31:58 +01:00
Alexandre Aubin
4239f466f8 Fix random_ascii behavior : it was in fact returning a string with 2*length ... 2022-08-05 10:55:04 +02:00
Alexandre Aubin
cb9ecb468d cli: Add possibility to hide commands in --help 2022-02-08 14:45:02 +01:00
alexAubin
45dbcd98f4 🎨 Format Python code with Black 2022-01-19 22:14:17 +00:00
Alexandre Aubin
9ccc914ca1
Merge branch 'bullseye' into moar_session_management_changes 2022-01-11 12:56:24 +01:00
Alexandre Aubin
35351696ac Merge branch 'dev' into bullseye 2021-12-31 15:21:57 +01:00
Kay0u
be0006fdb9
fix some warnings 2021-12-30 14:39:38 +01:00
alexAubin
ea6eaa6b1e 🎨 Format Python code with Black 2021-12-28 23:46:17 +00:00
Alexandre Aubin
83a95fd8c9 Unused import 2021-12-26 18:13:48 +01:00
Alexandre Aubin
ef08a8be53 actionsmap: add global flag to disable cache and lock 2021-12-25 15:41:09 +01:00
Laurent Peuch
9855b6d7f5 [mod] stop using old style class 2021-12-24 01:18:11 +01:00
Laurent Peuch
8127e7cd1a [mod] run pyupgrade on source code 2021-12-24 01:18:03 +01:00
Alexandre Aubin
964483b23b Fix issues in previous commits regarding authentication mecanism 2021-12-23 16:57:43 +01:00
Alexandre Aubin
2fc9611b53 api: Move cookie session management logic to the authenticator for more flexibility 2021-12-22 19:06:33 +01:00
Alexandre Aubin
9fcc9630bd Rework actionsmap and m18n init, drop multiple actionsmap support 2021-11-17 19:24:26 +01:00
Alexandre Aubin
b2c67369a8 Merge branch 'dev' into bullseye 2021-11-15 19:14:40 +01:00
Alexandre Aubin
c5700f1ba3 Fix issue with accented chars in form .. decode() is not needed anymore? 2021-11-15 18:31:56 +01:00
Alexandre Aubin
c5f577c04f Fix 'Missing credentials parameter' bug : request.POST is buggy when value contains special chars ... request.params appears to be more reliable 2021-11-15 18:07:46 +01:00
Alexandre Aubin
c44e025210 cli prompt: fix bottom toolbar displayed even if message is empty 2021-10-20 18:31:29 +02:00
Alexandre Aubin
5d61b74fde ci: unused imports 2021-10-20 18:25:25 +02:00
Alexandre Aubin
d901d28add
Adapt prompt_toolkit call because now using the v3.x of the lib 2021-10-19 20:18:20 +02:00
Alexandre Aubin
14e37366df Add cp helper 2021-10-01 20:18:46 +02:00
alexAubin
b224dd356a 🎨 Format Python code with Black 2021-09-23 19:48:10 +00:00
Alexandre Aubin
2f59023eee read_file: support for custom file mode 2021-09-23 20:55:35 +02:00
Alexandre Aubin
c4b559cf6b Fix test + missing dependency to prompt-toolkit in setup.py 2021-09-23 00:47:11 +02:00
Alexandre Aubin
1f7bb1d54c Rework cli prompt() again 2021-09-21 20:13:39 +02:00
Alexandre Aubin
69818bd850 tests: Moar mypy 2021-09-19 00:35:15 +02:00
Alexandre Aubin
6a2ae5630b
Merge pull request #299 from YunoHost/mypy
tests: add mypy + misc fixes to make test pass
2021-09-17 16:26:11 +02:00
Alexandre Aubin
965e9db70e tests: add mypy + misc fixes to make test pass 2021-09-17 16:17:53 +02:00
Kay0u
3741101d70
Fix a potential bug in call_async_output, update tests 2021-09-17 16:17:16 +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