Commit Graph

130 Commits

Author SHA1 Message Date
Daniil Gentili
6947d1b034 Use media DCs for file operations 2018-06-29 18:08:33 +00:00
33d95dab58 Apply fixes from StyleCI 2018-06-29 16:16:12 +00:00
855045099e Update to layer 82, implement media DC key exchange, revert logger API change, fix pretty TL traces, implement message splitting for parse_mode messages, fix TOS flow 2018-06-29 18:15:17 +02:00
c07ab02c66 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-06-29 14:00:21 +02:00
87a989d0cf TOS update, update to layer 81, improve GUI/cli interface 2018-06-29 13:50:14 +02:00
092cc44d75 HHVM fixes 2018-06-22 13:28:33 +02:00
Daniil Gentili
7b9190b5e5 Self-update mtproxyd 2018-05-10 09:38:51 +00:00
Daniil Gentili
2cb4e80620 Improve examples 2018-03-29 11:53:27 +00:00
Daniil Gentili
86d146c977 Apply fixes from StyleCI 2018-03-23 15:39:58 +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
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
e9dc0ba6f6 Implement socket interface 2018-03-04 17:42:48 +01:00
Daniil Gentili
e3e5f730fd Do not change release file for secondary branches 2018-03-02 00:53:20 +00:00
Daniil Gentili
e577e5ec35 Improve travis CI build script 2018-03-02 00:45:07 +00:00
Daniil Gentili
85ec1c6830 Improved logging 2018-03-02 00:38:10 +00:00
Daniil Gentili
eee724cf83 Create different phars for development branches 2018-03-01 23:50:55 +00:00
16e0fb4a57 Improve phar self-update mechanism 2018-03-01 13:28:16 +01:00
Daniil Gentili
bbe24e70d9 Use http_wait instead of ping to wakeup closed sockets, add debugging phar creation script 2018-02-26 02:30:22 +00:00
Daniil Gentili
983912f188 Avoided memory leak, Button now implements ArrayAccess, improved documentation 2018-02-25 09:52:55 +00:00
Daniil Gentili
410af60201 Release phar on every commit 2018-02-24 16:55:31 +00:00
4d7eab05c4 Fix typo 2018-02-23 20:36:23 +01:00
899d9eb201 Use bash in phar script (release_phar) 2018-02-23 20:30:56 +01:00
Daniil Gentili
2b921eea56 Fixes for micro http-client (phar_release) 2018-02-22 14:26:57 +00:00
f9626173a3
Fix travis ci build script 2018-02-21 13:05:35 +01:00
925fa88de1
Add automated phar downloader 2018-02-21 12:55:42 +01:00
Daniil Gentili
ec4fc804bb Update documentation, update travis ci build script 2018-02-20 20:47:25 +00:00
Daniil Gentili
f3dbc898b7 Update phpseclib, fix composer.json, PHP 5 fixes, update travis CI script. 2018-02-20 14:49:54 +00:00
Daniil Gentili
322f7dd831 Fixes to phar scripts 2018-02-20 12:33:29 +00:00
Daniil Gentili
ba7e67caf4 Fix travis ci build script 2018-02-20 12:17:04 +00:00
Daniil Gentili
46b48ab563 Build phars with travis ci 2018-02-20 12:15:32 +00:00
Daniil Gentili
8a93db8f30 Update copyrights, and add phar creation script 2018-02-20 11:13:43 +00:00
Daniil Gentili
fde7307f1d Apply fixes from StyleCI 2018-02-19 12:23:53 +00:00
Daniil Gentili
ebceeda29b Stability fixes 2018-02-19 11:48:43 +00:00
Daniil Gentili
f0939e3725 Small bugfixes for magnaluna and resolve_username 2018-02-18 17:26:14 +00:00
Daniil Gentili
cca40a34ad Completely rewrite auth key and connection management, proxy fixes. 2017-12-23 02:03:07 +01:00
Daniil Gentili
10493516ed Major cleanup 2017-11-10 15:19:58 +00:00
Daniil Gentili
b3d9b1f07c Bugfixes 2017-11-09 11:31:11 +00:00
Daniil Gentili
8fdea307c6 Apply fixes from StyleCI 2017-11-03 16:46:37 +00:00
Daniil Gentili
abdddc42cc kkkk no breaking changes 2017-11-03 19:46:24 +03:00
Daniil Gentili
e5da891ac2 Docufix, changed deserialization API, added php 7 check 2017-11-03 15:02:01 +03:00
Daniil Gentili
6cf583ec97 Bugfix (closes #184) 2017-10-06 16:06:17 +03:00
Daniil Gentili
5de64b4f61 Update phpseclib, add support for socket streams, fix localization and other bugfixes 2017-10-05 18:53:56 +03:00
Daniil Gentili
7dec60c0b2 Apply fixes from StyleCI 2017-10-04 17:09:11 +00:00
Daniil Gentili
de26dc37ab Proxy fixes 2017-10-04 20:08:45 +03:00
Daniil Gentili
860ebcce8b Readable errors 2017-09-24 22:24:04 +00:00
Daniil Gentili
1c9f43c852 Apply fixes from StyleCI 2017-08-29 15:00:47 +00:00
Daniil Gentili
fefbe41f29 Added new serialization method 2017-08-29 17:00:31 +02:00