1
0
Fork 0
mirror of https://github.com/mautrix/signal.git synced 2026-05-14 21:26:54 -04:00
Commit graph

1,030 commits

Author SHA1 Message Date
Sumner Evans
b8c31df0d3
voice messages: bridge Matrix voice messages to native Signal voice messages 2021-12-27 17:12:08 -07:00
Sumner Evans
e99ad76e9c
dockerfile: add ffmpeg as dependency 2021-12-27 00:06:31 -07:00
Sumner Evans
d6978f2287
voice messages: convert incoming voice messages to ogg 2021-12-27 00:06:31 -07:00
Sumner Evans
dfa574f75c
voice messages: bridge Signal voice messages to native Matrix messages 2021-12-27 00:02:59 -07:00
Tulir Asokan
a0ac8956b8 Add isort and black badges 2021-12-25 11:09:35 +02:00
Tulir Asokan
aa5f5ffc5b Sort mautrix-python as a first-party import 2021-12-25 11:09:34 +02:00
Sumner Evans
7f75752e44
Merge pull request #184 from mautrix/sumner/bri-115-show-incoming-call-notifications
calls: show notifications for call start/end in DMs
2021-12-24 22:52:17 -07:00
Sumner Evans
944ddd255a
call notifications: use m.notice for hang up 2021-12-24 22:50:00 -07:00
Sumner Evans
0da2405177
call notifications: add call type to offer messages 2021-12-24 22:50:00 -07:00
Sumner Evans
eddf260c9f
calls: show notifications for call start/end in DMs 2021-12-24 22:49:56 -07:00
Tulir Asokan
105cf52f5a Update mautrix-python 2021-12-23 15:02:27 +02:00
Sumner Evans
4dce1c3d01
message send errors: fix when sending to chat with only you 2021-12-22 12:50:07 -07:00
Sumner Evans
2ba21abe7a
Merge pull request #174 from Half-Shot/patch-2
Add connection_limit sample config
2021-12-17 13:49:11 -07:00
Tulir Asokan
7f7661fdad Drop non-bridgeable messages if there's no existing portal
Closes #191
2021-12-16 13:52:10 +02:00
Tulir Asokan
f4269f8028 Update mautrix-python and alpine 2021-12-15 17:51:27 +02:00
Sumner Evans
72a1499706
disappearing messages: only process on messages
All other Signal messages cannot set the disappearing message timer.
2021-12-15 02:23:00 -07:00
Sumner Evans
f9e1bbbb75
disappearing messages: fix bug where redactions caused the expiration setting to be lost 2021-12-14 14:40:45 -07:00
Tulir Asokan
1884f00170 Move to future annotations and clean up things 2021-12-14 12:58:27 +02:00
Tulir Asokan
414904fd30 Merge remote-tracking branch 'origin/blacken-everything' 2021-12-14 12:11:35 +02:00
Sumner Evans
899a5acd59
formatting: run isort across the codebase 2021-12-13 01:31:27 -07:00
Sumner Evans
4f31ce41e0
formatting: use black and add CI job to enforce styling 2021-12-13 01:28:20 -07:00
Tulir Asokan
f7176a4f77 Move relay stuff to mautrix-python 2021-12-12 12:18:21 +02:00
Sumner Evans
9d8eafeaf9
ROADMAP: add disappearing messages 2021-12-10 11:57:25 -07:00
Sumner Evans
e13206318b
Merge pull request #182 from mautrix/sumner/bri-1204-support-disappearing-messages-in-signal
disappearing messages: add support for both inbound and outbound
2021-12-09 15:42:48 -07:00
Sumner Evans
b1e27324a6
disappearing messages: don't spawn expiration events for every message every read receipt 2021-12-09 11:57:15 -07:00
Sumner Evans
4512f5dec3
disappearing messages: add config option to disable in groups 2021-12-09 09:53:02 -07:00
Sumner Evans
e51b580461
portal._expire_event: raise exception if portal not found 2021-12-09 09:25:53 -07:00
Sumner Evans
0c73ac48f9
db/disappearing_message: rename table to singular 2021-12-09 09:24:02 -07:00
Sumner Evans
53c6aab667
db/disappearing_message: remove delete_all method 2021-12-09 09:22:04 -07:00
Sumner Evans
2d06b7c20b
disappearing messages: format correctly when message timer turned off 2021-12-09 08:45:40 -07:00
Sumner Evans
15836c8319
deps/mautrix: update to 0.13.0 2021-12-09 08:45:10 -07:00
Sumner Evans
2ee27d6056
Merge pull request #181 from mautrix/unregistered-failures-non-fatal
mausignald/signald: make unregisteredFailures non-fatal
2021-12-09 08:33:32 -07:00
Sumner Evans
8d70a664ac
disappearing messages: refactor init_cls to not be async
Introduces a new function that gets called at startup instead.
2021-12-09 08:31:23 -07:00
Sumner Evans
9721ce0235
matrix, portal: fix imports and use time.time() instead of datetime.now().timestamp 2021-12-09 08:25:39 -07:00
Sumner Evans
b962176166
disappearing messages: combine db migrations 2021-12-09 08:21:59 -07:00
Sumner Evans
125d9cdd45
disappearing messages update notice: use mautrix.util.format_duration 2021-12-09 08:20:37 -07:00
Sumner Evans
ae0a0c5f57
disappearing messages: add lock around redaction logic
This will avoid race conditions when there are multiple timers going on at once
2021-12-09 03:37:03 -07:00
Sumner Evans
f62f5252a9
disappearing messages: handle inbound and outbound disappearing messages
When a message is sent or recieved in a Signal chat that has
disappearing messages enabled, it will automatically be redacted by the
bridge after the time configured on the room. However, note that the
countdown timer will only start once the room has been read.

