Commit graph

143 commits

Author SHA1 Message Date
Tulir Asokan
625e110aab Improve logging when phone is seen again 2022-05-04 11:17:34 +03:00
Tulir Asokan
4bc4e92877 Remove media backfill queue and just request immediately 2022-05-02 15:00:57 +03:00
Sumner Evans
f2e762680c
media backfill: add ability to automatically request media not on WA server
This adds a new backfill type for media that sends a request to the
phone for every media that is not available on the WA servers. WA
deletes media from their servers after about two weeks, so you have to
ask the phone to re-upload it.

In order to use this, you need to enable
bridge.history_sync.backfill_media and configure the requests that will
be made per portal using bridge.history_sync.media (which is similar to
the deferred backfill config).

If you already have backfilled portals, but want to do a one-off media
backfill for all existing portals, you can set
bridge.history_sync.enqueue_backfill_media_next_start to true.
2022-04-19 08:12:51 -06:00
Sumner Evans
c664e5f107
Updates from CR
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2022-04-06 08:56:58 -06:00
Sumner Evans
8a49fea812
backfill: backfill conversation when started
This applies to when the conversation is started via the provisioning
API (start new chat) or when a new message comes in to that portal.
2022-03-29 23:40:22 -06:00
Sumner Evans
e702bf39d2
commands/backfill: add command to manually backfill a portal 2022-03-29 23:40:22 -06:00
Tulir Asokan
973f80d7a7 Fix accepting group invites in encrypted rooms 2022-03-14 13:15:52 +02:00
Tulir Asokan
7322f78d56 Delete connection and update JID map on remote logout 2022-03-10 22:21:24 +02:00
Tulir Asokan
3c274e6d35 Add proper error message for outdated client errors 2022-02-17 15:33:31 +02:00
Tulir Asokan
66d0817081 Add provisioning API endpoints to list contacts and start chats 2022-02-17 15:14:53 +02:00
Tulir Asokan
6d8c71ab36 Update JID validity check in !wa open. Fixes #438 2022-02-06 14:40:39 +02:00
Tulir Asokan
3d457d005e Pass event ID into CommandEvents 2022-01-07 14:39:00 +02:00
Tulir Asokan
8e6640a6f6 Merge remote-tracking branch 'clmnin/fix/cmdSyncHelp' 2021-12-30 12:31:27 +02:00
Tulir Asokan
8168d0efff Add check in sync space command and update changelog 2021-12-30 12:30:25 +02:00
Clament
802143c519 fix Sync cmd help: Add space
Update sync command help response string
	to include newly added functionality - space
2021-12-30 10:21:09 +05:30
Tulir Asokan
ba536f17e7 Add command to sync DM rooms into space 2021-12-29 21:40:58 +02:00
Tulir Asokan
ee516c1b75 Fix check in set-pl 2021-12-16 16:32:12 +02:00
Tulir Asokan
b8a8dcffaf Fix handling login events 2021-12-09 15:57:26 +02:00
Tulir Asokan
9a3bb28801 Fix mistake in login code 2021-12-09 15:54:01 +02:00
Tulir Asokan
c7aa4ff338 Update whatsmeow 2021-12-09 12:27:31 +02:00
Tulir Asokan
04ab823a4d Fix some things 2021-11-30 15:27:15 +02:00
Tulir Asokan
4898e79780 Replace check-invite with resolve-link and add support for business DM links 2021-11-27 11:30:41 +02:00
Tulir Asokan
36bb364f05 Update whatsmeow to fix app state syncing in some cases 2021-11-22 17:36:05 +02:00
Tulir Asokan
fda77bcf71 Improve search result formatting 2021-11-22 15:36:23 +02:00
Tulir Asokan
678c01cf09 Merge remote-tracking branch 'abmantis/search_cmd' 2021-11-22 15:27:35 +02:00
Tulir Asokan
a89d0f43fb Update whatsmeow 2021-11-15 13:39:39 +02:00
abmantis
dc9a075bc9 Implement search command 2021-11-09 23:59:05 +00:00
Tulir Asokan
5341d79093 Include error message in appstate sync error response 2021-11-09 23:29:47 +02:00
Tulir Asokan
01c1648c07 Add sync command 2021-11-08 20:57:04 +02:00
Tulir Asokan
f5ae637ffd Resync all puppets after app state sync completes 2021-11-08 13:04:39 +02:00
Tulir Asokan
433aaf3829 Reimplement more things 2021-11-05 12:17:56 +02:00
Tulir Asokan
2d90295488 Use partial info from history sync if latest group info not found 2021-11-03 14:43:53 +02:00
Tulir Asokan
02dc422089 Improve ping command response 2021-11-01 15:32:08 +02:00
Tulir Asokan
06a3346d28 Update mautrix-go and improve pm command responses 2021-11-01 12:28:57 +02:00
Tulir Asokan
a438e1e53d Update whatsmeow 2021-11-01 11:44:25 +02:00
Tulir Asokan
345244fedb Reimplement open command 2021-11-01 11:28:52 +02:00
abmantis
91f307df0e Reimplement list command 2021-11-01 11:21:34 +02:00
Tulir Asokan
79f51af06e Improve invite message text 2021-10-31 20:47:30 +02:00
Tulir Asokan
630095e28a Add support for group invite messages 2021-10-31 20:42:53 +02:00
Tulir Asokan
1e5d5c1a3e Implement joining groups and checking invite links 2021-10-31 19:59:30 +02:00
Tulir Asokan
1f91eacc10 Reimplement invite-link command 2021-10-31 15:14:26 +02:00
Tulir Asokan
fca78e1c0d Reimplement reconnect command 2021-10-31 14:12:41 +02:00
Tulir Asokan
1d877771e4 Add ping-matrix command 2021-10-30 23:44:41 +03:00
Tulir Asokan
84f6337979 Fix typos 2021-10-30 22:41:18 +03:00
Tulir Asokan
e3aed76f7a Add option to limit age of chats to create portals for 2021-10-30 21:54:35 +03:00
Tulir Asokan
745dd1cd63 Fix incorrect bridge state after logging out 2021-10-29 22:03:00 +03:00
Tulir Asokan
70214bdc42 Fix some issues with login/logout 2021-10-29 21:38:30 +03:00
Tulir Asokan
4695ce450f Show error message if user scans QR code with multidevice disabled 2021-10-28 21:22:34 +03:00
Tulir Asokan
43a9d90b13 Add error responses to unimplemented commands 2021-10-28 14:35:09 +03:00
Tulir Asokan
b2e6a614b9 Update delete-all-portals and remove commented code 2021-10-28 14:27:59 +03:00