1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 17:00:00 +01:00
Commit Graph

193 Commits

Author SHA1 Message Date
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
0918be3060 Apply fixes from StyleCI 2018-03-12 21:11:18 +00:00
Daniil Gentili
071be3bb80 Reorganizing documentation, rewrote peer management 2018-03-12 21:10:49 +00:00
e9dc0ba6f6 Implement socket interface 2018-03-04 17:42: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
ebceeda29b Stability fixes 2018-02-19 11:48:43 +00:00
Daniil Gentili
f0939e3725 Small bugfixes for magnaluna and resolve_username 2018-02-18 17:26:14 +00:00
Daniil Gentili
cca40a34ad Completely rewrite auth key and connection management, proxy fixes. 2017-12-23 02:03:07 +01:00
Daniil Gentili
10493516ed Major cleanup 2017-11-10 15:19:58 +00:00
Daniil Gentili
b3d9b1f07c Bugfixes 2017-11-09 11:31:11 +00:00
Daniil Gentili
8fdea307c6 Apply fixes from StyleCI 2017-11-03 16:46:37 +00:00
Daniil Gentili
abdddc42cc kkkk no breaking changes 2017-11-03 19:46:24 +03:00
Daniil Gentili
e5da891ac2 Docufix, changed deserialization API, added php 7 check 2017-11-03 15:02:01 +03:00
Daniil Gentili
6cf583ec97 Bugfix (closes #184) 2017-10-06 16:06:17 +03: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
7dec60c0b2 Apply fixes from StyleCI 2017-10-04 17:09:11 +00:00
Daniil Gentili
de26dc37ab Proxy fixes 2017-10-04 20:08:45 +03:00
Daniil Gentili
860ebcce8b Readable errors 2017-09-24 22:24:04 +00:00
Daniil Gentili
1c9f43c852 Apply fixes from StyleCI 2017-08-29 15:00:47 +00:00
Daniil Gentili
fefbe41f29 Added new serialization method 2017-08-29 17:00:31 +02:00
Daniil Gentili
118c01eea0 No more phone numbers in .env 2017-08-29 14:23:44 +02:00
Daniil Gentili
d30bf4b4ee now download_to_file and download_to_dir return an absolute path, and accept document objects 2017-08-28 01:22:04 +02:00
Daniil Gentili
37ab960266 Apply fixes from StyleCI 2017-08-25 16:28:08 +00:00
WeCan Group
5f737f648f fixed! (#175)
Fatal error: Uncaught Error: Call to undefined function readline()
2017-08-25 20:27:57 +04:00
Daniil Gentili
5e5e2e2d7f fixes 2017-08-18 13:51:27 +02: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
8203aebae0 Finally, a way to make people RTFM 2017-08-10 08:18:28 +00:00
Daniil Gentili
6fdb63bac2 Fixed visualization 2017-07-31 14:42:24 +00:00
Daniil Gentili
b2e9930d16 Secret chat fixes 2017-07-30 23:16:05 +02:00
Daniil Gentili
4d6365fc3d docufixes 2017-07-24 11:40:02 +02:00
Daniil Gentili
4c05506baf Some CDN fixes 2017-07-24 09:18:10 +02:00
Daniil Gentili
54f69ece92 Bugfixes 2017-07-24 01:32:29 +02:00
Daniil Gentili
a44e7a65d0 Added call and PWRTelegram docs 2017-07-23 16:11:02 +02:00
Daniil Gentili
8535df5908 You can now export/import the current authorization key 2017-07-22 14:11:07 +02:00
Daniil Gentili
4aa9578c4f Final fixes 2017-07-21 23:06:47 +02:00
Daniil Gentili
432b723678 smore fixes 2017-07-21 11:23:09 +01:00
Daniil Gentili
eae7b6df7d done 2017-07-20 16:20:19 +02:00
Daniil Gentili
5cd8c6d367 thx 2017-07-19 22:51:19 +01:00
Daniil Gentili
3a5e5a9c43 Improvements 2017-07-19 12:41:18 +02:00
Daniil Gentili
71986cf536 memes 2017-07-14 00:54:16 +01:00
Daniil Gentili
6113c0d63c Improved parsing of settings and logging 2017-07-12 14:33:10 +02:00
Daniil Gentili
b96c31e893 I really like abstraction 2017-07-09 11:08:01 +01:00
Daniil Gentili
c1fd3c4ea7 COLORS!!!! (and custom logging callbacks 2017-07-08 00:11:27 +02:00
Daniil Gentili
87dc456844 Apply fixes from StyleCI 2017-07-06 16:37:43 +00:00
Daniil Gentili
890e4d65cc Do not delete secret chat/call creation updates 2017-07-06 18:36:02 +02:00
Daniil Gentili
d1bed9e6a0 Apply fixes from StyleCI 2017-07-01 17:40:08 +00:00
Daniil Gentili
54e7499930 Fixes to lua 2017-07-01 19:39:35 +02:00
Daniil Gentili
dddad90616 Apply fixes from StyleCI 2017-06-30 13:37:18 +00:00
Daniil Gentili
70a85cb6be Updated to layer 68 2017-06-30 15:36:33 +02:00
Daniil Gentili
050fb92794 Apply fixes from StyleCI 2017-06-27 10:33:01 +00:00
Daniil Gentili
caf099e57a Update example 2017-06-27 12:32:32 +02:00
Daniil Gentili
f46a006cb3 Apply fixes from StyleCI 2017-06-23 20:41:28 +00:00
Daniil Gentili
a65b5b18c9 Implemented VoIP wrapper 2017-06-23 22:40:55 +02:00
Daniil Gentili
a698e91dd3 Fixed CTR encryption and downloading of CDN files 2017-06-09 20:56:13 +01:00
Daniil Gentili
6b5eb75f4f Bugfixes to secret chats 2017-06-06 17:41:19 +02:00
Daniil Gentili
7e729ada7b Fixes to secret chats and update handling 2017-06-05 12:23:23 +02:00
Daniil Gentili
658695ad67 Implemented call queue 2017-06-02 14:43:30 +02:00
Daniil Gentili
c11c2fabf4 Apply fixes from StyleCI 2017-06-01 16:53:24 +00:00
Daniil Gentili
a6e7c2dc6c More logging while trying to debug 2017-06-01 18:53:05 +02:00
Daniil Gentili
86c07f705d Performance fixes, bugfixes 2017-05-27 22:21:14 +01:00
Daniil Gentili
2ba273d148 Added dialog list wrapper 2017-05-17 16:29:29 +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
Grizzly2212
87cc6e88e3 Kiao fiocco (#99) 2017-04-24 12:41:41 +02:00
Daniil Gentili
1ad81319a3 Apply fixes from StyleCI 2017-04-21 11:14:21 +00: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
d8292e9add Documentation fixes, added bot_gif file id constructor 2017-04-10 13:49:32 +02:00
Daniil Gentili
d787cef5de Apply fixes from StyleCI 2017-04-05 00:10:13 +00:00
Daniil Gentili
c90e353345 Fixed deserialization of Object constructors containing vectors (why are the even serialized without their type?) 2017-04-05 02:09:45 +02:00
Daniil Gentili
c438a57513 Implemented VoIP key generation 2017-04-02 16:42:17 +02:00
Daniil Gentili
cd1040ec19 Fixed threading, fixed APIFactory, started working on calls 2017-04-01 13:20:57 +02:00
Daniil Gentili
6e02d23f6c Apply fixes from StyleCI 2017-03-31 15:36:55 +00: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
62ce466afc Apply fixes from StyleCI 2017-03-25 01:41:29 +00:00
Daniil Gentili
9df224cec3 Huge performance improvements and bugfixes 2017-03-25 02:41:09 +01:00
Daniil Gentili
c235afb30f Added support for 32 bit systems, imimplemented threading. 2017-03-24 21:01:08 +01:00
Daniil Gentili
f53927d3a7 Apply fixes from StyleCI 2017-03-11 18:55:56 +00: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
694f5e5ead Apply fixes from StyleCI 2017-02-21 20:05:09 +00:00
danogentili
3154b97763 Bugfixes 2017-02-21 21:04:37 +03: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
danogentili
abca755bac Bugfixes 2017-02-11 16:59:38 +03:00
VeeTaW
58823a86b9 fixed a horrible mistake (#53) 2017-01-28 17:03:44 +01:00
Daniil Gentili
f58ee4ce1c Fix typo in tests 2017-01-28 00:16:21 +01: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
danogentili
c18bdd2793 Fixed tests, adding support for PHP 5.4 2017-01-27 15:19:16 +03:00
Daniil Gentili
b25d926acd Let's not break stuff 2017-01-26 16:16:31 +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
Vitor Mattos
b37fad81d2 Test files (#48)
* Moved tests files to tests directory

* fix in directory
2017-01-22 15:50:35 +01:00