Commit Graph

60 Commits

Author SHA1 Message Date
e026afe089 Apply fixes from StyleCI 2018-10-13 15:13:30 +00:00
Daniil Gentili
c2c3d2544a Bugfixes 2018-10-13 15:12:57 +00:00
Daniil Gentili
3c8e440ba6 Clean up API ID references 2018-05-08 19:08:09 +00:00
1717c7676a Apply fixes from StyleCI 2018-04-18 15:22:09 +00:00
Daniil Gentili
ff0f5d00f3 Add support for nearly all update types in get_info 2018-04-18 15:16:33 +00:00
6c84ada369 Apply fixes from StyleCI 2018-04-18 14:12:32 +00: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
Daniil Gentili
2cb4e80620 Improve examples 2018-03-29 11:53:27 +00:00
Daniil Gentili
86d146c977 Apply fixes from StyleCI 2018-03-23 15:39:58 +00:00
7a0153a139
Documentation rework (#349)
* Documentation rework

* Apply fixes from StyleCI

* Documentation fixes

* Login as bot through web/cli API, allow using invite links in joinChannel, full invite links in importChatInvite and checkChatInvite, non-invite links in importChatInvite

* Apply fixes from StyleCI

* Logging fixes

* Build docs

* Add methods to modify start template, bugfix to logging and keyboard conversion

* Add TL documentator

* Document MTProto methods

* Documenting methods...

* 7% documented

* Bugfixes

* Update docs

* Update docs

* Simplify file management

* Implement automatic object conversion for media, and more awesome stuff

* Implement automatic object conversion for media, and more awesome stuff

* Implement event update handler and file upload/download callback

* Auto-detect mime type, duration, width and height of media

* Update docs

* Document new file functions

* Fix links

* Fix links

* Update bot.php to use event loop

* Implement webhook update handler and forking in main loop

* Build docs

* Better docs

* Fixes to secret chats

* Almost finished updating docs

* Bugfixes, implemented infinite loop for loop() method, almost finished docs

* Finish writing docs

* Add automatic documentation builder script

* Finished writing docs
2018-03-20 12:48:05 +01:00
Daniil Gentili
071be3bb80 Reorganizing documentation, rewrote peer management 2018-03-12 21:10:49 +00:00
e2aef54979 Multithreading & settings can now be replaced directly on deserialization. 2018-03-02 13:32:48 +01:00
Daniil Gentili
85ec1c6830 Improved logging 2018-03-02 00:38:10 +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
a7169969b5 Apply fixes from StyleCI 2018-02-18 15:17:54 +00:00
Daniil Gentili
34867f9d20 Cleanup logger 2018-02-18 15:17:36 +00:00
Daniil Gentili
f2e13cdac1 Fix composer.json syntax 2018-02-18 13:33:17 +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
a1018576a0
Update bot.php 2017-12-23 14:44:15 +01:00
Daniil Gentili
3aa60e8d31 Updated to layer 73 2017-11-15 12:41:58 +00:00
Daniil Gentili
e5da891ac2 Docufix, changed deserialization API, added php 7 check 2017-11-03 15:02:01 +03:00
Daniil Gentili
9ebda4231d Bugfixes 2017-10-09 13:49:01 +03:00
Daniil Gentili
c4ca3a8d74 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaag 2017-10-08 20:33:48 +03:00
Daniil Gentili
a4b8a39437 Better docs 2017-08-18 13:27:44 +02:00
Daniil Gentili
f16aa7c63a Apply fixes from StyleCI 2017-08-13 16:52:32 +00:00
Daniil Gentili
a0ce5c483e i'm good 2017-08-11 17:51:56 +02:00
Daniil Gentili
1c742559cc Apply fixes from StyleCI 2017-08-01 10:18:14 +00:00
Daniil Gentili
5a2a515f33 fixes 2017-08-01 12:17:53 +02:00
Daniil Gentili
9c161dfc58 The session will no corrupt 2017-07-27 15:46:14 +02:00
Daniil Gentili
d79ffc1349 Fixes to dialog fetching, participant list fetching, exceptions, documentation, and lotsa other stuff 2017-07-26 18:38:10 +02:00
Daniil Gentili
2e92a8ed20 Fixes 2017-07-26 10:35:12 +02:00
Daniil Gentili
849ee4aa73 Added custom TL exception trace, reduced memory usage, fixed fetching of dialog list 2017-07-26 08:30:48 +02:00
Daniil Gentili
c177a4dde0 Try to avoid serialization issues 2017-07-24 13:43:09 +02:00
Daniil Gentili
9b58979ed0 Updated to layer 70 2017-07-23 17:44:01 +02:00
Daniil Gentili
a698e91dd3 Fixed CTR encryption and downloading of CDN files 2017-06-09 20:56:13 +01:00
Daniil Gentili
a84c36b60f Fixes 2017-05-19 17:26:35 +01:00
Daniil Gentili
9fa4bdc15b File download fixes (closes #113, #111) 2017-05-16 23:38:25 +01:00
Daniil Gentili
e1bc813beb Apply fixes from StyleCI 2017-05-16 20:09:05 +00:00
Daniil Gentili
3c30bbf39c Small fix 2017-05-16 21:08:46 +01:00
Daniil Gentili
f6208e76cb Apply fixes from StyleCI 2017-05-12 18:34:45 +00:00
SMAZNet
5dd54b9590 Update bot.php (#115)
* Update bot.php

* Update bot.php
2017-05-12 20:34:40 +02:00
Daniil Gentili
bb925ff4a4 Style fixes 2017-05-10 11:05:34 +01:00
Daniil Gentili
c235afb30f Added support for 32 bit systems, imimplemented threading. 2017-03-24 21:01:08 +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
30e87023d9 Apply fixes from StyleCI 2017-02-12 18:56:11 +00:00
Daniil Gentili
08a3a00c13 Important bugfixes 2017-02-12 19:55:49 +01:00
Daniil Gentili
376ff36e20 Notices 2017-02-11 15:30:37 +01:00