Commit Graph

31 Commits

Author SHA1 Message Date
Tulir Asokan
4d8e1475e6 Add support for asyncpg plugin databases 2022-03-26 13:59:49 +02:00
Tulir Asokan
21ed971d2f Switch to asyncpg/aiosqlite
Fixes #142
Fixes #98
Probably fixes #62
2022-03-25 19:52:14 +02:00
Tulir Asokan
068e268c63 Blacken and isort code 2022-03-25 19:52:14 +02:00
Tulir Asokan
6487a7a8a5 Let plugins read their own files directly 2021-06-11 16:03:52 +03:00
Tulir Asokan
8f806a2594 Add warning if webapp is disabled when using @web decorators. Fixes #65 2021-06-11 12:42:06 +03:00
Tulir Asokan
13aaedfad9 Fix some type hints 2021-04-11 12:44:48 +03:00
Tulir Asokan
8687a3b591 Fix startup for plugins without webapp 2019-12-28 16:11:47 +02:00
Tulir Asokan
50addc2ceb Allow plugins to add more classes as handler sources 2019-12-26 17:47:30 +02:00
Tulir Asokan
8b0bd510f9 Stop requiring super call to activate event handlers in plugin start/stop methods 2019-07-13 15:48:13 +03:00
Tulir Asokan
4210f3195f Update copyright year 2019-06-08 17:42:07 +03:00
Tulir Asokan
9bd06a3d64 Add web handler decorators 2019-05-14 18:32:48 +03:00
Tulir Asokan
ec6578294f Clear plugin webapp routes in default stop() 2019-04-16 16:33:19 +03:00
Tulir Asokan
d2b145d0bc Change things 2019-03-07 21:35:35 +02:00
Tulir Asokan
b3e1f1d4bc Try another approach for plugin web apps 2019-03-07 19:57:10 +02:00
Tulir Asokan
19a20721e8 Pass public URL of webapp to plugins 2019-03-06 22:35:51 +02:00
Tulir Asokan
f303bd66ab Let plugins add their endpoints to the main webserver 2019-03-06 22:22:34 +02:00
Tulir Asokan
8b5c637f76 Fix CommandHandler descriptor 2019-01-18 22:58:43 +02:00
Tulir Asokan
5ff5eae3c6 Make new command handling actually somewhat work 2018-12-24 00:31:01 +02:00
Tulir Asokan
682eab348d Some sort of command handling system 2018-12-18 00:53:39 +02:00
Tulir Asokan
f104595217 Changes related to rewriting the command handling system 2018-12-16 00:52:54 +02:00
Tulir Asokan
bc87b2a02b Refactor things and implement instance API 2018-11-01 18:11:54 +02:00
Tulir Asokan
767885cec7 Pass asyncio event loop and http session to plugin instances 2018-11-01 11:58:58 +02:00
Tulir Asokan
14fd0d6ac9 Finish plugin API and add basic login system 2018-10-31 02:03:38 +02:00
Tulir Asokan
f2449e2eba Start working on management API implementation 2018-10-28 01:31:03 +03:00
Tulir Asokan
894c5df07b Fix config updating and make plugin dbs somewhat configurable 2018-10-22 01:57:37 +03:00
Tulir Asokan
485040e687 Add temporary request_db_engine() implementation 2018-10-22 01:13:50 +03:00
Tulir Asokan
b29a7d186e Add configuration for plugins 2018-10-20 18:39:16 +03:00
Tulir Asokan
1d8de8b5f2 Make it work 2018-10-17 01:30:08 +03:00
Tulir Asokan
eef052b1e9 More changes 2018-10-16 16:41:02 +03:00
Tulir Asokan
0b246e44a8 Add command matching stuff 2018-10-16 00:25:23 +03:00
Tulir Asokan
7924b70549 Add a bunch of stuff 2018-10-14 22:08:11 +03:00