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

66 Commits

Author SHA1 Message Date
8ae7778882 Fix
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/tag/deploy unknown status
ci/woodpecker/tag/build Pipeline failed
2022-10-08 18:39:27 +02:00
c7f813dba1 Fix 8.1 phar build
Some checks failed
ci/woodpecker/push/build Pipeline is pending
ci/woodpecker/tag/deploy unknown status
ci/woodpecker/tag/build Pipeline failed
2022-10-08 18:35:59 +02:00
b467c22afe
Layer 144
Some checks failed
ci/woodpecker/tag/build Pipeline failed
ci/woodpecker/tag/deploy unknown status
2022-08-09 19:08:24 +02:00
c27dfd80ed
Database fixes
Some checks failed
ci/woodpecker/push/build Pipeline failed
2022-06-25 19:15:30 +02:00
0a9bc0e0ca
Update docs 2022-05-01 20:17:16 +02:00
657e974264
Separately require entry module 2021-09-06 16:22:07 +02:00
5caaf8f85c
Multiple fixes 2021-03-17 22:27:47 +01:00
Alexander Pankratov
02818b2c53 Remove duplicate entries from .gitignore 2021-03-01 01:32:00 +03:00
806f50bc2d
Refactoring 2020-10-26 23:13:05 +01:00
e147fe3695
Clean up 2020-06-15 20:06:48 +02:00
066a10e2dc
Bugfixes 2020-02-05 17:18:22 +01:00
b2596c483d
Refactor docs 2019-12-27 17:43:29 +01:00
103c774236
Improve tests and conversion 2019-12-26 19:17:31 +01:00
e0b293b9a1 cs-fix 2019-09-02 17:08:36 +02:00
40e2e6c09d Various bugfixes 2019-06-18 12:31:44 +02:00
cce0c3ed3e Update dependencies 2019-05-16 12:44:05 +02:00
8dedb13b5e Clean up unused stuff 2019-05-10 14:07:15 +02:00
a5376e91a5 Update to layer 97 2019-03-29 21:06:34 +01: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
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
1e3ec54ce8 Add socks5 and HTTP proxy, implement authorization in socks5 proxy, implement authorization in http proxy, simplify socket and connection classes 2018-04-18 16:11:59 +02:00
9014506ef5 Start implementing socket API 2018-03-03 18:23:12 +01:00
925fa88de1
Add automated phar downloader 2018-02-21 12:55:42 +01:00
Daniil Gentili
f3dbc898b7 Update phpseclib, fix composer.json, PHP 5 fixes, update travis CI script. 2018-02-20 14:49:54 +00:00
Daniil Gentili
46b48ab563 Build phars with travis ci 2018-02-20 12:15:32 +00:00
Daniil Gentili
8a93db8f30 Update copyrights, and add phar creation script 2018-02-20 11:13:43 +00:00
Daniil Gentili
d4a5153b4d Update docs 2017-12-10 10:33:03 +00:00
Daniil Gentili
7c205811ff Update to layer 72 2017-10-14 09:50:46 +00: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
d47160d839 Final docufix 2017-09-29 14:15:11 +00:00
Daniil Gentili
8600a2fcba docufix 2017-09-29 15:50:59 +02:00
Daniil Gentili
b0aff44321 Some features 2017-08-05 15:43:07 +00:00
giuseppeM99
04e1b8c4d7 Gotta catch 'em all!!! (#164)
* Update get_dialogs

* Gotta catch 'em all!!!
2017-08-02 15:12:18 +02: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
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
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
dfd8bf93da HUGE bugfixes and code reorganization, implemented secret chats and a lua wrapper 2017-03-11 19:54:51 +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
f58ee4ce1c Fix typo in tests 2017-01-28 00:16:21 +01:00
Vitor Mattos
bc97fff5e7 Dot env (#38)
* * Changes for use .env file and not a php with sensible data

* * Changes for use .env file and not a php with sensible data

* * Changes for use .env file and not a php with sensible data

* * Changes for use .env file and not a php with sensible data

* Changes for use .env files
* Moving $settings to .env file

* Update testing.php

syntax

* Update testing.php
2017-01-17 14:29:37 +01:00
Vitor Mattos
e7f642ea4c Changes for use .env file and not a php with sensible data (#37)
* * Changes for use .env file and not a php with sensible data

* * Changes for use .env file and not a php with sensible data
2017-01-15 17:38:04 +01:00
Daniil Gentili
cc7c983929 Moved old docs to normal github, github pages cannot handle them 2017-01-02 23:28:51 +00:00
danogentili
96efd18e13 Added first alpha of web version and fixed bugs 2017-01-01 17:12:46 +03: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
ffb8f2267c Improved documentation generation 2016-12-20 13:15:22 +01:00
danogentili
5fa11f52ef Added ignored files 2016-12-19 21:43:50 +03:00
danogentili
0cc2ea1cef Improved response handling 2016-11-29 20:45:06 +03:00
Daniil Gentili
8ba0987e27 Added stuff 2016-11-29 01:11:11 +00:00
Daniil Gentili
c6f1642264 Fixed bugs, updated docs, fixed serialization and deserialization of class, improved TL class 2016-11-25 20:52:56 +00:00
Daniil Gentili
7be648fb20 Added documentation, simplified code, organized exceptions, added some more examples in testing.php, decided to unset flags in deserialized responses, moved message id arrays to Connection classes, added wrappers for logging in to telegram as a bot or as a user and for logging out, fixed deserializing of gzip packed objects, added more logging, fixed bugs, added methods to get and parse configuration, saved some fairies, fixed exporting/importing of authorization, added some wakeup methods to prevent problems during serialization, added support for ipv6 and automagical detection too. I think we can safely say this is now a beta. 2016-11-24 23:15:22 +00:00