Lonami Exo
c11d71c3cd
Fix docs generation on Windows and search bar
2019-01-26 13:15:27 +01:00
Lonami Exo
86a8928278
Better error diagnostics and fix parsing errors.csv
2019-01-24 11:02:58 +01:00
Lonami Exo
33742c809a
Document BANNED_RIGHTS_INVALID
2019-01-23 14:37:40 +01:00
Lonami Exo
bb5c1f24c6
Update to layer 93
2019-01-21 20:09:13 +01:00
Lonami Exo
8f44364c6c
Add supports_streaming to send_file and update docs/errors
2019-01-21 19:47:17 +01:00
Lonami Exo
b0883148f5
Document more RPC errors
...
These two occur when replying to an inline query with a photo and
InputBotInlineMessageMediaAuto empty message, and passing URLs to
PNGs that may not be accessible (i.e. 403 from pixiv).
2019-01-17 16:51:50 +01:00
Lonami Exo
51f0bf5d84
Fully support email in edit_2fa
2019-01-14 13:57:07 +01:00
Lonami Exo
d892a537a7
Support get_peer on participants and clarify some strings
2019-01-07 16:13:37 +01:00
Lonami Exo
b57e3e3e0a
Fix some open calls were not being made through pathlib
...
This was causing the documentation to fail to build under Python 3.5.
2019-01-06 21:36:32 +01:00
Lonami Exo
a5b107e6c9
Update documentation with takeout, add new known errors
2019-01-05 17:31:26 +01:00
Lonami Exo
1b424b3fe7
Update documentation to reflect new methods
2019-01-03 19:20:52 +01:00
Lonami Exo
342a4dd502
Update to v1.5
2018-12-25 17:55:15 +01:00
Lonami Exo
100cd807f6
Better GetAdminLogRequest example
2018-12-25 14:17:19 +01:00
Lonami Exo
fb9796a293
Pre-create directory structure when generating docs
...
This reduces the amount of system calls
from thousands to a few dozens at most.
2018-12-24 18:16:18 +01:00
Lonami Exo
ffc0a8808b
Revert docs search to use onkeyup or last keystroke is ignored
2018-12-24 18:04:13 +01:00
Lonami Exo
24986bbea0
Update to layer 91
2018-12-23 11:03:14 +01:00
Lonami Exo
aefa429236
Make complete use of pathlib (fix up 8224e5a
)
2018-12-21 18:18:18 +01:00
Lonami Exo
8224e5aabf
Make use of pathlib nearly everywhere (breaks docs gen)
...
Python 3.6 introduced support for the os.PathLike interface,
which means Python 3.5 did not have it yet and attempting to
use it in os functions would fail. Instead we can use pathlib
for everything, but not all work is done yet.
2018-12-21 13:24:16 +01:00
Lonami Exo
b9d4eb5449
Default to dark theme to avoid screen flashing and fix typo
2018-12-21 10:56:40 +01:00
Lonami Exo
e852dccebf
Prevent common pitfall when pulling new .tl files
2018-12-20 20:52:19 +01:00
Lonami Exo
7100b75598
Update to layer 89
...
This breaks edit_2fa
2018-12-18 16:37:07 +01:00
Lonami Exo
6839bfcc2d
Redirect to first term when pressing enter on docs search
2018-12-16 10:40:31 +01:00
Lonami Exo
da5c171346
Skip core types when parsing .tl files
...
This avoids the need to comment then every time the file changes.
2018-12-15 12:38:56 +01:00
Lonami Exo
932d3bd033
Improve autogenerated examples with more cases and synonyms
2018-12-15 11:47:52 +01:00
Lonami Exo
34879a4b35
Use decodeURI when loading GET parameters
2018-12-15 11:36:54 +01:00
Lonami Exo
027d08cec7
Slightly smarter search generated docs
2018-12-15 11:36:54 +01:00
Lonami
52b179dba8
Never check channel constructor when generating objects
2018-12-14 17:31:15 +01:00
Lonami Exo
50b77d881d
Clarify who can use methods in the documentation
2018-12-03 16:17:37 +01:00
Lonami Exo
e4cfd964d5
Use an enum for methods' usability
2018-12-03 15:56:38 +01:00
Lonami Exo
4901447ad6
Remove now unused code to fetch errors from remote host
2018-12-03 15:53:08 +01:00
Lonami Exo
01848de7e2
Move error capture names to errors.csv
2018-12-03 11:08:20 +01:00
Lonami Exo
b8912ea0aa
Add two MEDIA_*_INVALID to known errors
2018-11-30 21:54:00 +01:00
Lonami Exo
8eca29be25
Make use of the new method info when generating docs
2018-11-30 21:48:15 +01:00
Lonami Exo
f05109f186
Update code generator to parse CSV files
2018-11-30 21:39:13 +01:00
Lonami Exo
f646863149
Replace error and method data with CSV files
2018-11-30 21:38:36 +01:00
Lonami Exo
c70943bb0e
Add CHAT_RESTRICTED to known errors
2018-11-03 12:46:19 +01:00
Ivan Tung
c248a102dc
Fix-up 99129da
error generation if error.has_captures ( #1025 )
2018-10-21 15:22:46 +02:00
Lonami Exo
f51b56558d
Document AUTH_KEY_DUPLICATED, better assistant UX
2018-10-19 19:32:17 +02:00
Lonami Exo
477fbd8dc7
Generate simple examples for the docs
2018-10-16 09:29:48 +02:00
Lonami Exo
8f04ec820f
Don't add functions as possible argument types
2018-10-15 21:12:10 +02:00
Lonami Exo
bb180a1db8
Split generator/tlobject into separate files
2018-10-15 19:29:32 +02:00
Lonami Exo
e3c4bd46fb
Reference argument types to objects when parsing .tl
2018-10-15 19:23:09 +02:00
Lonami Exo
99129daeee
Show the request that caused RPC errors in their messages
2018-10-15 18:35:51 +02:00
Lonami Exo
ee4c952290
Add descriptions for new RPC errors
2018-10-15 17:57:16 +02:00
Lonami Exo
0fcc2e5e52
Add autocast for InputDocument and InputChatPhoto
2018-10-05 14:11:47 +02:00
Lonami Exo
ec0aa65fe1
An user -> a user
2018-09-22 19:18:42 +02:00
Lonami Exo
cb6f980277
Better autocast to InputPeerDialog and documentation
2018-09-22 10:56:37 +02:00
Lonami Exo
497c2144f2
Fix patched objects missing CONSTRUCTOR_ID/SUBCLASS_OF_ID
2018-09-17 16:02:45 +02:00
Lonami Exo
6b57dba5e1
Fix-up f25541e
(.to_dict() on patched objects)
2018-08-09 11:16:36 +02:00
Lonami Exo
f25541ea6f
Make .to_dict() work on invalid TLObjects
...
This will improve logging from the previous commit as well.
2018-08-08 12:12:00 +02:00