Commit graph

283 commits

Author SHA1 Message Date
Alex Root Junior
f47b3670de So.. If response time longer than 55 seconds write result 'ok' and send response as simple HTTP request. 2017-08-22 20:31:23 +03:00
Alex Root Junior
09fa911ffa Add ConflictError (309) 2017-08-22 20:28:22 +03:00
Alex Root Junior
d4f1b72d92 Small optimization and stop using bare-except. 2017-08-16 19:34:14 +03:00
Alex Root Junior
be28a92aba Implement reply mixin for webhook responses. 2017-08-16 19:14:50 +03:00
Alex Root Junior
a2259b7e16 Go back to dev. 2017-08-15 06:28:13 +03:00
Alex Root Junior
6b26687fe0 Oops. Fix error message cleaner. (In past it can strip first symbol in message) 2017-08-15 05:48:56 +03:00
Alex Root Junior
b65f181402 More correct names for writing styles in HelperMode 2017-08-15 04:32:11 +03:00
Alex Root Junior
2346ade309 I think exceptions module is utility. 2017-08-15 04:17:20 +03:00
Alex Root Junior
38bad5454e Fix date parser. 2017-08-15 03:43:27 +03:00
Alex Root Junior
f42f4d0c9c Webhook example. 2017-08-15 00:08:56 +03:00
Alex Root Junior
ce0bbed753 Restructure docs. 2017-08-14 23:23:10 +03:00
Alex Root Junior
b9d51cdbb0 Small changes in docs. 2017-08-14 23:15:06 +03:00
Alex Root Junior
30874f6dc0 Changed his mind. 2017-08-14 22:53:42 +03:00
Alex Root Junior
92d3d86a18 Reformat code. 2017-08-14 22:34:13 +03:00
Alex Root Junior
b7bf22bb77 Small changes in exceptions. 2017-08-14 22:16:41 +03:00
Alex Root Junior
afe8b24c42 Reorder exceptions in error detector. 2017-08-11 06:17:02 +03:00
Alex Root Junior
5812243d5d Change annotation for constructor of Bot/BaseBot. 2017-08-11 06:05:24 +03:00
Alex Root Junior
06c509cda8 Make more graceful exceptions 2017-08-11 05:58:27 +03:00
Alex Root Junior
e66194dbf3 add docstring for BaseResponse.method 2017-08-09 05:23:36 +03:00
Alex Root Junior
779f2e73a0 Change docs. 2017-08-09 05:22:14 +03:00
Alex Root Junior
882d60f477 Merge branch 'webhook' into dev 2017-08-09 04:47:02 +03:00
Alex Root Junior
1173598074 Check annotations. 2017-08-09 04:46:53 +03:00
Alex Root Junior
326f82f717 Added webhook docs 2017-08-09 04:44:15 +03:00
Alex Root Junior
b061fa67b5 Descriptions 2017-08-09 04:18:31 +03:00
Alex Root Junior
2318bbf460 Written all types of webhook responses (i think).
Skiped all "get" requests.
2017-08-09 04:00:29 +03:00
Alex Root Junior
257b281bb4 Empty line. 2017-08-08 05:36:13 +03:00
Alex Root Junior
9804ec2240 Added more responses. (that's not all) 2017-08-08 05:35:26 +03:00
Alex Root Junior
7b61fff7c1 I think that's time for make commit. 2017-08-08 04:47:41 +03:00
Alex Root Junior
cf51062378 Implement more things for graceful shutdown of storage and more thread-safe Redis storage. 2017-08-05 21:33:59 +03:00
Alex Root Junior
f3088f2f0a Typo 2017-08-05 19:30:08 +03:00
Alex Root Junior
302f4e39f1 Resize logo. 2017-08-05 19:27:37 +03:00
Alex Root Junior
2ff65e11cd Merge branch 'dev' into webhook 2017-08-05 05:41:48 +03:00
Alex Root Junior
297168cd3c Change logo. Use png instead of svg 2017-08-05 05:41:21 +03:00
Alex Root Junior
33f7f0018e Fix parsing date in Deserializable objects. 2017-08-05 04:15:16 +03:00
Alex Root Junior
b2798e39a8 Fix send_file method for requests without files. (For e.g. setWebhook) 2017-08-05 04:14:44 +03:00
Alex Root Junior
412684e7b5 Optimize parsing arguments without value. 2017-08-05 04:13:42 +03:00
Alex Root Junior
19ce5c18b6 What about response to Webhook? https://core.telegram.org/bots/faq#how-can-i-make-requests-in-response-to-updates 2017-08-05 04:13:12 +03:00
Alex Root Junior
2ac011521c Remove deprecated code-stuff. 2017-08-04 17:56:05 +03:00
Alex Root Junior
abaa6a6cf6 Back to dev for future changes. 2017-08-04 17:32:21 +03:00
Alex Root Junior
dbd9a79567 Release 0.3.4 2017-08-04 17:01:56 +03:00
Alex Root Junior
e58f968735 Oops. 2017-08-04 16:59:57 +03:00
Alex Root Junior
e135b1732f Small fixes in types.rst. 2017-08-04 16:58:14 +03:00
Alex Root Junior
53292dad15 Add docs for storages. 2017-08-04 16:57:42 +03:00
Alex Root Junior
a59c5af5d0 And... Something wrong. Revert default filters generator. 2017-08-04 16:39:07 +03:00
Alex Root Junior
e50b9a94dd Fix critical error. 2017-08-04 16:38:07 +03:00
Alex Root Junior
3ef3fa312b Use DefaultFilters helper. 2017-08-04 16:21:57 +03:00
Alex Root Junior
f58e625fef Bad type annotation. 2017-08-04 16:06:44 +03:00
Alex Root Junior
9eb60c402c Merge branch 'fsm' into dev 2017-08-04 16:03:53 +03:00
Alex Root Junior
86f7656b83 Update FSM example. 2017-08-04 16:01:10 +03:00
Alex Root Junior
3ab4e51dde Oops. Bad warning. 2017-08-04 16:00:54 +03:00