Commit Graph

1062 Commits

Author SHA1 Message Date
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
Daniil Gentili
6cc990217f Small fix 2017-12-23 14:49:06 +00:00
Daniil Gentili
7b2798ddd9 Apply fixes from StyleCI 2017-12-23 14:33:37 +00:00
Daniil Gentili
59473ebb31 Bugfixes and docufixes 2017-12-23 15:33:19 +01:00
Daniil Gentili
ef8815f0a2 Apply fixes from StyleCI 2017-12-23 01:35:39 +00:00
Daniil Gentili
bd3bcb3767 bugfix 2017-12-23 02:35:15 +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
43adf77378 docufix 2017-12-21 20:08:25 +00:00
Daniil Gentili
6a677c0baf Small fix (closes #258) 2017-12-17 19:04:45 +00:00
Daniil Gentili
f22b26d4a3 Apply fixes from StyleCI 2017-12-16 19:01:35 +00:00
Daniil Gentili
8a3cc16d53 Small fix 2017-12-16 19:01:40 +00:00
Daniil Gentili
4fb9637108 nvm 2017-12-16 18:54:15 +00:00
Daniil Gentili
237638aecf Apply fixes from StyleCI 2017-12-16 18:08:23 +00:00
Daniil Gentili
8c4ad60f84 Implemented MTProto v2 in secret chats 2017-12-16 18:08:11 +00:00
2ab82c3a70
hotfix 2017-12-12 22:51:54 +01:00
Daniil Gentili
5c420dd827 Apply fixes from StyleCI 2017-12-12 10:59:49 +00:00
18ee579b63
Disable rollbar 2017-12-12 11:59:18 +01:00
917e52a2f3
Docufix 2017-12-11 12:12:38 +01:00
Daniil Gentili
d4a5153b4d Update docs 2017-12-10 10:33:03 +00:00
Daniil Gentili
09b9ff319c Apply fixes from StyleCI 2017-12-09 11:40:05 +00:00
Daniil Gentili
29a19c173c Fixed example bot, updated TL scheme.
Also implemented MTProto 2.0 but don't you dare copy my code without credit lonami <3
2017-12-09 11:39:45 +00:00
Daniil Gentili
0096b67ca7 Disable rollbar by default 2017-12-07 19:36:15 +00:00
Daniil Gentili
dd06d6c92e Small secret chat fixes 2017-12-03 17:00:53 +00:00
b325357016
trying to fix proxiies 2017-12-03 16:23:49 +01:00
2fd251e93a
ipv6 fixes 2017-11-30 12:34:52 +01:00
Daniil Gentili
a4b6640223 Apply fixes from StyleCI 2017-11-30 10:36:00 +00:00
521bd45737
ipv6 fixes 2017-11-30 11:35:37 +01:00
Daniil Gentili
3aa60e8d31 Updated to layer 73 2017-11-15 12:41:58 +00:00
Daniil Gentili
270463679a Apply fixes from StyleCI 2017-11-10 15:35:57 +00:00
Daniil Gentili
10493516ed Major cleanup 2017-11-10 15:19:58 +00:00
Daniil Gentili
b3d9b1f07c Bugfixes 2017-11-09 11:31:11 +00:00
Daniil Gentili
983d70a402 Apply fixes from StyleCI 2017-11-08 12:06:13 +00:00
2cb942b407
Merge branch 'master' of https://github.com/danog/MadelineProto 2017-11-08 15:05:34 +03:00
6899f7bfbf
Bugfixes 2017-11-08 15:04:40 +03:00
Daniil Gentili
d536ddb5fd Apply fixes from StyleCI 2017-11-08 10:42:06 +00:00
039bca985f
Bugfixes 2017-11-08 13:35:10 +03:00
Daniil Gentili
abdddc42cc kkkk no breaking changes 2017-11-03 19:46:24 +03:00
Daniil Gentili
8c5de357d0 Bugfixes and docufixes 2017-11-03 19:39:50 +03:00
Daniil Gentili
a022198396 bugfix 2017-11-03 19:17:33 +03:00
Daniil Gentili
da912540f9 Apply fixes from StyleCI 2017-11-03 12:02:33 +00:00
Daniil Gentili
e5da891ac2 Docufix, changed deserialization API, added php 7 check 2017-11-03 15:02:01 +03:00
Daniil Gentili
c668f5933f Fixes for dialog fetching 2017-10-24 13:43:24 +03:00
Daniil Gentili
bc4d907a46 Docufix 2017-10-19 14:01:23 +03:00
Daniil Gentili
da27175bd1 Apply fixes from StyleCI 2017-10-17 13:09:30 +00:00
Daniil Gentili
056ea2c3d8 Channel difference fix (fixes #212) 2017-10-17 16:08:06 +03:00
Manuel1510
a477ad61d4 Added support for layer 72 (#209)
* Update to layer 72 (no docs yet)

* added fields hidden_prehistory and available_min_id for full channels in get_pwr_chat
2017-10-14 16:03:16 +03:00
Daniil Gentili
7c205811ff Update to layer 72 2017-10-14 09:50:46 +00:00
Daniil Gentili
af0ea88978 Apply fixes from StyleCI 2017-10-09 10:49:23 +00:00
Daniil Gentili
9ebda4231d Bugfixes 2017-10-09 13:49:01 +03:00
A complex spell made by a pony
b3f5ab6710 Secret chat bugfix 2017-10-09 00:28:21 +03:00
Daniil Gentili
d086aad5ff Proxy fix 2017-10-07 22:18:21 +03:00
Daniil Gentili
5c547f390b Apply fixes from StyleCI 2017-10-06 13:06:31 +00:00
Daniil Gentili
6cf583ec97 Bugfix (closes #184) 2017-10-06 16:06:17 +03:00
Daniil Gentili
2cdbd4d9df Bugfix 2017-10-05 22:30:25 +03:00
giuseppeM99
b61fb558b2 SABOTAGGIO (#203) 2017-10-05 20:10:13 +03:00
Daniil Gentili
b7034985ec Apply fixes from StyleCI 2017-10-05 15:54:27 +00:00
Daniil Gentili
5de64b4f61 Update phpseclib, add support for socket streams, fix localization and other bugfixes 2017-10-05 18:53:56 +03:00
Daniil Gentili
94d186d90f Small bugfix 2017-10-05 14:13:19 +03:00
Daniil Gentili
a52ff32169 Apply fixes from StyleCI 2017-10-05 11:07:59 +00:00
Daniil Gentili
d076eed6be Bugfix for update handling 2017-10-05 14:07:36 +03:00
Daniil Gentili
a1eeacd1eb Apply fixes from StyleCI 2017-10-04 17:41:18 +00:00
Daniil Gentili
cab1bececc Added option to change gzip compression threshold or disable it altogether 2017-10-04 20:40:49 +03:00
Daniil Gentili
de26dc37ab Proxy fixes 2017-10-04 20:08:45 +03:00
Daniil Gentili
811204e62c Bugfix 2017-10-03 19:23:13 +03:00
Daniil Gentili
04ac167260 Bugfix for calls 2017-10-03 18:56:01 +03: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
5d49867e01 Docufix 2017-09-29 16:09:05 +02:00
Daniil Gentili
8600a2fcba docufix 2017-09-29 15:50:59 +02:00
Daniil Gentili
7a21c25e35 Fixes to DocsBuilder 2017-09-28 19:38:43 +02:00
Daniil Gentili
2da61e6374 Apply fixes from StyleCI 2017-09-26 13:09:23 +00:00
Daniil Gentili
71f392e2b9 Added userbot examples, improved performance of gzip compression 2017-09-26 15:08:25 +02:00
Daniil Gentili
6e368f42be Apply fixes from StyleCI 2017-09-26 12:42:22 +00:00
Daniil Gentili
801934775c Implemented GZIP compression for methods 2017-09-26 14:41:53 +02:00
Daniil Gentili
777870a67b Apply fixes from StyleCI 2017-09-25 20:34:13 +00:00
Daniil Gentili
f168b0134a Fixes for old sessions 2017-09-25 22:33:37 +02:00
Daniil Gentili
9267d711f3 Readable errors 2017-09-24 22:26:06 +00:00
Daniil Gentili
860ebcce8b Readable errors 2017-09-24 22:24:04 +00:00
Daniil Gentili
2e3551e218 Bugfixes to magnaluna, dialog fetching and phone calls 2017-09-18 09:05:28 +00:00
Daniil Gentili
7e7409e549 Fixes to update handler and calls 2017-09-17 16:58:57 +00:00
Daniil Gentili
980a7fef27 Merge branch 'master' of https://github.com/danog/Madelineproto 2017-09-17 16:21:17 +00:00
Daniil Gentili
694aa101b7 Fixes to magnaluna, and phone calls. 2017-09-17 16:20:59 +00:00
danogentili
29e77aa1ea Fixed a bug in type detection for TL string serialization (changed erroneus byte wrapper class name) 2017-09-06 20:44:29 +03:00
danogentili
058e8ca7e9 Better errors 2017-09-06 20:26:49 +03:00
Daniil Gentili
40059c9b3f Better docs 2017-09-01 10:27:38 +00:00
Daniil Gentili
dfef5e3458 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-29 17:41:48 +02:00
Daniil Gentili
379138c476 Fixed logout 2017-08-29 17:41:26 +02:00
Daniil Gentili
1c9f43c852 Apply fixes from StyleCI 2017-08-29 15:00:47 +00:00
Daniil Gentili
fefbe41f29 Added new serialization method 2017-08-29 17:00:31 +02:00
Daniil Gentili
9417e49a2b double bugfix 2017-08-28 19:38:09 +02:00
Daniil Gentili
52eaa053a8 Apply fixes from StyleCI 2017-08-28 10:45:11 +00:00
Daniil Gentili
d69a27867f Better docs 2017-08-28 12:44:50 +02:00
Daniil Gentili
f93007f8b1 Try now 2017-08-28 12:00:49 +02:00
Daniil Gentili
e2e0c775e7 Fixes 2017-08-28 11:45:25 +02:00
Daniil Gentili
d30bf4b4ee now download_to_file and download_to_dir return an absolute path, and accept document objects 2017-08-28 01:22:04 +02:00
Daniil Gentili
5f7bf4c907 PHP 5 fixes 2017-08-27 20:24:05 +02:00
Daniil Gentili
dffe765edc Apply fixes from StyleCI 2017-08-27 18:21:24 +00:00
Daniil Gentili
90fc78014e Huge performance improvements 2017-08-27 20:20:55 +02:00
Daniil Gentili
691426ae3a Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-25 15:06:04 +02:00
Daniil Gentili
da57215397 Update TD scheme 2017-08-25 15:05:53 +02:00
Daniil Gentili
23a54585bc Apply fixes from StyleCI 2017-08-25 12:43:50 +00:00
Daniil Gentili
cf22652968 Removed examples 2017-08-25 14:43:29 +02:00
Daniil Gentili
2519d19498 Better docs 2017-08-25 14:32:11 +02:00
Daniil Gentili
44cd3fc6aa Better docs 2017-08-25 14:29:02 +02:00
Daniil Gentili
371362db02 cdn fixes 2017-08-24 11:42:52 +00:00
giuseppeM99
057db34af3 Fixes (#174) 2017-08-23 23:59:29 +04:00
danogentili
5dfc160f1d aaaa 2017-08-23 17:50:21 +03:00
Daniil Gentili
3e182dbee5 Apply fixes from StyleCI 2017-08-23 13:54:15 +00:00
danogentili
ec5b3e2d18 Small fix 2017-08-23 15:53:24 +03:00
danogentili
76fc5b9203 namespace fix 2017-08-23 15:36:10 +03:00
Daniil Gentili
1f2fb7a010 Improved docs 2017-08-21 19:01:33 +02:00
Daniil Gentili
68749f63e1 Updated to layer 71, added getSignalBarsCount to php-libtgvoip docs 2017-08-21 18:22:02 +02:00
Daniil Gentili
3347064ab8 Better errors 2017-08-21 07:43:34 +00:00
Daniil Gentili
865a5841fd docufix 2017-08-20 19:09:52 +02:00
Daniil Gentili
9d77dc0919 AMP fixes 2017-08-20 09:05:56 +00:00
Daniil Gentili
d1eb14fae2 Fixes 2017-08-19 22:23:42 +00:00
Daniil Gentili
40ad567e65 Apply fixes from StyleCI 2017-08-18 16:11:04 +00:00
Daniil Gentili
116271ca85 Docufix 2017-08-18 18:10:30 +02:00
Daniil Gentili
65f6cf6a68 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-18 13:28:02 +02:00
Daniil Gentili
a4b8a39437 Better docs 2017-08-18 13:27:44 +02:00
Daniil Gentili
c5a7011a91 fix desc 2017-08-16 22:31:42 +00:00
Daniil Gentili
db6ee920fc Apply fixes from StyleCI 2017-08-16 09:58:38 +00:00
Daniil Gentili
4c62140c53 Fixed update handling (closes #156) 2017-08-16 11:58:24 +02:00
Daniil Gentili
d3724a43f2 Apply fixes from StyleCI 2017-08-15 22:42:41 +00:00
Daniil Gentili
ba2ff52639 You can now reply to calls in lua 2017-08-15 22:41:58 +00:00
Daniil Gentili
c2add62c4c Your fix is coming soon aaron <3 2017-08-15 23:44:33 +02:00
Daniil Gentili
b00bf4f1f4 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-14 20:44:37 +02:00
Daniil Gentili
df84276b3c fixes 2017-08-14 20:44:28 +02:00
Daniil Gentili
19e699f404 Apply fixes from StyleCI 2017-08-14 18:43:46 +00:00
Daniil Gentili
5e7babfa76 fixes 2017-08-14 20:42:58 +02:00
Daniil Gentili
f16aa7c63a Apply fixes from StyleCI 2017-08-13 16:52:32 +00:00
Daniil Gentili
913fc912ee Fetch RPC error descriptions from API 2017-08-13 18:52:05 +02:00
Daniil Gentili
62d99ab776 Apply fixes from StyleCI 2017-08-10 08:18:52 +00:00
Daniil Gentili
8203aebae0 Finally, a way to make people RTFM 2017-08-10 08:18:28 +00:00
Daniil Gentili
de38033f3c Removed all traces of old API id/hash 2017-08-09 15:20:30 +02:00
Daniil Gentili
62818d102d fix 2017-08-09 14:23:44 +02:00
Daniil Gentili
4cf3c1b306 fixes 2017-08-09 00:08:13 +02:00
Daniil Gentili
5ee47f3d89 Better exceptions 2017-08-08 23:25:45 +02:00
Daniil Gentili
fa17f005b4 Fix 2017-08-07 18:13:48 +02:00
Daniil Gentili
099bb17c34 Apply fixes from StyleCI 2017-08-06 14:06:07 +00:00
Daniil Gentili
ce9f258924 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-06 16:05:52 +02:00
Daniil Gentili
837f670fa5 Fixes 2017-08-06 16:05:34 +02:00
Daniil Gentili
74212cc6bd Apply fixes from StyleCI 2017-08-06 13:04:06 +00:00
Daniil Gentili
420e71bfbc Don't log useless shiz 2017-08-06 15:03:50 +02:00
Daniil Gentili
2b9d6319f3 Fixes 2017-08-06 12:24:19 +02:00
Daniil Gentili
8f8351b406 Fix default settings 2017-08-05 17:56:52 +02:00
Daniil Gentili
b598a02b8e Improved bitrate settings in @magnaluna and made sure shared config is actually parsed 2017-08-05 17:41:36 +02:00
Daniil Gentili
e124806b9f Apply fixes from StyleCI 2017-08-04 08:02:14 +00:00
Daniil Gentili
b0260809cf Small cdn fix 2017-08-04 10:01:54 +02:00
root
a3a78dcfc4 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-08-03 15:02:38 +04:30
root
03df107439 Fixes to CDN files 2017-08-03 15:01:22 +04:30
giuseppeM99
04e1b8c4d7 Gotta catch 'em all!!! (#164)
* Update get_dialogs

* Gotta catch 'em all!!!
2017-08-02 15:12:18 +02:00
Daniil Gentili
5a2a515f33 fixes 2017-08-01 12:17:53 +02:00
Daniil Gentili
5cc6719c3d Fixes I guess 2017-08-01 11:59:07 +02:00
Daniil Gentili
e4a3fc9484 Apply fixes from StyleCI 2017-07-31 19:00:11 +00:00
Daniil Gentili
33427698f2 Final fixes 2017-07-31 18:57:13 +00:00
Daniil Gentili
bfda1d9a7c Apply fixes from StyleCI 2017-07-31 17:09:16 +00:00
Daniil Gentili
de86ccd923 fixes 2017-07-31 17:08:48 +00:00