Oleg A
a06cdd188d
Update json.py
...
fix pyCharm warning
'ujson' in try block with 'except ImportError' should also be defined in except block
This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items.
2018-07-21 11:31:18 +03:00
Alex Root Junior
ebc0a94201
Moooore error types.
2018-07-15 21:49:53 +03:00
Kolay
dd0fb98376
must be use round
2018-06-15 00:32:55 +03:00
Alex Root Junior
fae989879e
Merge remote-tracking branch 'origin/master'
2018-05-27 21:54:54 +03:00
Alex Root Junior
c167c559d8
Add new error types: ButtonURLInvalid, URLHostIsEmpty, StartParamInvalid, ButtonDataInvalid.
2018-05-27 21:49:52 +03:00
Oleg A
693571f275
CantRestrictSelf exception
...
Exception CantRestrictSelf happens if admin try to restrict self
2018-05-26 01:13:04 +03:00
Oleg A
b07352e1d4
Add timeout kwarg for polling
2018-05-21 00:32:57 +03:00
Alex Root Junior
b767c3e8f6
Fix webhook executor. I think.
2018-05-18 22:13:12 +03:00
Alex Root Junior
5ed2b35eed
Fixed RethinkDBStorage.
2018-05-18 21:13:19 +03:00
Alex Root Junior
272322ab38
Fixed slow-responses into webhook (via simple request)
2018-05-11 02:24:57 +03:00
Alex Root Junior
3076173384
New error types.
2018-05-11 02:00:32 +03:00
Alex Root Junior
2010922809
More truthful description of the method (Executor.start(...))
2018-05-04 13:55:53 +03:00
Alex Root Junior
cd320b3cf5
Move ToMuchMessages to MessageError group.
2018-05-04 13:47:02 +03:00
Alex Root Junior
25a328793b
Cleaning the auth_widget utility
2018-05-04 13:45:17 +03:00
Alex Root Junior
65edaeb2b5
Add tests for token validator and widget util.
2018-05-04 01:19:36 +03:00
Alex Root Junior
f3580def03
Return result from executor. (Executor.start(...))
2018-05-04 00:21:43 +03:00
Alex Root Junior
60bf8aa0dd
Cleanup
2018-05-02 18:24:23 +03:00
Alex Root Junior
8a149b1ed5
Add error: MessageTextIsEmpty
2018-05-02 18:09:01 +03:00
Alex Root Junior
8f45ebc9ed
Refactoring the detection of error types
2018-05-02 18:08:36 +03:00
Alex Root Junior
0b48978bd3
Added new error types: PhotoDimensions, UnavailableMembers
2018-05-02 17:02:20 +03:00
Alex Root Junior
dccaae4e9c
Update setup.py. Remove versions util.
2018-05-02 13:45:47 +03:00
Oleg A
6533b99efa
BuFix: 'Executor._skip_updates' was never awaited
2018-04-25 07:54:52 +03:00
Alex Root Junior
e3e1ed9ed7
Add InvalidStickersSet exception
2018-04-22 22:02:58 +03:00
Alex Root Junior
e07115a09f
Add InvalidStickersSet exception
2018-04-16 00:36:14 +03:00
Alex Root Junior
bcb629cf9a
More pydocs in utils.executor module.
2018-04-15 18:44:15 +03:00
Alex Root Junior
0479c24e5a
Optimize registering of callbacks
2018-04-15 06:32:44 +03:00
Alex Root Junior
96042d13ec
Refactoring of executor util
2018-04-15 06:18:49 +03:00
Alex Root Junior
70ad68cf4a
Removed obsolete code
2018-04-15 04:26:31 +03:00
Alex Root Junior
c0fcaa6f45
More API Exceptions.
2018-04-14 02:40:16 +03:00
Alex Root Junior
967dbdaad3
Descriptions of errors.
2018-04-08 18:16:52 +03:00
Alex Root Junior
f0de1c5761
Add PhotoAsInputFileRequired exception. // Photo should be uploaded as an InputFile
2018-04-08 17:31:58 +03:00
Alex Root Junior
e04c4d05da
Fix unwanted disabling webhook when skip_updates is enabled.
2018-04-08 16:42:47 +03:00
Alex Root Junior
bddfe5055f
Merge pull request #30 from surik00/dev-1.x
...
New markdown method - hide_link
2018-04-01 16:28:43 +03:00
Suren Khorenyan
edf6fda11c
New markdown method - hide_link (can be used to add images to text posts as preview)
2018-04-01 16:17:09 +03:00
Alex Root Junior
5571f3d4ec
More detailed exceptions.
2018-03-30 19:32:23 +03:00
Alex Root Junior
46c73524be
Merge branch 'master' into dev-1.x
2018-03-19 01:27:37 +02:00
Olegt0rr
23fc14a7a4
web.run_app doesn't wait for loop kwarg
...
Fix error: run_app() got an unexpected keyword argument 'loop'
2018-03-18 23:54:52 +03:00
Alex Root Junior
8433c4cc4a
Auto close bot HTTP-connections.
2018-03-01 19:39:52 +02:00
Alex Root Junior
4f2cb40aea
Implemented auth widget object and auth data validator.
2018-02-22 01:56:44 +02:00
Suren Khorenyan
70fb332fd3
Minor refactoring:
...
- removed remaining assertions
- quotes replaced with double quotes in f-strings
2018-02-12 22:06:05 +03:00
Alex Root Junior
07b9f3ee3e
Fix payload generator.
2018-01-24 04:00:54 +02:00
Alex Root Junior
a18ea82974
Fixed overlapping of names in context module.
2018-01-24 02:33:42 +02:00
Suren Khorenyan
72db167fa3
Minor aiogram/utils/* typos fixes
...
+ PEP8 formatting fixes
+ super minor code change
2018-01-23 15:48:21 +03:00
Alex Root Junior
c5b828f809
disable wait_closed dispatcher on executor.
2018-01-07 18:19:44 +02:00
Alex Root Junior
16a61b092f
More graceful stopping of long polling.
2018-01-06 14:31:59 +02:00
Alex Root Junior
154c12a165
Make an context is task-local.
2017-12-10 03:40:09 +02:00
Alex Root Junior
4ee54ea4e6
Wut? Class with item assignments for context.
2017-12-03 00:48:01 +02:00
Alex Root Junior
2ebd7c5de4
Move Throttling manager to Dispatcher.
2017-12-02 01:03:56 +02:00
Alex Root Junior
21f35273b7
Fix payload generator for lists and dicts. (Add more comments in this util)
2017-11-28 17:21:37 +02:00
Alex Root Junior
ef3b59c63c
Typo 'pooling' -> 'polling'.
2017-11-21 00:53:53 +02:00