Commit graph

161 commits

Author SHA1 Message Date
Tulir Asokan
a112e48467 Fix usage and help message for sync command 2022-09-18 14:46:16 +03:00
Tulir Asokan
52072d9650 Update mautrix-go for new bridge status package 2022-08-15 16:36:28 +03:00
Tulir Asokan
e9f01b81d5 Add validation for disappearing-timer command 2022-06-30 17:25:43 +03:00
Tulir Asokan
d3d69d1a8a Add option for max message handling duration 2022-06-29 20:05:55 +03:00
Tulir Asokan
9f0901f560 Add periodic ghost avatar resync 2022-06-28 14:37:50 +03:00
Sumner Evans
e8c86d43d0
encryption: add ability to control rotation settings
Signed-off-by: Sumner Evans <sumner@beeper.com>
2022-06-21 12:33:04 -06:00
Tulir Asokan
79fb0d49b3 Move bridge state stuff to mautrix-go 2022-05-31 00:27:44 +03:00
Tulir Asokan
9e4e964112 Move login-matrix commands to mautrix-go 2022-05-22 22:03:08 +03:00
Tulir Asokan
73304cd400 Move Matrix event and command handling to mautrix-go 2022-05-22 16:15:54 +03:00
Tulir Asokan
a948ea0146 Move a bunch of stuff to mautrix-go
See d578d1a610

Database upgrades from before v0.4.0 were squashed, users must update
to at least v0.4.0 before updating beyond this commit.
2022-05-22 01:06:30 +03:00
Sumner Evans
48c60d33c4
commands: fix build 2022-05-16 18:08:20 -06:00
Sumner Evans
5b73ba7efd
Merge pull request #494 from mautrix/sumner/bri-3309
backfill: remove intermediate queues and unblock re-checking DB
2022-05-16 17:13:29 -06:00
Sumner Evans
df46ca99f9
backfill: remove intermediate buffer for backfill 2022-05-16 14:04:22 -06:00
Tulir Asokan
3cafd59cf7 Handle key missing errors when syncing app state 2022-05-16 11:43:09 +03:00
Sumner Evans
f3f6d88e55
backfill: perform batch finish in transaction 2022-05-15 21:43:12 -06:00
Sumner Evans
1d70cbff48
backfill queue: add dispatch time, remove time end to table
* the dispatch time is going to be what the completed time used to be
* the time end column was always nil, so I got rid of it
2022-05-15 21:42:38 -06:00
Tulir Asokan
0ed0f61ced Add command to change disappearing timer 2022-05-15 14:01:23 +03:00
Sumner Evans
b5551ee16a
database: add media requests buffer table 2022-05-11 17:10:55 -06:00
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