Commit Graph

50 Commits

Author SHA1 Message Date
6ce4de6091
Properly update database settings when deserializing; also enable optional database backend for event handler variables 2020-10-07 16:48:34 +02:00
6eedd54ad3
Update annotations 2020-10-06 20:37:11 +02:00
a21f8205e5
Fix hints 2020-10-04 16:35:33 +02:00
118cf244b1
More type improvements 2020-10-03 15:36:03 +02:00
4f69701cfc
Update even more typehints 2020-10-03 15:04:35 +02:00
967c9b5a93
Improvements for static typing 2020-10-03 12:36:08 +02:00
ca2cbe4ecb
Add missing return typehints 2020-10-01 21:03:25 +02:00
164000b591 Final IPC improvements 2020-09-27 22:15:16 +02:00
69f33dce34
Layer 113 2020-06-16 17:52:55 +02:00
8b80396ddb
Further psalm fixes 2020-04-05 15:33:01 +02:00
23e3c5b12c
Apply misc fixes 2020-04-05 14:57:33 +02:00
b5267beaa2
Refactor and clean up serialization and APIFactory APIs, automatically unreference instance on destruction to clean up memory 2020-02-25 18:02:32 +01:00
Sean
dfe9edb132
Update copyrights (#767) 2020-02-17 14:13:46 +01:00
000839a1b5
Yield from all the things 2020-01-31 19:29:43 +01:00
9b7ae03d8f
Cleanup external API 2020-01-19 13:46:49 +01:00
a63131583b Fix type hinting (now, make sure the API is start()ed before calling get methods 2020-01-03 13:09:42 +01:00
75602e5de0
Make more methods internal 2019-12-28 17:34:04 +01:00
2850c5acfa
Strictly typed API 2019-12-28 17:11:08 +01:00
a83c40b762
Improve public API 2019-12-28 16:45:00 +01:00
894470a147
Refactor public API: full encapsulation and strict typing 2019-12-28 16:07:09 +01:00
be46eb5d13
Fix PHPDOC for void functions 2019-12-28 00:13:39 +01:00
4917fafd3a
Create TON API 2019-12-14 16:47:04 +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
92717a2d05
MUUUAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA BUUURN SNAKES BUUURN MUAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA cough 2019-10-29 22:41:31 +01:00
8ea90f796b
cs-fix 2019-10-29 22:00:21 +01:00
7a9da5718e
Make everything CamelCase 2019-10-29 21:33:23 +01:00
2356d0b14a Multiple bugfixes 2019-09-21 16:52:27 +02:00
30f52aad15 Avoid problems with sync APIs 2019-09-18 21:49:26 +02:00
6c8a43debd Add extra parameter 2019-09-18 21:45:08 +02:00
e3f6774588 Final phpdoc fixes 2019-09-18 21:31:51 +02:00
bbb908ac68 Method phpdoc 2019-09-18 21:21:34 +02:00
445c647438 New phpdoc 2019-09-18 20:46:20 +02:00
b6a517ede5 Fix 2019-09-13 16:55:48 +02:00
e0b293b9a1 cs-fix 2019-09-02 17:08:36 +02:00
c6b3aa96d0 Update copyrights 2019-05-31 12:18:10 +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
Daniil Gentili
8a04c809f8 Bugfixes to documentation builders 2018-04-19 17:56:52 +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
116271ca85 Docufix 2017-08-18 18:10:30 +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
dfd8bf93da HUGE bugfixes and code reorganization, implemented secret chats and a lua wrapper 2017-03-11 19:54:51 +01:00
Daniil Gentili
0824470b71 Apply fixes from StyleCI 2017-01-27 21:05:24 +00:00
danogentili
632ca413d3 Implemented 2FA 2017-01-27 22:04:42 +03:00
danogentili
c18bdd2793 Fixed tests, adding support for PHP 5.4 2017-01-27 15:19:16 +03:00
Daniil Gentili
080942534e Added partial support for http/https connectins, cleaned up docs, updated to layer 62. 2017-01-25 23:16:22 +01:00
Vitor Mattos
36118ee452 Doc (#47)
* Implemented automatic PHPDoc generate

* fix syntax

* fix syntax

* bugfix doc

* bugfix syntax

* bufgix syntax

* Update AnnotationsBuilder.php
2017-01-22 17:40:56 +01:00