552e1a3182
Cleanup
2018-04-17 11:18:40 +02:00
513a5933fe
Cleanup
2018-04-17 11:17:44 +02:00
0c537e133f
Apply fixes from StyleCI
2018-04-17 08:40:34 +00:00
e600aa0c43
Bugfixes to server, logging and serialization
2018-04-17 10:39:55 +02:00
1a48e8224e
Avoid logger problems
2018-04-16 14:23:13 +02:00
549ead2e25
Apply fixes from StyleCI
2018-04-16 11:58:52 +00:00
040babd24d
Merge branch 'master' of https://github.com/danog/MadelineProto
2018-04-16 13:57:48 +02:00
5c88cc3e2e
Server bugfixes
2018-04-16 13:56:00 +02:00
rik43
ccef4bc4f0
typo in var name ( #394 )
2018-04-15 12:00:18 +02:00
rik43
83f810a825
wrong var name ( #395 )
2018-04-15 11:59:56 +02:00
5948b17e88
Apply fixes from StyleCI
2018-04-14 13:01:52 +00:00
965feb3ba4
Merge branch 'master' of https://github.com/danog/MadelineProto
2018-04-14 15:00:58 +02:00
1d41c13c0e
Finish slapping together tdesktop conversion module
2018-04-14 15:00:46 +02:00
d8a61db7ac
Start writing tdesktop conversion
2018-04-12 21:46:19 +02:00
be913fac3c
Apply fixes from StyleCI
2018-04-11 18:27:29 +00:00
f246f5aa40
Add conversion class for sessions generated by other clients
2018-04-11 20:27:02 +02:00
Daniil Gentili
b51ce6cd73
Small bugfix for media conversion
2018-04-09 20:02:41 +00:00
1f8ec931e7
Apply fixes from StyleCI
2018-04-08 17:54:08 +00:00
Daniil Gentili
c97aced309
Use non-static logger
2018-04-08 17:53:30 +00:00
Daniil Gentili
73e97fc620
Use a custom logger for every instance, create Magic class for shared instance data
2018-04-08 17:44:01 +00:00
aff335c5dd
Apply fixes from StyleCI
2018-04-04 18:16:07 +00:00
50fa348eca
Cleanup
2018-04-04 20:15:38 +02:00
044f3ab63d
Merge branch 'master' of https://github.com/danog/MadelineProto
2018-04-04 20:14:59 +02:00
ba6aeafc4c
More SEO improvements
2018-04-04 20:11:59 +02:00
84f756b79d
Improve SEO
2018-04-04 19:52:41 +02:00
c905063a73
Merge branch 'master' of https://github.com/danog/MadelineProto
2018-04-04 17:41:13 +02:00
537ff239ba
Socket interface bugfixes
2018-04-04 15:51:10 +02:00
1bf722aa73
Apply fixes from StyleCI
2018-04-01 19:03:27 +00:00
d8d8da47d1
Bugfix
2018-04-01 21:03:08 +02:00
b8eea05f64
Small bugfix
2018-04-01 20:40:24 +02:00
e1a0ced257
Apply fixes from StyleCI
2018-04-01 17:31:17 +00:00
Daniil Gentili
e8b77cb722
Final improvements
2018-04-01 17:30:57 +00:00
caaffb60f1
Apply fixes from StyleCI
2018-04-01 17:23:39 +00:00
588aea5c8e
Stability fixes
2018-04-01 19:23:20 +02:00
98d624da91
Apply fixes from StyleCI
2018-03-31 16:19:11 +00:00
5a2e547c99
Improvements for update fetching on altervista
2018-03-31 18:18:48 +02:00
cbbb5069b2
Apply fixes from StyleCI
2018-03-31 00:50:58 +00:00
Daniil Gentili
fbc774d995
Implement fully passive update polling
2018-03-31 00:50:17 +00:00
Daniil Gentili
0368e2daf2
Merge branch 'voip' of https://github.com/danog/Madelineproto
2018-03-30 19:17:15 +00:00
Daniil Gentili
60d1485d46
PHP 5 fixes
2018-03-30 09:27:21 +00:00
Daniil Gentili
44d53b1c09
Merge
2018-03-30 09:24:11 +00:00
Daniil Gentili
88592caab1
Keep the VoIP class in the VoIP branch for now
2018-03-30 09:23:08 +00:00
acb73834d4
Apply fixes from StyleCI
2018-03-29 21:05:15 +00:00
Daniil Gentili
91fa43094d
Add loop callback method in event handler, add support for secret chats in sendMessage, update magnaluna
2018-03-29 21:04:50 +00:00
a5246e782d
Apply fixes from StyleCI
2018-03-29 11:25:42 +00:00
cf974a2d0a
Implement select in DataCenter class, continue writing VoIP implementatino
2018-03-29 13:25:15 +02:00
2c83a555fc
Avoid loading alpha VoIP class
2018-03-28 19:55:26 +02:00
327b88e092
Apply fixes from StyleCI
2018-03-28 17:48:16 +00:00
d2616003a1
Start implementing libtgvoip natively
2018-03-28 19:47:50 +02:00
Daniil Gentili
0dcd3d9c43
Extract chat ID from service messages
2018-03-27 22:46:06 +00:00
Daniil Gentili
3d4813eb02
Improve logging
2018-03-27 19:31:19 +00:00
ed68a88598
Avoid getmypid calls on altervista
2018-03-27 20:48:08 +02:00
Daniil Gentili
e7c595c0a2
Apply fixes from StyleCI
2018-03-27 14:49:55 +00:00
54fea08591
Bugfixes to account creation
2018-03-27 16:49:39 +02:00
Daniil Gentili
dc0dcf76c6
Apply fixes from StyleCI
2018-03-27 13:42:18 +00:00
622f37fb2d
Bugfixes
2018-03-27 15:41:58 +02:00
7c73af5aa0
Improve docs
2018-03-27 14:41:50 +02:00
87ebab50ce
Fix my.telegram.org app creation
2018-03-26 13:27:31 +02:00
Daniil Gentili
0f061174f3
Fixes to channel difference
2018-03-25 17:20:28 +00:00
Daniil Gentili
bed23694c4
Fixes to channel difference
2018-03-25 17:19:50 +00:00
Daniil Gentili
164f833f92
Apply fixes from StyleCI
2018-03-25 17:17:28 +00:00
Daniil Gentili
04b84741a3
Fixes to channel difference
2018-03-25 17:17:05 +00:00
353f8b6281
Hugely speed up startup
2018-03-24 19:06:01 +01:00
8d1f8c401e
Bugfixes and improvements to magnaluna
2018-03-24 16:22:13 +01:00
f00cd63df8
Fixes to docs
2018-03-24 13:48:27 +01:00
Daniil Gentili
cfe4a038f0
Add method to report a message in a supergrup/channel for spam
2018-03-24 10:23:45 +00:00
27d627279c
API docufix
2018-03-23 19:04:39 +01:00
56a4162f3a
Improve docs.madelineproto.xyz/API_docs/methods
2018-03-23 18:48:18 +01:00
5fcbf77b99
Improvements to web UI
2018-03-23 18:23:28 +01:00
1847e4071e
Sort method descriptions alphabetically
2018-03-23 18:14:25 +01:00
a380c1856d
Add method names in dot notation next to the descriptions
2018-03-23 18:08:39 +01:00
362d7f61a3
Cleanup docs
2018-03-23 17:59:56 +01:00
39dda6b00e
Small fix
2018-03-23 17:50:03 +01:00
c68403b35f
Create new simplified description-only documentation
2018-03-23 17:48:12 +01:00
0e76373a35
Finish documenting methods
2018-03-23 17:44:33 +01:00
Daniil Gentili
86d146c977
Apply fixes from StyleCI
2018-03-23 15:39:58 +00:00
1cb3c35ac8
Build documentation
2018-03-23 16:23:49 +01:00
54f6d5fb13
Almost finished documenting methods
2018-03-23 16:19:48 +01:00
Daniil Gentili
feefb91feb
Documenting methods...
2018-03-23 11:35:00 +00:00
Daniil Gentili
4c7e1bad87
bugfix
2018-03-23 10:35:50 +00:00
Daniil Gentili
40567ce3ec
Bugfixes
2018-03-23 10:14:29 +00:00
Daniil Gentili
838a1c0169
Add missing traits
2018-03-22 21:23:46 +00:00
Daniil Gentili
beee4159b6
Implemented web UI for my.telegram.org and bugfix
2018-03-22 19:50:57 +00:00
Daniil Gentili
a18cfa28ef
Do not resend query right away if not on altervista
2018-03-22 11:22:25 +00:00
Daniil Gentili
eae850eedb
Improve retry management on unstable connections, peformance improvements
2018-03-22 02:07:44 +00:00
e8a349fa7b
Update and rename HTTPProxy.php to CustomHTTPProxy.php
2018-03-21 21:44:15 +01:00
Daniil Gentili
8ee71afccb
Support altervista.org out of the box
2018-03-21 20:29:20 +00:00
Daniil Gentili
209dde1a89
Throw USERNAME_INVALID errors
2018-03-21 17:27:47 +00:00
Daniil Gentili
c8a19d9f89
Speed up deserialization
2018-03-21 13:12:31 +00:00
7aafde0d8d
Improve documentation
2018-03-21 12:09:14 +01:00
c6ae9a9255
Update PrimeModule dependency and finish writing socket interface
2018-03-21 11:59:56 +01:00
449264ed69
Fix bug in web UI
2018-03-20 22:56:57 +01:00
dcec2787ed
Update docs
2018-03-20 22:18:19 +01:00
5d57935c37
Clearer examples
2018-03-20 19:57:36 +01:00
c156beb00e
Add missing pages
2018-03-20 19:53:12 +01:00
78932e02d0
Docufix
2018-03-20 19:43:34 +01:00
24414ad22f
docufix
2018-03-20 19:39:53 +01:00
a6232fa43c
Bugfixes
2018-03-20 17:20:19 +01:00
af8443caf2
Throw flood waits in resolve_username
2018-03-20 16:52:26 +01:00
214471bc60
Simplified docs.madelineproto.xyz
2018-03-20 16:42:05 +01:00
Daniil Gentili
ba9b397ddf
Bugfix
2018-03-20 15:00:24 +00:00
Daniil Gentili
1b349d93da
Update docs
2018-03-20 14:47:34 +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
marcosramirezaranda
d45d2d887e
add HTTP Proxy Support ( #335 )
...
* Add support for HTTP Proxy
* fix small typo
* forgot git add ...
* reverts to use numeric protocol in HTTPProxy::__construct
2018-03-16 15:10:22 +01:00
Daniil Gentili
63823fc3cc
Apply fixes from StyleCI
2018-03-14 14:30:22 +00:00
Daniil Gentili
1f07833322
Improvements to serialization and peer management
2018-03-14 14:29:38 +00:00
Daniil Gentili
3c16430b06
Improvements to update and peer handling.
2018-03-14 12:36:50 +00:00
Daniil Gentili
fdfe18a0a6
Bugfix
2018-03-13 23:28:08 +00:00
Daniil Gentili
d477b24695
Bugfix
2018-03-13 19:36:50 +00:00
Daniil Gentili
986fa3497e
Apply fixes from StyleCI
2018-03-13 14:30:47 +00:00
f94d4804dd
Bugfixes to prime factorization
2018-03-13 15:30:34 +01:00
Daniil Gentili
f73b4645af
Bugfix to update handling
2018-03-13 12:21:28 +00:00
Daniil Gentili
d60fad2ea4
Reenable PWRTelegram getmtprotoupdates
2018-03-13 11:59:31 +00:00
Daniil Gentili
69d493e75e
Apply fixes from StyleCI
2018-03-13 11:51:53 +00:00
Daniil Gentili
d53469ee0e
Improve update management and documentation
2018-03-13 11:51:37 +00: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
Daniil Gentili
0d2ed128ac
Improvements to peer management
2018-03-12 00:29:51 +00:00
Daniil Gentili
40086f7da1
Apply fixes from StyleCI
2018-03-11 17:36:58 +00:00
Daniil Gentili
d833b0cff8
Bugfixes to peer management
2018-03-11 17:36:32 +00:00
Daniil Gentili
c26a5aaf77
Apply fixes from StyleCI
2018-03-11 15:33:56 +00:00
Daniil Gentili
267b3d4ed4
Merge branch 'master' of https://github.com/danog/MadelineProto
2018-03-11 15:33:37 +00:00
Daniil Gentili
2059070322
Bugfix
2018-03-11 15:33:25 +00:00
Daniil Gentili
e1963c2ade
Apply fixes from StyleCI
2018-03-11 15:16:24 +00:00
Daniil Gentili
8c4b65762f
Stability improvements
2018-03-11 15:16:00 +00:00
rik43
5a6e60eada
windows paths compatibility ( #332 )
2018-03-11 15:30:25 +01:00
Daniil Gentili
b1a39aa098
Apply fixes from StyleCI
2018-03-11 14:29:50 +00:00
Daniil Gentili
a2160c9008
Implement participant caching and hash generation
2018-03-11 14:29:27 +00:00
root
5d9982efa4
Improvements to DC and settings management
2018-03-10 18:09:38 +01:00
Daniil Gentili
cd8abc2b89
Allow manual channels.getParticipants
2018-03-10 03:39:10 +00:00
Daniil Gentili
2048403893
Apply fixes from StyleCI
2018-03-10 02:56:57 +00:00
Daniil Gentili
f543115088
Allow fetching more than 10k channel/group participants
2018-03-10 02:56:33 +00:00
Daniil Gentili
457b749d6d
Apply fixes from StyleCI
2018-03-09 17:43:11 +00:00
Daniil Gentili
e8f2ae85c8
Avoid problems with corrupted settings
2018-03-09 17:42:55 +00:00
Daniil Gentili
9436468bd0
Increase version
2018-03-09 17:01:47 +00:00
Daniil Gentili
770c1c89d5
Apply fixes from StyleCI
2018-03-09 16:39:36 +00:00
Daniil Gentili
87f2ec50ac
Improve peer management and connection management
2018-03-09 16:39:13 +00:00
Daniil Gentili
9de3f24215
Apply fixes from StyleCI
2018-03-08 21:20:33 +00:00
aa04b5e8af
Bugfixes
2018-03-08 22:20:19 +01:00
d4405566ea
Bugfixes
2018-03-08 22:19:03 +01:00
Daniil Gentili
f9c689e0aa
Documentation fixes
2018-03-08 11:34:43 +00:00
ea360c3d4d
Beta features ( #326 )
...
* Experimental performance improvements
* Apply fixes from StyleCI
* Support passing numeric ids instead of InputMessage objects, support using t.me links for sendMessage and other methods
* Apply fixes from StyleCI
2018-03-08 12:28:03 +01:00
Daniil Gentili
b5dba1ec3e
Apply fixes from StyleCI
2018-03-05 16:48:36 +00:00
05f44fbea4
Interpret HTTP transport errors as MTProto errors
2018-03-05 17:47:55 +01:00
Daniil Gentili
0f6f80c7de
Apply fixes from StyleCI
2018-03-05 14:58:55 +00:00
bf5443daa4
merge
2018-03-05 15:58:36 +01:00
a2255fa7ad
Improvements to socket interface and TL parser
2018-03-05 15:57:35 +01:00
Daniil Gentili
0a63addd0f
Apply fixes from StyleCI
2018-03-04 16:50:54 +00:00
Daniil Gentili
cd0d617dc1
Fix syntax mistake
2018-03-04 16:50:21 +00:00