Commit Graph

58 Commits

Author SHA1 Message Date
56bce59cdb Do not include traits twice 2019-05-12 21:03:13 +02:00
92635c7948 Update examples 2019-05-12 20:45:14 +02:00
f7bd6a922e Bugfixes 2019-05-12 20:33:18 +02:00
Daniil Gentili
1f9ebfc568 VoIP detection improvements 2019-03-29 23:41:16 +00:00
7005cdf10a Multiple async and VoIP improvements 2019-03-29 20:25:42 +01:00
df24fa4611
Merge alpha into master (async, huge bugfixes and more) (#546)
* Implement async and lots of bugfixes

* Implement more async

* Implement async, implement bugfixes for the connection module, for the datacenter module, huge bugfixes, huge perfomance improvements, media DCs for https, advanced selecting, custom var_dump, totally rewritten IOLoop and response mechanism, promises, improvements to the TL parser, custom mb_substr

* Apply fixes from StyleCI

* Bugfixes

* Apply fixes from StyleCI

* Bugfixes, implement combined promises

* Apply fixes from StyleCI

* Support passing method arguments as callable

* Starting to write async upload logic

* Apply fixes from StyleCI

* Start implementing async file upload

* Apply fixes from StyleCI

* bugfix

* Apply fixes from StyleCI

* Start rewriting connection module

* Add PHP file docblocks for all classes

* Start working on new async stream API

* Finish writing stream API

* More stream API fixes

* Apply fixes from StyleCI

* Rewrite DataCenter and Connection modules

* Clean up stream API documentation

* Fixes

* Apply fixes from StyleCI

* Add referenced parameter to get length of buffer to read in getReadBuffer API

* Moved all MessageHandler code in the Connection module, added a PHP version warning in the phar

* Start fixing reads

* Fix all protocol stream wrappers

* Apply fixes from StyleCI

* Implement disconnection, and remove end function

* Working async RPC

* Implement async file upload

* Bugfix

* Method recall bugfixes

* Bugfixes

* Trait bugfixes

* Fix FIFO buffer

* Bugfixes and speedtests

* Async logging

* Implement websocket streams

* Implement loop API, signal API, clean closing and start changing layer

* Small magna, websocket and HTTP fixes

* Clean up loop API

* Improved stack traces, 2FA and async

* Login fixes

* Added instructions for manual verification

* Small fixes

* More app info improvements

* More app info improvements

* TL and 2FA fixes

* Update to layer 89

* More bugfixes

* Implement broken media reporting

* Remove debug comments

* PHP 7.2 backwards compatibility

* Bugfixes

* Async key generation

* Some simplifications

* Transport fixes

* Cleanup

* async API

* Performance fixes

* Fixes to async API

* Bugfixes

* Implement one-time async loop

* Authorization and logging fixes

* Update to layer 91

* 7to5 fix

* Null coalesce conversion

* Implement socks5 proxy

* Implement HTTP proxy

* Fixes to HTTP proxy

* MTProxy and socks5 fixes

* Disable PHP 5 conversion

* Proxies have higher priority

* Avoid error handling in vendor

* Override composer dependencies

* Fix travis build

* Final composer fixes

* Proxy logic fixes

* Fix get_updates update handling

* Do not use parallel file driver if not supported

* Refactor loader and implement HTTP fixes

* Suppress errors in loader

* HTTP and authorization fixes

* HTTP fixes

* Improved peer management

* Use HTTP protocol on altervista

* Small bugfixes

* Minor fixes

* Docufix

* Docufix

* Legacy fixes

* Fix message queue

* Avoid updating if using MTProxy

* Improve logs and examples

* Trim final newlines while converting parse mode

* Reimplement noResponse flag

* Async combined event handler and APIFactory fixes

* Actually return config

* Case-insensitive methods

* Bugfix

* Apply fixes from StyleCI (#545)

* MTProxy fixes

* PHP 5 warning

* Improved PHP 5 warning

* Use <br> along with newlines in web logs

* Update docs
2018-12-26 20:51:14 +01:00
Daniil Gentili
c2c3d2544a Bugfixes 2018-10-13 15:12:57 +00:00
Daniil Gentili
384039eea7 fix 2018-07-13 00:45:14 +00:00
1ad6af5743 Apply fixes from StyleCI 2018-06-29 16:20:22 +00:00
Daniil Gentili
994e5e7fe7 Magnaluna fixes 2018-06-29 16:20:07 +00:00
8ee65d31e5 Apply fixes from StyleCI 2018-05-04 10:21:57 +00:00
Daniil Gentili
5b60992ecb Update magnaluna 2018-05-04 10:21:33 +00:00
a0a9bf2889 Apply fixes from StyleCI 2018-04-17 21:52:28 +00:00
Daniil Gentili
4f28c22a4b Bugfix 2018-04-17 21:51:54 +00:00
236fefabc1 Apply fixes from StyleCI 2018-03-30 16:03:16 +00:00
Daniil Gentili
64d878a28d Magnaluna fixes 2018-03-30 16:02:34 +00:00
Daniil Gentili
9f7d59f806 @magnaluna improvements 2018-03-30 11:16:49 +00:00
5fd727292d Apply fixes from StyleCI 2018-03-30 10:54:16 +00:00
Daniil Gentili
1a60d87c3a Updated @magnaluna 2018-03-30 10:53:51 +00:00
Daniil Gentili
f0766f99c4 Improve magnaluna 2018-03-29 21:06:40 +00:00
acb73834d4 Apply fixes from StyleCI 2018-03-29 21:05:15 +00:00
Daniil Gentili
91fa43094d Add loop callback method in event handler, add support for secret chats in sendMessage, update magnaluna 2018-03-29 21:04:50 +00:00
Daniil Gentili
2cb4e80620 Improve examples 2018-03-29 11:53:27 +00:00
622f37fb2d Bugfixes 2018-03-27 15:41:58 +02:00
Daniil Gentili
04b84741a3 Fixes to channel difference 2018-03-25 17:17:05 +00:00
Daniil Gentili
9403c4012b Apply fixes from StyleCI 2018-03-24 18:06:19 +00:00
353f8b6281 Hugely speed up startup 2018-03-24 19:06:01 +01:00
8d1f8c401e Bugfixes and improvements to magnaluna 2018-03-24 16:22:13 +01:00
Daniil Gentili
85ec1c6830 Improved logging 2018-03-02 00:38:10 +00:00
Daniil Gentili
8a93db8f30 Update copyrights, and add phar creation script 2018-02-20 11:13:43 +00:00
Daniil Gentili
c0e4afc646 Apply fixes from StyleCI 2018-02-18 17:26:34 +00:00
Daniil Gentili
f0939e3725 Small bugfixes for magnaluna and resolve_username 2018-02-18 17:26:14 +00:00
Daniil Gentili
72b30bedfe Small fix 2017-12-25 16:06:37 +00:00
Daniil Gentili
53778ca997 Apply fixes from StyleCI 2017-12-23 14:48:51 +00:00
Daniil Gentili
6cc990217f Small fix 2017-12-23 14:49:06 +00:00
Daniil Gentili
8c4ad60f84 Implemented MTProto v2 in secret chats 2017-12-16 18:08:11 +00:00
Daniil Gentili
dd06d6c92e Small secret chat fixes 2017-12-03 17:00:53 +00:00
Daniil Gentili
e5da891ac2 Docufix, changed deserialization API, added php 7 check 2017-11-03 15:02:01 +03:00
Daniil Gentili
811204e62c Bugfix 2017-10-03 19:23:13 +03:00
Daniil Gentili
fba1c8e623 Apply fixes from StyleCI 2017-09-24 22:27:29 +00:00
Daniil Gentili
9267d711f3 Readable errors 2017-09-24 22:26:06 +00:00
Daniil Gentili
860ebcce8b Readable errors 2017-09-24 22:24:04 +00:00
Daniil Gentili
2e3551e218 Bugfixes to magnaluna, dialog fetching and phone calls 2017-09-18 09:05:28 +00:00
Daniil Gentili
7e7409e549 Fixes to update handler and calls 2017-09-17 16:58:57 +00:00
Daniil Gentili
694aa101b7 Fixes to magnaluna, and phone calls. 2017-09-17 16:20:59 +00:00
Daniil Gentili
a4b8a39437 Better docs 2017-08-18 13:27:44 +02:00
Daniil Gentili
f16aa7c63a Apply fixes from StyleCI 2017-08-13 16:52:32 +00:00
Daniil Gentili
8203aebae0 Finally, a way to make people RTFM 2017-08-10 08:18:28 +00:00
Daniil Gentili
a431a839a3 Added CNAME 2017-08-06 22:53:43 +00:00
Daniil Gentili
306125a931 Apply fixes from StyleCI 2017-08-05 15:43:25 +00:00