Commit Graph

937 Commits

Author SHA1 Message Date
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