Commit Graph

3288 Commits

Author SHA1 Message Date
Dan
9631dc7780 Accommodate Syncer 2018-04-13 15:21:34 +02:00
Dan
b84628e01d Add syncer module 2018-04-13 15:20:47 +02:00
Dan
e38da08e25 Load peers from session file 2018-04-13 15:20:37 +02:00
Dan
2ad3e113a0 Add utils module 2018-04-13 15:17:21 +02:00
Dan
a4b6674d4d Add date field 2018-04-13 15:05:46 +02:00
Dan
01775d0bd7 Don't pass session_name 2018-04-13 15:03:46 +02:00
Dan
6dcdeda244 Make proxy loading simpler 2018-04-13 12:30:13 +02:00
Dan
87586fba36 Update docs 2018-04-13 10:01:08 +02:00
Dan
255d33cefc Update snippet 2018-04-12 14:13:58 +02:00
Dan
346d3da175 Add more info in case of an error 2018-04-12 14:11:01 +02:00
Dan
1ccda820c1 Update docs 2018-04-12 13:43:16 +02:00
Dan
70cd0500de Merge branch 'master' into new-api 2018-04-12 11:31:53 +02:00
Dan
9dc767b88e Wait a little bit before retrying 2018-04-12 10:41:52 +02:00
Dan
552474a0e2 Raise any other unknown exception 2018-04-12 08:30:52 +02:00
Dan
862567a1ed Tune session settings 2018-04-12 08:29:39 +02:00
Dan
1736a8ea9b Use port 443 for production servers 2018-04-11 23:37:59 +02:00
Dan
98937dbc3b Update Docs 2018-04-11 23:18:17 +02:00
Dan
144c229fec Update compiler 2018-04-11 15:34:58 +02:00
Dan
24700d4d37 Merge branch 'new-api' into new-api-docs 2018-04-11 15:17:44 +02:00
Dan
3f16390193 Update docstrings 2018-04-11 15:16:29 +02:00
Dan
61f54ed1b0 Merge branch 'new-api' into new-api-docs 2018-04-11 03:53:20 +02:00
Dan
b5f1d3a2a5 Update docstrings 2018-04-11 03:53:10 +02:00
Dan
3f56bf0af2 Update docs 2018-04-11 03:46:37 +02:00
Dan
4c3eb8a09f Merge branch 'new-api' into new-api-docs 2018-04-11 03:40:48 +02:00
Dan
1f683ba00e Update compiler 2018-04-11 03:40:40 +02:00
Dan
5e5289596b Merge branch 'new-api' into new-api-docs
# Conflicts:
#	compiler/api/compiler.py
#	docs/source/pyrogram/index.rst
2018-04-11 03:29:47 +02:00
Dan
398858acc1 Merge branch 'master' into new-api 2018-04-11 03:20:19 +02:00
Dan
144a0103e4 Merge branch 'master' into docs 2018-04-11 03:19:33 +02:00
Dan
472ed8e355 Document the new features 2018-04-11 03:16:48 +02:00
Dan
84b1e697bb Add phone_number field in users 2018-04-10 19:48:44 +02:00
Dan
c4f2906009 Add via_bot field in messages 2018-04-10 19:37:52 +02:00
Dan
847b8dd5d4 Add views field in messages 2018-04-10 19:30:55 +02:00
Dan
059c1d7a27 Add service message filters 2018-04-10 19:23:40 +02:00
Dan
cbf9104aa3 Add chat filter 2018-04-10 18:33:19 +02:00
Dan
dfa1e51281 Fix type hinting 2018-04-10 16:27:04 +02:00
Dan
f553e521ce Use sets instead of lists or tuples
For faster checks
2018-04-10 16:26:04 +02:00
Dan
793ecc2ab5 Add user filter 2018-04-10 16:24:39 +02:00
Dan
a6b6b0dfd6 Add edited filter 2018-04-10 16:04:22 +02:00
Dan
3b028698f7 Make command parameter non-optional 2018-04-10 15:04:31 +02:00
Dan
9165c7f591 Rework decorators impl 2018-04-10 14:54:39 +02:00
Dan
7537a27620 Accept command strings as parameter 2018-04-10 14:54:06 +02:00
Dan
c33c7c76fd Rework dispatcher 2018-04-10 14:52:31 +02:00
Dan
f2424d3b1e Add some more filters 2018-04-10 13:14:10 +02:00
Dan
9ce13518ec Add missing notice 2018-04-10 00:25:51 +02:00
Dan
b0a528cadf Make Filters importable via the main package 2018-04-10 00:25:41 +02:00
Dan
b3506a7afa Add a text filter (more to come) 2018-04-10 00:25:04 +02:00
Dan
142ce07576 Make handlers accept filters 2018-04-10 00:24:03 +02:00
Dan
fb4e98b0b5 Evaluate filters before dispatching messages 2018-04-09 23:35:51 +02:00
Dan
b6f28b2ec6 Add base Filter class 2018-04-09 23:33:20 +02:00
Dan
eeb89e4161 Fix some weird behaviours when printing exceptions 2018-04-09 22:04:16 +02:00