Commit Graph

522 Commits

Author SHA1 Message Date
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
Tulir Asokan
bf4c062d43 Include alembic.ini in pypi build 2019-09-29 16:59:28 +03:00
Tulir Asokan
0ef0acec6c Make new pypi build 2019-09-29 16:55:51 +03:00
Tulir Asokan
341fb85b54 Fix typo and add commitstrip and supportportal plugins to readme 2019-09-28 19:03:50 +03:00
Tulir Asokan
decc906f06 Run alembic at startup 2019-09-28 18:25:30 +03:00
Tulir Asokan
2341d29856 Use mautrix-python master branch 2019-09-28 17:31:52 +03:00
Tulir Asokan
ccc94da432 Add edits parameter to client.send_markdown 2019-09-28 17:21:03 +03:00
Tulir Asokan
7fcb7cbf0a Update type hints and allow InternalEventTypes for @event.on 2019-09-28 17:21:03 +03:00
Tulir Asokan
ed6055744f Add Alembic setup 2019-09-28 17:21:03 +03:00
Tulir Asokan
a96367de3d Make new pypi dev build 2019-09-11 14:18:41 +03:00
Tulir Asokan
506ffdedf5 Import db base from util 2019-09-01 22:11:28 +03:00
Tulir Asokan
02360693a7 Bump mautrix-python requirement 2019-09-01 22:08:40 +03:00
Tulir Asokan
0c8a79fab0 Minor style fix 2019-09-01 21:54:29 +03:00
Tulir Asokan
bb92a26aaf Use remote_avatar/displayname in client selector too 2019-09-01 21:52:58 +03:00
Tulir Asokan
1abd0d4820 Fix device ID generation 2019-09-01 15:16:49 +03:00
Tulir Asokan
1cb2ec5a9b Only show config editor if plugin type has config 2019-09-01 15:15:54 +03:00
Tulir Asokan
6e8bf60050 Merge remote-tracking branch 'Half-Shot/hs/bot-user-type' 2019-09-01 15:08:42 +03:00
Tulir Asokan
bbbb92782f Fix updating instance with sqlalchemy core 2019-09-01 15:07:09 +03:00
Tulir Asokan
4d7fa10382 Add exec bot to readme 2019-09-01 14:46:13 +03:00
Tulir Asokan
b59eab2953 Stop using SQLAlchemy ORM and add colorful logs 2019-09-01 14:46:08 +03:00
Tulir Asokan
59998b99b1 Update mautrix-python 2019-08-31 14:56:22 +03:00
Tulir Asokan
33a83e0701 Fix starting syncing when there's no avatar set 2019-08-31 14:55:16 +03:00
Tulir Asokan
811b5877b0 Fix previous commit 2019-08-31 12:44:32 +03:00
Tulir Asokan
c9c8ac08a1 Show avatar and name from server if profile overwriting is disabled 2019-08-31 12:32:25 +03:00
Tulir Asokan
71d0bf0238 New pypi dev build 2019-08-31 12:00:32 +03:00
Tulir Asokan
d5541caf8d Support disabling setting displayname/avatar url 2019-08-31 11:53:30 +03:00
Tulir Asokan
cbe312176d Fix original plugin base config object being mutated when updating config 2019-08-30 01:27:58 +03:00
Tulir Asokan
eb353c4964 Add edit function to MaubotMessageEvent 2019-08-30 01:27:40 +03:00
Will Hunt
9fe7816b49
Ignore user_type for login 2019-08-28 10:03:28 +01:00
Will Hunt
d8c58504c5
Pull user_type from the request 2019-08-28 08:30:06 +01:00
Will Hunt
564cc0bf2c
Register clients with user_type "bot"
Depends on https://github.com/matrix-org/synapse/pull/5902

This means that synapse servers that require consent will not demand it from bot users.
2019-08-28 08:11:33 +01:00
Tulir Asokan
aaf5e43d9f Update mautrix-python 2019-08-24 15:14:57 +03:00
Tulir Asokan
c442ca4d86 Don't show homeserver as selected when one isn't actually selected. Fixes #57 2019-08-11 15:36:24 +03:00
Tulir Asokan
e82980c456 Add more deps to docker image 2019-07-28 21:56:43 +03:00
Tulir Asokan
15ec4f7155 Add .gitlab-ci.yml 2019-07-28 21:07:56 +03:00
Tulir Asokan
95de3b91ae Bump minimum mautrix-python version 2019-07-21 20:50:33 +03:00
Tulir Asokan
d557a5b02a Add sync state indicator and support for clearing cache 2019-07-21 20:37:32 +03:00
Tulir Asokan
13065451f5 Fix error in client create view 2019-07-21 18:56:05 +03:00
Tulir Asokan
bc700df938 Push recent changes to PyPI 2019-07-21 18:20:18 +03:00
Tulir Asokan
d451a8d669 Use more specific mautrix.client import path 2019-07-21 18:18:22 +03:00
Tulir Asokan
0488058a02 Fix defaultPut suffix parameter 2019-07-16 03:16:37 +03:00
Tulir Asokan
e5e614fc4b Add fancier server selector 2019-07-16 03:12:13 +03:00
Tulir Asokan
924f627c58 Fix web app homepage 2019-07-16 03:11:53 +03:00
Tulir Asokan
8b0bd510f9 Stop requiring super call to activate event handlers in plugin start/stop methods 2019-07-13 15:48:13 +03:00
Tulir Asokan
7e6c51d18f Update frontend dependencies 2019-07-11 01:00:11 +03:00
Tulir Asokan
cd43fcde4b Fix error preventing any bot from syncing 2019-07-09 23:08:28 +03:00
Tulir Asokan
d32a88f3b4 Update mautrix-python version 2019-07-09 19:31:56 +03:00