Commit Graph

386 Commits

Author SHA1 Message Date
Tulir Asokan
41cbf6d788 Expose plugin metadata in standalone mode loader 2023-02-05 22:34:54 +02:00
Tulir Asokan
f0e2bb3d62 Add option to use thread for replies 2023-01-31 16:35:56 +02:00
Tulir Asokan
bf3a3b65d8 Bump version to 0.4.0 2023-01-29 17:13:52 +02:00
Tulir Asokan
e99a13a391 Drop support for custom API paths
Changing the base public URL is still possible (which may be useful
if someone wants to use a reverse proxy without adding subdomains).

Fixes #195
2023-01-05 00:27:31 +02:00
Tulir Asokan
e6242735d3
Merge pull request #177 from half-duplex/mca-copy
Fix must_consume_args
2022-11-22 14:34:36 +02:00
Tulir Asokan
55ffe54fa0
Merge pull request #182 from tobias47n9e/bugfix/mbc-init-spdx
Fix choosing SPDX license during plugin init
2022-11-22 14:33:52 +02:00
Tulir Asokan
fbacad8676 Add shortcut for redact in MaubotMessageEvent 2022-09-12 21:22:33 +03:00
Tulir Asokan
d574f84079 Fix saving plugin configs 2022-08-20 14:37:31 +03:00
Tobias Schönberg
33d7892e13 Fix choosing SPDX license during plugin init
The keys used to be lower case, but were changed to mixed case
in this commit:

068e268c63

The identfier are now used as inputted by the user.
2022-08-14 21:53:19 +02:00
Tulir Asokan
1fe53b4c56 Fix SSO login path 2022-08-14 18:51:19 +03:00
Trevor Bergeron
bfdd52502a
Fix must_consume_args 2022-07-21 22:46:48 -04:00
Tulir Asokan
4f4d7bc342 Update mautrix-python 2022-07-10 14:42:41 +03:00
Tulir Asokan
f74a67dd79 Store instance database engine in database 2022-05-27 22:48:23 +03:00
Tulir Asokan
cc5f9141fc Add more helpful error message 2022-05-27 22:47:58 +03:00
Tulir Asokan
d4face0150 Actually fix mbc logs 2022-04-26 23:52:59 +03:00
Tulir Asokan
5baab99957 Remove extra parameter. Fixes #165 2022-04-26 23:44:52 +03:00
Tulir Asokan
982a20beb0 Bump version to 0.3.1 2022-03-29 20:40:01 +03:00
Tulir Asokan
67e1921503 Set crypto_db to None when dependencies aren't installed 2022-03-29 20:03:30 +03:00
Tulir Asokan
744d370f0b Fix error when crypto dependencies aren't installed 2022-03-29 17:40:27 +03:00
Tulir Asokan
ca7c4df349 Remove some unnecessary SQLAlchemy imports that might break 1.4+ 2022-03-28 21:20:50 +03:00
Tulir Asokan
8474cc7d6e Copy optional-requirements.txt in standalone dockerfile 2022-03-28 19:58:10 +03:00
Tulir Asokan
818362c820 Install e2ee deps in standalone dockerfile 2022-03-28 19:55:40 +03:00
Tulir Asokan
1932ff9995 Bump version to 0.3.0 2022-03-28 17:28:37 +03:00
Tulir Asokan
cecda7c32b Start plugin postgres db if separate 2022-03-28 17:13:39 +03:00
Tulir Asokan
55b7730b9e Handle some more edge cases in plugin upload 2022-03-27 21:01:18 +03:00
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
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
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
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
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
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
7679a0e97c Update mautrix-python 2022-03-04 15:38:34 +02:00
Tulir Asokan
ccb310b6d8 Use different default path for crypto db 2022-02-23 19:28:07 +02:00
Tulir Asokan
05e5bbfb10 Log warnings if crypto dependencies aren't installed 2022-02-23 16:26:25 +02:00