Commit Graph

547 Commits

Author SHA1 Message Date
Tulir Asokan
744d370f0b Fix error when crypto dependencies aren't installed 2022-03-29 17:40:27 +03:00
Tulir Asokan
5201cb0316 Mention python version requirement in changelog 2022-03-29 16:57:43 +03:00
Tulir Asokan
9b37b99dd7 Allow click 8.x 2022-03-28 22:24:13 +03:00
Tulir Asokan
1b298c0dbb Update and unpin black
It's stable now, so there shouldn't be too many changes
2022-03-28 22:24:08 +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
98c33e1469 Remove unused alembic dependency 2022-03-28 21:20:32 +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
800114b837 Update mautrix-python 2022-03-28 16:34:35 +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
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