Commit Graph

116 Commits

Author SHA1 Message Date
Daniil Gentili 77a955c25e
More psalm fixes 2020-04-05 22:22:47 +02:00
Daniil Gentili 23e3c5b12c
Apply misc fixes 2020-04-05 14:57:33 +02:00
Daniil Gentili 5af7130b25
Further public API improvements 2020-02-26 18:12:00 +01:00
Daniil Gentili 86672d6683
Add startAndLoopBackground method 2020-02-26 14:14:26 +01:00
Daniil Gentili e50dd79e70
Send the logfile when reporting errors 2020-02-26 12:45:30 +01:00
Sean dfe9edb132
Update copyrights (#767) 2020-02-17 14:13:46 +01:00
Daniil Gentili 000839a1b5
Yield from all the things 2020-01-31 19:29:43 +01:00
Daniil Gentili e600f91975
Do not rely on old data 2019-12-28 23:53:10 +01:00
Daniil Gentili 894470a147
Refactor public API: full encapsulation and strict typing 2019-12-28 16:07:09 +01:00
Daniil Gentili d8dc41e6c3
Change link 2019-10-31 15:07:35 +01:00
Daniil Gentili 612ec4cbe7
save 2019-10-31 15:06:25 +01:00
Daniil Gentili 75e84f87f9
Clean up 2019-10-31 12:45:19 +01:00
Daniil Gentili 9099aa4f0b
Full static 2019-10-29 23:02:47 +01:00
Daniil Gentili f26665479e Logger bugfix 2019-09-03 18:04:16 +02:00
Daniil Gentili e0b293b9a1 cs-fix 2019-09-02 17:08:36 +02:00
Daniil Gentili 53bf8176f5 Stuffs 2019-07-01 13:14:56 +02:00
Daniil Gentili c451471f78 Setting alias 2019-07-01 10:04:34 +02:00
Daniil Gentili 0a33f69e8b Improve logging and settings logic 2019-06-20 20:21:31 +02:00
Daniil Gentili b65beb3ece Update phpseclib and add smore tests 2019-06-16 21:20:29 +02:00
Daniil Gentili 73dc3fbcfd Better shutdown and signal logging 2019-06-08 21:01:57 +02:00
Daniil Gentili a1daca04da
Style fixes 2019-06-04 14:55:58 +02:00
Daniil Gentili 832df205c4 Finally stabilize dependencies 2019-06-04 14:25:13 +02:00
Daniil Gentili 6a6066b8ad Improved logging and disconnect 2019-06-04 13:49:01 +02:00
Daniil Gentili 120ff0aba9 Multiple fixes 2019-06-03 20:51:10 +02:00
Daniil Gentili df98df1446 Various bugfixes 2019-06-02 16:23:49 +02:00
Daniil Gentili c6b3aa96d0 Update copyrights 2019-05-31 12:18:10 +02:00
Daniil Gentili 2691055b4d Do not use getcwd if disabled 2018-12-29 17:04:16 +00: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 2786aa7bfa Removed unused sanitizations 2018-10-13 16:39:55 +00:00
Daniil Gentili ca59f86b0f Apply fixes from StyleCI 2018-10-13 16:26:46 +00:00
Daniil Gentili 3cb24dc413 Log sanitization 2018-10-13 16:26:31 +00:00
Daniil Gentili b4835f595f More bugfixes 2018-10-13 15:55:44 +00:00
Daniil Gentili c2c3d2544a Bugfixes 2018-10-13 15:12:57 +00:00
Daniil Gentili 0820d61545 Apply fixes from StyleCI 2018-07-13 00:45:34 +00:00
Daniil Gentili 384039eea7 fix 2018-07-13 00:45:14 +00:00
Daniil Gentili 33d95dab58 Apply fixes from StyleCI 2018-06-29 16:16:12 +00:00
Daniil Gentili c1e2c93af7 Merge remote 2018-06-29 18:15:51 +02:00
Daniil Gentili 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
Daniil Gentili b4439668f1 Apply fixes from StyleCI 2018-06-29 12:01:18 +00:00
Daniil Gentili c07ab02c66 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-06-29 14:00:21 +02:00
Daniil Gentili 87a989d0cf TOS update, update to layer 81, improve GUI/cli interface 2018-06-29 13:50:14 +02:00
Daniil Gentili 96f943f78e
Bugfix 2018-06-14 19:46:38 +02:00
Daniil Gentili abe952bcc0
Logger bugfix 2018-06-14 15:04:10 +02:00
Daniil Gentili 81d8cd0868 Improve self-update and add copyright notice 2018-05-10 10:36:09 +00:00
Daniil Gentili 5c88cc3e2e Server bugfixes 2018-04-16 13:56:00 +02:00
Daniil Gentili 1f8ec931e7 Apply fixes from StyleCI 2018-04-08 17:54:08 +00: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 3d4813eb02 Improve logging 2018-03-27 19:31:19 +00:00
Daniil Gentili ed68a88598 Avoid getmypid calls on altervista 2018-03-27 20:48:08 +02:00
Daniil Gentili 353f8b6281 Hugely speed up startup 2018-03-24 19:06:01 +01:00