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

280 Commits

Author SHA1 Message Date
d4fee048d1
Add FilterTextCaseInsensitive filter 2023-07-22 20:52:57 +02:00
6b33318f27
Add caseInsensitive flag to FilterText 2023-07-22 15:31:22 +02:00
555ebac434
Update relase 2023-07-22 14:00:29 +02:00
82eeeae7bf Skip protected stories 2023-07-22 08:43:54 +02:00
13f8fba970
Improve help 2023-07-21 21:35:24 +02:00
0fa7ddd87f
Add broadcast command to @tgstories_dl_bot 2023-07-21 21:33:31 +02:00
96b9bd0b75
Fixes 2023-07-21 21:00:20 +02:00
b117651a8f
Update 2023-07-21 20:32:39 +02:00
2347c8f433
Improve example 2023-07-21 20:15:04 +02:00
de74b99136
Improve example 2023-07-21 20:13:24 +02:00
89acfff736
Improve example 2023-07-21 20:12:59 +02:00
d95940095f
Update example 2023-07-21 20:06:48 +02:00
fd1e2fae87
Add source code of @tgstories_dl_bot 2023-07-21 20:02:01 +02:00
6cf245dc8f
Improve bot 2023-07-21 19:43:59 +02:00
82917126e5
Make stories downloadable and repostable 2023-07-21 19:38:35 +02:00
7c871d977b
Multiple fixes and improvements 2023-07-21 19:21:34 +02:00
296d9500ac
cs-fix 2023-07-21 17:49:55 +02:00
9c3c52ce23
Fixes 2023-07-21 17:46:41 +02:00
c0ea4c7d91
Fix thumbnail parsing 2023-07-19 12:14:46 +02:00
ad272eaf83
Fix example 2023-07-16 17:24:34 +02:00
5e1e059808
Improvements to getDownloadLink 2023-07-16 15:34:26 +02:00
0f409ad727
Add getDownloadLink bound method 2023-07-16 14:55:00 +02:00
d3429cb4a4
Update 2023-07-16 14:41:26 +02:00
52d7b743cd
Further improvements 2023-07-16 14:29:03 +02:00
6cc71a5c8e
Cleanup changelog 2023-07-15 16:34:54 +02:00
ae3b58b396
Update 2023-07-14 20:24:06 +02:00
a2270bae9e
Update changelog 2023-07-14 18:29:20 +02:00
ff743d1418
Fixes 2023-07-14 16:34:52 +02:00
73ef701d14
Improvement 2023-07-13 17:34:04 +02:00
6756e64667
Cleanup 2023-07-13 17:22:42 +02:00
569a021717
Do not complain if the plugin path does not exist yet 2023-07-13 17:09:44 +02:00
2a648fe3bc
Reduce latency 2023-07-13 17:05:44 +02:00
48e17f6ff2
Add example plugin (with IPC!) 2023-07-13 16:46:13 +02:00
be22716329
Add sendMessageToAdmins 2023-07-13 16:40:56 +02:00
caecd1ba41
Last fixes 2023-07-13 16:19:36 +02:00
b9a9aa8af3
Include plugins before deserializing session 2023-07-13 16:02:53 +02:00
df1019c941
Fixes 2023-07-11 20:23:34 +02:00
b896ae8699
Fix 2023-07-10 10:13:11 +02:00
b8bc4cafe5
Add Cron attribute (rename the old Periodic attribute) 2023-07-09 18:13:37 +02:00
a401ea2495
Simplify a bit 2023-07-09 18:10:58 +02:00
d202ea173e
Add support for @admin and simple crons with the Periodic attribute 2023-07-09 18:07:23 +02:00
ec5792fe41
Switch to string serializer for usernames 2023-07-09 17:23:54 +02:00
2b30be0d2c
Allow automatically pinning broadcasted messages 2023-07-09 15:42:08 +02:00
758354fa85
Cleanup 2023-07-09 15:18:17 +02:00
b51f388696
Choose simpler way of interrupting execution flow to install plugins 2023-07-09 13:54:41 +02:00
8b65f51bb0
Try slightly different approach 2023-07-08 22:37:13 +02:00
83a6b48471
Recursively include plugins returned by getPluginPaths() 2023-07-08 22:14:49 +02:00
cc4a99d598
Improve performance 2023-07-08 21:42:18 +02:00
9f4a1d5dc0
Cleanup examples 2023-07-08 17:46:45 +02:00
fea7f01066
Multiple fixes 2023-06-27 19:48:39 +02:00
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