Commit Graph

535 Commits

Author SHA1 Message Date
Tulir Asokan
106905fd00 Update path cache when replacing plugins. Fixes #156 2022-03-27 20:42:35 +03:00
Tulir Asokan
7532f4523a Use more unique logger and remove redundant NOT NULL 2022-03-27 20:30:55 +03:00
Tulir Asokan
e9e325a871 Create standalone_next_batch table automatically 2022-03-27 20:27:54 +03:00
Tulir Asokan
484749c08c Add missing file 2022-03-27 20:05:34 +03:00
Tulir Asokan
0aef57b5d6 Add simple database example 2022-03-27 20:03:21 +03:00
Tulir Asokan
59f51f8705 Fix some strings 2022-03-27 19:44:25 +03:00
Tulir Asokan
1aaa8f2fb6 Fix draining plugin db pool 2022-03-27 19:35:54 +03:00
Tulir Asokan
18fa1b29a7 Adjust some logs 2022-03-26 17:23:19 +02:00
Tulir Asokan
acf24a6fd5 Catch errors in frontend SQL queries with asyncpg 2022-03-26 17:14:51 +02:00
Tulir Asokan
93352b6e62 Update changelog 2022-03-26 17:00:35 +02:00
Tulir Asokan
6e14cbf5dc Make frontend database viewer work with asyncpg 2022-03-26 16:54:16 +02:00
Tulir Asokan
32688372fe Improve log coloring 2022-03-26 15:48:46 +02:00
Tulir Asokan
4685c492a9 Add support for asyncpg in standalone mode plugin databases 2022-03-26 14:39:56 +02:00
Tulir Asokan
adc892aa0d Roll back plugin update if starting instances fails 2022-03-26 14:00:43 +02:00
Tulir Asokan
4d8e1475e6 Add support for asyncpg plugin databases 2022-03-26 13:59:49 +02:00
Tulir Asokan
4b234e4d34 Enforce minimum maubot version in plugin meta 2022-03-25 23:54:02 +02:00
Tulir Asokan
29b4a3c892 Update standalone mode to asyncpg/aiosqlite 2022-03-25 21:12:40 +02:00
Tulir Asokan
c4f9a3bdf5 Add database_opts to example config 2022-03-25 21:04:28 +02:00
Tulir Asokan
fe8658ebc1 Add changelog in a file 2022-03-25 20:51:44 +02:00
Tulir Asokan
91e7d80b29 Update Docker image to Alpine 3.15 2022-03-25 20:51:40 +02:00
Tulir Asokan
58fedc7e8c Expose all logs to frontend instead of only maubot.* 2022-03-25 20:37:47 +02:00
Tulir Asokan
0779b38b7a Update frontend dependencies 2022-03-25 20:36:29 +02:00
Tulir Asokan
a14cbf9381 Add missing file 2022-03-25 20:28:16 +02:00
Tulir Asokan
54a0cdbaf2 Run pre-commit hooks 2022-03-25 20:26:03 +02:00
Tulir Asokan
8c6628470e Add support for new log type in frontend 2022-03-25 20:00:40 +02:00
Tulir Asokan
37c492cbf3 Add urlpreview and metric plugins to readme
Closes #158
Closes #159
2022-03-25 19:53:19 +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
6257979e7c
Merge pull request #160 from rom4nik/alternatingcaps
Add alternatingcaps to 3rd party plugins
2022-03-25 19:51:39 +02:00
rom4nik
a2e6d06cdc
Add alternatingcaps to 3rd party plugins 2022-03-20 02:03:03 +01:00
Tulir Asokan
7679a0e97c Update mautrix-python 2022-03-04 15:38:34 +02:00
Tulir Asokan
6f57c88e4a Rename e2be optional dep to encryption
This isn't a bridge, so it's normal e2ee, not e2be
2022-02-23 19:30:13 +02:00
Tulir Asokan
339971731e Add asyncpg to the encryption dependencies
It's not technically required when using SQLite, but currently the code
expects it to be importable.

Fixes #148
2022-02-23 19:30:08 +02:00
Tulir Asokan
ccb310b6d8 Use different default path for crypto db 2022-02-23 19:28:07 +02:00
Tulir Asokan
21fe57e87f Bump max unpaddedbase64 version 2022-02-23 16:40:25 +02:00
Tulir Asokan
05e5bbfb10 Log warnings if crypto dependencies aren't installed 2022-02-23 16:26:25 +02:00
Tulir Asokan
3e8e034a5a Only move dbs if they exist 2022-01-07 16:20:50 +02:00
Tulir Asokan
a1a00ff655 Add missing parameter to yq command 2022-01-07 16:17:47 +02:00
Tulir Asokan
26c1d6571c Don't override plugin directories in docker image 2022-01-07 00:05:07 +02:00
Tulir Asokan
7e06eadfd0 Update configurable bot example to match the one in docs 2021-12-15 20:11:08 +02:00
Tulir Asokan
e8862ed1a3 Fix moving example config 2021-12-13 15:36:48 +02:00
Tulir Asokan
df2f2a896a Add missing line to CI dockerfile 2021-12-13 15:03:56 +02:00
Tulir Asokan
33bc777bfd Include unhandled error body in force-JSON middleware 2021-12-12 21:15:01 +02:00
Tulir Asokan
d87158be50 Don't fail CI if removing one of the standalone tags fails 2021-11-30 12:37:34 +02:00
Tulir Asokan
4fafdee3a8 Fix mbc upload printing error on the first upload 2021-11-28 18:29:45 +02:00
Tulir Asokan
66d227ecdb Clean up after building standalone image 2021-11-28 16:02:40 +02:00
Tulir Asokan
6d4c2e174f Fix wrong error message in some client updates 2021-11-22 18:05:34 +02:00
Tulir Asokan
aef1a976bf Bump version to 0.2.1 2021-11-22 11:48:40 +02:00
Tulir Asokan
c179fd3aeb Move plugin databases to new path in docker image 2021-11-21 23:33:21 +02:00
Tulir Asokan
3f46dfdfd9 Bump version to 0.2.0 2021-11-20 16:55:26 +02:00