Commit graph

207 commits

Author SHA1 Message Date
Jérôme Lebleu
6cfe67fb9c [i18n] Use named variables in translations 2016-04-09 22:46:49 +02:00
Jérôme Lebleu
46e6e4dc7a [enh] Allow to define deprecated action names 2016-04-09 19:33:57 +02:00
Laurent Peuch
c04f723ac2 [mod] make cli color endling more usable and DRY 2016-03-28 20:14:20 +02:00
Jérôme Lebleu
d2a47a0dba [fix] Set authenticate handler if password is given (bugfix #228) 2016-02-28 10:49:19 +01:00
Jérôme Lebleu
db924ea911 [enh] Allow to pass the password as argument in the cli 2015-12-24 10:34:46 +01:00
Jérôme Lebleu
4cf898d9c7 [enh] Allow to use a formatter and improve tty check in TTYHandler 2015-11-14 19:14:45 +01:00
Jérôme Lebleu
0b8b51d306 [enh] Output to stderr if level >= WARNING in TTYHandler 2015-11-14 18:46:54 +01:00
Jérôme Lebleu
f4853f2f4f [enh] Implement logging handler and queues for the API 2015-11-13 18:12:38 +01:00
Jérôme Lebleu
349c03321d [enh] Add auto-completion support in the cli 2015-11-13 13:04:27 +01:00
Jérôme Lebleu
2e83d9d1ff [enh] Replace print_* arguments by output_as in the cli 2015-11-13 11:56:14 +01:00
Jérôme Lebleu
013447bbe7 [enh] Allow to define global abstract arguments in the cli 2015-11-13 11:53:31 +01:00
Jérôme Lebleu
9f7dd9c7ad [enh] Provide new logging facilities to get rid of msignals.display 2015-11-12 22:36:41 +01:00
Jérôme Lebleu
d7efe127a8 [enh] Allow to print output in a script-usable way for the cli 2015-09-29 14:20:08 +02:00
Jérôme Lebleu
4621d51c41 [fix] Missing os import 2015-07-18 17:11:06 +02:00
Jérôme Lebleu
927bba777f [ref] Move random_ascii to text utils 2015-07-13 17:44:13 +02:00
Jérôme Lebleu
10c3bee1e1 [enh] Add a new callback action and start to normalize parsing 2015-07-13 17:44:13 +02:00
Jérôme Lebleu
5d92898ee7 [enh] Implement an extended JSON encoder and support sets 2014-12-04 23:34:53 +01:00
Jérôme Lebleu
ab6d8c529f [fix] Do not translate authenticator's help message in MoulinetteSignals 2014-11-21 11:06:29 +01:00
Jérôme Lebleu
cbdaeadefb [fix] Append proper value to arg_strings for a list in the api 2014-11-21 10:32:38 +01:00
Jérôme Lebleu
7a6fda1e26 [enh] Support list arguments from HTTP requests in the api 2014-11-21 10:07:06 +01:00
Jérôme Lebleu
1b0aa97cd7 [enh] Be more verbose in modules using new logging facilities 2014-10-25 13:51:17 +02:00
Jérôme Lebleu
f2737ce47d [enh] Handle error message style from the cli 2014-10-13 17:14:33 +02:00
Jérôme Lebleu
5351405f1c [fix] Do not install /messages route if WebSocket is disabled 2014-06-12 16:19:43 +02:00
Jérôme Lebleu
dc3657fcae [fix] Wrong errno name in the api 2014-06-06 14:55:55 +02:00
Jérôme Lebleu
e52a4085af [fix] Enable autojson in Bottle app to encode additional routes result 2014-06-06 14:33:14 +02:00
Jérôme Lebleu
804752df3e [enh] Set proper HTTP status code depending on the request result 2014-06-06 14:21:55 +02:00
Jérôme Lebleu
6842d726cc [fix] Retrieve authenticator help translation at a better better place 2014-06-03 14:14:16 +02:00
Jérôme Lebleu
99faa506b4 [fix] Retrieve authenticator help translation at a better place 2014-06-02 23:19:07 +02:00
Jérôme Lebleu
594a1a3c32 [enh] Better confirmation prompting 2014-06-02 21:03:08 +02:00
Jérôme Lebleu
735ca3af87 [i18n] Allow translation of some parameters in the action map 2014-06-02 20:18:19 +02:00
Jérôme Lebleu
2243d3ce60 [enh] Display prompting message in yellow on authentication 2014-06-02 17:11:32 +02:00
Jérôme Lebleu
790eaf0783 [fix] Print message inside prompting function in the cli 2014-06-02 15:04:07 +02:00
Jérôme Lebleu
66ed5dfd8d [fix] Review pretty_print_dict to prevent encoding issue 2014-05-31 12:54:01 +02:00
Jérôme Lebleu
90bd495096 [enh] Manage arguments in translation - and try to fix encoding (again) 2014-05-30 18:52:13 +02:00
Jérôme Lebleu
dbc2776b94 [fix] Print unicode string to prevent encoding issue 2014-05-30 15:25:24 +02:00
Jérôme Lebleu
1ab91440f1 [fix] Fix encoding issue due to Python 2 in i18n and cli prompting 2014-05-29 14:55:06 +02:00
Jérôme Lebleu
026745a135 [fix] Raise when a WebSocket request is expected 2014-05-26 16:06:22 +02:00
Jérôme Lebleu
6a989e655a [fix] Always set locale to use for a request in the api 2014-05-26 12:19:25 +02:00
Jérôme Lebleu
f8c58b308a [enh] Introduce quickly moulinette settings and store interface 2014-05-25 21:42:39 +02:00
Jérôme Lebleu
f86cec3458 [fix] Close WebSocket on action ended to prevent unclosed and lost socket 2014-05-25 01:30:33 +02:00
kload
1bc6308b3a [fix] Display colorized messages correctly outside a tty 2014-05-24 19:23:56 +00:00
Jérôme Lebleu
282ae99cab [fix] Display messages in real-time in the api 2014-05-21 21:18:01 +02:00
Jérôme Lebleu
25e1ed86d7 [enh] Use a WebSocket stream to display messages in the api 2014-05-19 17:21:40 +02:00
Jérôme Lebleu
abb1517a74 [enh] Allow multiple api routes for an action 2014-05-19 12:49:12 +02:00
Jérôme Lebleu
f2fed4a8b5 [fix] Prevent freeze in the cli if it's not running from a tty 2014-05-17 22:03:52 +02:00
Jérôme Lebleu
a205c04876 [enh] Allow to encode printed result in json from the cli 2014-05-17 21:45:44 +02:00
Jérôme Lebleu
dcdc4cff8e [fix] Proper handling locale in api and cli 2014-05-16 23:49:53 +02:00
Jérôme Lebleu
0a07acfcf2 [fix] Return a string on log in/out in the api for json encoding 2014-05-16 23:11:09 +02:00
Jérôme Lebleu
1e84edbd7f [fix] Correct ActionsMapParser and empty value in the api 2014-05-16 22:57:37 +02:00
Jérôme Lebleu
c32ecf2942 [enh] Retrieve and set locale in the api 2014-05-16 19:59:06 +02:00