Commit Graph

164 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 a64cfca66c
Minor renaming 2019-10-29 21:28:02 +01:00
Daniil Gentili 445c647438 New phpdoc 2019-09-18 20:46:20 +02:00
Daniil Gentili c5506f5a74 cs-fix 2019-09-14 15:39:42 +02:00
Daniil Gentili 5570f9ddc9 Improvements to web logging 2019-09-14 14:21:11 +02:00
Daniil Gentili f15c8fa278 Fix CHANNEL_INVALID errors 2019-09-12 17:54:43 +00:00
Daniil Gentili 824b62cd10 Fix tests 2019-09-02 17:21:20 +02:00
Daniil Gentili e0b293b9a1 cs-fix 2019-09-02 17:08:36 +02:00
Daniil Gentili ea2b28dbb1 Refactor auth key management 2019-09-01 23:39:29 +02:00
Daniil Gentili d2010cc259 Merge 2019-08-29 18:34:33 +02:00
Daniil Gentili a951ae380f
Async magnaluna and more async bugfixes (#667) 2019-07-18 23:48:35 +02:00
Daniil Gentili 698d0cb59f Parallelize downloads 2019-06-23 17:46:51 +02:00
Daniil Gentili b40a9570c0 Bugfixes and improvements (subrelease) 2019-06-21 21:20:44 +02:00
Daniil Gentili 0a33f69e8b Improve logging and settings logic 2019-06-20 20:21:31 +02:00
Daniil Gentili 48686e0efa Bugfix 2019-06-14 12:36:08 +02:00
Daniil Gentili c09488aa12 Minor fixes 2019-06-13 19:46:58 +02:00
Daniil Gentili 35c20d9bff Final fixes for web login 2019-06-13 14:58:31 +02:00
Daniil Gentili 2d70f51b2c Multiple fixes 2019-06-13 14:43:30 +02:00
Daniil Gentili 3fe04930e7 Better error handling and proxied DNS over HTTPS 2019-06-12 20:51:38 +02:00
Daniil Gentili 73dc3fbcfd Better shutdown and signal logging 2019-06-08 21:01:57 +02:00
Daniil Gentili 3b4d45bd34 Workaround for async init 2019-06-08 13:29:54 +02:00
Daniil Gentili a64e55cbd8 fix 2019-06-07 20:56:40 +02:00
Daniil Gentili 954c64127e Fix 2019-06-07 18:33:06 +02:00
Daniil Gentili 53b72c8a29 Various bugfixes 2019-06-07 00:48:25 +00:00
Daniil Gentili 541f9b67ac Probably improve error handling in strands 2019-06-04 15:06:47 +02:00
Daniil Gentili 5b51d71257 Improved logs 2019-06-04 15:02:39 +02:00
Daniil Gentili a1daca04da
Style fixes 2019-06-04 14:55:58 +02:00
Daniil Gentili fa4cf14ab7 Update fixes and get_self improvements 2019-05-31 17:43:49 +02:00
Daniil Gentili c6b3aa96d0 Update copyrights 2019-05-31 12:18:10 +02:00
Daniil Gentili b339a9d849 Major fixes and refactoring of wrapper APIs 2019-05-22 17:35:16 +02:00
Daniil Gentili 12f8c095c3 Use more callFork 2019-05-13 11:44:48 +02:00
Daniil Gentili 66f84f4b05 Automatic asyncify (1st pass) 2019-05-11 17:01:36 +02:00
Daniil Gentili c993f4d207 Multiple bugfixes 2019-05-10 13:34:44 +02:00
Daniil Gentili 4c52776de9 Fix serialization during async construction 2019-05-03 20:30:30 +02:00
Daniil Gentili 406a2d8aad Async constructor 2019-05-02 21:30:50 +02:00
Daniil Gentili b4cecd9fbd Bugfix 2018-12-31 13:09:46 +00:00
Daniil Gentili 08313ece9c close_and_reopen bugfix 2018-12-28 17:21:04 +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
Daniil Gentili 41c682a12d Fix recursive alphabetical search and implement nothing in the socket fix 2018-08-28 20:55:49 +02:00
Daniil Gentili f3a21fa754 Serialization bugfixes 2018-08-19 11:38:18 +02:00
Daniil Gentili 9993af864c Serialization bugfix 2018-08-19 11:26:55 +02:00
Daniil Gentili 549ead2e25 Apply fixes from StyleCI 2018-04-16 11:58:52 +00:00
Daniil Gentili 5c88cc3e2e Server bugfixes 2018-04-16 13:56:00 +02:00
Daniil Gentili 73e97fc620 Use a custom logger for every instance, create Magic class for shared instance data 2018-04-08 17:44:01 +00:00
Daniil Gentili 537ff239ba Socket interface bugfixes 2018-04-04 15:51:10 +02:00
Daniil Gentili 353f8b6281 Hugely speed up startup 2018-03-24 19:06:01 +01:00
Daniil Gentili 86d146c977 Apply fixes from StyleCI 2018-03-23 15:39:58 +00:00
Daniil Gentili 40567ce3ec Bugfixes 2018-03-23 10:14:29 +00:00
Daniil Gentili beee4159b6 Implemented web UI for my.telegram.org and bugfix 2018-03-22 19:50:57 +00:00