Commit Graph

40 Commits

Author SHA1 Message Date
Daniil Gentili 92717a2d05
MUUUAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA BUUURN SNAKES BUUURN MUAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA cough 2019-10-29 22:41:31 +01:00
Daniil Gentili 7a9da5718e
Make everything CamelCase 2019-10-29 21:33:23 +01:00
Daniil Gentili 8147d5fca5 Huge bugfixes, avoid problems with unbound keys and add more config loops 2019-09-17 21:35:53 +02:00
Daniil Gentili 310b489dfb Avoid issues with bad connections 2019-09-13 18:03:18 +02:00
Daniil Gentili 4d599e017b Improve socket management 2019-09-13 17:24:52 +02:00
Daniil Gentili 4619d44b12 Clean up 2019-09-04 17:48:07 +02:00
Daniil Gentili 72d353fff0 Parallelized uploads and downloads, upload by URL and rename files 2019-09-02 16:54:36 +02:00
Daniil Gentili 0f7ffc2da7 Save 2019-09-02 14:37:30 +02:00
Daniil Gentili 3107aee776 PHPDOC 2019-09-01 14:07:04 +02:00
Daniil Gentili 3fe86e0162 Refactoring 2019-08-31 22:43:58 +02:00
Daniil Gentili 5f50fa4636 Bugfix 2019-06-24 20:14:28 +02:00
Daniil Gentili 2b1f44a31f Implement download_to_callback 2019-06-24 14:42:14 +02:00
Daniil Gentili 7c7d2cb50c Properly handle closed sockets and polyfill some more methods 2019-06-21 12:16:48 +02:00
Daniil Gentili 53b72c8a29 Various bugfixes 2019-06-07 00:48:25 +00:00
Daniil Gentili 08a502cb2f Add async readline 2019-06-05 15:38:32 +02:00
Daniil Gentili 7509e81d6f Improved logging 2019-06-04 18:56:01 +02:00
Daniil Gentili e900358bd2 Improved logging 2019-06-04 18:36:47 +02:00
Daniil Gentili 2614c863a4 Handle stream errors 2019-06-04 18:24:25 +02:00
Daniil Gentili 5b5c81b221 Another small bugfix 2019-06-04 17:57:49 +02:00
Daniil Gentili a1daca04da
Style fixes 2019-06-04 14:55:58 +02:00
Daniil Gentili 030cc65369 Changelog 2019-06-02 15:02:15 +02:00
Daniil Gentili 62c29c9415 Split acks 2019-06-02 11:54:56 +02:00
Daniil Gentili fd03b39a46 Handle updateShortSentMessages 2019-06-01 21:16:52 +02:00
Daniil Gentili c6b3aa96d0 Update copyrights 2019-05-31 12:18:10 +02:00
Daniil Gentili d42f677884 Fixes 2019-05-30 14:09:15 +02:00
Daniil Gentili 7f47e3de85 Rewriting update management 2019-05-29 15:17:14 +02:00
Daniil Gentili b339a9d849 Major fixes and refactoring of wrapper APIs 2019-05-22 17:35:16 +02:00
Daniil Gentili fe1d87af27 Final fixes 2019-05-13 00:22:45 +02:00
Daniil Gentili 6e390a92bb Improvements 2019-05-12 21:23:25 +02:00
Daniil Gentili f7bd6a922e Bugfixes 2019-05-12 20:33:18 +02:00
Daniil Gentili 714ade6fbc Some fixes 2019-05-12 16:01:52 +02:00
Daniil Gentili bdd04ff7b3 Simpler async API 2019-05-12 12:06:58 +02:00
Daniil Gentili c993f4d207 Multiple bugfixes 2019-05-10 13:34:44 +02:00
Daniil Gentili 6636b7dfa6 Fix websockes 2019-04-20 17:18:45 +02:00
Daniil Gentili bcebd5e0fb Fix memory leak 2018-12-31 14:12:08 +00:00
Daniil Gentili 5ffae641d2 PFS fixes 2018-12-31 14:02:24 +01:00
Daniil Gentili 57970e9019 Important bugfix 2018-12-28 18:09:30 +01:00
Daniil Gentili a0bc08b33e Protocol padding fixes 2018-12-27 18:22:05 +01:00
Daniil Gentili 79f7d92767 Async file upload with sendMedia & callback fixes 2018-12-27 18:17:18 +01:00
Daniil Gentili 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