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