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

391 Commits

Author SHA1 Message Date
f532e7d678
Cleanup 2023-06-18 22:13:12 +02:00
8a1bbed8da
Update index 2023-06-16 14:18:03 +02:00
5505a9b0fc
Fix bugs 2023-06-14 22:19:05 +02:00
01b97c2aab
Improve docs 2023-06-13 21:36:04 +02:00
3c0bce5cef
Improve docs 2023-06-13 21:30:02 +02:00
259c6a6cf7
Update build 2023-05-31 12:23:26 +02:00
942d0ac4d3
Update docs 2023-05-26 17:54:42 +02:00
c3f22ff37c
Update docs 2023-05-25 15:25:44 +02:00
26b900cf61
Misc improvements 2023-05-02 18:42:46 +02:00
6dece64d81
Remove messages.getAllChats 2023-04-25 17:31:36 +02:00
56a9af594e Make getID work with usernames, allow calling restart() and stop() from outside the event handler 2023-04-22 20:22:17 +02:00
f29efcd0df Update 2023-03-17 20:54:04 +01:00
30c43ab254 Fixes 2023-03-09 13:13:04 +01:00
4e68b580bd Remove some deprecated stuff 2023-01-15 13:34:50 +01:00
d79c254590 Test proxies 2023-01-15 13:25:56 +01:00
0d484f4a66 Update to layer 150, greatly simplify peer resolution logic 2022-12-29 20:27:18 +01:00
09225da898 Layer 150
Some checks failed
ci/woodpecker/push/build Pipeline failed
2022-12-08 20:16:40 +01:00
42b162708b
Update README.md
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/tag/build Pipeline failed
ci/woodpecker/tag/deploy unknown status
2022-11-24 09:30:39 +01:00
95f9275a61 Cleanup 2022-10-31 21:31:01 +01:00
b176cb3943 Fix
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2022-10-17 17:48:13 +02:00
4477813b60 Update docs
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/tag/build Pipeline failed
ci/woodpecker/tag/deploy unknown status
2022-10-07 21:11:55 +02:00
1c11c4862c
Update 2022-08-09 09:15:41 +02:00
49268ff7d4
Update 2022-07-29 17:23:32 +02:00
6c75e08ee7
fix 2022-07-26 17:56:46 +02:00
0ebd3068de
Multiple fixes 2022-06-04 16:51:23 +02:00
e69e71e238
Layer 142 2022-05-13 21:02:02 +02:00
0cd3517323 Docufix 2022-05-11 22:53:49 +02:00
46b593f01b
Update docs 2022-05-11 20:35:26 +02:00
f47c08a764
Update README.md 2022-05-03 18:46:53 +02:00
a75852301b
Fix docs 2022-05-03 14:47:11 +02:00
2d6365d4c5
Update README.md 2022-05-03 01:42:49 +02:00
0a9bc0e0ca
Update docs 2022-05-01 20:17:16 +02:00
905a77a2e8
Update to layer 140 2022-05-01 19:59:07 +02:00
b7791d7ebf
Update docs 2021-12-19 15:33:51 +01:00
aca4f7c120
Update to layer 135 2021-12-03 18:15:56 +01:00
0ae923c29a
Simpler docs 2021-09-26 13:35:53 +02:00
bdf27e39ca
Enable ping loop 2021-09-11 16:40:48 +02:00
5d9009dc27
Add phabel badge 2021-09-05 21:15:59 +02:00
5b4698d658
Update docs 2021-09-05 20:51:29 +02:00
b910dc4615
Update docs 2021-09-05 19:33:22 +02:00
0fab07e246
Concurrency fix 2021-05-04 14:05:52 +02:00
05a859ea50
Update docs 2020-10-01 20:48:22 +02:00
2e7f8b38a7
Update to layer 117 2020-09-12 12:50:22 +02:00
69f33dce34
Layer 113 2020-06-16 17:52:55 +02:00
5232d477b4
Update to layer 110 2020-03-06 13:09:52 +01:00
883ace5d3c Bugfix 2020-02-27 00:36:33 +01:00
e50dd79e70
Send the logfile when reporting errors 2020-02-26 12:45:30 +01:00
dd6803e4d7
Update docs 2020-01-05 17:58:45 +01:00
eb14611b02 docufix 2019-12-30 20:41:06 +01:00
ae82dc69fe
Update docs 2019-12-29 21:15:56 +01:00
99300304f1
Save 2019-12-27 21:24:50 +01:00
76044ae1aa
Fix descriptions 2019-12-27 18:26:47 +01:00
b2596c483d
Refactor docs 2019-12-27 17:43:29 +01:00
515045c024
Add TON docs 2019-12-22 12:57:49 +01:00
f0e616aade
Document 2019-10-31 11:17:22 +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
445c647438 New phpdoc 2019-09-18 20:46:20 +02:00
aff46a1cc3 Update docs 2019-09-13 17:14:37 +02:00
dad344b18b Basic 105 docs 2019-09-12 19:08:48 +02:00
105ffb443a Better docs 2019-09-03 16:53:39 +02:00
d2010cc259 Merge 2019-08-29 18:34:33 +02:00
2c2e33636f Layer 104 2019-08-15 20:33:07 +02:00
Giuseppe
018cc5a66d Grand fix (#676 by peppelg) 2019-08-04 12:25:00 +02:00
37a9133a6f Improved 2FA 2019-06-30 15:12:43 +02:00
5cfaee670c Merge 2019-06-29 14:54:12 +02:00
a23d71b44f Layer 102 2019-06-24 15:46:38 +02:00
8bfeb13176 Update docs 2019-06-23 13:08:44 +02:00
704152680b Improve docs 2019-06-21 17:02:52 +02:00
24b92b9a71 Fix 2019-06-07 17:21:43 +02:00
6a6fcb782d Add shutdown API 2019-06-06 15:57:21 +02:00
fd1234bfbd Fix 2019-06-06 00:33:11 +02:00
3a4325f691 Add async echo 2019-06-05 16:45:33 +02:00
08a502cb2f Add async readline 2019-06-05 15:38:32 +02:00
3b26ae40a1 Updated changelog 2019-06-05 12:04:36 +02:00
3f8ab5cbbe Update index 2019-06-02 13:50:04 +02:00
83fb66dacd Start writing changelog (wew) 2019-05-31 17:59:50 +02:00
52fffa7a68 Improve async docs 2019-05-04 14:08:48 +02:00
cc84816ed1 Async docs and bugfixes 2019-05-03 21:10:56 +02:00
Daniil Gentili
9a6e9f363e
Update README.md 2019-04-29 13:03:54 +02:00
5c1281196a Update docs to layer 97 2019-03-29 21:12:45 +01:00
a0304e8afb Merge doc scripts 2019-03-08 15:16:58 +01:00
ac6dc479f7 Fix docs 2019-03-08 14:49:52 +01:00
edb811466b Improve docs 2019-03-08 14:34:53 +01:00
080bb0e9f0 Update docs 2018-08-30 20:02:23 +02:00
269ece309a Update docs 2018-07-11 15:15:56 +02:00
87a989d0cf TOS update, update to layer 81, improve GUI/cli interface 2018-06-29 13:50:14 +02:00
771e34d332 Bugfixes to HTTP proxy 2018-04-18 16:40:40 +02:00
6dd180542e Improve documentation builder 2018-04-11 14:18:03 +02:00
5fcbf77b99 Improvements to web UI 2018-03-23 18:23:28 +01:00
33af309f7a Now the default example works with bots, too 2018-03-21 12:24:38 +01:00
51582ce5f1 Add tip to visit try.madelineproto.xyz 2018-03-21 10:53:02 +01:00
dcec2787ed Update docs 2018-03-20 22:18:19 +01:00
b04f5065e5 Fixing typos 2018-03-20 20:43:11 +01:00
a6232fa43c Bugfixes 2018-03-20 17:20:19 +01:00
2b857cb6ad Update docs 2018-03-20 16:38:02 +01:00
Daniil Gentili
1b349d93da Update docs 2018-03-20 14:47:34 +00:00
Daniil Gentili
051ac64d81 Add tip for logs 2018-03-20 12:26:33 +00:00
Daniil Gentili
e21fa6b884 Fixes to docs 2018-03-20 12:04:44 +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
f2a3f460a6 Update docs 2018-03-14 11:08:10 +00:00
Daniil Gentili
d53469ee0e Improve update management and documentation 2018-03-13 11:51:37 +00:00
Daniil Gentili
3dd038e99b Fix docs 2018-03-12 21:27:10 +00:00
Daniil Gentili
6ef06cdcc1 Update docs 2018-03-12 21:17:45 +00: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
983912f188 Avoided memory leak, Button now implements ArrayAccess, improved documentation 2018-02-25 09:52:55 +00:00
925fa88de1
Add automated phar downloader 2018-02-21 12:55:42 +01:00
Daniil Gentili
ec4fc804bb Update documentation, update travis ci build script 2018-02-20 20:47:25 +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
Daniil Gentili
59473ebb31 Bugfixes and docufixes 2017-12-23 15:33:19 +01:00
Daniil Gentili
deceb018bc Docufix 2017-12-21 09:52:23 +00:00
~/Saleh
2fec5f6c3f update extensions (#252) 2017-12-12 20:55:13 +01:00
Daniil Gentili
d4a5153b4d Update docs 2017-12-10 10:33:03 +00:00
Daniil Gentili
3aa60e8d31 Updated to layer 73 2017-11-15 12:41:58 +00:00
Daniil Gentili
5d7e36b168 Docufix 2017-11-10 15:35:27 +00:00
ca4eca2049
Bugfixes 2017-11-08 13:38:55 +03:00
Daniil Gentili
8c5de357d0 Bugfixes and docufixes 2017-11-03 19:39:50 +03:00
Daniil Gentili
19b10369d0 docufix 2017-11-03 15:06:41 +03:00
Daniil Gentili
e5da891ac2 Docufix, changed deserialization API, added php 7 check 2017-11-03 15:02:01 +03:00
Daniil Gentili
446facbb2d docufix 2017-10-09 14:22:03 +03:00
Daniil Gentili
38a76c925e Update docs 2017-10-04 15:43:51 +03:00
Daniil Gentili
f7ad740fdf Docufix 2017-09-26 15:12:12 +02:00
Daniil Gentili
71f392e2b9 Added userbot examples, improved performance of gzip compression 2017-09-26 15:08:25 +02:00
Daniil Gentili
fefbe41f29 Added new serialization method 2017-08-29 17:00:31 +02:00
Daniil Gentili
c70f5da7bd Add link to channel 2017-08-28 11:38:44 +02:00
Daniil Gentili
44cd3fc6aa Better docs 2017-08-25 14:29:02 +02:00
Daniil Gentili
68749f63e1 Updated to layer 71, added getSignalBarsCount to php-libtgvoip docs 2017-08-21 18:22:02 +02:00
Daniil Gentili
68756d9f16 seo+++++ 2017-08-20 16:04:54 +00:00
Daniil Gentili
700150234f seo+++++ 2017-08-20 15:37:29 +00:00
Daniil Gentili
b270ea1247 Remove logo 2017-08-20 14:23:22 +00:00
Daniil Gentili
d0db483749 aaaaaaaaaaa 2017-08-20 14:16:23 +00:00
Daniil Gentili
957de21bb9 amp shiz 2017-08-20 14:10:46 +00:00
Daniil Gentili
bdcfc0a464 amp shiz 2017-08-20 14:06:39 +00:00
Daniil Gentili
e1f30e3c7a amp shiz 2017-08-20 14:02:02 +00:00
Daniil Gentili
9d77dc0919 AMP fixes 2017-08-20 09:05:56 +00:00
Daniil Gentili
5e5e2e2d7f fixes 2017-08-18 13:51:27 +02:00
Daniil Gentili
1ff09e959c Docufix 2017-08-18 13:41:27 +02:00
Daniil Gentili
a4b8a39437 Better docs 2017-08-18 13:27:44 +02:00
Daniil Gentili
a0ce5c483e i'm good 2017-08-11 17:51:56 +02:00
Daniil Gentili
07090454db Thanks aaron 2017-08-10 08:44:06 +00:00
Daniil Gentili
8203aebae0 Finally, a way to make people RTFM 2017-08-10 08:18:28 +00: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
e1503ab68a CELESTIA SANTISSIMA 2017-07-24 17:01:23 +02:00
Daniil Gentili
90414b9230 docufixes 2017-07-24 11:45:55 +02:00
Daniil Gentili
9b58979ed0 Updated to layer 70 2017-07-23 17:44:01 +02:00
Daniil Gentili
a44e7a65d0 Added call and PWRTelegram docs 2017-07-23 16:11:02 +02:00
Daniil Gentili
7dc348ae6f Added call docs 2017-07-22 15:28:15 +01:00
Daniil Gentili
3a5e5a9c43 Improvements 2017-07-19 12:41:18 +02:00
Daniil Gentili
0c968af317 Fix conflicts 2017-06-06 17:46:46 +02:00
Daniil Gentili
6b5eb75f4f Bugfixes to secret chats 2017-06-06 17:41:19 +02:00
Daniil Gentili
6459cf72fd Added missing methods 2017-06-03 20:19:05 +02:00
Daniil Gentili
86067bbf6b You can now proxy MadelineProto 2017-06-03 16:40:14 +02:00
Daniil Gentili
5b869098b9 Remove should_serialize check 2017-06-02 13:27:13 +02:00
Daniil Gentili
a6e456b253 Added flag to avoid getting updates on deserialization 2017-05-31 20:14:11 +01:00
Daniil Gentili
4ea3b83ae1 Fixed pts bugs, created PTSException 2017-05-28 00:35:50 +01:00
Daniil Gentili
b67ce553fc Now byte strings are actually objects, everything is even faster, and more thread safe. Modifying the settings is even easier now. 2017-05-18 11:12:33 +01:00
psycholyzern
85191a6f5e Update README.md (#101)
Fix link to default settings
2017-04-24 12:41:32 +02:00
Daniil Gentili
f2602fb377 docfix 2017-04-21 13:26:13 +02:00
Daniil Gentili
5c50d63cfb Merge branch 'master' of https://github.com/danog/MadelineProto 2017-04-21 13:13:46 +02: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
Grizzly2212
34900bf803 Update README.md (#87) 2017-04-11 20:43:14 +02:00
b97959b6c9 Documentation fixes 2017-04-10 12:02:23 +02:00
Daniil Gentili
4e4abed790 Written documentation for get_pwr_chat and fixed some bugs 2017-04-06 20:15:59 +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
524cede469 Updated readme 2017-03-25 03:05:39 +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
53102f9219 Added support for arabic chars and other utf8 chars, and a nice RTFM paragraph in the README 2017-02-22 20:45:20 +01:00
Daniil Gentili
2a04787c98 Switched to native html parser 2017-02-16 20:04:57 +01: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
Daniil Gentili
c86e35645e Implemented markdown and html parsing 2017-02-13 04:33:06 +01:00
Daniil Gentili
08a3a00c13 Important bugfixes 2017-02-12 19:55:49 +01:00
Daniil Gentili
81c1bcd208 HUGE performance improvements (run composer update), started to work on threading 2017-02-11 15:16:57 +01:00
Daniil Gentili
abeb0b9c5b SEO 2017-02-05 15:15:48 +01:00
Daniil Gentili
11ec3fdb45 Fix docs 2017-01-30 13:25:11 +01:00
Daniil Gentili
151de9724b Fix docs 2017-01-26 16:31:43 +01: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
danogentili
e469f05d64 Readd support for php 5.6 2017-01-21 18:13:28 +03: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
0cdcccfc43 Fixed misteaks in documentations 2017-01-11 10:31:33 +01: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
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
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
d5f02639d8 Added serialization docs 2016-12-30 16:45:04 +01: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
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
34865686da Working on updates 2016-12-24 17:20:45 +01: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
cfc7cb4e04 Started writing update handlers 2016-12-23 12:19:13 +01:00
Daniil Gentili
306f581f1c Fixed logo 2016-12-21 11:39:52 +01:00
Daniil Gentili
7e9383981c Fixed handling of all service messages exactly as described in the API (closes #20), fixed bug in authorization module, added hover logo. 2016-12-21 11:31:34 +01:00
Daniil Gentili
eda02d75f6 Added logo to readme 2016-12-20 17:15:47 +01:00
Daniil Gentili
ffb8f2267c Improved documentation generation 2016-12-20 13:15:22 +01:00
danogentili
fa1183b25e Merge branch 'master' of https://github.com/danog/MadelineProto 2016-12-19 18:57:29 +03:00
danogentili
04a2504c17 Fixed a few bugs, switched to traits for MTProtoTools modules, written documentation creator and added documentation 2016-12-19 18:56:52 +03:00
Daniil Gentili
ba740d7be7 Throw exception if not running on 64 bit system 2016-12-12 15:36:46 +00:00
Daniil Gentili
8bba87c353 Rewrote TL class using webogram, fixed bug in recognition of system version, improved response handling, improved tests, improved documentation 2016-11-29 00:47:59 +00:00