Commit graph

626 commits

Author SHA1 Message Date
jkhsjdhjs
618493a954
Fix PluginWebApp base path handling
Previously, the webapp handler would match without respect to the trailing slash, e.g. matching "foo"
for "foo2". This behavior is changed to respect the trailing slash.

Fix #239
2024-05-29 01:15:40 +02:00
Tulir Asokan
91f214819a Update .gitignore 2024-03-30 23:37:07 +02:00
Tulir Asokan
299d8f68c3 Update changelog again 2024-03-30 23:36:54 +02:00
Tulir Asokan
a7f31f6175 Only include directories with __init__.py when building mbp file 2024-03-30 23:32:08 +02:00
Tulir Asokan
4f68e20ff7 Update changelog 2024-03-30 23:31:48 +02:00
Tulir Asokan
7759643e93 Assume main class is in last module instead of first 2024-03-30 23:31:40 +02:00
Tulir Asokan
2c60342cc6 Update plugin list link 2024-03-10 17:10:41 +02:00
Tulir Asokan
a62f064e1c
Merge pull request #234 from maubot/tulir/scheduler
Add basic scheduler for plugins
2024-03-07 16:42:48 +02:00
Tulir Asokan
3f2887d67f Update CI and pre-commit 2024-03-07 16:25:23 +02:00
Tulir Asokan
4184280d4e Add basic scheduler for plugins 2024-03-07 16:22:39 +02:00
Tulir Asokan
0c72e6fb1e
Merge pull request #225 from abompard/testing
Add a testing framework
2023-12-05 12:30:00 +02:00
Aurélien Bompard
202c2836b2
Add a testing framework
This changeset contains a set of Pytest fixtures and a mocked bot class to ease the writing of
Maubot plugin unit tests.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2023-12-05 11:26:10 +01:00
Tulir Asokan
75879cfb93 Bump version to 0.4.2 2023-09-30 14:12:33 +03:00
Tulir Asokan
923125f793 Update pillow in CI dockerfile too 2023-09-19 13:28:08 -04:00
Tulir Asokan
b619d3ad56 Update Pillow in docker image 2023-09-19 13:23:24 -04:00
Tulir Asokan
dd69c337d2 Update standalone docker image and mautrix-python 2023-09-09 15:47:53 +03:00
Tulir Asokan
92736baefd Add appservice option to standalone mode 2023-09-06 23:29:22 +03:00
Tulir Asokan
8f40a0b292 Update mautrix-python 2023-09-06 22:03:01 +03:00
Tulir Asokan
61f154876d Allow multiple event types in the same handler 2023-09-06 22:02:59 +03:00
Tulir Asokan
ed046bcbfe Log errors when calling whoami for new clients 2023-08-30 17:05:19 +03:00
Tulir Asokan
a4253eceb2 Move plugin list to separate website
Closes #214
Closes #212
Closes #208
Closes #201
Closes #199
2023-06-26 15:26:53 +03:00
Tulir Asokan
96d4e434a8 Remove cchardet in dockerfile 2023-06-26 13:35:08 +03:00
Tulir Asokan
2c36e8265b
Merge pull request #209 from pgiraud/add_py.typed
Adding a py.typed to avoid mypy errors when importing module
2023-06-26 13:29:53 +03:00
Tulir Asokan
36829e7d0d Update Docker image to Alpine 3.18
Closes #215
2023-06-26 13:27:35 +03:00
Tulir Asokan
b4e8e5bfbb
Merge pull request #213 from sumnerevans/master
standalone/Dockerfile: update to latest alpine
2023-04-29 00:34:57 +03:00
Sumner Evans
bf8ae9eb5a
standalone/Dockerfile: update to latest alpine
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-04-28 15:31:00 -06:00
Tulir Asokan
184d6b8eed Update mautrix-python 2023-04-07 15:37:32 +03:00
Pierre GIRAUD
28b0412c8c
Adding a py.typed to avoid mypy errors when importing module
This prevents errors like the following when importing maubot and running mypy:
Skipping analyzing "maubot": module is installed, but missing library stubs or py.typed marker

See
https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-library-stubs-or-py-typed-marker
2023-03-31 10:34:17 +02:00
Tulir Asokan
c2648be1e3 Bump version to 0.4.1 2023-03-15 20:00:31 +02:00
Tulir Asokan
aaf32d8820 Update mautrix-python 2023-03-13 16:01:44 +02:00
Tulir Asokan
c9282b93f4 Fix serving static files. Fixes #206 2023-03-06 15:49:51 +02:00
Tulir Asokan
719c9c5dd0 Update changelog 2023-02-26 16:15:23 +02:00
Tulir Asokan
d4bb502def Add docstrings for MaubotMessageEvent methods 2023-02-14 22:11:14 +02:00
Tulir Asokan
def923d444 Adjust thread behavior when responding 2023-02-14 22:11:11 +02:00
Tulir Asokan
7156594858 Fix import order 2023-02-12 12:53:19 +02:00
Tulir Asokan
e73869bb19 Use new wrapper for creating background tasks 2023-02-12 12:51:19 +02:00
Tulir Asokan
c0c7b58a3f Update linters 2023-02-12 12:45:48 +02:00
Tulir Asokan
955fb2723e Update black 2023-02-05 23:09:07 +02:00
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
f87e4ca7b9 Update gitignore 2023-01-05 00:37:47 +02:00
Tulir Asokan
ada4978879 Update changelog 2023-01-05 00:31:05 +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
6fd8f7ed00 Update dependencies and alpine 2022-12-31 02:28:10 +02:00
Tulir Asokan
535b6672a6 Update README.md 2022-12-29 18:33:15 +02:00
Tulir Asokan
a46edac3b7
Merge pull request #194 from williamkray/wreck/more-plugins-20221220
add several of my plugins
2022-12-20 22:39:56 +02:00
William Kray
7ec58c6347 add several of my plugins 2022-12-20 12:20:56 -08: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