Commit graph

1243 commits

Author SHA1 Message Date
Tulir Asokan
5ba69f7e8e Add support for admin redactions in groups 2022-08-01 09:49:27 +03:00
Tulir Asokan
3617b991c8 Update whatsmeow 2022-08-01 09:49:27 +03:00
Sumner Evans
2a44a2bf7d provisioning: better logging around authentication 2022-07-27 13:01:12 -07:00
Tulir Asokan
7edd9f3237 Install libolm in GH actions so vet can compile the program
[skip cd]
2022-07-19 22:05:45 +03:00
Tulir Asokan
13f5ab9533 Fix pre-commit hook ID
[skip cd]
2022-07-19 22:01:50 +03:00
Tulir Asokan
b2567c9588 Add go vet to pre-commit and GH actions
[skip cd]
2022-07-19 21:57:25 +03:00
Sumner Evans
8cc1ad85ba
Merge pull request #533 from mautrix/fix-test
Fix the FindPrivateChats SELECT statement
2022-07-18 18:16:23 -07:00
Sumner Evans
17cd75654f
Fix the FindPrivateChats SELECT statement
The % needs to be escaped in the LIKE statement.

Closes #532
2022-07-18 19:11:23 -06:00
Tulir Asokan
465ffa27af Remove special-cased private chat portal cleanup 2022-07-18 16:31:56 +03:00
vurpo
1600559de7
Delete portal if user deletes chat on WhatsApp (#531) 2022-07-18 16:16:17 +03:00
vurpo
180c8996a8
Implement "Delete for me" support for messages (#530) 2022-07-18 16:08:52 +03:00
Tulir Asokan
45ed657ab1 Bump version to v0.6.0 2022-07-16 19:50:34 +03:00
Tulir Asokan
6f5070b243 Add message and status fields to status events 2022-07-12 13:15:49 +03:00
Tulir Asokan
7ccc0d005e Remove unused dbms migration function 2022-07-12 13:15:49 +03:00
Tulir Asokan
08d5b10902 Use same ensureUserInvited method everywere. Fixes #529 2022-07-12 13:15:46 +03:00
Tulir Asokan
35ed840a36 Don't try to do periodic sync on status broadcast chat 2022-07-11 19:47:10 +03:00
Tulir Asokan
574d6f47c3 Extend message handling timeout for scheduled messages 2022-07-11 15:08:34 +03:00
Tulir Asokan
794975eaa0 Add support for Matrix -> WhatsApp captions with MSC2530 2022-07-11 14:38:47 +03:00
Tulir Asokan
73f4449761 Add log to find which part of message handling takes long 2022-07-11 14:20:31 +03:00
Tulir Asokan
a2d808626f Update changelog 2022-07-09 11:33:33 +03:00
Tulir Asokan
fb74e014ec Improve log and update dependencies 2022-07-09 11:16:43 +03:00
Tulir Asokan
a548fd7174 Update Docker image to Alpine 3.16 2022-07-06 18:48:30 +03:00
Tulir Asokan
152f5a57b5 Fix handling not found avatars 2022-07-06 13:54:32 +03:00
Tulir Asokan
2bc5c32d48 Add double puppet value to backfilled event wire content 2022-07-05 16:41:28 +03:00
Tulir Asokan
4d059edc48 Update mautrix-go 2022-07-05 16:15:32 +03:00
Tulir Asokan
1b90f98961 Clamp sticker rendering suggestion 190px 2022-07-05 12:52:32 +03:00
Tulir Asokan
f8d6f712bd Get Matrix msgtype from WhatsApp type instead of mimetype 2022-07-05 12:46:34 +03:00
Tulir Asokan
91b4699e2d Update mautrix-go 2022-07-05 12:00:44 +03:00
Tulir Asokan
17a9df3297 Always sync private chat portal meta in background sync 2022-07-05 11:11:48 +03:00
Tulir Asokan
c16af35d1b Make Portal.UpdateName work without a room 2022-07-05 11:08:21 +03:00
Tulir Asokan
d7100cf0bd Update mautrix-go 2022-07-05 11:03:49 +03:00
Tulir Asokan
95aa6c01a6 Fix potential bugs in direct chat portal info updating 2022-07-05 11:02:54 +03:00
Tulir Asokan
9a6670eb93 Update mautrix-go 2022-07-01 23:25:13 +03:00
Tulir Asokan
87c4cd6c20 Simplify expression 2022-07-01 22:34:41 +03:00
Sumner Evans
7247e9b2e6
Merge pull request #525 from mautrix/make-contact-agumentation-more-efficient
provisioning/list_contacts: make augmentation with avatar more efficient
2022-07-01 13:21:07 -06:00
Sumner Evans
07a43e6541
provisioning/list_contacts: make augmentation with avatar more efficient
Signed-off-by: Sumner Evans <sumner@beeper.com>
2022-07-01 13:15:08 -06:00
Tulir Asokan
1e8fb6459d Update changelog 2022-07-01 11:07:43 +03:00
Tulir Asokan
69f23666a5 Use replies for error notices 2022-07-01 11:06:54 +03:00
Tulir Asokan
676ae34bbe Remove default soft timeout on sending 2022-07-01 11:06:20 +03:00
Tulir Asokan
61f3aa9704 Add still_working field for status event on soft timeouts 2022-07-01 11:02:35 +03:00
Tulir Asokan
bf4c01648f Move most double puppet source key adding to mautrix-go 2022-06-30 20:56:26 +03:00
Tulir Asokan
e9f01b81d5 Add validation for disappearing-timer command 2022-06-30 17:25:43 +03:00
Tulir Asokan
0c0a55b940 Fetch portal info before doing background sync
This ensures it doesn't re-add you if you left the group
2022-06-30 16:59:53 +03:00
Tulir Asokan
4b69c16f1a Allow retries on message taking too long errors 2022-06-30 14:52:28 +03:00
Tulir Asokan
14581a314e Fix checkpoint status for message taking long warnings 2022-06-30 14:50:22 +03:00
Tulir Asokan
2542f94e00 Add a warning log and more comments 2022-06-30 14:46:46 +03:00
Tulir Asokan
44768c9c93 Improve max message handling duration options 2022-06-30 14:41:37 +03:00
Tulir Asokan
e6240ff68c Update some words and dependencies 2022-06-30 13:52:07 +03:00
Tulir Asokan
d3d69d1a8a Add option for max message handling duration 2022-06-29 20:05:55 +03:00
Tulir Asokan
52e3cdb121 Only resync avatar if the user sync query returns one 2022-06-28 16:25:41 +03:00