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
b6a517ede5
Fix
2019-09-13 16:55:48 +02:00
Daniil Gentili
848d1f310b
Remove duplicates to avoid problems with PHP 5
2019-09-03 18:30:52 +02:00
Daniil Gentili
d1bbc86d21
Bugfixes
2019-09-02 15:30:29 +02:00
Daniil Gentili
ea2b28dbb1
Refactor auth key management
2019-09-01 23:39:29 +02:00
Daniil Gentili
2c2e33636f
Layer 104
2019-08-15 20:33:07 +02:00
Daniil Gentili
37a9133a6f
Improved 2FA
2019-06-30 15:12:43 +02:00
Daniil Gentili
4cfe1467ff
Properly reset session on logout
2019-06-14 12:00:21 +02:00
Daniil Gentili
059b24d926
Reset update state on logout
2019-06-13 20:05:39 +02:00
Daniil Gentili
fd1234bfbd
Fix
2019-06-06 00:33:11 +02:00
Daniil Gentili
0f6cccf941
Almost done
2019-06-04 23:55:02 +02:00
Daniil Gentili
a1daca04da
Style fixes
2019-06-04 14:55:58 +02:00
Daniil Gentili
df98df1446
Various bugfixes
2019-06-02 16:23:49 +02:00
Daniil Gentili
5e6beafec6
Properly start update system
2019-06-01 22:04:37 +02:00
Daniil Gentili
c6b3aa96d0
Update copyrights
2019-05-31 12:18:10 +02:00
Daniil Gentili
fcad92d7cb
Remove old synchronous methods
2019-05-11 17:55:30 +02:00
Daniil Gentili
c59aae4218
Fixes
2019-03-29 23:30:07 +00:00
Daniil Gentili
7005cdf10a
Multiple async and VoIP improvements
2019-03-29 20:25:42 +01:00
Daniil Gentili
88651371d7
Minor fixes
2019-03-09 20:27:57 +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
87a989d0cf
TOS update, update to layer 81, improve GUI/cli interface
2018-06-29 13:50:14 +02:00
Daniil Gentili
c97aced309
Use non-static logger
2018-04-08 17:53:30 +00:00
Daniil Gentili
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
ea360c3d4d
Beta features ( #326 )
...
* Experimental performance improvements
* Apply fixes from StyleCI
* Support passing numeric ids instead of InputMessage objects, support using t.me links for sendMessage and other methods
* Apply fixes from StyleCI
2018-03-08 12:28:03 +01: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
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
5ba5d61e0f
Apply fixes from StyleCI
2017-12-28 12:13:22 +00:00
Daniil Gentili
21928427b0
Simplify export_authorization
2017-12-28 13:12:44 +01:00
Daniil Gentili
228262e533
Apply fixes from StyleCI
2017-12-23 01:04:43 +00:00
Daniil Gentili
cca40a34ad
Completely rewrite auth key and connection management, proxy fixes.
2017-12-23 02:03:07 +01:00
Daniil Gentili
da912540f9
Apply fixes from StyleCI
2017-11-03 12:02:33 +00: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
379138c476
Fixed logout
2017-08-29 17:41:26 +02:00
Daniil Gentili
f16aa7c63a
Apply fixes from StyleCI
2017-08-13 16:52:32 +00:00
Daniil Gentili
cd87ed8c25
Apply fixes from StyleCI
2017-07-22 12:11:48 +00:00
Daniil Gentili
8535df5908
You can now export/import the current authorization key
2017-07-22 14:11:07 +02:00
Daniil Gentili
0ad8859b6e
Apply fixes from StyleCI
2017-06-06 15:47:42 +00:00
Daniil Gentili
5b869098b9
Remove should_serialize check
2017-06-02 13:27:13 +02:00
Daniil Gentili
86c07f705d
Performance fixes, bugfixes
2017-05-27 22:21:14 +01:00
Daniil Gentili
3684603bd0
bugfix
2017-05-19 11:07:45 +01:00
Daniil Gentili
b67ce553fc
Now byte strings are actually objects, everything is even faster, and more thread safe. Modifying the settings is even easier now.
2017-05-18 11:12:33 +01:00
Daniil Gentili
cc679b3a46
Fix for PERSISTENT_TIMESTAMP_INVALID
2017-04-30 13:33:59 +02:00
Daniil Gentili
290c17b76a
bugfix
2017-04-23 12:15:47 +02:00
Daniil Gentili
21d49d3fd3
small fix
2017-04-23 12:00:09 +02:00
Daniil Gentili
1b57f113aa
Bugfixes, disabled incoming seqno check for the moment
2017-03-24 21:13:12 +01:00
Daniil Gentili
c235afb30f
Added support for 32 bit systems, imimplemented threading.
2017-03-24 21:01:08 +01:00