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

32 Commits

Author SHA1 Message Date
8f66319b66
Implement PSR-4 autoloading for plugin paths 2023-07-10 21:15:35 +02:00
1ce9ecf770
Improve 2023-07-10 20:05:46 +02:00
400590edd2
Localize errors 2023-07-10 19:56:44 +02:00
4e1581c3d0
Add a bunch of new filters and a getAdmin function 2023-07-10 18:42:58 +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
5389f73371
Automatically try caching all dialogs on peer not found error 2023-07-09 17:42:51 +02:00
ec5792fe41
Switch to string serializer for usernames 2023-07-09 17:23:54 +02:00
1f654d8f26
Ban plugins from using file_get_contents, PDO, files 2023-07-09 16:55:08 +02:00
e4ff361ee7
Use PSR naming scheme for plugin files 2023-07-09 16:39:43 +02:00
74d6fea009
Use PSR naming scheme for plugin files 2023-07-09 16:36:30 +02:00
b5d5890ae7
Reduce memory usage during flood waits by tweaking defaults 2023-07-09 14:43:51 +02:00
3eb0cc359a
Use distinct PluginEventHandler class to make it clearer that a plugin is actually a plugin 2023-07-09 14:38:39 +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
47f53cf049
cs-fix 2023-07-08 22:24:31 +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
a278f1efc1
Finish implementing filters 2023-07-08 15:45:14 +02:00
e454f373cf
Implement simple filters 2023-07-07 22:19:34 +02:00
b6c4fcdc7b
Fix file uploads with uv 2023-07-07 16:56:03 +02:00
bfc0ee9065
Update 2023-07-07 15:23:01 +02:00
1d850a6209
Simplify 2023-07-06 22:09:09 +02:00
b5a7513555
Settle for the simplest structure 2023-07-06 21:59:36 +02:00
9370181002
Fix 2023-06-25 20:00:41 +02:00
9b3502684d
Implement plugin event handlers 2023-06-25 19:52:00 +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
20d3ef279b Queue updates while onStart is running 2023-01-28 20:08:56 +01:00
1514b40f9a Allow using stop and restart methods only inside of the event handler 2023-01-27 16:47:26 +01:00
f5c94fcae3 Refactor public API 2023-01-27 14:20:47 +01:00