Commit Graph

300 Commits

Author SHA1 Message Date
Daniil Gentili
7df2526d9c Improve logging 2017-01-26 13:12:01 +01:00
Daniil Gentili
75fe9bafa2 Increase logging by default 2017-01-26 04:04:43 +01:00
Daniil Gentili
23d7922d42 Removed web API from main branch 2017-01-26 04:02:14 +01:00
Daniil Gentili
e6255d088c Apply fixes from StyleCI 2017-01-26 02:56:24 +00:00
Daniil Gentili
0430264c4e Implemented logging levels 2017-01-26 03:50:09 +01:00
Daniil Gentili
5a879f9c06 Clean up code 2017-01-26 02:52:04 +01:00
Daniil Gentili
563b0f614e Apply fixes from StyleCI 2017-01-25 22:16:49 +00: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
Daniil Gentili
4a51b4ad9b Bugfix 2017-01-25 11:52:16 +01:00
Daniil Gentili
efe459b818 Bugfixes 2017-01-24 18:31:04 +01:00
Gregory Ostrovsky
c4735c9a61 Move flood waiting time value to settings (#50) 2017-01-24 16:32:39 +01:00
Daniil Gentili
5751bbca8c Apply fixes from StyleCI 2017-01-23 17:36:22 +00:00
Daniil Gentili
07db79dcb6 Bugfix 2017-01-23 18:35:53 +01:00
Daniil Gentili
47a77c498b Bugfixes 2017-01-23 17:27:20 +01:00
Daniil Gentili
970b79d973 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-01-23 16:29:28 +01:00
Daniil Gentili
596fca4dc9 Made method name searching case insensitive 2017-01-23 16:29:07 +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
f4c43d9ef3 Apply fixes from StyleCI 2017-01-22 13:26:12 +00:00
Daniil Gentili
3d5e0baee9 pwr fixes 2017-01-22 02:34:56 +01:00
danogentili
e469f05d64 Readd support for php 5.6 2017-01-21 18:13:28 +03:00
Vitor Mattos
02c94c4049 Performance increase (#46)
* Upgrade `phpseclib/phpseclib` from `2.0.4` to `dev-master`
2017-01-21 00:20:56 +01:00
Vitor Mattos
3bb266e20b .env and performance improvements (#45)
* * 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

* * More variables moved to environments file and updated .env.example file
* improvement in defining device_model and system_version
* Performance improvements in defining settings
* removed desnecessary call to unserialize class in testing file
2017-01-20 21:02:21 +01:00
Daniil Gentili
2b84d543f7 Bugfix 2017-01-20 20:33:17 +04:00
mix6s
2e23a2335c Fix typo in MsgIdHandler::check_message_id (#44)
* Fix set_channel_state method

* Fix some memory leak problems

* Fix code style

* Fix typo
2017-01-20 17:07:34 +01:00
Daniil Gentili
15cc8f6e82 Apply fixes from StyleCI 2017-01-20 00:43:22 +00:00
Daniil Gentili
b15eab0832 Handle channel difference too long 2017-01-20 01:42:41 +01:00
Daniil Gentili
af4b916056 Merge branch 'master' of https://github.com/danog/MadelineProto 2017-01-20 00:55:42 +01:00
Daniil Gentili
cf188b480a Remove debugging stuff 2017-01-20 00:55:27 +01:00
Daniil Gentili
c1516bf75b Fixes to the documentation 2017-01-19 23:02:27 +01:00
Daniil Gentili
de219c5f96 Apply fixes from StyleCI 2017-01-19 21:43:52 +00:00
Daniil Gentili
acd4b86ff6 Fixed handling bad_msg_notifications 2017-01-19 22:43:36 +01:00
mix6s
fdca20fa41 Memory leak fix (#42)
* Fix set_channel_state method

* Fix some memory leak problems

* Fix code style
2017-01-19 12:19:34 +01:00
Daniil Gentili
a224aaddda Merge branch 'master' of https://github.com/danog/MadelineProto 2017-01-18 13:53:16 +01:00
Daniil Gentili
d53e32c9ef Fix downloading of files on different dcs 2017-01-18 13:51:52 +01:00
Daniil Gentili
d9cdcfce2e Apply fixes from StyleCI 2017-01-18 09:26:13 +00:00
Daniil Gentili
d8d727d68a Bugfixes 2017-01-18 10:24:57 +01:00
Daniil Gentili
bd40ca528a pony 2017-01-17 22:00:14 +01:00
Daniil Gentili
4cfd96152f Apply fixes from StyleCI 2017-01-17 20:53:24 +00:00
Daniil Gentili
5a05e81fda Bugfix 2017-01-17 21:49:53 +01:00
Daniil Gentili
97e2ae9806 Apply fixes from StyleCI 2017-01-17 15:45:41 +00:00
Daniil Gentili
bc40bd65f9 CLEARSTATCACHE PLS NOW 2017-01-17 16:44:29 +01:00
Daniil Gentili
64afc0290b Bugfix 2017-01-17 01:52:52 +01:00
Daniil Gentili
494fdcfdd4 Apply fixes from StyleCI 2017-01-16 16:02:54 +00:00
Daniil Gentili
9c9b7b3c7d speed+++++ 2017-01-16 17:01:27 +01:00
Daniil Gentili
7f7bb01e64 Bugfixes 2017-01-16 15:00:27 +01:00
Daniil Gentili
60a9d7e5f5 fix typo 2017-01-16 02:54:13 +01:00
Daniil Gentili
6e6fa9671e Apply fixes from StyleCI 2017-01-16 00:57:03 +00:00
Daniil Gentili
cac6b68920 Lock while serializing 2017-01-16 01:54:51 +01:00
Daniil Gentili
3d1486cc0d Merge branch 'master' of https://github.com/danog/MadelineProto 2017-01-15 18:00:34 +01:00
Daniil Gentili
6f32ee51ef Fix ipv6 2017-01-15 18:00:30 +01:00
Daniil Gentili
92e8e4a00d Apply fixes from StyleCI 2017-01-15 12:07:40 +00:00
Daniil Gentili
0e348edd53 Fix wrapper 2017-01-15 13:06:40 +01:00
Daniil Gentili
0fe0b925aa Merge branch 'master' of https://github.com/danog/MadelineProto 2017-01-15 03:06:00 +01:00
Daniil Gentili
934a9a39f1 lalala 2017-01-15 03:05:37 +01:00
Daniil Gentili
07da38447f Apply fixes from StyleCI 2017-01-15 01:11:45 +00:00
Daniil Gentili
5e5deca720 Bugfixes 2017-01-15 02:10:44 +01:00
Daniil Gentili
cec3294a3a Apply fixes from StyleCI 2017-01-14 23:25:15 +00:00
Daniil Gentili
6711f6e814 Bugfixes 2017-01-15 00:24:14 +01:00
Daniil Gentili
491c15e5e3 Trying to fix bugs 2017-01-14 17:43:46 +01:00
Daniil Gentili
ead78628ed Provide from 2017-01-14 16:31:31 +01:00
Daniil Gentili
9a21b861b5 Apply fixes from StyleCI 2017-01-14 11:54:50 +00:00
Daniil Gentili
3b861dcd34 Bugfixes 2017-01-14 12:53:50 +01:00
Daniil Gentili
8bb08d6b4a Apply fixes from StyleCI 2017-01-12 10:22:42 +00:00
Daniil Gentili
ca53c1c65f Do not doxx urself pls 2017-01-12 11:21:54 +01:00
Daniil Gentili
f27fa2717e Apply fixes from StyleCI 2017-01-12 10:05:13 +00: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
7343ae83cf Fixdd bugs 2017-01-11 11:30:10 +01:00
Daniil Gentili
0cdcccfc43 Fixed misteaks in documentations 2017-01-11 10:31:33 +01:00
Daniil Gentili
12bd1ee1d4 Apply fixes from StyleCI 2017-01-10 21:28:34 +00:00
Daniil Gentili
110aa57888 Fixed bugs 2017-01-10 22:27:25 +01:00
Daniil Gentili
40f7548624 Fixed more bugs 2017-01-09 17:23:00 +01:00
Daniil Gentili
bb15d89124 Fixed bugs 2017-01-09 16:26:41 +01:00
Daniil Gentili
251adef8ce Apply fixes from StyleCI 2017-01-08 14:22:21 +00:00
danogentili
2012a3e1dd Optimized upload and download 2017-01-08 15:21:35 +03:00
Daniil Gentili
8f1b9fcf0f Apply fixes from StyleCI 2017-01-07 11:40:51 +00: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
fa4bc8a9e5 Apply fixes from StyleCI 2017-01-02 20:19:06 +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
43ba430b6d Apply fixes from StyleCI 2017-01-02 18:52:29 +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
Daniil Gentili
64aca6040b Apply fixes from StyleCI 2017-01-01 16:14:24 +00:00
danogentili
378dd9ac1d Added first alpha of web version and fixed bugs 2017-01-01 17:13:59 +03:00
Daniil Gentili
2f8149c4d9 Apply fixes from StyleCI 2017-01-01 16:13:19 +00:00
danogentili
96efd18e13 Added first alpha of web version and fixed bugs 2017-01-01 17:12:46 +03:00
Daniil Gentili
396261a25b Apply fixes from StyleCI 2016-12-31 11:32:15 +00:00
Daniil Gentili
ad9591c71b Fixed some bugs 2016-12-31 12:32:02 +01:00
Daniil Gentili
b3d75b106c Apply fixes from StyleCI 2016-12-30 20:21:55 +00:00
danogentili
bfc665ace0 Fixed bugs 2016-12-30 23:21:36 +03:00
Daniil Gentili
0c68e58103 Apply fixes from StyleCI 2016-12-30 15:36:44 +00: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
Daniil Gentili
7b36562cfb Fixed misteak 2016-12-27 11:45:57 +01:00
Daniil Gentili
0a8c04998e Apply fixes from StyleCI 2016-12-26 19:24:24 +00: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
7515530b37 Apply fixes from StyleCI 2016-12-24 16:21:15 +00:00
Daniil Gentili
34865686da Working on updates 2016-12-24 17:20:45 +01:00
Daniil Gentili
f0f8ae56bf Apply fixes from StyleCI 2016-12-23 20:07:19 +00: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
1940195949 Apply fixes from StyleCI 2016-12-23 11:19:37 +00:00