Commit graph

73 commits

Author SHA1 Message Date
Alexandre Aubin
8960b1a610 [fix] Correctly handle error 500 (#142)
* [fix] Correctly handle error 500
* [fix] Remove unwanted change in error_to_response
2017-07-27 16:29:55 +02:00
Alexandre Aubin
51ea069801 [microdecision] Remove unused imports + make pep8 happy 2017-07-24 14:35:58 -04:00
Alexandre Aubin
e10a40657d [fix] Show positional arguments first in --help / usage (#138)
* Show positional arguments first in --help / usage
* Updating reference link
* Adding annotations about diff/tweak with respect to original code
2017-04-02 23:11:57 +02:00
Laurent Peuch
7f5e2e1b2d [fix] hotfix another bug related to the logging/log conflict 2017-01-30 05:19:50 +01:00
Laurent Peuch
93961e9aae [fix] log module was redifining constants thus breaking import 2017-01-02 03:53:15 +01:00
Laurent Peuch
23276c6941 [fix] don't circumway logging module 2016-12-22 13:26:11 +01:00
Laurent Peuch
f931976667 [mod] continue with pep8 2016-12-18 01:53:49 +01:00
Laurent Peuch
897ad08183 [mod] autopep8 2016-12-18 01:15:40 +01:00
Laurent Peuch
d8313e84aa [enh] don't timeout by default on cli 2016-12-15 13:23:15 +01:00
Laurent Peuch
f99b1e4152 [fix] forgot to add self to method signature 2016-12-03 00:27:20 +01:00
Laurent Peuch
f0541e570d [fix] syntax error in python would avoid catching excepted exception 2016-12-03 00:01:27 +01:00
Laurent Peuch
efb481bda6 [mod] increase cli timeout 2016-11-25 16:25:57 +01:00
Jérôme Lebleu
c92900edd8 [enh] Allow to define deprecated action 2016-04-16 21:26:29 +02:00
Jérôme Lebleu
802c39f117 [ref] Rename 'deprecated' action argument to 'deprecated_alias' 2016-04-16 21:04:09 +02:00
Jérôme Lebleu
a852861b2d [enh] Sort result when pretty printing result from the cli 2016-04-16 20:03:17 +02:00
Jérôme Lebleu
346e5a164f [enh] Allow to not output result from the cli 2016-04-16 20:02:01 +02:00
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