Commit Graph

368 Commits

Author SHA1 Message Date
Tulir Asokan
aac1f267d7 Fix exception when running subcommand without enough arguments 2020-03-25 21:26:17 +02:00
Tulir Asokan
6a74a360ca Update mautrix-python 2020-03-06 15:17:22 +02:00
Tulir Asokan
798f5da5de Add option to disable online status for bots 2020-03-06 15:09:42 +02:00
Tulir Asokan
4aada15bbe
Merge pull request #86 from Half-Shot/patch-1
User types should be part of the hmac
2020-03-04 15:34:32 +02:00
Will Hunt
c4aee0d1eb
Update client_auth.py 2020-03-04 13:31:45 +00:00
Tulir Asokan
4c2d198387 Bump version to 0.1.0.beta1 2020-03-01 14:21:44 +02:00
Tulir Asokan
d2afc7cee4 Improve standalone dockerfile for caching 2020-03-01 14:08:16 +02:00
Tulir Asokan
946c346481 Update mautrix-python again 2020-03-01 14:05:18 +02:00
Tulir Asokan
155526bc14 Improve dockerfile and update mautrix-python 2020-03-01 13:53:10 +02:00
Tulir Asokan
f36827f9cc Add simple mbc script for docker 2020-02-26 01:04:57 +02:00
Tulir Asokan
265307a870 Fix dockerignore in CI 2020-02-26 00:54:10 +02:00
Tulir Asokan
ad93d8347e Add XDG_CONFIG_HOME to docker image so maubot-cli.json is stored in /data 2020-02-26 00:51:40 +02:00
Tulir Asokan
9a777ee451 Optimize CI and dockerfile caching 2020-02-26 00:42:06 +02:00
Tulir Asokan
293b44729c Try to make commands case insensitive. Should fix #83 2020-02-25 22:33:19 +02:00
Tulir Asokan
aaf97b4f94 Add arm64 docker builds to CI 2020-02-25 22:32:32 +02:00
Will Hunt
ec58900cf2
Actually use user_type, and make it default to "bot" 2020-02-20 14:39:26 +00:00
Will Hunt
fd379b0108
User types are part of the hmac
b98971e8a4/synapse/_scripts/register_new_matrix_user.py (L62-L71)
2020-02-20 14:36:29 +00:00
Tulir Asokan
342ab32f3a Add internal option for client-wide reply disabling 2020-01-23 18:43:33 +02:00
Tulir Asokan
3621ddc190 Update docker images to Alpine 3.11 2020-01-23 14:35:43 +02:00
Tulir Asokan
d874f43df9
Merge pull request #80 from karthanistyr/feature/ui_support_subpath
Make management UI aware of URL subpaths in config
2020-01-23 14:28:31 +02:00
Antoine Mazeas
f65f4c540b Review fixes based on comments
Signed-off-by: Antoine Mazeas <antoine@karthanis.net>
2020-01-20 11:19:41 +01:00
Tulir Asokan
7f64d21e1e Fix mistakes in standalone bot main file 2020-01-16 21:08:19 +02:00
L0ric0
6b586f0b82 Add python-gitlab to Dockerfile (#81) 2020-01-13 01:07:34 +02:00
Antoine Mazeas
3aadf0c2a9 Swap urllib for yarl; make use of process.env
Signed-off-by: Antoine Mazeas <antoine@karthanis.net>
2020-01-09 14:32:38 +01:00
Antoine Mazeas
3b603a2180 Revert obsolete change
Signed-off-by: Antoine Mazeas <antoine@karthanis.net>
2020-01-07 19:36:17 +01:00
Antoine Mazeas
9d587e32f2 Readd BASE_PATH export
Signed-off-by: Antoine Mazeas <antoine@karthanis.net>
2020-01-07 19:21:37 +01:00
Antoine Mazeas
3c7b4fc09c Make management UI aware of URL subpaths in config
Signed-off-by: Antoine Mazeas <antoine@karthanis.net>
2020-01-07 19:04:40 +01:00
Tulir Asokan
8a711e0c8e Update Ace 2020-01-02 01:05:26 +02:00
Tulir Asokan
9ee0e09a5e Turn login div into form to allow using enter 2020-01-02 00:46:38 +02:00
Tulir Asokan
6bc6a08c83 Quote table names in plugin database explorer 2020-01-02 00:45:45 +02:00
Tulir Asokan
69362de854 Fix eslint warnings 2020-01-02 00:44:46 +02:00
Tulir Asokan
39a11e18d9 Update frontend dependencies 2020-01-02 00:42:20 +02:00
Tulir Asokan
fba1697855 Add github plugin to readme 2020-01-01 23:05:14 +02:00
Tulir Asokan
8687a3b591 Fix startup for plugins without webapp 2019-12-28 16:11:47 +02:00
Tulir Asokan
169aece027 Bump dev build number 2019-12-28 16:04:38 +02:00
Tulir Asokan
393ee354f6 Increase config wrapping width for plugin configs 2019-12-28 16:02:29 +02:00
Tulir Asokan
50addc2ceb Allow plugins to add more classes as handler sources 2019-12-26 17:47:30 +02:00
Tulir Asokan
4c1fe0fb37 Update mautrix-python 2019-11-21 23:34:08 +02:00
Tulir Asokan
7a06df51e1 Automatically join new room on upgrade 2019-11-21 23:08:12 +02:00
Tulir Asokan
c190b75172 Add gitlab bot to README.md 2019-11-17 23:09:13 +02:00
Tulir Asokan
b15e692cf9 Bump dev build number 2019-11-17 22:31:37 +02:00
Tulir Asokan
1d03fd83df Switch to commonmark 2019-11-17 22:31:16 +02:00
Tulir Asokan
bb45218639 Fix splitting arguments when command has newlines 2019-11-17 22:31:02 +02:00
Tulir Asokan
acd0872e98 Remove matplotlib from dockerfile 2019-11-07 23:58:32 +02:00
Tulir Asokan
6d05ce3869 Bump minimum mautrix-python version 2019-11-07 23:27:35 +02:00
Tulir Asokan
6f37f914e9
Merge pull request #72 from L0ric0/master
fix start and end positions of match in RegexArgument
2019-10-23 14:46:55 +03:00
Tulir Asokan
6082a47fdc Fix building standalone image 2019-10-23 01:53:47 +03:00
Tulir Asokan
fa77005121 Add standalone single-plugin executor 2019-10-23 01:14:54 +03:00
Tulir Asokan
0a7f80df21 Fix some things 2019-10-23 01:14:39 +03:00
Lorenz Steinert
2d1560e92a
fix start and end positions of match
the `match.pos` and `match.endpos` are not the start and end of the matched
group but the start and end arguments passed to the `re.match()` method.

use `match.start()` and `match.end()` to find the beginning and the end of
the matched group.

see https://docs.python.org/3/library/re.html#match-objects
2019-10-16 16:08:01 +02:00