Commit Graph

47 Commits

Author SHA1 Message Date
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
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
9014506ef5 Start implementing socket API 2018-03-03 18:23:12 +01:00
925fa88de1
Add automated phar downloader 2018-02-21 12:55:42 +01: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
46b48ab563 Build phars with travis ci 2018-02-20 12:15:32 +00:00
Daniil Gentili
8a93db8f30 Update copyrights, and add phar creation script 2018-02-20 11:13:43 +00:00
Daniil Gentili
d4a5153b4d Update docs 2017-12-10 10:33:03 +00:00
Daniil Gentili
7c205811ff Update to layer 72 2017-10-14 09:50:46 +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
d47160d839 Final docufix 2017-09-29 14:15:11 +00:00
Daniil Gentili
8600a2fcba docufix 2017-09-29 15:50:59 +02:00
Daniil Gentili
b0aff44321 Some features 2017-08-05 15:43:07 +00:00
giuseppeM99
04e1b8c4d7 Gotta catch 'em all!!! (#164)
* Update get_dialogs

* Gotta catch 'em all!!!
2017-08-02 15:12:18 +02: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
2bf609d044 Updated to layer 66, added CDN file download logic, added option to send messages longer than 4096 chars, fixed documentation, fixed bugs 2017-04-21 13:13:24 +02:00
Daniil Gentili
1c81d9dfe7 Fixed secret chats, implemented seqno checking in secret chats, made 32 bit fixes (with maths+++) and general bugfixes 2017-03-31 17:35:20 +02:00
Daniil Gentili
dfd8bf93da HUGE bugfixes and code reorganization, implemented secret chats and a lua wrapper 2017-03-11 19:54:51 +01:00
Daniil Gentili
38d6ee07b3 Implemented bot API object conversion, file locking for serialization, bot API file ids 2017-02-16 04:55:10 +01:00
Daniil Gentili
f58ee4ce1c Fix typo in tests 2017-01-28 00:16:21 +01:00
Vitor Mattos
bc97fff5e7 Dot env (#38)
* * Changes for use .env file and not a php with sensible data

* * Changes for use .env file and not a php with sensible data

* * Changes for use .env file and not a php with sensible data

* * Changes for use .env file and not a php with sensible data

* Changes for use .env files
* Moving $settings to .env file

* Update testing.php

syntax

* Update testing.php
2017-01-17 14:29:37 +01:00
Vitor Mattos
e7f642ea4c Changes for use .env file and not a php with sensible data (#37)
* * Changes for use .env file and not a php with sensible data

* * Changes for use .env file and not a php with sensible data
2017-01-15 17:38:04 +01:00
Daniil Gentili
cc7c983929 Moved old docs to normal github, github pages cannot handle them 2017-01-02 23:28:51 +00:00
danogentili
96efd18e13 Added first alpha of web version and fixed bugs 2017-01-01 17:12:46 +03:00
danogentili
84abb27f18 Killed fread with fire, improved peer handling, written basic update handling features, written static class for serializing and deserializing MadelineProto easily, fixed lots of bugs, more stuff kek 2016-12-26 20:23:46 +03:00
Daniil Gentili
ffb8f2267c Improved documentation generation 2016-12-20 13:15:22 +01:00
danogentili
5fa11f52ef Added ignored files 2016-12-19 21:43:50 +03:00
danogentili
0cc2ea1cef Improved response handling 2016-11-29 20:45:06 +03:00
Daniil Gentili
8ba0987e27 Added stuff 2016-11-29 01:11:11 +00:00
Daniil Gentili
c6f1642264 Fixed bugs, updated docs, fixed serialization and deserialization of class, improved TL class 2016-11-25 20:52:56 +00:00
Daniil Gentili
7be648fb20 Added documentation, simplified code, organized exceptions, added some more examples in testing.php, decided to unset flags in deserialized responses, moved message id arrays to Connection classes, added wrappers for logging in to telegram as a bot or as a user and for logging out, fixed deserializing of gzip packed objects, added more logging, fixed bugs, added methods to get and parse configuration, saved some fairies, fixed exporting/importing of authorization, added some wakeup methods to prevent problems during serialization, added support for ipv6 and automagical detection too. I think we can safely say this is now a beta. 2016-11-24 23:15:22 +00:00
Daniil Gentili
c168890384 Fixed bugs, improved exception erro rhandling, blah, blah, blah (#RTFC) 2016-11-24 12:16:06 +00:00
Daniil Gentili
0767d1bc80 Updated to layer 57 and added logging 2016-11-22 16:37:48 +00:00
danogentili
1ded657739 Added APIFactory for calling namespaced mtproto methods, cleaned up testing.php and API.php, moved authorization keys, session_id, seq_no and time delta to the Connection class, added close_and_reopen method to the Connection class, improved DataCenter class, renamed Logging class to Logger, added a bit more logging, added setup_logger, switch_dc, init_authorization methods to the MTProto class, added parameter to disable automatic switching to nearest DC in write_client_info, added a try catch block in the create_auth_key method, fixed switching of DCs in wait_for_response method, added arguments check in the method calling methods, added a message id check in MessageHandler, added method_name_namespaced array in TL for APIFactory, renamed a lot of stuff and removed a few checks in the TL class, moved sendCode test call to testing.php 2016-11-16 17:05:27 +03:00
Daniil Gentili
c0932c7db2 Removed save file 2016-09-14 12:25:06 +02:00
danogentili
e7487ab60c Fixed prime module, removed dependencies from repository, adapted for hhvm. 2016-08-10 14:51:28 +02:00
danogentili
79e8041aab Added credentials 2016-08-04 22:22:48 +02:00
danogentili
192981eacc Remove gitignore entry 2016-07-21 14:46:19 +02:00
Daniil Gentili
b1cfc06a10 Fix syntax mistakes, added vendor dir. 2016-07-15 13:10:38 +02:00
Daniil Gentili
6e622883f2 Removed .swp files 2016-07-15 13:04:24 +02:00
Daniil Gentili
e30ccb6717 Change aes engine 2016-07-15 13:03:36 +02:00
lds56
4d8cd202f1 Add auth error handling 2015-04-04 15:18:45 +08:00
chidea
5a39d105fa gitignore fix for intellij 2015-03-14 22:05:44 +09:00
chidea
d92d969e13 gitignore fix for jetbrains ide 2015-03-12 00:46:02 +09:00
Anton Grigoryev
0f5927909d Credentials parser.
Now testing example is in REPO
2015-02-26 14:46:38 +03:00
Anton Grigoryev
e3dfa1df41 Initial commit 2015-02-24 12:47:31 +03:00
griganton
3ca693702a Initial commit 2015-02-23 13:59:12 +03:00