Commit graph

1016 commits

Author SHA1 Message Date
Jérôme Lebleu
19b28d43d0 [fix] Catch error while closing stream in NonBlockingStreamReader 2014-07-28 22:04:09 +02:00
Jérôme Lebleu
56c1cfec06 [enh] Add a non-blocking stream reader class to helpers 2014-07-28 14:02:42 +02:00
Jérôme Lebleu
d5f4a287ab [clean] Remove uneeded old helpers 2014-07-28 13:58:07 +02:00
Beudbeud
8c3203a106 update locales 2014-06-28 11:02:58 +02:00
Beudbeud
55d1b0decf update locales 2014-06-28 11:01:54 +02:00
Jérôme Lebleu
fbc5f87f0a [fix] Keep actions map arguments's order on parsing 2014-06-16 12:55:55 +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
27c2c240d1 [enh] Prepend a message with argument name on check pattern failure 2014-06-07 14:32:51 +02:00
Jérôme Lebleu
5d12977f10 [fix] Use a copy of extra_args to prevent to break EVERYTHING in the api 2014-06-07 14:12:04 +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
94db1ace38 [fix] Do not fail if no namespace is loaded for translations 2014-06-03 14:24:27 +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
8f486d9b65 [fix] Do not append empty argument on extra argument parsing 2014-06-02 23:07:57 +02:00
Jérôme Lebleu
594a1a3c32 [enh] Better confirmation prompting 2014-06-02 21:03:08 +02:00
Jérôme Lebleu
7145039e89 [fix] Encode translated string before formating it 2014-06-02 20:48:34 +02:00
Jérôme Lebleu
1a313a792c [enh] Allow unicode pattern matching in 'pattern' extra parameter 2014-06-02 20:22:55 +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
203c8fb511 [enh] Manage extra parameters inside the parser to add 'required' parameter 2014-06-02 17:07:05 +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
9e4b266a5a [fix] Add missing string in translations 2014-05-28 21:17:55 +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
c781d10b54 [enh] Catch error when LDAP server is down 2014-05-17 02:09:55 +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
d7f2151d78 [fix] Allow anything in notimplemented function for signals 2014-05-16 23:34:23 +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
054dfeab7a [fix] Use list for skipped_iface in extra arguments 2014-05-16 22:14:26 +02:00
Jérôme Lebleu
f4a32eea9c [clean] Remove generated package.py 2014-05-16 20:04:11 +02:00
Jérôme Lebleu
c32ecf2942 [enh] Retrieve and set locale in the api 2014-05-16 19:59:06 +02:00
Jérôme Lebleu
acc7000977 [enh] Return data at log in/out 2014-05-16 19:51:56 +02:00
Jérôme Lebleu
95d2e0c54f [fix] Return utf-8 encoded strings in Translator 2014-05-16 18:32:54 +02:00
Jérôme Lebleu
a442e61e06 [clean] Remove YunoHost files 2014-05-16 16:19:40 +02:00
Jérôme Lebleu
6563c693f3 [doc] Update description and requirements 2014-05-16 16:09:05 +02:00