Commit Graph

65 Commits

Author SHA1 Message Date
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
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
bb925ff4a4 Style fixes 2017-05-10 11:05:34 +01:00
Daniil Gentili
1eb2fc0b4f fix 2017-04-21 13:27:04 +02:00
Daniil Gentili
f2602fb377 docfix 2017-04-21 13:26:13 +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
b517b70b0c Documentation fixes 2017-04-11 10:32:23 +02:00
Daniil Gentili
23f2550568 chat_id can now be any peer object or a bot API id 2017-04-11 10:09:20 +02:00
Daniil Gentili
796d8ff14b Documentation fixes 2017-04-10 21:09:20 +02:00
Daniil Gentili
d8292e9add Documentation fixes, added bot_gif file id constructor 2017-04-10 13:49:32 +02:00
Daniil Gentili
5bc6fdc05f pony 2017-04-06 20:27:31 +00:00
Daniil Gentili
939b29c928 whoops 2017-04-06 20:22:49 +00:00
Daniil Gentili
4e4abed790 Written documentation for get_pwr_chat and fixed some bugs 2017-04-06 20:15:59 +00:00
Daniil Gentili
cd1040ec19 Fixed threading, fixed APIFactory, started working on calls 2017-04-01 13:20:57 +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
524cede469 Updated readme 2017-03-25 03:05:39 +01:00
Daniil Gentili
bd1703d6fb Fixes to documentation 2017-03-11 20:06:30 +01: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
2a04787c98 Switched to native html parser 2017-02-16 20:04:57 +01:00
Daniil Gentili
c86e35645e Implemented markdown and html parsing 2017-02-13 04:33:06 +01:00
danogentili
3a29b36e24 Small documentation fixes 2017-02-12 20:34:54 +03:00
danogentili
23a6ce1383 Small documentation fixes 2017-02-12 20:32:28 +03:00
Daniil Gentili
81c1bcd208 HUGE performance improvements (run composer update), started to work on threading 2017-02-11 15:16:57 +01:00
Daniil Gentili
abeb0b9c5b SEO 2017-02-05 15:15:48 +01:00
Daniil Gentili
11ec3fdb45 Fix docs 2017-01-30 13:25:11 +01:00
danogentili
c18bdd2793 Fixed tests, adding support for PHP 5.4 2017-01-27 15:19:16 +03:00
Daniil Gentili
151de9724b Fix docs 2017-01-26 16:31:43 +01:00
Daniil Gentili
5a879f9c06 Clean up code 2017-01-26 02:52:04 +01:00
Daniil Gentili
080942534e Added partial support for http/https connectins, cleaned up docs, updated to layer 62. 2017-01-25 23:16:22 +01:00
Vitor Mattos
36118ee452 Doc (#47)
* Implemented automatic PHPDoc generate

* fix syntax

* fix syntax

* bugfix doc

* bugfix syntax

* bufgix syntax

* Update AnnotationsBuilder.php
2017-01-22 17:40:56 +01:00
Daniil Gentili
c1516bf75b Fixes to the documentation 2017-01-19 23:02:27 +01:00
Daniil Gentili
61bd44af03 updated docs 2017-01-12 11:05:37 +01:00
Daniil Gentili
3b8cc9d5ee Bugfixes and added support for downloading only specified ranges of a file 2017-01-12 11:04:17 +01:00
Daniil Gentili
0cdcccfc43 Fixed misteaks in documentations 2017-01-11 10:31:33 +01:00
Daniil Gentili
20d9b0fa6d Added file upload/download wrappers, decided to store full chat/user/channel constructors in $API->chats, fixed bugs 2017-01-07 12:39:11 +01:00
Daniil Gentili
f54fb0b6b3 Written first MadelineProto bot, fixed update management, fixed bugs 2017-01-04 12:22:03 +00:00
Daniil Gentili
cc7c983929 Moved old docs to normal github, github pages cannot handle them 2017-01-02 23:28:51 +00:00
Daniil Gentili
95ebf6147b Added docs for layer 18, 23, 25, 27, 33, 38, 40, 41, 42, 44, 45, 46, 51, 53, 55 2017-01-02 20:04:36 +00:00
Daniil Gentili
ec23e14c68 Written module to translate tl scheme files, turned documentation script into a class, separated ed the MTProto and telegram docs, added layer 46 and layer 55 docs 2017-01-02 18:50:37 +00:00
danogentili
bfc665ace0 Fixed bugs 2016-12-30 23:21:36 +03:00
Daniil Gentili
d5f02639d8 Added serialization docs 2016-12-30 16:45:04 +01:00
Daniil Gentili
d2d54398c4 Fixed update handling, now usernames or bot api ids can be passed as parameters instead of Peer, inputPeer, Channel, User (and other) objects, fixed bugs and typos. 2016-12-30 16:32:25 +01: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
34865686da Working on updates 2016-12-24 17:20:45 +01:00
Daniil Gentili
884232aec3 random_ids are now computed automagically, added methods to ease working with peers and updated docs 2016-12-23 21:06:38 +01:00
Daniil Gentili
cfc7cb4e04 Started writing update handlers 2016-12-23 12:19:13 +01:00
danogentili
c42fa19afd Fixed docs 2016-12-21 12:40:30 +03:00
Daniil Gentili
306f581f1c Fixed logo 2016-12-21 11:39:52 +01:00
Daniil Gentili
7e9383981c Fixed handling of all service messages exactly as described in the API (closes #20), fixed bug in authorization module, added hover logo. 2016-12-21 11:31:34 +01:00
Daniil Gentili
1cd457fdcd Merge branch 'master' of https://github.com/danog/MadelineProto 2016-12-20 17:16:31 +01:00