The main mechanism for this is using async functions that just wait the
configured number of seconds before redacting. However, there we also
store all of the state necessary for determining when to redact a
message in the database in case a restart occurs. In the event of a
restart, we can resume waiting for the expiration (or redact immediately
if we are past the expiration timestamp).

This change also adds m.notice notifications for the user when the
disappearing messages setting changes on the Signal chat.
2021-12-09 03:31:34 -07:00
Sumner Evans
27cedcdc16
mausignald/signald: make unregisteredFailures non-fatal
The only exception is when the message fails to send to anyone in the group.
2021-12-08 16:30:14 -07:00
Sumner Evans
e3556318d4
Merge pull request #180 from mautrix/ignore-profile-key-updates
signal: ignored profile key updates
2021-12-08 08:23:40 -07:00
Sumner Evans
023df3ca99
signal: ignored profile key updates 2021-12-08 08:11:55 -07:00
Tulir Asokan
d7c81ea81a Fix portals not being stored in by_chat_id cache correctly 2021-12-08 12:43:37 +02:00
Tulir Asokan
3cde418151 Add debug log to detect duplicate Portal instances 2021-12-08 12:13:06 +02:00
Tulir Asokan
35da90e755 Update mautrix-python 2021-12-08 11:54:34 +02:00
Tulir Asokan
097f9eb79a Adjust get_by_chat_id to make sure the async getter lock works 2021-12-08 11:53:42 +02:00
Tulir Asokan
f93a76a753 Add warning about SQLite to config 2021-12-05 17:02:34 +02:00
Tulir Asokan
b4e5030ded Fix redaction checkpoints 2021-11-30 12:18:37 +02:00
Tulir Asokan
5593333d13 Bump version to 0.2.1 v0.2.1 2021-11-28 20:01:36 +02:00
Tulir Asokan
6c113b5746 Update BridgeState import path 2021-11-28 20:00:49 +02:00
Tulir Asokan
597121fe29 Update dependencies 2021-11-19 18:15:26 +02:00