Commit Graph

1034 Commits

Author SHA1 Message Date
af8443caf2 Throw flood waits in resolve_username 2018-03-20 16:52:26 +01:00
214471bc60 Simplified docs.madelineproto.xyz 2018-03-20 16:42:05 +01:00
Daniil Gentili
ba9b397ddf Bugfix 2018-03-20 15:00:24 +00:00
Daniil Gentili
1b349d93da Update docs 2018-03-20 14:47:34 +00:00
7a0153a139
Documentation rework (#349)
* Documentation rework

* Apply fixes from StyleCI

* Documentation fixes

* Login as bot through web/cli API, allow using invite links in joinChannel, full invite links in importChatInvite and checkChatInvite, non-invite links in importChatInvite

* Apply fixes from StyleCI

* Logging fixes

* Build docs

* Add methods to modify start template, bugfix to logging and keyboard conversion

* Add TL documentator

* Document MTProto methods

* Documenting methods...

* 7% documented

* Bugfixes

* Update docs

* Update docs

* Simplify file management

* Implement automatic object conversion for media, and more awesome stuff

* Implement automatic object conversion for media, and more awesome stuff

* Implement event update handler and file upload/download callback

* Auto-detect mime type, duration, width and height of media

* Update docs

* Document new file functions

* Fix links

* Fix links

* Update bot.php to use event loop

* Implement webhook update handler and forking in main loop

* Build docs

* Better docs

* Fixes to secret chats

* Almost finished updating docs

* Bugfixes, implemented infinite loop for loop() method, almost finished docs

* Finish writing docs

* Add automatic documentation builder script

* Finished writing docs
2018-03-20 12:48:05 +01:00
Daniil Gentili
c6a0a04731 Apply fixes from StyleCI 2018-03-16 14:10:29 +00:00
marcosramirezaranda
d45d2d887e add HTTP Proxy Support (#335)
* Add support for HTTP Proxy

* fix small typo

* forgot git add ...

* reverts to use numeric protocol in HTTPProxy::__construct
2018-03-16 15:10:22 +01:00
Daniil Gentili
63823fc3cc Apply fixes from StyleCI 2018-03-14 14:30:22 +00:00
Daniil Gentili
1f07833322 Improvements to serialization and peer management 2018-03-14 14:29:38 +00:00
Daniil Gentili
3c16430b06 Improvements to update and peer handling. 2018-03-14 12:36:50 +00:00
Daniil Gentili
fdfe18a0a6 Bugfix 2018-03-13 23:28:08 +00:00
Daniil Gentili
d477b24695 Bugfix 2018-03-13 19:36:50 +00:00
Daniil Gentili
986fa3497e Apply fixes from StyleCI 2018-03-13 14:30:47 +00:00
f94d4804dd Bugfixes to prime factorization 2018-03-13 15:30:34 +01:00
Daniil Gentili
f73b4645af Bugfix to update handling 2018-03-13 12:21:28 +00:00
Daniil Gentili
d60fad2ea4 Reenable PWRTelegram getmtprotoupdates 2018-03-13 11:59:31 +00:00
Daniil Gentili
69d493e75e Apply fixes from StyleCI 2018-03-13 11:51:53 +00:00
Daniil Gentili
d53469ee0e Improve update management and documentation 2018-03-13 11:51:37 +00:00
Daniil Gentili
0918be3060 Apply fixes from StyleCI 2018-03-12 21:11:18 +00:00
Daniil Gentili
071be3bb80 Reorganizing documentation, rewrote peer management 2018-03-12 21:10:49 +00:00
Daniil Gentili
0d2ed128ac Improvements to peer management 2018-03-12 00:29:51 +00:00
Daniil Gentili
40086f7da1 Apply fixes from StyleCI 2018-03-11 17:36:58 +00:00
Daniil Gentili
d833b0cff8 Bugfixes to peer management 2018-03-11 17:36:32 +00:00
Daniil Gentili
c26a5aaf77 Apply fixes from StyleCI 2018-03-11 15:33:56 +00:00
Daniil Gentili
267b3d4ed4 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-03-11 15:33:37 +00:00
Daniil Gentili
2059070322 Bugfix 2018-03-11 15:33:25 +00:00
Daniil Gentili
e1963c2ade Apply fixes from StyleCI 2018-03-11 15:16:24 +00:00
Daniil Gentili
8c4b65762f Stability improvements 2018-03-11 15:16:00 +00:00
rik43
5a6e60eada windows paths compatibility (#332) 2018-03-11 15:30:25 +01:00
Daniil Gentili
b1a39aa098 Apply fixes from StyleCI 2018-03-11 14:29:50 +00:00
Daniil Gentili
a2160c9008 Implement participant caching and hash generation 2018-03-11 14:29:27 +00:00
root
5d9982efa4 Improvements to DC and settings management 2018-03-10 18:09:38 +01:00
Daniil Gentili
cd8abc2b89 Allow manual channels.getParticipants 2018-03-10 03:39:10 +00:00
Daniil Gentili
2048403893 Apply fixes from StyleCI 2018-03-10 02:56:57 +00:00
Daniil Gentili
f543115088 Allow fetching more than 10k channel/group participants 2018-03-10 02:56:33 +00:00
Daniil Gentili
457b749d6d Apply fixes from StyleCI 2018-03-09 17:43:11 +00:00
Daniil Gentili
e8f2ae85c8 Avoid problems with corrupted settings 2018-03-09 17:42:55 +00:00
Daniil Gentili
9436468bd0 Increase version 2018-03-09 17:01:47 +00:00
Daniil Gentili
770c1c89d5 Apply fixes from StyleCI 2018-03-09 16:39:36 +00:00
Daniil Gentili
87f2ec50ac Improve peer management and connection management 2018-03-09 16:39:13 +00:00
Daniil Gentili
9de3f24215 Apply fixes from StyleCI 2018-03-08 21:20:33 +00:00
aa04b5e8af Bugfixes 2018-03-08 22:20:19 +01:00
d4405566ea Bugfixes 2018-03-08 22:19:03 +01:00
Daniil Gentili
f9c689e0aa Documentation fixes 2018-03-08 11:34:43 +00:00
ea360c3d4d
Beta features (#326)
* Experimental performance improvements

* Apply fixes from StyleCI

* Support passing numeric ids instead of InputMessage objects, support using t.me links for sendMessage and other methods

* Apply fixes from StyleCI
2018-03-08 12:28:03 +01:00
Daniil Gentili
b5dba1ec3e Apply fixes from StyleCI 2018-03-05 16:48:36 +00:00
05f44fbea4 Interpret HTTP transport errors as MTProto errors 2018-03-05 17:47:55 +01:00
Daniil Gentili
0f6f80c7de Apply fixes from StyleCI 2018-03-05 14:58:55 +00:00
bf5443daa4 merge 2018-03-05 15:58:36 +01:00
a2255fa7ad Improvements to socket interface and TL parser 2018-03-05 15:57:35 +01:00