Commit Graph

53 Commits

Author SHA1 Message Date
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
Daniil Gentili
7f5b798427 Apply fixes from StyleCI 2017-01-29 21:42:53 +00:00
Daniil Gentili
aadd278c5a Bugfix 2017-01-29 21:42:21 +00:00
Daniil Gentili
0824470b71 Apply fixes from StyleCI 2017-01-27 21:05:24 +00:00
danogentili
632ca413d3 Implemented 2FA 2017-01-27 22:04:42 +03:00
Daniil Gentili
3b861dcd34 Bugfixes 2017-01-14 12:53:50 +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