73384f0bb4
Implement secret chat feeder loop
2020-10-18 18:08:39 +02:00
eca8542be4
Complete overhaul of MTProto message system, parallelized getPwrChat
2020-10-18 14:46:34 +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
ce41b6b60b
Avoid database issues in async TL callbacks
2020-09-12 13:50:49 +02:00
77a955c25e
More psalm fixes
2020-04-05 22:22:47 +02:00
Sean
dfe9edb132
Update copyrights ( #767 )
2020-02-17 14:13:46 +01:00
7ea0d9da91
Yield from even more things
2020-01-31 19:49:58 +01:00
000839a1b5
Yield from all the things
2020-01-31 19:29:43 +01:00
894470a147
Refactor public API: full encapsulation and strict typing
2019-12-28 16:07:09 +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
9099aa4f0b
Full static
2019-10-29 23:02:47 +01:00
7a9da5718e
Make everything CamelCase
2019-10-29 21:33:23 +01:00
e0b293b9a1
cs-fix
2019-09-02 17:08:36 +02:00
c6b3aa96d0
Update copyrights
2019-05-31 12:18:10 +02:00
cacc792619
Asyncify (2nd pass)
2019-05-11 17:12:17 +02:00
66f84f4b05
Automatic asyncify (1st pass)
2019-05-11 17:01:36 +02: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
badc751a0f
Store random_id in internal secret message database
2018-07-19 18:42:30 +02:00
Daniil Gentili
c97aced309
Use non-static logger
2018-04-08 17:53:30 +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
e4a326e552
Http refactor ( #307 )
...
* refactor
* Apply fixes from StyleCI
* Implement https and http transport, add support for new req_pq_multi, send pending acks and objects in containers along with the next method call, remove dependency on the socket extension.
* Apply fixes from StyleCI
* Make types with empty constructors optional, fix phar archives (fixes #217 )
* Apply fixes from StyleCI
* Update to layer 75
* Update github pages gemfile.lock
2018-02-18 14:18:18 +01:00
Daniil Gentili
237638aecf
Apply fixes from StyleCI
2017-12-16 18:08:23 +00:00
Daniil Gentili
8c4ad60f84
Implemented MTProto v2 in secret chats
2017-12-16 18:08:11 +00:00
2ab82c3a70
hotfix
2017-12-12 22:51:54 +01: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
f16aa7c63a
Apply fixes from StyleCI
2017-08-13 16:52:32 +00:00
Daniil Gentili
b2e9930d16
Secret chat fixes
2017-07-30 23:16:05 +02:00
Daniil Gentili
849ee4aa73
Added custom TL exception trace, reduced memory usage, fixed fetching of dialog list
2017-07-26 08:30:48 +02:00
Daniil Gentili
7e729ada7b
Fixes to secret chats and update handling
2017-06-05 12:23:23 +02:00
Daniil Gentili
85b71b2a3e
Secret chat fixes
2017-06-02 13:25:05 +02:00
Daniil Gentili
77923b231d
Apply fixes from StyleCI
2017-06-01 20:21:36 +00:00
Daniil Gentili
a8dc0027f1
Fixes to secret chats
2017-06-01 22:21:15 +02:00
Daniil Gentili
a6e7c2dc6c
More logging while trying to debug
2017-06-01 18:53:05 +02:00
Daniil Gentili
915a0cd180
Clickable buttons, thread safety ( #119 )
...
* I'll just leave this here
* Threading fixes
* Apply fixes from StyleCI
* Composer fixes
* Lots of threading fixes, included all RSA keys
* Apply fixes from StyleCI
* Updated phpseclib
* fixes
* Apply fixes from StyleCI
* final fixes
* git add -A
* Apply fixes from StyleCI
* bugfix
* Fixes
* Apply fixes from StyleCI
* Small fixes
* Final fixes
* Speed improvements
* speed fixes
* Apply fixes from StyleCI
* This is faster than sanic
* Apply fixes from StyleCI
* Final speed fixes
* Apply fixes from StyleCI
* Less logging
* Speed+++
* Apply fixes from StyleCI
* More fixes
* Bug74586Exception
* Apply fixes from StyleCI
* Fixes
* Lemme fix that dumb-ass bug that broke everything
* Apply fixes from StyleCI
* Updated rollbar token
* Fixes for other tcp_* protocols
* Apply fixes from StyleCI
* No need for phpstruct anymore
* Add a conflict (OH NOES pony warfare)
* Less logs, beginning of clickable buttons
* Apply fixes from StyleCI
* Bugfixes, fixed clickable buttons
* Apply fixes from StyleCI
* Better errors
* Apply fixes from StyleCI
* You can now click text buttons
* Apply fixes from StyleCI
2017-05-16 15:12:04 +02:00
Daniil Gentili
6e02d23f6c
Apply fixes from StyleCI
2017-03-31 15:36:55 +00:00
Daniil Gentili
1c81d9dfe7
Fixed secret chats, implemented seqno checking in secret chats, made 32 bit fixes (with maths+++) and general bugfixes
2017-03-31 17:35:20 +02:00
Daniil Gentili
e556f317e2
Apply fixes from StyleCI
2017-03-24 20:01:36 +00:00
Daniil Gentili
c235afb30f
Added support for 32 bit systems, imimplemented threading.
2017-03-24 21:01:08 +01:00