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

280 Commits

Author SHA1 Message Date
c758f74ee2
Add more languages 2023-06-26 18:24:49 +02:00
9b3502684d
Implement plugin event handlers 2023-06-25 19:52:00 +02:00
70e645373c
Fix 2023-06-25 15:33:14 +02:00
6b46f32583
Update example 2023-06-13 20:28:38 +02:00
a4e7a904c3
Update example 2023-06-02 18:56:53 +02:00
61dec268d2
Update example 2023-05-30 22:29:54 +02:00
115497e4f6
Add support for emojis with <emoji id="1234">, <tg-emoji emoji-id="1234> HTML tags and tg://emoji?id=1234 links, in addition to the pre-existing emoji:id links 2023-05-27 11:50:24 +02:00
f7339184d7
Update example 2023-05-07 21:09:17 +02:00
4aca7a637a
Cleanup 2023-05-06 20:35:59 +02:00
74847f0dec
Merge pull request #1342 from danog/v8_save_updates_to_db
Support different serializers for each table
2023-05-06 20:35:22 +02:00
17db61ae95
Fixup types 2023-05-06 20:35:03 +02:00
6f5dec19ec
Update example 2023-05-02 18:48:02 +02:00
26b900cf61
Misc improvements 2023-05-02 18:42:46 +02:00
68b045ff74
Update example 2023-05-02 17:50:48 +02:00
8e12707948
Add windows notice 2023-04-27 15:55:10 +02:00
378a5c0eb0
Make longs optional 2023-04-26 17:50:29 +02:00
ed02391d00 Update example 2023-04-23 14:32:38 +02:00
a80042a54b Update example 2023-04-22 20:32:39 +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
4c41b2b5d6 Fix uploadFromCallable 2023-03-26 19:16:54 +02:00
f5c94fcae3 Refactor public API 2023-01-27 14:20:47 +01:00
5f08fbd9e0 cs-fix 2023-01-26 19:30:56 +01:00
77a5417f20 Fix garbage collection 2023-01-26 14:33:30 +01:00
7488d9734e Get rid of circular references 2023-01-25 19:12:49 +01:00
f5c4972e44 Refactor loop API. 2023-01-24 14:28:49 +01:00
Github Actions
fbfc2a9faa Possible fix 2023-01-23 19:32:28 +01:00
d038816432 Adapt for new amphp/socket 2023-01-22 15:39:10 +01:00
f0d8379fc5 Try setting max_connections 2023-01-22 13:00:48 +01:00
ff1565c4cd Cleanup 2023-01-22 10:50:06 +01:00
8e24ce92a3 Fix uploadFromUrl 2023-01-21 23:07:43 +01:00
Github Actions
d3d50ba027 Bugfix 2023-01-20 19:21:13 +01:00
12e6efa9ce Deprecate setEventHandler 2023-01-20 15:30:13 +01:00
bbc819b603 More secret chat fixes 2023-01-20 13:49:44 +01:00
e1a52fb6c7 Last fixes 2023-01-19 17:14:04 +01:00
29dd777b5b Turn the session file into a session directory 2023-01-19 16:18:22 +01:00
006708dda3 Multiple fixes 2023-01-19 15:48:56 +01:00
f9508bbfbd Add subscribeToUpdates method 2023-01-16 13:17:59 +01:00
767eff2122 Remove auto mode for now 2023-01-15 20:57:17 +01:00
56d90637e8 More amp fixes 2023-01-15 20:13:47 +01:00
00076c9820 Fixes 2023-01-15 19:39:01 +01:00
04adbcd115 Cleanup
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-01-11 18:47:53 +01:00
e26109db0c Cleanup ORM API
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-01-08 20:46:16 +01:00
9368f86099 Cleanup 2023-01-04 12:43:01 +01:00
9703079266 You guessed it, even more refactoring
Some checks failed
ci/woodpecker/push/build Pipeline failed
2022-12-30 21:54:44 +01:00
499107af14 Layer 151
Some checks failed
ci/woodpecker/push/build Pipeline failed
2022-12-29 20:40:06 +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
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
1a17fe164b
Cleanup 2022-05-16 21:04:31 +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
8f2800f011 php 8.1 fix 2021-12-12 14:39:55 +01:00
Wsudo
2d96b6e0b4
Add examples to config madelineproto databases by WSudo (#1070)
* add mysql database config example file

* add redis database config example file

* add postgres database config example file

* add memory database config example file

* finish add database-config-examples by Wsudo
2021-12-12 00:20:42 +01:00
2c90b1d96b
New event handler startAndLoop API 2021-12-09 13:25:14 +01:00
b700c2088a
Update 2021-09-05 19:28:22 +02:00
0fab07e246
Concurrency fix 2021-05-04 14:05:52 +02:00
Alexander Pankratov
d4e06ea448 New bot example with parallel message retrieving 2021-04-25 12:07:29 +02:00
fd7df5bf3c
Minor improvements 2021-04-23 15:51:33 +02:00
f4ad90197e
Multiple improvements 2021-04-23 14:21:47 +02:00
23223561b9
Allow resuming streams on webhosts 2020-11-30 16:30:18 +01:00
1f608c0a4c
Fixes 2020-11-29 19:25:54 +01:00
db78ed1b2a
Update example 2020-11-26 21:50:06 +01:00
28517ae364
Update db backend 2020-11-26 21:49:31 +01:00
0cf2882a5c
Clean up 2020-11-25 19:38:24 +01:00
f56555537a
Fixes 2020-11-25 19:36:52 +01:00
47b808ca9b
Psalm improvements 2020-10-23 18:19:20 +02:00
f7ecafb086
Update example 2020-10-23 18:07:18 +02:00
fb1df72a21
Secret chat improvements 2020-10-19 18:48:59 +02:00
bfc8009778
Remove useless stuff from example 2020-10-18 18:57:44 +02:00
f516a59082
Properly clear up messages before resending a copy 2020-10-18 18:41:53 +02:00
ad85b0a6c0
Improvements for examples 2020-10-18 15:41:06 +02:00
d74efbfd08
Add DoH setting 2020-10-07 17:15:51 +02:00
6ce4de6091
Properly update database settings when deserializing; also enable optional database backend for event handler variables 2020-10-07 16:48:34 +02:00
7e281c1589
Disable garbage collection logs when reading from console and polyfill from_id 2020-10-06 22:02:04 +02:00
4fcfe1ccd2
Update to layer 117 2020-10-01 18:02:54 +02:00
d792263e86
Fixes 2020-09-28 23:20:12 +02:00
1883416c7a
Remove redis backend from example 2020-09-12 19:08:14 +02:00
9df1e27780
Add redis backend 2020-09-12 19:06:42 +02:00
2463fd7261
IPC fixes 2020-07-12 00:17:47 +02:00
4923eec9cd
2GB file limit, async RPC reporting, file reference and MTProto fixes 2020-07-09 18:23:16 +02:00
bfd08f5744
Fix shutdown loop, automatically inflate stripped photoSizes, improve composer reporter 2020-06-23 20:30:40 +02:00
69f33dce34
Layer 113 2020-06-16 17:52:55 +02:00
0e9f107754
Merge branch 'master' of github.com:danog/MadelineProto 2020-06-15 20:08:06 +02:00
e147fe3695
Clean up 2020-06-15 20:06:48 +02:00
68ab47de32
Update bot.php 2020-05-08 11:53:47 +02:00
995a4228c9
Report memory usage 2020-04-29 14:43:43 +02:00
8b80396ddb
Further psalm fixes 2020-04-05 15:33:01 +02:00
93bd9073e1
Bugfix 2020-03-14 17:29:49 +01:00
5232d477b4
Update to layer 110 2020-03-06 13:09:52 +01:00
ac9a0958d1
Fix 2020-02-28 14:25:47 +01:00
5af7130b25
Further public API improvements 2020-02-26 18:12:00 +01:00
fe8e795f8a
Bugfixes 2020-02-26 15:59:34 +01:00
b0d512b77d
Reduce boilerplate 2020-02-26 15:15:37 +01:00
86672d6683
Add startAndLoopBackground method 2020-02-26 14:14:26 +01:00
e50dd79e70
Send the logfile when reporting errors 2020-02-26 12:45:30 +01:00
e03e707815
Final fixes 2020-02-25 19:10:49 +01:00
82599e686e
Merge branch 'master' of github.com:danog/MadelineProto 2020-02-23 19:30:11 +01:00
c3270a5c63
Add native error reporting functions and slash boilerplate 2020-02-23 19:28:42 +01:00
Sean
dfe9edb132
Update copyrights (#767) 2020-02-17 14:13:46 +01:00
d7359b6f77
Update bot.php 2020-02-13 20:28:12 +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
43952841a9
Greatly reduce coroutine overhead 2020-02-05 17:37:01 +01:00
69c1663194 frbot fix 2020-01-03 15:53:08 +00: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
01304a39fc
Surface exceptions properly 2019-12-31 12:45:49 +01:00
5b5c00b5a1 Improve bot 2019-12-30 17:27:28 +00:00
d3f0889e56
Disable hashing for now 2019-12-29 21:45:52 +01:00
ae82dc69fe
Update docs 2019-12-29 21:15:56 +01:00
f85f7bd8ba
Fix self-restart, avoid exceptions surfacing in the download bot 2019-12-29 20:32:19 +01:00
acd66a8bc4
Fix upload restriction 2019-12-29 16:30:15 +01:00
8ba10b047e
Update file callback interfaces 2019-12-29 15:20:46 +01:00
0596231704
Reduce logging 2019-12-29 14:53:03 +01:00
6ba7db89c8
Improve tests 2019-12-29 14:23:41 +01:00
1bf41186de
Allow automatic upload for URLs 2019-12-29 14:21:25 +01:00
6c326305eb Update bot 2019-12-29 02:41:06 +01:00
a3bfde1dea
Prevent errors from surfacing 2019-12-28 23:57:41 +01:00
f64efb021c
Add progress for renaming 2019-12-28 21:07:50 +01:00
e2fb6dbfe6
Catch all throwables in rename bot 2019-12-28 20:32:51 +01:00
e52d106dbc
Add file rename bot 2019-12-28 20:28:47 +01:00
2d1bc519c8
Change session name in example 2019-12-27 23:44:02 +01:00
93ff2ccab9
Misc bugfixes 2019-12-27 15:25:33 +01:00
05ee3c8b15
Multiple improvements for secret chat files, event handler, exception traces, update handling, file download 2019-12-26 15:14:27 +01:00
883d09eccf
Continue refactoring 2019-11-01 12:45:15 +01:00
c16e174db2
Rename 2019-10-31 22:41:22 +01:00
d8dc41e6c3
Change link 2019-10-31 15:07:35 +01:00
92717a2d05
MUUUAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA BUUURN SNAKES BUUURN MUAAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA cough 2019-10-29 22:41:31 +01:00
7581bb1bc6
Rewrite pipesbot 2019-10-28 23:52:21 +01:00
440888c380
Add submodule 2019-10-28 22:40:02 +01:00
cb7d5f6155
Clean up 2019-10-28 22:39:23 +01:00