3fe04930e7
Better error handling and proxied DNS over HTTPS
2019-06-12 20:51:38 +02:00
a1daca04da
Style fixes
2019-06-04 14:55:58 +02:00
5e6beafec6
Properly start update system
2019-06-01 22:04:37 +02:00
0c40d6fb58
Slight improvement
2019-06-01 21:24:38 +02:00
660be7ae70
Wrap remaining amphp helper methods
2019-06-01 16:22:44 +02:00
Daniil Gentili
692bcbcb1d
Do not handle empty messages in the example bot
2019-06-01 13:45:07 +00:00
c6b3aa96d0
Update copyrights
2019-05-31 12:18:10 +02:00
32aff162e2
Pretty much working
2019-05-30 15:17:26 +02:00
92635c7948
Update examples
2019-05-12 20:45:14 +02:00
f7bd6a922e
Bugfixes
2019-05-12 20:33:18 +02:00
fc459f5e49
Sm0l fix
2019-05-12 12:36:09 +02:00
a890789a5d
Implement async HTTP request module, fix TLS handshakes in proxies, general proxy improvements and cleanups
2019-05-10 20:01:39 +02:00
Daniil Gentili
6320b2ea89
Poll conversion
2019-05-06 11:25:38 +00:00
cc84816ed1
Async docs and bugfixes
2019-05-03 21:10:56 +02:00
Daniil Gentili
cf7a407368
Last commit before watching endgame
2019-04-28 15:27:50 +00:00
56e8ed7add
Update bot.php
2019-04-08 16:24:29 +02:00
Daniil Gentili
b4cecd9fbd
Bugfix
2018-12-31 13:09:46 +00:00
Daniil Gentili
2691055b4d
Do not use getcwd if disabled
2018-12-29 17:04:16 +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
e026afe089
Apply fixes from StyleCI
2018-10-13 15:13:30 +00:00
Daniil Gentili
c2c3d2544a
Bugfixes
2018-10-13 15:12:57 +00:00
Daniil Gentili
3c8e440ba6
Clean up API ID references
2018-05-08 19:08:09 +00:00
1717c7676a
Apply fixes from StyleCI
2018-04-18 15:22:09 +00:00
Daniil Gentili
ff0f5d00f3
Add support for nearly all update types in get_info
2018-04-18 15:16:33 +00:00
6c84ada369
Apply fixes from StyleCI
2018-04-18 14:12:32 +00:00
1e3ec54ce8
Add socks5 and HTTP proxy, implement authorization in socks5 proxy, implement authorization in http proxy, simplify socket and connection classes
2018-04-18 16:11:59 +02:00
Daniil Gentili
2cb4e80620
Improve examples
2018-03-29 11:53:27 +00:00
Daniil Gentili
86d146c977
Apply fixes from StyleCI
2018-03-23 15:39:58 +00:00
7a0153a139
Documentation rework ( #349 )
...
* Documentation rework
* Apply fixes from StyleCI
* Documentation fixes
* Login as bot through web/cli API, allow using invite links in joinChannel, full invite links in importChatInvite and checkChatInvite, non-invite links in importChatInvite
* Apply fixes from StyleCI
* Logging fixes
* Build docs
* Add methods to modify start template, bugfix to logging and keyboard conversion
* Add TL documentator
* Document MTProto methods
* Documenting methods...
* 7% documented
* Bugfixes
* Update docs
* Update docs
* Simplify file management
* Implement automatic object conversion for media, and more awesome stuff
* Implement automatic object conversion for media, and more awesome stuff
* Implement event update handler and file upload/download callback
* Auto-detect mime type, duration, width and height of media
* Update docs
* Document new file functions
* Fix links
* Fix links
* Update bot.php to use event loop
* Implement webhook update handler and forking in main loop
* Build docs
* Better docs
* Fixes to secret chats
* Almost finished updating docs
* Bugfixes, implemented infinite loop for loop() method, almost finished docs
* Finish writing docs
* Add automatic documentation builder script
* Finished writing docs
2018-03-20 12:48:05 +01:00
Daniil Gentili
071be3bb80
Reorganizing documentation, rewrote peer management
2018-03-12 21:10:49 +00:00
e2aef54979
Multithreading & settings can now be replaced directly on deserialization.
2018-03-02 13:32:48 +01:00
Daniil Gentili
85ec1c6830
Improved logging
2018-03-02 00:38:10 +00:00
Daniil Gentili
8a93db8f30
Update copyrights, and add phar creation script
2018-02-20 11:13:43 +00:00
Daniil Gentili
fde7307f1d
Apply fixes from StyleCI
2018-02-19 12:23:53 +00:00
Daniil Gentili
aaa5177607
Fix CDN files, improve initConnection
2018-02-19 12:23:34 +00:00
Daniil Gentili
ebceeda29b
Stability fixes
2018-02-19 11:48:43 +00:00
Daniil Gentili
a7169969b5
Apply fixes from StyleCI
2018-02-18 15:17:54 +00:00
Daniil Gentili
34867f9d20
Cleanup logger
2018-02-18 15:17:36 +00:00
Daniil Gentili
f2e13cdac1
Fix composer.json syntax
2018-02-18 13:33:17 +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
a1018576a0
Update bot.php
2017-12-23 14:44:15 +01:00
Daniil Gentili
3aa60e8d31
Updated to layer 73
2017-11-15 12:41:58 +00:00
Daniil Gentili
e5da891ac2
Docufix, changed deserialization API, added php 7 check
2017-11-03 15:02:01 +03:00
Daniil Gentili
9ebda4231d
Bugfixes
2017-10-09 13:49:01 +03:00
Daniil Gentili
c4ca3a8d74
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaag
2017-10-08 20:33:48 +03:00
Daniil Gentili
a4b8a39437
Better docs
2017-08-18 13:27:44 +02:00
Daniil Gentili
f16aa7c63a
Apply fixes from StyleCI
2017-08-13 16:52:32 +00:00
Daniil Gentili
a0ce5c483e
i'm good
2017-08-11 17:51:56 +02:00
Daniil Gentili
1c742559cc
Apply fixes from StyleCI
2017-08-01 10:18:14 +00:00
Daniil Gentili
5a2a515f33
fixes
2017-08-01 12:17:53 +02:00