Commit Graph

1819 Commits

Author SHA1 Message Date
2118665a29 Bugfixes 2019-06-01 12:47:18 +02:00
fa4cf14ab7 Update fixes and get_self improvements 2019-05-31 17:43:49 +02:00
c7ed411070 Improve message splitting 2019-05-31 15:31:23 +02:00
c6b3aa96d0 Update copyrights 2019-05-31 12:18:10 +02:00
a7b75a1a0a fixes 2019-05-31 00:33:32 +02:00
2039667f82 Minor bugfix 2019-05-30 17:27:22 +02:00
060659dc92 Improved update signaling 2019-05-30 17:22:28 +02:00
9197c7013d Nice fix 2019-05-30 15:39:51 +02:00
be11dcfef1 Check message IDs of messages received with getDiff 2019-05-30 15:25:56 +02:00
32aff162e2 Pretty much working 2019-05-30 15:17:26 +02:00
81302f05fd Minor fixes 2019-05-30 14:19:38 +02:00
d42f677884 Fixes 2019-05-30 14:09:15 +02:00
558afb9183 Finish writing feeder logic 2019-05-30 13:28:50 +02:00
b4114cd5f8 Fixes 2019-05-29 22:36:16 +02:00
5da683f508 Now working (with a huge latency but working) 2019-05-29 22:12:36 +02:00
28928e339f More rewriting 2019-05-29 22:00:51 +02:00
60b20f98f7 More feeders 2019-05-29 18:28:43 +02:00
c86e9d31fb Continue rewriting update management 2019-05-29 17:19:42 +02:00
7f47e3de85 Rewriting update management 2019-05-29 15:17:14 +02:00
ff271bbf68 Reduce latency 2019-05-27 15:42:16 +02:00
ec6ba6ea76 Synchronous my.telegram.org wrapper 2019-05-22 17:50:07 +02:00
b339a9d849 Major fixes and refactoring of wrapper APIs 2019-05-22 17:35:16 +02:00
50b85629ab Whoops 2019-05-15 22:10:53 +02:00
453af1208b Fix calls 2019-05-15 22:08:49 +02:00
f155738b56 Update dependencies 2019-05-14 21:07:25 +02:00
d18d97d208 Improve traces on web 2019-05-13 18:06:16 +02:00
da561de1a9 Improve composer.json and serialization 2019-05-13 17:48:53 +02:00
28afd56d54 Remove some workarounds 2019-05-13 17:34:56 +02:00
Daniil Gentili
d8e85de823 Destroy old _bk connections 2019-05-13 14:15:53 +00:00
fd14f8c6b6 Use custom wait 2019-05-13 13:53:31 +02:00
be9c822d11 Minor bugfixes and performance improvements 2019-05-13 11:38:54 +00:00
afbb08a027 Fixes 2019-05-13 13:07:30 +02:00
12f8c095c3 Use more callFork 2019-05-13 11:44:48 +02:00
48dad117c2 Defer resolution of update deferred 2019-05-13 01:35:53 +02:00
34e957e811 Fixing auto-asyncify 2019-05-13 01:14:45 +02:00
cf456dbeb7 Updates fix 2019-05-13 01:00:22 +02:00
fe1d87af27 Final fixes 2019-05-13 00:22:45 +02:00
6e390a92bb Improvements 2019-05-12 21:23:25 +02:00
56bce59cdb Do not include traits twice 2019-05-12 21:03:13 +02:00
f7bd6a922e Bugfixes 2019-05-12 20:33:18 +02:00
714ade6fbc Some fixes 2019-05-12 16:01:52 +02:00
7dae233bf7 Small bugfix 2019-05-12 14:07:46 +02:00
1b88769aef Async RSA (hehe) 2019-05-12 13:51:16 +02:00
5ec4195173 Async HTTP requests 2019-05-12 13:45:52 +02:00
Daniil Gentili
07043f2d7d whoops 2019-05-12 10:59:52 +00:00
dcb63a2f6d Performance improvements 2019-05-12 12:56:00 +02:00
59bf76aefa Merge remote 2019-05-12 12:37:26 +02:00
fc459f5e49 Sm0l fix 2019-05-12 12:36:09 +02:00
bdd04ff7b3 Simpler async API 2019-05-12 12:06:58 +02:00
Daniil Gentili
1c8159c412 Minor bugfixes 2019-05-12 09:17:19 +00:00
Daniil Gentili
688283e3a0 Async button 2019-05-11 20:29:03 +00:00
d44e35f514 Async button click 2019-05-11 21:04:01 +02:00
fc5f2920a1 Update libtgvoip version 2019-05-11 20:48:04 +02:00
7ca89ce869 Asyncify update handling 2019-05-11 20:38:26 +02:00
240910475f Bugfixes 2019-05-11 18:17:42 +02:00
fcad92d7cb Remove old synchronous methods 2019-05-11 17:55:30 +02:00
db2eadb217 Working on async update management... 2019-05-11 17:33:43 +02:00
caec0e5109 Asyncify (5th and final pass) 2019-05-11 17:18:10 +02:00
bea156f064 Asyncify (4th pass) 2019-05-11 17:17:16 +02:00
d17daf902a Asyncify (3rd pass) 2019-05-11 17:16:13 +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
b9b9e6635d Change a few function names 2019-05-11 16:40:25 +02:00
1b84c2e683 Async factorization 2019-05-11 15:58:54 +02:00
405df0a693 Add missing files 2019-05-11 04:22:32 +02:00
1cb0378a16 f i x i n g a t 3 a m 2019-05-11 01:10:18 +00:00
Daniil Gentili
e83575ffdb Fix path 2019-05-10 23:47:06 +00:00
Daniil Gentili
285bbca44c CombinedAPI and madeline.php improvements 2019-05-10 23:02:15 +00:00
d1be0834cc CombinedAPI bugfix 2019-05-10 21:08: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
d26fa7ef12 CombinedAPI improvements 2019-05-10 15:52:35 +02:00
8dedb13b5e Clean up unused stuff 2019-05-10 14:07:15 +02:00
8d7b910058 Merge branch 'master' of https://github.com/danog/MadelineProto 2019-05-10 13:49:23 +02:00
dee94bab3a CombinedAPI bugfixes 2019-05-10 13:49:16 +02:00
c993f4d207 Multiple bugfixes 2019-05-10 13:34:44 +02:00
Daniil Gentili
6320b2ea89 Poll conversion 2019-05-06 11:25:38 +00:00
52fffa7a68 Improve async docs 2019-05-04 14:08:48 +02:00
cc84816ed1 Async docs and bugfixes 2019-05-03 21:10:56 +02:00
4c52776de9 Fix serialization during async construction 2019-05-03 20:30:30 +02:00
406a2d8aad Async constructor 2019-05-02 21:30:50 +02:00
Daniil Gentili
2e4be09279 Start debugging PTS 2019-04-30 20:11:58 +00:00
Daniil Gentili
e31555b7a7 More bugfixes and rewriting 2019-04-29 14:42:08 +00:00
Daniil Gentili
c21bcba681 Parse peers from smore updates 2019-04-29 11:18:39 +00:00
Daniil Gentili
cf7a407368 Last commit before watching endgame 2019-04-28 15:27:50 +00:00
de1f2445a4 Bugfix 2019-04-28 13:24:05 +02:00
6636b7dfa6 Fix websockes 2019-04-20 17:18:45 +02:00
77c69b1024 Fix autologin 2019-04-04 21:29:08 +02:00
HenkGrent
f5dcaa639c My telegram org wrapper duplication reduction (#594)
* Reduce duplicate  code

* Remove testing code

Not needed.

* Final --> public

* Convention

The code now adheres to the StyleCI's style convention.

* SSStyle

Missed some things

* Three time's the charm

Right
2019-04-02 17:32:14 +02:00
Daniil Gentili
651e1afd66 Improve config fetching 2019-03-30 13:01:47 +00:00
Daniil Gentili
f3ad0acbfe Make web login async 2019-03-30 00:48:03 +00:00
Daniil Gentili
1f9ebfc568 VoIP detection improvements 2019-03-29 23:41:16 +00:00
Daniil Gentili
c59aae4218 Fixes 2019-03-29 23:30:07 +00:00
Daniil Gentili
b306c98e4b Fix 2019-03-29 23:05:29 +00:00
5c1281196a Update docs to layer 97 2019-03-29 21:12:45 +01:00
a5376e91a5 Update to layer 97 2019-03-29 21:06:34 +01:00
7005cdf10a Multiple async and VoIP improvements 2019-03-29 20:25:42 +01:00
Daniil Gentili
e5798a41db Bugfixes 2019-03-28 18:01:20 +00:00
HenkGrent
388bfcecc5 Remove useless self-assignment (#592) 2019-03-14 12:37:33 +01:00
05a2c682e1 Hi 2019-03-13 13:20:41 +01:00
d385e9383b Pony merda (#590)
* Update CallHandler.php

* Update BotAPI.php

* Update CallHandler.php

* pony merda

* Update BotAPI.php

* Update BotAPI.php
2019-03-11 23:45:48 +01:00
169cfe2704
https://git.io/fhjR3 2019-03-11 21:42:15 +01:00
0f2ac77a20
Allow native methods 2019-03-11 21:29:12 +01:00
88651371d7 Minor fixes 2019-03-09 20:27:57 +01:00
e7c4cfbfe6 Update translation 2019-03-08 14:16:57 +01:00
2e3d0c5361 Update to layer 95 2019-03-08 13:44:57 +01:00
Daniil Gentili
bcebd5e0fb Fix memory leak 2018-12-31 14:12:08 +00:00
Daniil Gentili
ef4d176cbd Do not enable AMPHP multiprocessing 2018-12-31 13:11:49 +00:00
Daniil Gentili
b4cecd9fbd Bugfix 2018-12-31 13:09:46 +00:00
Daniil Gentili
06d083aae8 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-12-31 13:08:41 +00:00
5ffae641d2 PFS fixes 2018-12-31 14:02:24 +01:00
Daniil Gentili
2691055b4d Do not use getcwd if disabled 2018-12-29 17:04:16 +00:00
57970e9019 Important bugfix 2018-12-28 18:09:30 +01:00
08313ece9c close_and_reopen bugfix 2018-12-28 17:21:04 +01:00
16087b4863 Add warning 2018-12-28 16:20:03 +01:00
Daniil Gentili
0dfdf0aade Logging fixes 2018-12-28 10:52:25 +00:00
Daniil Gentili
2e428cecd0 More logs 2018-12-28 02:37:00 +00:00
Daniil Gentili
f9b6e29904 More logs 2018-12-28 02:32:10 +00:00
Daniil Gentili
87fdbda399 Ignore headers already sent errors 2018-12-27 23:17:47 +00:00
Daniil Gentili
422589ac2b Restart anyway 2018-12-27 22:52:52 +00:00
bfff131c28 Add additional caching for empty access hashes 2018-12-27 23:26:40 +01:00
2ed2bac6f0 Improve update handling 2018-12-27 23:23:10 +01:00
69505c3e8b Check if headers were sent 2018-12-27 23:10:25 +01:00
aed36aac8d Use 1ms timeout if get_updates timeout is 0 2018-12-27 22:49:32 +01:00
a85a5e0fd1 Move PHP logging 2018-12-27 22:39:31 +01:00
aea8f0c3e3 Enable shutdown function and lock manager even on unlimited webhosts 2018-12-27 22:24:45 +01:00
6e366c5c08 Disable parallel processing on phar 2018-12-27 22:05:02 +01:00
1e259ae6c8 Improve update handling logic 2018-12-27 21:57:28 +01:00
0e69468a5a Implement PHP logging 2018-12-27 21:24:33 +01:00
79b0e647f5 Enable PHP logging 2018-12-27 21:22:47 +01:00
812dc89bc2 Implement locking for event handler 2018-12-27 21:15:43 +01:00
a0bc08b33e Protocol padding fixes 2018-12-27 18:22:05 +01:00
79f7d92767 Async file upload with sendMedia & callback fixes 2018-12-27 18:17:18 +01:00
e5582beb87 Logging bugfix 2018-12-27 17:16:49 +01:00
Daniil Gentili
73f5bec68f Fix reset_update_state 2018-12-27 12:24:55 +00:00
Daniil Gentili
f31af1d645 Terminate generators when YieldReturnValue is yielded 2018-12-27 11:59:48 +00:00
Daniil Gentili
5b83cd9322 Add reset_update_state method 2018-12-27 11:27:05 +00:00
Daniil Gentili
69a2131206 Support yield return polyfill 2018-12-27 02:47:21 +00:00
Daniil Gentili
fadf967e6a Convert edit updates in file info fetching function (closes #518) 2018-12-27 00:39:31 +00:00
Daniil Gentili
a2fc5e9c94 get_updates fix 2018-12-26 22:46:10 +00:00
Daniil Gentili
495e543238 Do not even try using parallel processing if not running in CLI 2018-12-26 21:53:10 +00:00
Daniil Gentili
d0829a6f96 Parallel bugfix 2018-12-26 20:57:46 +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
367b0536b9 Apply fixes from StyleCI 2018-11-10 19:57:02 +00:00
91a3b029b1
Update Events.php 2018-11-10 20:56:38 +01:00
Sean
4c1096a49a Add Syntax Highlight for Document Generator (#519)
Add PHP, Lua language tag to Code area
2018-10-21 12:12:26 +02:00
Daniil Gentili
2786aa7bfa Removed unused sanitizations 2018-10-13 16:39:55 +00:00
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
ec42f14bf9 Apply fixes from StyleCI 2018-10-13 16:07:07 +00:00
Daniil Gentili
52e670d7a5 Tweakable part size 2018-10-13 16:06:51 +00:00
Daniil Gentili
b4835f595f More bugfixes 2018-10-13 15:55:44 +00:00
Daniil Gentili
deee5a4dfd Add PrettyException to ConversionException 2018-10-13 15:26:59 +00:00
Daniil Gentili
c2c3d2544a Bugfixes 2018-10-13 15:12:57 +00:00
980d0b1fb1 Support php-libtgvoip alpha 2018-09-03 17:32:43 +02:00
aa561316d6 Apply fixes from StyleCI 2018-08-31 12:25:45 +00:00
c74b97035e Make more objects optional 2018-08-31 14:25:28 +02:00
Daniil Gentili
c25da356a6 Peer bugfix 2018-08-30 20:49:58 +00:00
3eca1368b2 Apply fixes from StyleCI 2018-08-30 18:02:40 +00:00
c86488a244 Implement lots of additional peer casting 2018-08-30 19:58:58 +02:00
5de602a1fd Fixes to the update loop 2018-08-29 17:55:56 +02:00
0a91935cc1 Docufixes 2018-08-29 17:27:28 +02:00
32e45b83f6 Implement hash abstracion 2018-08-29 17:16:38 +02:00
b304e6b923 Docufix 2018-08-29 11:25:49 +02:00
837c541ea7 Apply fixes from StyleCI 2018-08-28 18:58:20 +00:00
41c682a12d Fix recursive alphabetical search and implement nothing in the socket fix 2018-08-28 20:55:49 +02:00
9eeabaa81b Small bugfix 2018-08-19 19:33:08 +02:00
f3a21fa754 Serialization bugfixes 2018-08-19 11:38:18 +02:00
9993af864c Serialization bugfix 2018-08-19 11:26:55 +02:00
Daniil Gentili
54b505328b webhook bugfixes 2018-08-09 08:15:09 +00:00
d5758e1855 Apply fixes from StyleCI 2018-08-02 12:12:44 +00:00
Daniil Gentili
4121a3f017 Bugfixes and performance improvements 2018-08-02 12:12:07 +00:00
c04a05f0ac Apply fixes from StyleCI 2018-07-19 16:58:17 +00:00
Daniil Gentili
75456bfad4 Send TTL service messages to update handler 2018-07-19 16:57:15 +00:00
badc751a0f Store random_id in internal secret message database 2018-07-19 18:42:30 +02:00
6fcd5247b1 Secret chat abstraction improvements 2018-07-19 17:03:08 +02:00
28b53ae8cf Bugfixes 2018-07-19 12:04:17 +02:00
f1b6802676 TL bugfixes 2018-07-17 16:07:46 +02:00
90896a46df Apply fixes from StyleCI 2018-07-13 15:21:08 +00:00
94f20292c3 Bugfixes to combined API, perfomance improvements, additional internal processing for config/user updates 2018-07-13 17:20:47 +02:00
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
5d3d899b34 Apply fixes from StyleCI 2018-07-12 19:03:54 +00:00
e6157986b8 TL schema path bugfix 2018-07-12 21:03:30 +02:00
28436dedc1 Bugfix 2018-07-12 19:24:01 +02:00
073ca172f6 Apply fixes from StyleCI 2018-07-11 14:39:53 +00:00
40857b705e parse_mode fixes 2018-07-11 16:39:38 +02:00
0675fba227 Update localization 2018-07-11 15:55:22 +02:00
4d63ec408c Apply fixes from StyleCI 2018-07-11 13:16:12 +00:00
fe8c384cab Add combined API 2018-07-11 15:01:09 +02:00
a1de0903e5 Bugfix 2018-07-09 21:45:09 +02:00
b89e41a650 Apply fixes from StyleCI 2018-07-07 17:50:03 +00:00
62ea79cc06 Various bugfixes and abstractions 2018-07-07 19:48:10 +02:00
935ae7009a Fix get_dialogs (closes #460) 2018-07-01 11:58:39 +02:00
Daniil Gentili
6947d1b034 Use media DCs for file operations 2018-06-29 18:08:33 +00:00
33d95dab58 Apply fixes from StyleCI 2018-06-29 16:16:12 +00:00
c1e2c93af7 Merge remote 2018-06-29 18:15:51 +02:00
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
b4439668f1 Apply fixes from StyleCI 2018-06-29 12:01:18 +00:00
c07ab02c66 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-06-29 14:00:21 +02:00
87a989d0cf TOS update, update to layer 81, improve GUI/cli interface 2018-06-29 13:50:14 +02:00
4520635d27 Apply fixes from StyleCI 2018-06-22 11:35:08 +00:00
092cc44d75 HHVM fixes 2018-06-22 13:28:33 +02:00
96f943f78e
Bugfix 2018-06-14 19:46:38 +02:00
abe952bcc0
Logger bugfix 2018-06-14 15:04:10 +02:00
4bbd6c0b59 File download bugfix 2018-05-25 17:35:03 +02:00
495294eb12 Hotfix 2018-05-25 16:22:27 +02:00
4dec37395f Add zerobias conversion module 2018-05-17 15:23:32 +02:00
Daniil Gentili
2fdb33d2e4
Update MTProto.php 2018-05-14 20:22:08 +02:00
Daniil Gentili
81d8cd0868 Improve self-update and add copyright notice 2018-05-10 10:36:09 +00:00
c6fdf8d10b Apply fixes from StyleCI 2018-05-10 09:44:40 +00:00
Daniil Gentili
b4e6d022ed Better logging 2018-05-10 09:26:30 +00:00
Daniil Gentili
dd43474e75 Reduce memory usage 2018-05-09 11:37:58 +00:00
0b0fe4c32f Apply fixes from StyleCI 2018-05-08 12:52:36 +00:00
Daniil Gentili
36850e70d6 More logs 2018-05-08 12:49:55 +00:00
Daniil Gentili
95a9a0a07c Another bugfix 2018-05-08 12:35:05 +00:00
Daniil Gentili
e13d28ecda More bugfixes 2018-05-08 11:08:34 +00:00
c00c7c600d bugfixes 2018-05-07 20:02:39 +02:00
d92c398716
Better logging 2018-05-05 11:53:25 +02:00
7caee27e93 Apply fixes from StyleCI 2018-05-04 10:54:11 +00:00
Daniil Gentili
fa1ea67f8e Properly manage media server FLOOD_WAIT_ errors 2018-05-04 10:53:52 +00:00
Daniil Gentili
5b60992ecb Update magnaluna 2018-05-04 10:21:33 +00:00
7e4227e3de Do not drop duplicate message ID updates if they're edited messages 2018-04-26 12:18:43 +02:00
Daniil Gentili
8a04c809f8 Bugfixes to documentation builders 2018-04-19 17:56:52 +00:00
8aae939d7d Apply fixes from StyleCI 2018-04-19 17:18:31 +00:00
dd6f8afc68 Fixes to stream wrapper and bytes wrapper 2018-04-19 19:16:25 +02:00
ac56bd7bdd PTS bugfixes 2018-04-19 15:44:37 +02:00
0fbc6cbb13 Minor bugfixes 2018-04-19 13:16:16 +02:00
Daniil Gentili
d4ca6c7fa0 bugfix 2018-04-18 19:48:57 +00:00
Daniil Gentili
ff0f5d00f3 Add support for nearly all update types in get_info 2018-04-18 15:16:33 +00:00
771e34d332 Bugfixes to HTTP proxy 2018-04-18 16:40:40 +02:00
e0ceb0f39c HTTP fixes 2018-04-18 16:19:58 +02: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
4f28c22a4b Bugfix 2018-04-17 21:51:54 +00:00
5344f8d586 Started implementing logic to bypass Russian blocks 2018-04-17 11:29:22 +02:00
24dddf069e Bugfix 2018-04-17 11:21:17 +02:00
17a93ac7a7 Apply fixes from StyleCI 2018-04-17 09:19:13 +00:00
552e1a3182 Cleanup 2018-04-17 11:18:40 +02:00
513a5933fe Cleanup 2018-04-17 11:17:44 +02:00
0c537e133f Apply fixes from StyleCI 2018-04-17 08:40:34 +00:00
e600aa0c43 Bugfixes to server, logging and serialization 2018-04-17 10:39:55 +02:00
1a48e8224e Avoid logger problems 2018-04-16 14:23:13 +02:00
549ead2e25 Apply fixes from StyleCI 2018-04-16 11:58:52 +00:00
040babd24d Merge branch 'master' of https://github.com/danog/MadelineProto 2018-04-16 13:57:48 +02:00
5c88cc3e2e Server bugfixes 2018-04-16 13:56:00 +02:00
rik43
ccef4bc4f0 typo in var name (#394) 2018-04-15 12:00:18 +02:00
rik43
83f810a825 wrong var name (#395) 2018-04-15 11:59:56 +02:00
5948b17e88 Apply fixes from StyleCI 2018-04-14 13:01:52 +00:00
965feb3ba4 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-04-14 15:00:58 +02:00
1d41c13c0e Finish slapping together tdesktop conversion module 2018-04-14 15:00:46 +02:00
d8a61db7ac Start writing tdesktop conversion 2018-04-12 21:46:19 +02:00
be913fac3c Apply fixes from StyleCI 2018-04-11 18:27:29 +00:00
f246f5aa40 Add conversion class for sessions generated by other clients 2018-04-11 20:27:02 +02:00
Daniil Gentili
b51ce6cd73 Small bugfix for media conversion 2018-04-09 20:02:41 +00:00
1f8ec931e7 Apply fixes from StyleCI 2018-04-08 17:54:08 +00:00
Daniil Gentili
c97aced309 Use non-static logger 2018-04-08 17:53:30 +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
aff335c5dd Apply fixes from StyleCI 2018-04-04 18:16:07 +00:00
50fa348eca Cleanup 2018-04-04 20:15:38 +02:00
044f3ab63d Merge branch 'master' of https://github.com/danog/MadelineProto 2018-04-04 20:14:59 +02:00
ba6aeafc4c More SEO improvements 2018-04-04 20:11:59 +02:00
84f756b79d Improve SEO 2018-04-04 19:52:41 +02:00
c905063a73 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-04-04 17:41:13 +02:00
537ff239ba Socket interface bugfixes 2018-04-04 15:51:10 +02:00
1bf722aa73 Apply fixes from StyleCI 2018-04-01 19:03:27 +00:00
d8d8da47d1 Bugfix 2018-04-01 21:03:08 +02:00
b8eea05f64 Small bugfix 2018-04-01 20:40:24 +02:00
e1a0ced257 Apply fixes from StyleCI 2018-04-01 17:31:17 +00:00
Daniil Gentili
e8b77cb722 Final improvements 2018-04-01 17:30:57 +00:00
caaffb60f1 Apply fixes from StyleCI 2018-04-01 17:23:39 +00:00
588aea5c8e Stability fixes 2018-04-01 19:23:20 +02:00
98d624da91 Apply fixes from StyleCI 2018-03-31 16:19:11 +00:00
5a2e547c99 Improvements for update fetching on altervista 2018-03-31 18:18:48 +02:00
cbbb5069b2 Apply fixes from StyleCI 2018-03-31 00:50:58 +00:00
Daniil Gentili
fbc774d995 Implement fully passive update polling 2018-03-31 00:50:17 +00:00
Daniil Gentili
0368e2daf2 Merge branch 'voip' of https://github.com/danog/Madelineproto 2018-03-30 19:17:15 +00:00
Daniil Gentili
60d1485d46 PHP 5 fixes 2018-03-30 09:27:21 +00:00
Daniil Gentili
44d53b1c09 Merge 2018-03-30 09:24:11 +00:00
Daniil Gentili
88592caab1 Keep the VoIP class in the VoIP branch for now 2018-03-30 09:23:08 +00:00
acb73834d4 Apply fixes from StyleCI 2018-03-29 21:05:15 +00:00
Daniil Gentili
91fa43094d Add loop callback method in event handler, add support for secret chats in sendMessage, update magnaluna 2018-03-29 21:04:50 +00:00
a5246e782d Apply fixes from StyleCI 2018-03-29 11:25:42 +00:00
cf974a2d0a Implement select in DataCenter class, continue writing VoIP implementatino 2018-03-29 13:25:15 +02:00
2c83a555fc Avoid loading alpha VoIP class 2018-03-28 19:55:26 +02:00
327b88e092 Apply fixes from StyleCI 2018-03-28 17:48:16 +00:00
d2616003a1 Start implementing libtgvoip natively 2018-03-28 19:47:50 +02:00
Daniil Gentili
0dcd3d9c43 Extract chat ID from service messages 2018-03-27 22:46:06 +00:00
Daniil Gentili
3d4813eb02 Improve logging 2018-03-27 19:31:19 +00:00
ed68a88598 Avoid getmypid calls on altervista 2018-03-27 20:48:08 +02:00
Daniil Gentili
e7c595c0a2 Apply fixes from StyleCI 2018-03-27 14:49:55 +00:00
54fea08591 Bugfixes to account creation 2018-03-27 16:49:39 +02:00
Daniil Gentili
dc0dcf76c6 Apply fixes from StyleCI 2018-03-27 13:42:18 +00:00
622f37fb2d Bugfixes 2018-03-27 15:41:58 +02:00
7c73af5aa0 Improve docs 2018-03-27 14:41:50 +02:00
87ebab50ce
Fix my.telegram.org app creation 2018-03-26 13:27:31 +02:00
Daniil Gentili
0f061174f3 Fixes to channel difference 2018-03-25 17:20:28 +00:00
Daniil Gentili
bed23694c4 Fixes to channel difference 2018-03-25 17:19:50 +00:00
Daniil Gentili
164f833f92 Apply fixes from StyleCI 2018-03-25 17:17:28 +00:00
Daniil Gentili
04b84741a3 Fixes to channel difference 2018-03-25 17:17:05 +00:00
353f8b6281 Hugely speed up startup 2018-03-24 19:06:01 +01:00
8d1f8c401e Bugfixes and improvements to magnaluna 2018-03-24 16:22:13 +01:00
f00cd63df8 Fixes to docs 2018-03-24 13:48:27 +01:00
Daniil Gentili
cfe4a038f0 Add method to report a message in a supergrup/channel for spam 2018-03-24 10:23:45 +00:00
27d627279c API docufix 2018-03-23 19:04:39 +01:00
56a4162f3a Improve docs.madelineproto.xyz/API_docs/methods 2018-03-23 18:48:18 +01:00
5fcbf77b99 Improvements to web UI 2018-03-23 18:23:28 +01:00
1847e4071e Sort method descriptions alphabetically 2018-03-23 18:14:25 +01:00
a380c1856d Add method names in dot notation next to the descriptions 2018-03-23 18:08:39 +01:00
362d7f61a3 Cleanup docs 2018-03-23 17:59:56 +01:00
39dda6b00e Small fix 2018-03-23 17:50:03 +01:00
c68403b35f Create new simplified description-only documentation 2018-03-23 17:48:12 +01:00
0e76373a35 Finish documenting methods 2018-03-23 17:44:33 +01:00
Daniil Gentili
86d146c977 Apply fixes from StyleCI 2018-03-23 15:39:58 +00:00
1cb3c35ac8 Build documentation 2018-03-23 16:23:49 +01:00
54f6d5fb13 Almost finished documenting methods 2018-03-23 16:19:48 +01:00
Daniil Gentili
feefb91feb Documenting methods... 2018-03-23 11:35:00 +00:00
Daniil Gentili
4c7e1bad87 bugfix 2018-03-23 10:35:50 +00:00
Daniil Gentili
40567ce3ec Bugfixes 2018-03-23 10:14:29 +00:00
Daniil Gentili
838a1c0169 Add missing traits 2018-03-22 21:23:46 +00:00
Daniil Gentili
beee4159b6 Implemented web UI for my.telegram.org and bugfix 2018-03-22 19:50:57 +00:00
Daniil Gentili
a18cfa28ef Do not resend query right away if not on altervista 2018-03-22 11:22:25 +00:00
Daniil Gentili
eae850eedb Improve retry management on unstable connections, peformance improvements 2018-03-22 02:07:44 +00:00
e8a349fa7b
Update and rename HTTPProxy.php to CustomHTTPProxy.php 2018-03-21 21:44:15 +01:00
Daniil Gentili
8ee71afccb Support altervista.org out of the box 2018-03-21 20:29:20 +00:00
Daniil Gentili
209dde1a89 Throw USERNAME_INVALID errors 2018-03-21 17:27:47 +00:00
Daniil Gentili
c8a19d9f89 Speed up deserialization 2018-03-21 13:12:31 +00:00
7aafde0d8d Improve documentation 2018-03-21 12:09:14 +01:00
c6ae9a9255 Update PrimeModule dependency and finish writing socket interface 2018-03-21 11:59:56 +01:00
449264ed69 Fix bug in web UI 2018-03-20 22:56:57 +01:00
dcec2787ed Update docs 2018-03-20 22:18:19 +01:00
5d57935c37 Clearer examples 2018-03-20 19:57:36 +01:00
c156beb00e Add missing pages 2018-03-20 19:53:12 +01:00
78932e02d0 Docufix 2018-03-20 19:43:34 +01:00
24414ad22f docufix 2018-03-20 19:39:53 +01:00
a6232fa43c Bugfixes 2018-03-20 17:20:19 +01:00
af8443caf2 Throw flood waits in resolve_username 2018-03-20 16:52:26 +01:00
214471bc60 Simplified docs.madelineproto.xyz 2018-03-20 16:42:05 +01:00
Daniil Gentili
ba9b397ddf Bugfix 2018-03-20 15:00:24 +00:00
Daniil Gentili
1b349d93da Update docs 2018-03-20 14:47:34 +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
c6a0a04731 Apply fixes from StyleCI 2018-03-16 14:10:29 +00:00
marcosramirezaranda
d45d2d887e add HTTP Proxy Support (#335)
* Add support for HTTP Proxy

* fix small typo

* forgot git add ...

* reverts to use numeric protocol in HTTPProxy::__construct
2018-03-16 15:10:22 +01:00
Daniil Gentili
63823fc3cc Apply fixes from StyleCI 2018-03-14 14:30:22 +00:00
Daniil Gentili
1f07833322 Improvements to serialization and peer management 2018-03-14 14:29:38 +00:00
Daniil Gentili
3c16430b06 Improvements to update and peer handling. 2018-03-14 12:36:50 +00:00
Daniil Gentili
fdfe18a0a6 Bugfix 2018-03-13 23:28:08 +00:00
Daniil Gentili
d477b24695 Bugfix 2018-03-13 19:36:50 +00:00
Daniil Gentili
986fa3497e Apply fixes from StyleCI 2018-03-13 14:30:47 +00:00
f94d4804dd Bugfixes to prime factorization 2018-03-13 15:30:34 +01:00
Daniil Gentili
f73b4645af Bugfix to update handling 2018-03-13 12:21:28 +00:00
Daniil Gentili
d60fad2ea4 Reenable PWRTelegram getmtprotoupdates 2018-03-13 11:59:31 +00:00
Daniil Gentili
69d493e75e Apply fixes from StyleCI 2018-03-13 11:51:53 +00:00
Daniil Gentili
d53469ee0e Improve update management and documentation 2018-03-13 11:51:37 +00:00
Daniil Gentili
0918be3060 Apply fixes from StyleCI 2018-03-12 21:11:18 +00:00
Daniil Gentili
071be3bb80 Reorganizing documentation, rewrote peer management 2018-03-12 21:10:49 +00:00
Daniil Gentili
0d2ed128ac Improvements to peer management 2018-03-12 00:29:51 +00:00
Daniil Gentili
40086f7da1 Apply fixes from StyleCI 2018-03-11 17:36:58 +00:00
Daniil Gentili
d833b0cff8 Bugfixes to peer management 2018-03-11 17:36:32 +00:00
Daniil Gentili
c26a5aaf77 Apply fixes from StyleCI 2018-03-11 15:33:56 +00:00
Daniil Gentili
267b3d4ed4 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-03-11 15:33:37 +00:00
Daniil Gentili
2059070322 Bugfix 2018-03-11 15:33:25 +00:00
Daniil Gentili
e1963c2ade Apply fixes from StyleCI 2018-03-11 15:16:24 +00:00
Daniil Gentili
8c4b65762f Stability improvements 2018-03-11 15:16:00 +00:00
rik43
5a6e60eada windows paths compatibility (#332) 2018-03-11 15:30:25 +01:00
Daniil Gentili
b1a39aa098 Apply fixes from StyleCI 2018-03-11 14:29:50 +00:00
Daniil Gentili
a2160c9008 Implement participant caching and hash generation 2018-03-11 14:29:27 +00:00
root
5d9982efa4 Improvements to DC and settings management 2018-03-10 18:09:38 +01:00
Daniil Gentili
cd8abc2b89 Allow manual channels.getParticipants 2018-03-10 03:39:10 +00:00
Daniil Gentili
2048403893 Apply fixes from StyleCI 2018-03-10 02:56:57 +00:00
Daniil Gentili
f543115088 Allow fetching more than 10k channel/group participants 2018-03-10 02:56:33 +00:00
Daniil Gentili
457b749d6d Apply fixes from StyleCI 2018-03-09 17:43:11 +00:00
Daniil Gentili
e8f2ae85c8 Avoid problems with corrupted settings 2018-03-09 17:42:55 +00:00
Daniil Gentili
9436468bd0 Increase version 2018-03-09 17:01:47 +00:00
Daniil Gentili
770c1c89d5 Apply fixes from StyleCI 2018-03-09 16:39:36 +00:00
Daniil Gentili
87f2ec50ac Improve peer management and connection management 2018-03-09 16:39:13 +00:00
Daniil Gentili
9de3f24215 Apply fixes from StyleCI 2018-03-08 21:20:33 +00:00
aa04b5e8af Bugfixes 2018-03-08 22:20:19 +01:00
d4405566ea Bugfixes 2018-03-08 22:19:03 +01:00
Daniil Gentili
f9c689e0aa Documentation fixes 2018-03-08 11:34:43 +00:00
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
b5dba1ec3e Apply fixes from StyleCI 2018-03-05 16:48:36 +00:00
05f44fbea4 Interpret HTTP transport errors as MTProto errors 2018-03-05 17:47:55 +01:00
Daniil Gentili
0f6f80c7de Apply fixes from StyleCI 2018-03-05 14:58:55 +00:00
bf5443daa4 merge 2018-03-05 15:58:36 +01:00
a2255fa7ad Improvements to socket interface and TL parser 2018-03-05 15:57:35 +01:00
Daniil Gentili
0a63addd0f Apply fixes from StyleCI 2018-03-04 16:50:54 +00:00
Daniil Gentili
cd0d617dc1 Fix syntax mistake 2018-03-04 16:50:21 +00:00
Daniil Gentili
9f428b3e4c Apply fixes from StyleCI 2018-03-04 16:43:06 +00:00
e9dc0ba6f6 Implement socket interface 2018-03-04 17:42:48 +01:00
c218517673 HTTP fixes 2018-03-04 14:37:45 +01:00
Daniil Gentili
cedc57d4bf Apply fixes from StyleCI 2018-03-04 13:17:25 +00:00
6887837b31 Better fork management 2018-03-04 14:17:12 +01:00
Daniil Gentili
ef0059bf08 Do not serialize if API is null 2018-03-04 12:16:35 +00:00
Daniil Gentili
73732a8ad2 Avoid useless getmypid call 2018-03-04 12:05:00 +00:00
Daniil Gentili
5e48b82174 Avoid problems with getpid on webhosts 2018-03-04 12:00:35 +00:00
Daniil Gentili
6604623188 Apply fixes from StyleCI 2018-03-04 00:00:18 +00:00
Daniil Gentili
88c9e18517 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-03-03 23:59:49 +00:00
Daniil Gentili
d23083bd5a Improvement to TL parameter regex 2018-03-03 23:59:07 +00:00
Daniil Gentili
c638ad10ac Performance improvements and documentation fixes 2018-03-03 23:41:26 +00:00
Daniil Gentili
0aef3ee897 Apply fixes from StyleCI 2018-03-03 18:16:20 +00:00
Daniil Gentili
b2b5c97753 Improve retry management 2018-03-03 18:16:01 +00:00
Daniil Gentili
28921b4db4 Apply fixes from StyleCI 2018-03-03 17:23:27 +00:00
9014506ef5 Start implementing socket API 2018-03-03 18:23:12 +01:00
Daniil Gentili
0994ef99bd Apply fixes from StyleCI 2018-03-03 16:56:23 +00:00
ed68ae9549 Merge branch 'beta' of https://github.com/danog/MadelineProto 2018-03-03 17:55:58 +01:00
12a1da2015 Implement custom mb_strlen function 2018-03-03 17:55:45 +01:00
Daniil Gentili
d019befcb3 Apply fixes from StyleCI 2018-03-03 14:43:14 +00:00
606e55d8c6 Fix syntax mistake 2018-03-03 15:42:25 +01:00
Daniil Gentili
ec0a5e4190 Merge branch 'beta' of https://github.com/danog/MadelineProto into beta 2018-03-02 23:24:19 +00:00
Daniil Gentili
b44b04d09a Better logging 2018-03-02 23:24:03 +00:00
Daniil Gentili
c39b28122b Apply fixes from StyleCI 2018-03-02 23:22:15 +00:00
Daniil Gentili
f2d107df90 Throw exceptions on markdown parsing errors 2018-03-02 23:21:49 +00:00
Daniil Gentili
6610e69502 Apply fixes from StyleCI 2018-03-02 18:51:01 +00:00
c329b4a527 Add support for tg://user?id= syntax mentions 2018-03-02 19:47:47 +01:00
Daniil Gentili
05a73fbe31 Apply fixes from StyleCI 2018-03-02 12:33:22 +00:00
e2aef54979 Multithreading & settings can now be replaced directly on deserialization. 2018-03-02 13:32:48 +01:00
e515e9d103 Bugfix 2018-03-02 12:08:41 +01:00
Daniil Gentili
bd3be419ac Apply fixes from StyleCI 2018-03-02 00:45:32 +00:00
Daniil Gentili
85ec1c6830 Improved logging 2018-03-02 00:38:10 +00:00
Daniil Gentili
ab0e0f06dd Apply fixes from StyleCI 2018-03-01 23:39:37 +00:00
Daniil Gentili
e82f6fd0ba Reconnect on socket issues if using http 2018-03-01 23:39:15 +00:00
Daniil Gentili
02ca94c04f Apply fixes from StyleCI 2018-03-01 23:01:15 +00:00
Daniil Gentili
214823f0c0 Fix nothing in the socket exceptions, memory leaks, peer handler issues 2018-03-01 23:00:50 +00:00
Daniil Gentili
05aa720c5d Delete invalid settings 2018-03-01 20:33:16 +00:00
Daniil Gentili
95dde221cc Apply fixes from StyleCI 2018-03-01 19:49:56 +00:00
Daniil Gentili
b4efa8bf88 Backward compatibility and bugfixes 2018-03-01 19:49:22 +00:00
4f7c6c6936 Better connection management 2018-03-01 18:47:54 +01:00
Daniil Gentili
f2b4eb3c00 Specify DC id in incoming/outgoing logs 2018-03-01 17:33:37 +00:00
Daniil Gentili
be121c1a53 Apply fixes from StyleCI 2018-03-01 17:30:49 +00:00
Daniil Gentili
20e2e43d29 Better auth key & DC management 2018-03-01 17:30:27 +00:00
Daniil Gentili
5741acc9a3 Apply fixes from StyleCI 2018-03-01 12:22:32 +00:00
6acacdaa00 Better logging, better ack management 2018-03-01 13:22:18 +01:00
Daniil Gentili
01c02d5c12 Apply fixes from StyleCI 2018-03-01 01:01:55 +00:00
79f42f31e5
Populate $last_error 2018-03-01 02:01:48 +01:00
6db82f0dc2
Use the same message I don't when repeating any query 2018-03-01 01:14:30 +01:00
Daniil Gentili
3fc6fe922e Reconnect on NothinInTheSocketExceptions 2018-02-28 20:32:06 +00:00
Daniil Gentili
d015455d90 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-02-28 19:18:45 +00:00
Daniil Gentili
7a2e51bb05 Scheme update 2018-02-28 19:18:27 +00:00
Daniil Gentili
72705f9ddb Apply fixes from StyleCI 2018-02-28 12:44:40 +00:00
Daniil Gentili
34592383ed Fixes for bad message notifications, ignore constructors from old layers and different flags 2018-02-28 12:43:45 +00:00
Daniil Gentili
bbe24e70d9 Use http_wait instead of ping to wakeup closed sockets, add debugging phar creation script 2018-02-26 02:30:22 +00:00
Daniil Gentili
d5fe532e22 Handle bad_msg_notifications in response to containers 2018-02-25 19:51:20 +00:00
Daniil Gentili
782e145072 Apply fixes from StyleCI 2018-02-25 16:50:03 +00:00
Daniil Gentili
633aee1019 Allow deserialization from relative paths in phar 2018-02-25 16:49:40 +00:00
Daniil Gentili
79618223b7 Improve peer management and phar creation, implement secondary auto-update mechanism 2018-02-25 16:17:28 +00:00
eddbb40f34
Log on closed socket ping 2018-02-25 14:34:48 +01:00
Daniil Gentili
bfdf38b6d1 Apply fixes from StyleCI 2018-02-25 12:29:46 +00:00
Daniil Gentili
afb15deb9e Improve management of connections and server errors 2018-02-25 12:29:20 +00:00
Daniil Gentili
d547164e7c Apply fixes from StyleCI 2018-02-25 10:28:20 +00:00
Daniil Gentili
451db040b5 Improve http transport 2018-02-25 10:27:12 +00:00
Daniil Gentili
2b126a0755 Update docs.madelineproto.xyz 2018-02-25 10:17:45 +00:00
Daniil Gentili
1ecd81ee82 Apply fixes from StyleCI 2018-02-25 09:53:22 +00:00
Daniil Gentili
983912f188 Avoided memory leak, Button now implements ArrayAccess, improved documentation 2018-02-25 09:52:55 +00:00
Daniil Gentili
fc607f18b2 Fixed chunked transfer encoding 2018-02-24 19:51:55 +00:00
Daniil Gentili
ed6a7f6e06 Apply fixes from StyleCI 2018-02-24 19:40:11 +00:00
Daniil Gentili
d2839070d8 Improve management of media DCs and HTTP errors 2018-02-24 19:39:45 +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
56b3647ec0 Apply fixes from StyleCI 2018-02-22 14:49:04 +00:00
Daniil Gentili
2b921eea56 Fixes for micro http-client (phar_release) 2018-02-22 14:26:57 +00:00
Daniil Gentili
0cd071cdb8 Removed MTProto constructors from API scheme 2018-02-20 21:09:28 +00:00
Daniil Gentili
ec4fc804bb Update documentation, update travis ci build script 2018-02-20 20:47:25 +00:00
Daniil Gentili
bafe907df0 Cleanup unused socket resources 2018-02-20 15:06:39 +00:00
Daniil Gentili
f3dbc898b7 Update phpseclib, fix composer.json, PHP 5 fixes, update travis CI script. 2018-02-20 14:49:54 +00:00
Daniil Gentili
cc635bcb27 PHP 5 fixes 2018-02-20 12:51:02 +00:00
Daniil Gentili
e58e99a37a Apply fixes from StyleCI 2018-02-20 11:25:25 +00:00
Daniil Gentili
38e5b6151a Use the socket extension when possible 2018-02-20 11:24:58 +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
c0e4afc646 Apply fixes from StyleCI 2018-02-18 17:26:34 +00:00
Daniil Gentili
f0939e3725 Small bugfixes for magnaluna and resolve_username 2018-02-18 17:26:14 +00:00
Daniil Gentili
34867f9d20 Cleanup logger 2018-02-18 15:17:36 +00:00
Daniil Gentili
3c4fa8badd Apply fixes from StyleCI 2018-02-18 15:00:23 +00:00
Daniil Gentili
f352a1d285 Proper lock management 2018-02-18 14:59:39 +00:00
Daniil Gentili
6d26bf2a95 Return the MadelineProto version along with exception traces 2018-02-18 14:20:33 +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
96d01a118c Apply fixes from StyleCI 2017-12-28 12:26:50 +00:00
2754acdca2
Merge branch 'master' of https://github.com/danog/MadelineProto 2017-12-28 13:26:37 +01:00
cf66aec891
Small bugfix 2017-12-28 13:26:22 +01:00
Daniil Gentili
5ba5d61e0f Apply fixes from StyleCI 2017-12-28 12:13:22 +00:00
27eb6c1a29
Merge branch 'master' of https://github.com/danog/MadelineProto 2017-12-28 13:12:58 +01:00
21928427b0
Simplify export_authorization 2017-12-28 13:12:44 +01:00
Daniil Gentili
848075782b Apply fixes from StyleCI 2017-12-28 10:58:29 +00:00
c146254428
Bringing back http 2017-12-28 11:57:55 +01:00
Daniil Gentili
af97c6224f Clear old settings 2017-12-28 09:29:29 +00:00
Daniil Gentili
34cc9bba58 Handle AUTH_KEY_PERM_EMPTY errors 2017-12-27 18:31:43 +00:00
Daniil Gentili
715ffb55f5 porcodio 2017-12-27 18:25:45 +00:00
Daniil Gentili
8b3744f1f5 hotfix 2017-12-27 18:18:14 +00:00
Daniil Gentili
f214843306 Apply fixes from StyleCI 2017-12-27 14:12:06 +00:00
Daniil Gentili
2fad5d4f49 Merge branch 'master' of https://github.com/danog/Madelineproto 2017-12-27 14:11:48 +00:00
Daniil Gentili
a1a06e21d0 Another small fix 2017-12-27 14:11:32 +00:00
Daniil Gentili
efe59db99a Apply fixes from StyleCI 2017-12-27 12:00:36 +00:00
Daniil Gentili
a8314688e1 bugfix 2017-12-27 12:00:09 +00:00
Daniil Gentili
cccbff1050 hotfix 2017-12-26 17:02:44 +00:00
Daniil Gentili
6bd76f05c0 Apply fixes from StyleCI 2017-12-25 16:07:18 +00:00
Daniil Gentili
72b30bedfe Small fix 2017-12-25 16:06:37 +00:00
Daniil Gentili
5a26ff0d18 Settings fix 2017-12-24 12:56:17 +00:00
Daniil Gentili
0f51cbdf22 bugfix 2017-12-23 19:12:02 +00:00