Commit Graph

781 Commits

Author SHA1 Message Date
Daniil Gentili
3a5e5a9c43 Improvements 2017-07-19 12:41:18 +02:00
Daniil Gentili
cceab5c56b Apply fixes from StyleCI 2017-07-13 23:54:33 +00:00
Daniil Gentili
71986cf536 memes 2017-07-14 00:54:16 +01:00
Daniil Gentili
d74b6d3b2d Apply fixes from StyleCI 2017-07-12 12:33:57 +00:00
Daniil Gentili
6113c0d63c Improved parsing of settings and logging 2017-07-12 14:33:10 +02:00
Daniil Gentili
91f43c5442 Apply fixes from StyleCI 2017-07-09 22:09:10 +00:00
Daniil Gentili
9eda7c34e9 refactoring 2017-07-10 00:08:21 +02:00
Daniil Gentili
c5135942ce Apply fixes from StyleCI 2017-07-09 10:08:21 +00:00
Daniil Gentili
b96c31e893 I really like abstraction 2017-07-09 11:08:01 +01:00
Daniil Gentili
aa80209f6f Apply fixes from StyleCI 2017-07-08 21:43:30 +00:00
Daniil Gentili
f82aad3b22 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-07-08 23:42:54 +02:00
Daniil Gentili
3b1d380016 Fixed obfuscated2 2017-07-08 23:42:27 +02:00
giuseppeM99
f8ba74dd35 catch all the exception (#150) 2017-07-08 23:37:30 +02:00
Daniil Gentili
b786f3b544 Apply fixes from StyleCI 2017-07-08 18:26:03 +00:00
Daniil Gentili
f9293a67f3 We may be running on non-posix systems 2017-07-08 19:25:40 +01:00
Daniil Gentili
adc4df525a Apply fixes from StyleCI 2017-07-08 15:40:41 +00:00
Daniil Gentili
02ca048238 xd 2017-07-08 16:40:21 +01:00
Daniil Gentili
8e1ac1a3f8 Trying to make obfuscated2 protocol work 2017-07-08 16:19:17 +01:00
Jonas Fowl
adb377fb44 Update Logger.php (#149) 2017-07-08 10:53:01 +02:00
Daniil Gentili
9519b8f78e nibbas were interfering 2017-07-08 09:45:47 +01:00
Daniil Gentili
bac4ed2c10 Improve color scheme 2017-07-07 23:35:34 +01:00
Daniil Gentili
593efe2b3b Check if is a tty 2017-07-07 23:31:42 +01:00
Daniil Gentili
3f54e69c0c Apply fixes from StyleCI 2017-07-07 22:14:05 +00:00
Daniil Gentili
c1fd3c4ea7 COLORS!!!! (and custom logging callbacks 2017-07-08 00:11:27 +02:00
Daniil Gentili
4a6335a8b2 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-07-07 22:56:48 +02:00
Daniil Gentili
e7f0bac44b I simply love telegram's coherency 2017-07-06 19:18:55 +02:00
Daniil Gentili
87dc456844 Apply fixes from StyleCI 2017-07-06 16:37:43 +00:00
Daniil Gentili
77c8d5d748 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-07-06 18:36:05 +02:00
Daniil Gentili
890e4d65cc Do not delete secret chat/call creation updates 2017-07-06 18:36:02 +02:00
Daniil Gentili
53f3d6ee9d Fixes 2017-07-05 22:18:01 +02:00
giuseppeM99
671b995205 Fixes (#144) 2017-07-01 21:36:53 +02:00
Daniil Gentili
54e7499930 Fixes to lua 2017-07-01 19:39:35 +02:00
Daniil Gentili
cf9fd67eda Merge branch 'master' of https://github.com/danog/MadelineProto 2017-07-01 16:30:59 +02:00
Daniil Gentili
8e75010d11 Lua stuff 2017-07-01 16:30:04 +02:00
Daniil Gentili
b717ff554d Apply fixes from StyleCI 2017-07-01 13:07:45 +00:00
giuseppeM99
ae8955d705 Update Lua.php (#143) 2017-07-01 15:07:38 +02:00
Daniil Gentili
d8949fb474 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-06-30 16:10:52 +02:00
Daniil Gentili
99fb6f15b5 Fixes to html_fixtags 2017-06-30 16:10:40 +02:00
Daniil Gentili
dddad90616 Apply fixes from StyleCI 2017-06-30 13:37:18 +00:00
Daniil Gentili
70a85cb6be Updated to layer 68 2017-06-30 15:36:33 +02:00
Daniil Gentili
aca1ca134e Apply fixes from StyleCI 2017-06-27 19:55:13 +00:00
Daniil Gentili
adbea34864 Fixes 2017-06-27 21:54:09 +02:00
Daniil Gentili
0d5865cbae Merge branch 'master' of https://github.com/danog/MadelineProto 2017-06-27 09:52:36 +02:00
Daniil Gentili
bfe30d805f Got this to work +- 2017-06-27 09:52:25 +02:00
Daniil Gentili
0591ea4b41 Apply fixes from StyleCI 2017-06-27 07:16:46 +00:00
Daniil Gentili
3160917b5e Whoops 2017-06-27 09:16:19 +02:00
Daniil Gentili
b1d501d009 Apply fixes from StyleCI 2017-06-27 06:33:19 +00:00
Daniil Gentili
fe26937cee Fixes 2017-06-27 07:32:44 +01:00
Daniil Gentili
9f987353d5 Apply fixes from StyleCI 2017-06-26 15:41:54 +00:00
Daniil Gentili
58d84020f1 music+++ 2017-06-26 17:34:59 +02:00
Daniil Gentili
8cb6100bac Apply fixes from StyleCI 2017-06-26 13:57:44 +00:00
Daniil Gentili
19f133676f Fixes to the lua module 2017-06-26 15:57:03 +02:00
Daniil Gentili
18c4829b86 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-06-25 20:37:28 +02:00
Daniil Gentili
fd1850251c logs! 2017-06-25 20:37:17 +02:00
Daniil Gentili
b03d1152fe Apply fixes from StyleCI 2017-06-25 10:31:35 +00:00
Daniil Gentili
47f60e77b9 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-06-25 12:30:55 +02:00
Daniil Gentili
ac7d03e3d1 Added missing CallbackHandler 2017-06-25 12:30:33 +02:00
Daniil Gentili
f46a006cb3 Apply fixes from StyleCI 2017-06-23 20:41:28 +00:00
Daniil Gentili
a65b5b18c9 Implemented VoIP wrapper 2017-06-23 22:40:55 +02:00
Daniil Gentili
47243915ce docufix 2017-06-19 17:56:47 +01:00
Daniil Gentili
102f063b09 Fixes 2017-06-15 13:27:59 +01:00
Daniil Gentili
e7ef9b9f9a Apply fixes from StyleCI 2017-06-15 11:26:24 +00:00
Daniil Gentili
a3138b1e62 Webhook fixes 2017-06-15 12:26:03 +01:00
Daniil Gentili
dc1f8c8fdd Fixes to secret chats 2017-06-15 12:40:49 +02:00
Daniil Gentili
cc815a7548 Lua fixes 2017-06-13 16:33:07 +02:00
Daniil Gentili
809e0be313 REFERENCES 2017-06-11 10:34:44 +01:00
Daniil Gentili
15d439428a fixes 2017-06-09 23:32:42 +02:00
Daniil Gentili
3c808c0d49 fixes 2017-06-09 23:15:15 +02:00
Daniil Gentili
6c830d5be3 fixes 2017-06-09 21:42:32 +01:00
Daniil Gentili
1c85bb28cd Apply fixes from StyleCI 2017-06-09 19:56:57 +00:00
Daniil Gentili
e0438edcbd Merge branch 'master' of https://github.com/danog/Madelineproto 2017-06-09 20:56:43 +01:00
Daniil Gentili
a698e91dd3 Fixed CTR encryption and downloading of CDN files 2017-06-09 20:56:13 +01:00
Daniil Gentili
f76f62516e xdddddddddddddd 2017-06-09 21:40:14 +02:00
Daniil Gentili
fa45c31a9b Bugfix 2017-06-08 15:52:06 +02:00
Daniil Gentili
13335ff17a Apply fixes from StyleCI 2017-06-08 13:17:28 +00:00
Daniil Gentili
e5e5050689 Fixes to update management 2017-06-08 14:17:11 +01:00
Daniil Gentili
da8c5bd641 Apply fixes from StyleCI 2017-06-08 12:30:38 +00:00
Daniil Gentili
3cab74f7d5 Bugfixes 2017-06-08 13:30:02 +01:00
Daniil Gentili
8c288f78ac Let's save memory 2017-06-08 14:15:44 +02:00
Daniil Gentili
d5df933f0d Create Logger.php 2017-06-08 14:13:28 +02:00
Daniil Gentili
eebadecaf1 Apply fixes from StyleCI 2017-06-06 16:39:44 +00:00
Daniil Gentili
3268b1745d Add TD warnings 2017-06-06 18:39:21 +02:00
Daniil Gentili
0ad8859b6e Apply fixes from StyleCI 2017-06-06 15:47:42 +00:00
Daniil Gentili
0c968af317 Fix conflicts 2017-06-06 17:46:46 +02:00
Daniil Gentili
6b5eb75f4f Bugfixes to secret chats 2017-06-06 17:41:19 +02:00
Daniil Gentili
7e729ada7b Fixes to secret chats and update handling 2017-06-05 12:23:23 +02:00
Daniil Gentili
30f9c4b275 Apply fixes from StyleCI 2017-06-04 15:57:35 +00:00
Daniil Gentili
c72fc89022 Fixes 2017-06-04 17:57:15 +02:00
Daniil Gentili
9c082ecd03 Apply fixes from StyleCI 2017-06-03 14:40:33 +00:00
Daniil Gentili
86067bbf6b You can now proxy MadelineProto 2017-06-03 16:40:14 +02:00
Manuel1510
08c6e8d838 Improved an error message (#136) 2017-06-03 10:40:10 +02:00
Daniil Gentili
658695ad67 Implemented call queue 2017-06-02 14:43:30 +02:00
Daniil Gentili
5b869098b9 Remove should_serialize check 2017-06-02 13:27:13 +02:00
Daniil Gentili
85b71b2a3e Secret chat fixes 2017-06-02 13:25:05 +02:00
Daniil Gentili
77923b231d Apply fixes from StyleCI 2017-06-01 20:21:36 +00:00
Daniil Gentili
a8dc0027f1 Fixes to secret chats 2017-06-01 22:21:15 +02:00
Daniil Gentili
d614b50c6d Fixes for secret chat layers 2017-06-01 19:13:43 +02:00
Daniil Gentili
ef49472330 Fixes for secret chat layers 2017-06-01 19:12:18 +02:00
Daniil Gentili
c11c2fabf4 Apply fixes from StyleCI 2017-06-01 16:53:24 +00:00
Daniil Gentili
a6e7c2dc6c More logging while trying to debug 2017-06-01 18:53:05 +02:00
Daniil Gentili
1c616b8e99 Apply fixes from StyleCI 2017-06-01 01:26:49 +00:00
Daniil Gentili
af4f6d37b8 Thread safety 2017-06-01 02:26:13 +01:00
Daniil Gentili
8af0b726ee Fixes I guess 2017-05-31 23:32:33 +01:00
Daniil Gentili
f601aab2d0 bugfixes 2017-05-31 20:59:52 +01:00
Daniil Gentili
a6e456b253 Added flag to avoid getting updates on deserialization 2017-05-31 20:14:11 +01:00
Daniil Gentili
13277cb015 Apply fixes from StyleCI 2017-05-31 10:15:10 +00:00
Daniil Gentili
406e09e336 bugfixes 2017-05-31 11:14:38 +01:00
Daniil Gentili
e5fabd1cc6 ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ 2017-05-31 11:58:32 +02:00
Daniil Gentili
8dfd1b21ee Merge branch 'master' of https://github.com/danog/MadelineProto 2017-05-31 10:28:44 +01:00
Daniil Gentili
2d74e60373 bugfixe 2017-05-31 10:28:24 +01:00
Daniil Gentili
13c65940c1 Apply fixes from StyleCI 2017-05-31 09:23:36 +00:00
Daniil Gentili
56ae262738 bugfixes 2017-05-31 10:22:42 +01:00
Daniil Gentili
1858b7f8c8 Fixes for windows, added requirements+++ 2017-05-29 18:57:58 +01:00
Daniil Gentili
76fd51199e Bugfix 2017-05-29 19:50:25 +02:00
Daniil Gentili
70453bf69a fi 2017-05-28 18:05:08 +01:00
Daniil Gentili
327279b3a5 Huge bugfixes 2017-05-28 17:40:29 +01:00
Daniil Gentili
338b64fafd Another regression 2017-05-28 03:49:19 +01:00
Daniil Gentili
63af4f6549 Apply fixes from StyleCI 2017-05-28 02:34:25 +00:00
Daniil Gentili
841b95f54e Merge branch 'master' of https://github.com/danog/MadelineProto 2017-05-28 03:34:08 +01:00
Daniil Gentili
7da8395234 More constants and a regression to fix bugs 2017-05-28 03:32:42 +01:00
Daniil Gentili
87f82ee2d4 Apply fixes from StyleCI 2017-05-27 23:50:38 +00:00
Daniil Gentili
3aef7653a4 Small fix 2017-05-28 00:50:22 +01:00
Daniil Gentili
8cf425bd82 Apply fixes from StyleCI 2017-05-27 23:36:12 +00:00
Daniil Gentili
4ea3b83ae1 Fixed pts bugs, created PTSException 2017-05-28 00:35:50 +01:00
Daniil Gentili
1514af1fed Apply fixes from StyleCI 2017-05-27 21:22:04 +00:00
Daniil Gentili
86c07f705d Performance fixes, bugfixes 2017-05-27 22:21:14 +01:00
Daniil Gentili
aa6e5e9a20 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-05-22 14:03:10 +01:00
Daniil Gentili
4cc983b234 Bugfix 2017-05-22 14:02:57 +01:00
Daniil Gentili
5eddc101dc Apply fixes from StyleCI 2017-05-20 13:46:46 +00:00
Daniil Gentili
1f18cf6ab9 Bugfix 2017-05-20 14:46:05 +01:00
Daniil Gentili
f4155bc3a7 Apply fixes from StyleCI 2017-05-19 19:35:03 +00:00
Hunter Ashton
baaf08af80 Add an HTML parser for buttons! (#123) 2017-05-19 21:34:57 +02:00
Daniil Gentili
3ade409442 hotfix 2017-05-19 21:34:33 +02:00
Daniil Gentili
a84c36b60f Fixes 2017-05-19 17:26:35 +01:00
Daniil Gentili
2680b68751 Apply fixes from StyleCI 2017-05-19 15:37:15 +00:00
Daniil Gentili
1e7c552459 bugfixes 2017-05-19 16:36:38 +01:00
Daniil Gentili
03cd6be5eb bugfixes 2017-05-19 16:36:13 +01:00
Daniil Gentili
4b561510e7 Added support for video notes (round videos) 2017-05-19 16:35:09 +01:00
Daniil Gentili
dfc7d17f2d Possible fix for PERSISTENT_TIMESTAMP_OUTDATED 2017-05-19 16:36:05 +02:00
Daniil Gentili
3684603bd0 bugfix 2017-05-19 11:07:45 +01:00
Daniil Gentili
ade634d831 bugfixes 2017-05-18 14:18:55 +01:00
Daniil Gentili
fa0f5f7331 Apply fixes from StyleCI 2017-05-18 12:35:35 +00:00
Daniil Gentili
2e006867f6 Threading fixes 2017-05-18 14:35:31 +02:00
Daniil Gentili
615e3f0bd0 Threading fixes 2017-05-18 14:26:52 +02:00
Daniil Gentili
81229b24a6 whoops 2017-05-18 13:10:58 +01:00
Daniil Gentili
c2561ed892 Apply fixes from StyleCI 2017-05-18 11:59:45 +00:00
Daniil Gentili
148ac0549e bugfix 2017-05-18 12:59:28 +01:00
Daniil Gentili
df7a5be164 bugfix 2017-05-18 12:50:11 +01:00
Daniil Gentili
0484d8f52b bugfix 2017-05-18 11:49:14 +01:00
Daniil Gentili
59c9bc0572 Apply fixes from StyleCI 2017-05-18 10:13:05 +00:00
Daniil Gentili
b67ce553fc Now byte strings are actually objects, everything is even faster, and more thread safe. Modifying the settings is even easier now. 2017-05-18 11:12:33 +01:00
Daniil Gentili
3c4412cf1e Apply fixes from StyleCI 2017-05-17 21:51:39 +00:00
Daniil Gentili
eb3ee22e3f Bugfixes 2017-05-17 22:51:13 +01:00
Daniil Gentili
d8adba8d68 Clean up 2017-05-17 17:10:36 +01:00
Daniil Gentili
f8230e9e3a Apply fixes from StyleCI 2017-05-17 16:06:53 +00:00
Daniil Gentili
9f974cbaaa Merge branch 'master' of https://github.com/danog/Madelineproto 2017-05-17 17:06:25 +01:00
Daniil Gentili
334b21d167 git add -A 2017-05-17 17:06:12 +01:00
Daniil Gentili
c7b3a4fb79 Apply fixes from StyleCI 2017-05-17 15:29:45 +00:00
Daniil Gentili
2ba273d148 Added dialog list wrapper 2017-05-17 16:29:29 +01:00
Hunter Ashton
88fb5ecfb7 Reduce logging to a minimum (#120) 2017-05-17 14:19:59 +02:00
Daniil Gentili
8b3b4b0bb5 Small bugfix 2017-05-17 11:58:39 +01:00
Daniil Gentili
c0f836d8d8 Better logging 2017-05-17 10:54:42 +01:00
Daniil Gentili
4af50f2c58 Apply fixes from StyleCI 2017-05-16 22:38:38 +00:00
Daniil Gentili
9fa4bdc15b File download fixes (closes #113, #111) 2017-05-16 23:38:25 +01:00
Daniil Gentili
be6bc0cf41 WHOOOPS 2017-05-16 22:20:09 +01:00
Daniil Gentili
2e40df7abc Small fix 2017-05-16 21:33:18 +01:00
Daniil Gentili
1f35f9fdb7 Apply fixes from StyleCI 2017-05-16 20:19:54 +00:00
Daniil Gentili
ab1bd5330d Add polyfill 2017-05-16 21:19:42 +01:00
Daniil Gentili
3c30bbf39c Small fix 2017-05-16 21:08:46 +01: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
c2ce149436 Huge performance improvements 2017-05-11 01:06:17 +01:00
Daniil Gentili
d9ca05fa86 bugfix 2017-05-10 23:43:50 +01:00
Daniil Gentili
cfb40128e5 Small fixes 2017-05-10 23:40:50 +01:00
Daniil Gentili
a08821404a Update RPCErrorException.php 2017-05-10 23:35:36 +02:00
Daniil Gentili
7f6481a3fe Merge branch 'master' of https://github.com/danog/MadelineProto 2017-05-10 11:41:19 +01:00
Daniil Gentili
3d241f64b0 Less logging 2017-05-10 11:40:41 +01:00
Daniil Gentili
1a2dfcd875 bugfix 2017-05-10 11:12:02 +01:00
Daniil Gentili
bb925ff4a4 Style fixes 2017-05-10 11:05:34 +01:00
Daniil Gentili
fbf74ae0d3 Fixed peer management of groups 2017-05-10 10:39:31 +02:00
Daniil Gentili
5af9aa93cf Update SeqNoHandler.php 2017-05-09 13:09:16 +02:00
Daniil Gentili
c7111e2926 More error descriptions 2017-05-09 13:01:19 +02:00
Daniil Gentili
9c5cfb83c1 Update rollbar access token 2017-05-09 12:38:44 +02:00
Hunter Ashton
61001dc4c9 HTML parser (#109)
* pwr requests (#108)

* on/off switcher for pwrtelegram peer info requests

* Fix PWRTelgram requets if we have no info about peer

* Apply fixes from StyleCI

* Add a new function, html_fixtags

This parses any message with parse_mode of Markdown or HTML, and converts it into a format parse-able by Dom  (if it wasn't already readable)

* Apply fixes from Style CI
2017-05-09 11:34:19 +02:00
Daniil Gentili
f933498624 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-05-08 20:10:19 +01:00
Daniil Gentili
dc7b2bae2d Better error 2017-05-08 20:10:01 +01:00
Daniil Gentili
ee7260fc2f Apply fixes from StyleCI 2017-05-07 13:00:58 +00:00
Alex Morbo
b23e8d3664 pwr requests (#108)
* on/off switcher for pwrtelegram peer info requests

* Fix PWRTelgram requets if we have no info about peer
2017-05-07 15:00:52 +02:00
Daniil Gentili
a3c4f69e5d bugfix 2017-05-06 12:38:01 +01:00
Daniil Gentili
7d2e99159d Throw correct exception 2017-05-06 13:25:00 +02:00
Daniil Gentili
780dae093b git pull and composer update pls 2017-05-06 11:46:50 +02:00
Daniil Gentili
de646a4691 pwr 2017-05-05 20:24:13 +01:00
Daniil Gentili
640c728b71 bugfix 2017-05-05 17:21:04 +02:00
Daniil Gentili
deb28902e7 Update TL_botAPI.tl 2017-05-05 16:54:43 +02:00
Daniil Gentili
70f81d58e3 Better errors 2017-05-04 19:59:29 +02:00
Daniil Gentili
6b61be2923 Even less logging 2017-05-04 19:44:12 +02:00
Daniil Gentili
4610ccfb85 Bugfix 2017-05-04 16:56:10 +02:00
Daniil Gentili
4a7d6f2895 Less logging 2017-05-04 16:11:02 +02:00
Alex Morbo
9650a77b89 on/off switcher for pwrtelegram peer info requests (#105) 2017-05-03 15:15:14 +02:00
Daniil Gentili
05315e4872 Apply fixes from StyleCI 2017-05-02 18:19:50 +00:00
Daniil Gentili
ac9e0f0614 Fixed+++++++ 2017-05-02 20:19:45 +02:00