Commit Graph

58 Commits

Author SHA1 Message Date
4f69701cfc
Update even more typehints 2020-10-03 15:04:35 +02:00
1da9cad6b9
Improved typehints 2020-10-01 21:36:07 +02:00
c9ebdd0fa8 Add PSR logger, remove CombinedAPI 2020-09-27 22:15:16 +02:00
0001a45cd2 Completely refactor settings, remove old (internal and external) APIs, generic code cleanup 2020-09-27 22:15:16 +02:00
Alexander Pankratov
46f7e63734 Async refactor 2020-05-23 15:10:47 +03:00
Alexander Pankratov
0d191f4157 Bugfixes and optimizations 2020-05-23 15:10:47 +03:00
23e3c5b12c
Apply misc fixes 2020-04-05 14:57:33 +02:00
997b3d3b3b
Misc improvements 2020-02-28 15:19:11 +01:00
Sean
dfe9edb132
Update copyrights (#767) 2020-02-17 14:13:46 +01:00
43952841a9
Greatly reduce coroutine overhead 2020-02-05 17:37:01 +01:00
000839a1b5
Yield from all the things 2020-01-31 19:29:43 +01:00
2850c5acfa
Strictly typed API 2019-12-28 17:11:08 +01:00
2720c50ca0
Refactoring and encapsulation 2019-10-31 20:48:06 +01:00
d8dc41e6c3
Change link 2019-10-31 15:07:35 +01:00
612ec4cbe7
save 2019-10-31 15:06:25 +01:00
7a9da5718e
Make everything CamelCase 2019-10-29 21:33:23 +01:00
5570f9ddc9 Improvements to web logging 2019-09-14 14:21:11 +02:00
d968477125 Getdialogs bugfix 2019-09-13 18:32:43 +02:00
e0b293b9a1 cs-fix 2019-09-02 17:08:36 +02:00
a1daca04da
Style fixes 2019-06-04 14:55:58 +02:00
61114c6a92 Fixes and new get_dialogs 2019-06-04 13:27:21 +02:00
b6fc41612a Updated examples and async callbacks 2019-06-01 18:15:14 +02:00
c6b3aa96d0 Update copyrights 2019-05-31 12:18:10 +02:00
c86e9d31fb Continue rewriting update management 2019-05-29 17:19:42 +02:00
453af1208b Fix calls 2019-05-15 22:08:49 +02:00
fc459f5e49 Sm0l fix 2019-05-12 12:36:09 +02:00
7ca89ce869 Asyncify update handling 2019-05-11 20:38:26 +02:00
fcad92d7cb Remove old synchronous methods 2019-05-11 17:55:30 +02:00
bea156f064 Asyncify (4th pass) 2019-05-11 17:17:16 +02:00
cacc792619 Asyncify (2nd pass) 2019-05-11 17:12:17 +02:00
Daniil Gentili
e31555b7a7 More bugfixes and rewriting 2019-04-29 14:42:08 +00: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
935ae7009a Fix get_dialogs (closes #460) 2018-07-01 11:58:39 +02:00
Daniil Gentili
c97aced309 Use non-static logger 2018-04-08 17:53:30 +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
071be3bb80 Reorganizing documentation, rewrote peer management 2018-03-12 21:10:49 +00:00
Daniil Gentili
85ec1c6830 Improved logging 2018-03-02 00:38:10 +00:00
Daniil Gentili
d3cff5e0af Apply fixes from StyleCI 2018-02-24 16:54:39 +00:00
Daniil Gentili
5519782618 Repeat RPC query on internal server errors, improve retry management, improve http client 2018-02-24 16:54:13 +00:00
Daniil Gentili
8a93db8f30 Update copyrights, and add phar creation script 2018-02-20 11:13:43 +00:00
Daniil Gentili
d536ddb5fd Apply fixes from StyleCI 2017-11-08 10:42:06 +00:00
039bca985f
Bugfixes 2017-11-08 13:35:10 +03:00
Daniil Gentili
da912540f9 Apply fixes from StyleCI 2017-11-03 12:02:33 +00:00
Daniil Gentili
c668f5933f Fixes for dialog fetching 2017-10-24 13:43:24 +03:00
Daniil Gentili
5c547f390b Apply fixes from StyleCI 2017-10-06 13:06:31 +00:00
Daniil Gentili
6cf583ec97 Bugfix (closes #184) 2017-10-06 16:06:17 +03:00
Daniil Gentili
a52ff32169 Apply fixes from StyleCI 2017-10-05 11:07:59 +00:00
Daniil Gentili
d076eed6be Bugfix for update handling 2017-10-05 14:07:36 +03:00
Daniil Gentili
a0b1395229 Localization (#195)
* Added localization

* Translate shiz

* Apply fixes from StyleCI

* Localized MadelineProto in italian, wrote translation script

* Apply fixes from StyleCI

* fixes

* Fixes

* Apply fixes from StyleCI

* Just in case

* Apply fixes from StyleCI
2017-10-01 18:37:24 +02:00
Daniil Gentili
2e3551e218 Bugfixes to magnaluna, dialog fetching and phone calls 2017-09-18 09:05:28 +00:00