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

569 Commits

Author SHA1 Message Date
67688e6260
Fix typo 2021-12-10 19:15:28 +01:00
73f3700e27
Further build improvements 2021-12-10 19:10:44 +01:00
81c32f1fd6
Finally fix build 2021-12-10 19:02:40 +01:00
261c9e866c
Improve build process 2021-12-10 18:53:19 +01:00
f9bf0def66
Improve build process 2021-12-10 18:32:21 +01:00
a774495ea6
Improve locking 2021-12-07 20:59:53 +01:00
6096734589
Flock before acting on shared repository 2021-12-07 20:09:41 +01:00
57e192fb72
Fix tests 2021-12-07 19:55:44 +01:00
c82ee47959
PHP 8.1 fixes 2021-12-06 20:20:43 +01:00
b3d90f8291
Remove legacy hacks and BC, optimize IGE crypto 2021-12-06 19:14:34 +01:00
541a34910c Improve build script 2021-12-04 11:40:43 +01:00
873035657e
Minor fixes 2021-12-03 20:14:36 +01:00
9b782566f7
Re-enable regression tests 2021-12-03 19:47:49 +01:00
59c73f9584
Disable regression tests on broken layers to finish build 2021-12-03 19:38:27 +01:00
564e5cf079
Try fixing constraint 2021-12-03 19:27:16 +01:00
eed4a8e9f1
Fix buildscript 2021-12-03 19:24:56 +01:00
8f5a539f60
Fix 2021-10-24 19:27:04 +02:00
29ea53488a
Change workflow 2021-10-24 19:24:25 +02:00
396cd6fa83 Report errors right away 2021-10-02 17:18:25 +02:00
8199cf695a
Some fixes 2021-09-25 14:02:12 +02:00
a058a92791
Ignore some classes during validation 2021-09-24 18:58:33 +02:00
b93027e5df
Fix builds 2021-09-24 18:50:21 +02:00
78e15f0c9a
Fix build 2021-09-12 12:16:14 +02:00
bdf27e39ca
Enable ping loop 2021-09-11 16:40:48 +02:00
65c0687898
Fix tests 2021-09-06 17:51:40 +02:00
25039885fd
Improve tests 2021-09-06 16:58:32 +02:00
ad8841b344
More improvements to the build process 2021-09-06 16:52:05 +02:00
64522b10f9
Improve build process 2021-09-06 16:41:40 +02:00
657e974264
Separately require entry module 2021-09-06 16:22:07 +02:00
63b744aead Fix build 2021-09-05 00:12:42 +02:00
316f3b2af2 Kill only our children (now that's a bit edgy) 2021-09-04 23:57:01 +02:00
770afc083e
Skip non-existant classes 2021-09-04 19:04:22 +02:00
45e2acfd19
Proper exclusion 2021-09-04 18:52:21 +02:00
86de2187d5 Fix build 2021-09-04 18:27:54 +02:00
5d53f21284
Avoid PHP 8 issues 2021-09-04 18:24:48 +02:00
ff6e9d0e7d
Do not symlink 2021-09-04 18:16:00 +02:00
98dfb2282c
Improvement 2021-09-04 18:07:30 +02:00
ad1ea6ebed
Fix build 2021-09-04 17:49:25 +02:00
84dfed0600
Checkout first 2021-09-04 17:42:31 +02:00
f28ef5bea2
Cleanup build 2021-09-04 17:37:48 +02:00
2ad8b488f5
New builds 2021-09-04 17:22:57 +02:00
36029ce56a
Layer 131 2021-08-14 17:52:38 +02:00
6e3c2f4cf6
Do cleanup before tests 2021-06-11 20:38:39 +02:00
fd7df5bf3c
Minor improvements 2021-04-23 15:51:33 +02:00
1389b24751
Better logs and sync deps 2021-04-20 16:15:14 +02:00
209c699ef5
Finalize 2021-04-09 18:20:57 +02:00
287bb64598
Bypass flood 2021-04-09 18:20:29 +02:00
e23356d85a
Reliability improvements 2021-04-09 17:21:37 +02:00
84cd319a7c
Properly terminate process 2021-04-07 18:58:25 +02:00
c4527bc72c
Avoid restarting existing event handler 2021-04-07 17:11:01 +02:00
90b03a2cfa
Avoid breaking off logs 2021-04-07 16:41:13 +02:00
fea7d6577e
Better logs 2021-04-07 15:15:49 +02:00
fbc43cf26b
Debug builds 2021-04-07 14:09:49 +02:00
555efdbb9f
Fix tags 2021-04-06 23:27:12 +02:00
510cb7dcc7
Nicer build logs 2021-04-06 23:23:17 +02:00
1280fe8f00
Fix 2021-04-06 22:51:40 +02:00
35ce7f4768
Better error handling 2021-04-06 22:44:40 +02:00
59a1bd6242
Fallback to multiple branches 2021-04-06 22:35:43 +02:00
2d83920e08
Fix syntax mistake 2021-04-06 22:26:05 +02:00
d8b45f4e20
Add ssh key for deploy 2021-04-06 22:18:03 +02:00
129493da4d
Small bugfix 2021-04-06 22:05:33 +02:00
45f1a5311a
Final script improvements 2021-04-06 17:21:03 +02:00
4536586001
Closure::fromCallable implemented in phabel 2021-04-06 16:50:56 +02:00
2bf175e2bb
Build process improvements 2021-04-06 00:11:32 +02:00
31843999d1
Run tests 2021-04-05 22:54:08 +02:00
88bfffbc94
Bugfix 2021-04-05 22:52:05 +02:00
131d20f166
Fix 2021-04-05 22:23:06 +02:00
c48c643ba3
Minor fixes 2021-04-05 18:30:28 +02:00
30d151c332
Build improvements 2021-04-05 18:30:27 +02:00
49d7c22b84 Remove 5.6 build for now 2021-04-01 23:10:02 +02:00
23cbb75ce1
Add secrets 2021-04-01 22:58:03 +02:00
8b15b79d83
Bugfixes and improve tests 2021-04-01 22:43:17 +02:00
cc13de5db5
Update script 2021-03-30 23:24:05 +02:00
1113778882
Remove generated phabel tests 2021-03-30 23:12:53 +02:00
4102c7f37b
Fix tests 2021-03-30 23:07:50 +02:00
0266071d6f
Fixes 2021-03-30 23:02:58 +02:00
bf51ccc7df
Show php version 2021-03-30 22:39:46 +02:00
0c65b0576b
Create phar5 2021-03-30 22:28:59 +02:00
cc62b30341
Fix phar composer.json 2021-03-30 22:25:00 +02:00
3eca02083e
Try fixing installation 2021-03-30 22:07:11 +02:00
8212ab27e3
Git fetch 2021-03-30 22:03:10 +02:00
ea13f6278d
Improve composer 2021-03-30 21:40:46 +02:00
cdafa6028d
Test 2021-03-30 21:35:07 +02:00
ed887b2720
Build fixes 2021-03-30 21:29:21 +02:00
7aa4796284
Small fixes 2021-03-30 21:23:48 +02:00
5b7e03c58b
Logs 2021-03-30 21:20:36 +02:00
41560ed29a
Replace travis environment variables 2021-03-30 21:18:38 +02:00
199fb66eb3
Trigger build 2021-03-30 20:59:17 +02:00
882537f4cc
Switch to github actions 2021-03-30 20:57:10 +02:00
6a95460c98
Fix build 2021-03-30 16:10:37 +02:00
def6199437
PHPDOC 2020-10-13 10:03:35 +02:00
5232d477b4
Update to layer 110 2020-03-06 13:09:52 +01:00
bc2426bcb4
Teardown tests 2020-02-28 16:53:10 +01:00
38382bf053
Link eventHandler APIFactory 2020-02-28 16:02:19 +01:00
997b3d3b3b
Misc improvements 2020-02-28 15:19:11 +01:00
98e56ba62f
ipv6 fixes 2020-02-28 14:14:02 +01:00
e50dd79e70
Send the logfile when reporting errors 2020-02-26 12:45:30 +01:00
753e6575ac
Bugfix 2020-02-26 11:47:30 +01:00
f22263ed78
Provide DNS fallback 2020-02-26 00:11:06 +01:00
Sean
dfe9edb132
Update copyrights (#767) 2020-02-17 14:13:46 +01:00
4b1cf229e5
Adding getUrl command in the downloadbot 2020-02-09 17:29:39 +01:00
47228712a6
Improve tests 2020-02-09 16:24:57 +01:00
36495bffe9
Improve composer reporter 2020-02-05 23:11:29 +01:00
447b3718ad
Build updates 2020-02-05 20:07:02 +01:00
02b7ce7da4
Avoid triggering flood limits 2020-02-05 20:00:11 +01:00
892c19af24
Some Telegram endpoints behave weirdly when accessed from travis 2020-02-05 19:56:31 +01:00
06fa416cb0
Clean up after datacenter test 2020-02-05 19:49:04 +01:00
51990eccfd
Remove excessively verbose logs from tests 2020-02-05 19:17:58 +01:00
2e3f49ef36
Enable DataCenter tests 2020-02-05 19:01:48 +01:00
ce94a70263
Fully implement bot API file IDs 2020-02-05 18:41:37 +01:00
76b6e24ac0
Improve tests 2020-02-05 17:55:18 +01:00
066a10e2dc
Bugfixes 2020-02-05 17:18:22 +01:00
e96f3ab593
Add tests, + various bugfixes 2020-02-04 21:46:38 +01:00
e4ba475970
Fix bot API file IDs 2020-02-04 17:34:02 +01:00
1884818465
Try to debug missing travis logs 2020-02-01 16:42:47 +01:00
a79650a180
Load proper branch for reporting 2020-01-19 14:29:53 +01:00
9b7ae03d8f
Cleanup external API 2020-01-19 13:46:49 +01:00
48368be109
Bugfix 2020-01-16 21:14:38 +01:00
a63131583b Fix type hinting (now, make sure the API is start()ed before calling get methods 2020-01-03 13:09:42 +01:00
a3150540d7 Improve tests 2019-12-30 00:04:06 +00:00
62dfaa0abe Add rename tests 2019-12-30 00:22:01 +01:00
48cca0dd4b
Fix tests 2019-12-29 14:44:03 +01:00
6ba7db89c8
Improve tests 2019-12-29 14:23:41 +01:00
ca074f436e
Don't rely on getcwd for tests 2019-12-29 13:29:00 +01:00
5bd51f7f81
Improve tests 2019-12-29 13:25:31 +01:00
4d3543b49b
Proxy bugfixes 2019-12-29 13:20:18 +01:00
894470a147
Refactor public API: full encapsulation and strict typing 2019-12-28 16:07:09 +01:00
491b9956f8 Build tags 2019-12-28 01:02:50 +01:00
3e311a81fe
Fix build 2019-12-27 15:57:15 +01:00
b947b5cacc
Insert php version in release file 2019-12-27 15:50:00 +01:00
6a67dda109
Update dns resolver 2019-12-27 14:47:20 +01:00
79794b765e
Trigger build properly 2019-12-26 22:43:09 +01:00
84bee57e0f
Disable debug 2019-12-26 22:02:36 +01:00
474691d81f
Switch to PHP for conversion script to avoid issues with read in travis 2019-12-26 21:33:51 +01:00
efef22d747
Possibly fix travis CI bash glitch 2019-12-26 21:12:45 +01:00
c5c1ca275a
Verbose logs 2019-12-26 21:00:48 +01:00
490b935829
Debug builds 2019-12-26 20:35:49 +01:00
d2be65d4ad
Wait for packagist, first 2019-12-26 20:26:27 +01:00
64928ccf7c
Travis glitches 2019-12-26 20:09:44 +01:00
aa8a1e8c37
Fix build scripts 2019-12-26 20:05:06 +01:00
b9f3acfaa6
Modular conversion 2019-12-26 19:47:24 +01:00
97c1003e6b
Improve conversion scripts 2019-12-26 19:23:03 +01:00
103c774236
Improve tests and conversion 2019-12-26 19:17:31 +01:00
6f578c6647 Further improvements 2019-12-26 00:20:15 +01:00
89fed994ad Backwards compatibility 2019-12-26 00:08:20 +01:00
f8b1bd270d fixes 2019-12-25 23:48:42 +01:00
eea6c966af
7to5 fix 2019-12-25 22:03:51 +01:00
d4d45b1dc9
Fix build script 2019-12-25 19:42:39 +01:00
172d708e0e
PHP 7.4 fixes 2019-12-25 19:38:44 +01:00
0eadfe2131
Remove x flag 2019-12-25 19:14:41 +01:00
b269a1f691
Debug build 2019-12-25 18:15:50 +01:00
fcd189e740
Update tests 2019-12-22 13:17:20 +01:00
544d0f3a0b
Final upgrades 2019-12-13 17:55:05 +01:00
428ab069d9
Update deps for tests 2019-12-13 17:33:17 +01:00
d7fcc08c66
For github archive program
This image will be stored in a glacier for eons to come.
 
Future generations: this image is of key importance for understanding our society. 

https://archiveprogram.github.com/
2019-11-23 16:26:30 +01:00
92717a2d05
MUUUAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA BUUURN SNAKES BUUURN MUAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA cough 2019-10-29 22:41:31 +01:00
cb7d5f6155
Clean up 2019-10-28 22:39:23 +01:00
08dac8e2c0 rel 2019-09-21 20:43:01 +02:00
32693698b6 Bring back support for PHP 5 2019-09-21 17:11:37 +02:00
2356d0b14a Multiple bugfixes 2019-09-21 16:52:27 +02:00
11a939c403 Asynchronously call methods of yielded objects, no extra syntax required (+ automatically release tagged commits) 2019-09-21 15:38:54 +02:00
876278919a Send built phar 2019-09-18 22:39:30 +02:00
45e9380ec8 Send PHP version id 2019-09-14 16:26:09 +02:00
edfd387743 Update travis builder 2019-09-04 22:16:35 +02:00
b9f036681a try avoiding conflict 2019-09-04 19:17:16 +02:00
5c104180f0 php 7.4 fixes 2019-09-04 16:50:34 +00:00
53f445674e Parallelize tests 2019-09-04 16:37:35 +00:00
4cd966c5c0 Log during tests 2019-09-04 16:33:27 +00:00
662c947953 Properly shutdown in case of exception 2019-09-03 18:21:43 +02:00
824b62cd10 Fix tests 2019-09-02 17:21:20 +02:00
e0b293b9a1 cs-fix 2019-09-02 17:08:36 +02:00
d2010cc259 Merge 2019-08-29 18:34:33 +02:00
d75fdd5e9d Update builder 2019-08-26 01:02:56 +02:00
ea2476b1cf Update builder 2019-08-25 23:47:47 +02:00
a951ae380f
Async magnaluna and more async bugfixes (#667) 2019-07-18 23:48:35 +02:00
005d762a8f Cast to string to avoid issues with Bytes objects 2019-07-16 15:18:37 +02:00
bdc3ff6d8b bugfixes 2019-07-06 19:27:13 +02:00
d5c58af013 Fix php 5 build 2019-07-03 13:11:26 +02:00
19ed075f70 Fix build 2019-07-03 12:34:19 +02:00
53bf8176f5 Stuffs 2019-07-01 13:14:56 +02:00
c451471f78 Setting alias 2019-07-01 10:04:34 +02:00
37a9133a6f Improved 2FA 2019-06-30 15:12:43 +02:00
4089efe8b0 Automatically subrelease specified builds 2019-06-21 21:28:15 +02:00
b40a9570c0 Bugfixes and improvements (subrelease) 2019-06-21 21:20:44 +02:00
e7fff53d9d Disable zlib on PHP 5.6 2019-06-21 16:04:05 +02:00
dbba5a1583 Remove abstract static methods in PHP 5.6 2019-06-20 18:34:05 +02:00
948cf8162e Test modified artax too 2019-06-20 10:28:38 +02:00
371020ea83 Fix conversion of throwables 2019-06-19 14:59:32 +02:00
982e0940f1 Fix path 2019-06-19 11:36:07 +02:00
ab52516113 Just check without removing output 2019-06-19 11:27:42 +02:00
3f03a7b21a Conversion bugfixes 2019-06-19 11:18:51 +02:00
282d0b1655 Load by default only manually tagged releases 2019-06-18 19:35:13 +02:00
68b28b652e Update release file 2019-06-18 19:02:31 +02:00
55728f3e2c Fix PHP 5 build 2019-06-18 18:52:17 +02:00
e6cb604b0a Substitute echo function in php 5 2019-06-18 18:35:32 +02:00
3102209ace Bugfix 2019-06-18 18:27:26 +02:00
6a6eacc722 Try different approach 2019-06-18 18:13:24 +02:00
dba734eaba Substitute AMPHP Coroutine with MadelineProto Coroutine 2019-06-18 17:52:04 +02:00
3096ee3162 Re-enable php-build 2019-06-18 17:39:31 +02:00
f9c0a92e98 Travis CI fixes 2019-06-18 17:34:25 +02:00
8d47981b22 Small fix to phpenv 2019-06-18 17:19:45 +02:00
622cd30dbb Build script fix 2019-06-18 15:40:59 +02:00
7b38cfda27 Build libzip manually 2019-06-18 15:30:14 +02:00
18139ea0d3 Install php-build 2019-06-18 15:08:11 +02:00
13fb3e61a9 Use php 7 with 7to5 2019-06-18 15:04:13 +02:00
e74ff18d9f Require external php 7 polyfill 2019-06-18 14:39:31 +02:00
4311ed872d Build php 5.6 and php 7.0 versions w/ polyfills 2019-06-18 14:31:38 +02:00
40e2e6c09d Various bugfixes 2019-06-18 12:31:44 +02:00
47f0285881 Small bugfix 2019-06-17 13:09:40 +02:00
8cd870366a Bugfixes and improvements to tests 2019-06-17 12:19:46 +02:00
9668727b80 Small fix 2019-06-16 22:15:31 +02:00
cef7e2348c Proper exit codes 2019-06-16 21:27:23 +02:00
31bbe44735 Allow travis tests 2019-06-16 21:25:03 +02:00
b65beb3ece Update phpseclib and add smore tests 2019-06-16 21:20:29 +02:00
f3c251ea33 Require fork of dns 2019-06-12 18:48:05 +02:00
6a6fcb782d Add shutdown API 2019-06-06 15:57:21 +02:00
08a502cb2f Add async readline 2019-06-05 15:38:32 +02:00
3ace2d035b Fix phar build 2019-06-04 15:24:15 +02:00
d18ef430b9 Fix phar build 2019-06-04 15:22:47 +02:00
a1daca04da
Style fixes 2019-06-04 14:55:58 +02:00
011c8a5c6e Fix phar build 2019-05-31 18:06:36 +02:00
c6b3aa96d0 Update copyrights 2019-05-31 12:18:10 +02:00
b339a9d849 Major fixes and refactoring of wrapper APIs 2019-05-22 17:35:16 +02:00
46c4e222db Fix phar build 2019-05-16 13:37:59 +02:00
cce0c3ed3e Update dependencies 2019-05-16 12:44:05 +02:00
453af1208b Fix calls 2019-05-15 22:08:49 +02:00
15499970a4 Update dependency 2019-05-13 17:59:10 +02:00
714ade6fbc Some fixes 2019-05-12 16:01:52 +02:00
Daniil Gentili
285bbca44c CombinedAPI and madeline.php improvements 2019-05-10 23:02:15 +00:00
Daniil Gentili
a8eb7622a8 Bypass composer cache 2019-05-10 22:19:21 +00:00
8dedb13b5e Clean up unused stuff 2019-05-10 14:07:15 +02:00
c993f4d207 Multiple bugfixes 2019-05-10 13:34:44 +02:00
4fa1e606a3 Comment out testing.php string 2018-12-28 18:12:26 +01:00
08313ece9c close_and_reopen bugfix 2018-12-28 17:21:04 +01:00
Daniil Gentili
0b7c8678b4 Convert multiple catches 2018-12-27 03:04:44 +00:00
Daniil Gentili
69a2131206 Support yield return polyfill 2018-12-27 02:47:21 +00:00
df24fa4611
Merge alpha into master (async, huge bugfixes and more) (#546)
* Implement async and lots of bugfixes

* Implement more async

* Implement async, implement bugfixes for the connection module, for the datacenter module, huge bugfixes, huge perfomance improvements, media DCs for https, advanced selecting, custom var_dump, totally rewritten IOLoop and response mechanism, promises, improvements to the TL parser, custom mb_substr

* Apply fixes from StyleCI

* Bugfixes

* Apply fixes from StyleCI

* Bugfixes, implement combined promises

* Apply fixes from StyleCI

* Support passing method arguments as callable

* Starting to write async upload logic

* Apply fixes from StyleCI

* Start implementing async file upload

* Apply fixes from StyleCI

* bugfix

* Apply fixes from StyleCI

* Start rewriting connection module

* Add PHP file docblocks for all classes

* Start working on new async stream API

* Finish writing stream API

* More stream API fixes

* Apply fixes from StyleCI

* Rewrite DataCenter and Connection modules

* Clean up stream API documentation

* Fixes

* Apply fixes from StyleCI

* Add referenced parameter to get length of buffer to read in getReadBuffer API

* Moved all MessageHandler code in the Connection module, added a PHP version warning in the phar

* Start fixing reads

* Fix all protocol stream wrappers

* Apply fixes from StyleCI

* Implement disconnection, and remove end function

* Working async RPC

* Implement async file upload

* Bugfix

* Method recall bugfixes

* Bugfixes

* Trait bugfixes

* Fix FIFO buffer

* Bugfixes and speedtests

* Async logging

* Implement websocket streams

* Implement loop API, signal API, clean closing and start changing layer

* Small magna, websocket and HTTP fixes

* Clean up loop API

* Improved stack traces, 2FA and async

* Login fixes

* Added instructions for manual verification

* Small fixes

* More app info improvements

* More app info improvements

* TL and 2FA fixes

* Update to layer 89

* More bugfixes

* Implement broken media reporting

* Remove debug comments

* PHP 7.2 backwards compatibility

* Bugfixes

* Async key generation

* Some simplifications

* Transport fixes

* Cleanup

* async API

* Performance fixes

* Fixes to async API

* Bugfixes

* Implement one-time async loop

* Authorization and logging fixes

* Update to layer 91

* 7to5 fix

* Null coalesce conversion

* Implement socks5 proxy

* Implement HTTP proxy

* Fixes to HTTP proxy

* MTProxy and socks5 fixes

* Disable PHP 5 conversion

* Proxies have higher priority

* Avoid error handling in vendor

* Override composer dependencies

* Fix travis build

* Final composer fixes

* Proxy logic fixes

* Fix get_updates update handling

* Do not use parallel file driver if not supported

* Refactor loader and implement HTTP fixes

* Suppress errors in loader

* HTTP and authorization fixes

* HTTP fixes

* Improved peer management

* Use HTTP protocol on altervista

* Small bugfixes

* Minor fixes

* Docufix

* Docufix

* Legacy fixes

* Fix message queue

* Avoid updating if using MTProxy

* Improve logs and examples

* Trim final newlines while converting parse mode

* Reimplement noResponse flag

* Async combined event handler and APIFactory fixes

* Actually return config

* Case-insensitive methods

* Bugfix

* Apply fixes from StyleCI (#545)

* MTProxy fixes

* PHP 5 warning

* Improved PHP 5 warning

* Use <br> along with newlines in web logs

* Update docs
2018-12-26 20:51:14 +01:00
837c541ea7 Apply fixes from StyleCI 2018-08-28 18:58:20 +00:00
41c682a12d Fix recursive alphabetical search and implement nothing in the socket fix 2018-08-28 20:55:49 +02:00
Daniil Gentili
6947d1b034 Use media DCs for file operations 2018-06-29 18:08:33 +00:00
33d95dab58 Apply fixes from StyleCI 2018-06-29 16:16:12 +00:00
855045099e Update to layer 82, implement media DC key exchange, revert logger API change, fix pretty TL traces, implement message splitting for parse_mode messages, fix TOS flow 2018-06-29 18:15:17 +02:00
c07ab02c66 Merge branch 'master' of https://github.com/danog/MadelineProto 2018-06-29 14:00:21 +02:00
87a989d0cf TOS update, update to layer 81, improve GUI/cli interface 2018-06-29 13:50:14 +02:00
092cc44d75 HHVM fixes 2018-06-22 13:28:33 +02:00
Daniil Gentili
7b9190b5e5 Self-update mtproxyd 2018-05-10 09:38:51 +00: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
c6a0a04731 Apply fixes from StyleCI 2018-03-16 14:10:29 +00:00