Commit Graph

178 Commits

Author SHA1 Message Date
Lonami Exo
200a4e47b8 Clarify some strings 2018-07-25 02:21:44 +02:00
Lonami Exo
61a9f1e61c Create a third module to store patched objects 2018-07-22 19:12:09 +02:00
Lonami Exo
5017a9d1da Fix typos and add the URL_INVALID error 2018-07-14 10:43:24 +02:00
Lonami
8ca2e56aee
Fix ID autocast should not add the mark 2018-07-07 19:42:47 +02:00
Lonami Exo
61f9dc1cd7 Fix-up missing parenthesis from 066004a 2018-07-07 13:03:46 +02:00
Lonami Exo
066004acd1 Support chat_id autocast 2018-07-07 12:53:46 +02:00
Lonami Exo
5d4b8a283d Don't generate def resolve() for types
This would require nested resolving which could be quite
expensive. Instead there will just be a single level for
resolve() and it will belong in the requests.
2018-07-07 12:17:29 +02:00
Lonami Exo
bd878acbde Support InputNotifyPeer autocast 2018-07-07 12:14:03 +02:00
Lonami Exo
baedd10110 Update to layer 82 2018-06-29 13:23:56 +02:00
Lonami Exo
dd0eb7a90e Explicitly open files as 'r' instead of leaving it out 2018-06-29 11:34:57 +02:00
Lonami Exo
a1799ee74b Use localStorage for the selected theme in the docs 2018-06-27 10:36:56 +02:00
Lonami Exo
e604960a1d Include TAKEOUT_INIT_DELAY_X in the available errors 2018-06-27 09:46:14 +02:00
Lonami Exo
1da0018a5d Update to layer 81 (again) 2018-06-26 11:36:59 +02:00
Lonami Exo
58031b3adf Update to layer 81 2018-06-24 11:37:54 +02:00
Lonami Exo
f614d3836b Finish up asyncio docs 2018-06-22 14:44:59 +02:00
Lonami Exo
9c0a22ddd7 Fix Python 3.5 compatibility 2018-06-20 20:18:16 +02:00
Lonami Exo
4e9a84c3b5 Remove underscore from module names 2018-06-18 21:02:42 +02:00
Lonami Exo
fbf3bf119c Separate errors needing regex from those which don't 2018-06-18 19:09:45 +02:00
Lonami Exo
463847ad50 Revisit and remove a few TODOs 2018-06-18 18:46:06 +02:00
Lonami
bb3a564500
Merge pull request #843 from LonamiWebs/core-rewrite
Core rewrite
2018-06-14 16:25:28 +02:00
Lonami Exo
f3f0c28505 Support converting .tl -> .json 2018-06-13 10:48:35 +02:00
Lonami Exo
3f16c92eb3 Subclass TLRequest for content-related objects 2018-06-12 20:14:21 +02:00
Lonami Exo
0c25bf29b4 Add missing parenthesis 2018-06-11 13:43:08 +02:00
Jeff
cea75a4365 Adds new docs index for methods can be used as bots (#840) 2018-06-11 13:36:32 +02:00
Lonami Exo
3e151a1b7a Make TelegramBareClient able to invoke requests 2018-06-09 21:03:48 +02:00
Lonami Exo
f7e8907c6f Create RpcResult class and generalise core special cases
This results in a cleaner MTProtoSender, which now can always
read a TLObject with a guaranteed item, if the message is OK.
2018-06-09 13:13:55 +02:00
Lonami Exo
56b09c0c9d Properly set future results 2018-06-07 10:30:20 +02:00
Lonami Exo
4bdc28a775 Show invalid bot methods in the docs 2018-06-06 17:35:06 +02:00
Lonami Exo
c7d7977951 Fetch invalid bot methods from pwrtelegram 2018-06-06 17:03:49 +02:00
Lonami Exo
e93b8f2b13 Update to layer 80 and accept TOS on sign_up (#824) 2018-06-03 13:26:51 +02:00
Lonami Exo
ae87d452c8 Clean-up docs and merge some imports 2018-05-30 18:55:01 +02:00
Lonami Exo
6726eab045 Clean-up DocsWriter 2018-05-24 11:48:15 +02:00
trgwii
c4c41645e7 Improved modular JS for the docs (#813) 2018-05-24 11:22:52 +02:00
Lonami Exo
1aa3fbb295 Add easter egg theme for the docs 2018-05-23 19:49:43 +02:00
Lonami Exo
8e2b28cf27 Fix docs generating top level empty folders 2018-05-23 18:50:40 +02:00
Lonami Exo
c3e5d390eb Add optional dark theme for the docs 2018-05-23 18:50:28 +02:00
Lonami Exo
bb0d29bdd5 Fix unboxed serialization including constructor ID
This only affected FutureSalts, but it's useful that it behaves
the way it should. cc @JuanPotato for spotting the bug.
2018-05-22 19:21:01 +02:00
Lonami Exo
32b7e9e27a Whitelist generator's mismatching ID and ya username 2018-05-12 16:12:42 +02:00
Lonami Exo
5440593520 Update to layer 78 2018-05-12 15:51:37 +02:00
Lonami Exo
55c09cde97 Fix online documentation showing duplicated errors 2018-05-06 18:16:48 +02:00
Lonami Exo
ee0f95b156 Fix library expects bytes instead strings on mtproto.tl 2018-05-06 13:06:44 +02:00
Lonami Exo
7ba044730d Fix "Other X with this type" missing from the docs 2018-04-28 12:21:55 +02:00
Lonami Exo
08dbc42718 Update to layer 76 2018-04-28 11:49:43 +02:00
Lonami Exo
3008ada98d Distinguish between mtproto/telegram TL like tdlib does 2018-04-28 10:19:55 +02:00
Lonami Exo
f31ca142a3 Support autocast to InputMessage 2018-04-23 11:05:38 +02:00
Lonami Exo
6328e032e4 Fix local URLs on the generated docs 2018-04-15 14:59:07 +02:00
Lonami Exo
3ed81481f8 Enhance setup.py gen command 2018-04-15 13:19:25 +02:00
Lonami Exo
6058b80877 Further clean-up of the documentation generator 2018-04-15 12:15:43 +02:00
Lonami Exo
5b5edff624 Remove special case from documentation's formatter 2018-04-15 11:54:34 +02:00
Lonami Exo
b88a2ef208 Reuse more code to get class names 2018-04-15 11:47:33 +02:00