Commit graph

175 commits

Author SHA1 Message Date
Tulir Asokan
6097735b3c Add word to error message 2023-12-15 14:36:18 +02:00
Tulir Asokan
1d9d516b78 Add support for newsletters in join and open commands 2023-10-18 14:21:30 +03:00
Tulir Asokan
6feebd827b Add basic newsletter support. Fixes #655 2023-10-13 18:10:26 +03:00
Tulir Asokan
1ccd16626a Clarify that the login command doesn't require the phone number 2023-09-04 12:20:49 +03:00
Tulir Asokan
bd01c661ef Move double puppeting login code to mautrix-go 2023-08-21 13:52:12 +03:00
Tulir Asokan
4ad2a9e318 Use hardcoded UA for pair code 2023-08-17 11:38:45 +03:00
Tulir Asokan
262940f3a0 Use new GenerateMessageID function 2023-08-03 19:47:42 +03:00
Tulir Asokan
a7d9251abd Add support for logging in by entering code on phone 2023-07-18 22:15:20 +03:00
Tulir Asokan
eddd6c87bf Remove confusing backfill command 2023-06-21 10:35:39 +03:00
Tulir Asokan
e3174a7bd7 Use create key to deduplicate group creates
Doesn't work if there are multiple Matrix users, but better than nothing
2023-05-10 22:41:12 +03:00
Tulir Asokan
3a5ca36d49 Fix disappearing message timing 2023-01-16 17:15:04 +02:00
Tulir Asokan
ee26bc6061 Prevent misusing --create-portals in sync command 2022-12-12 12:05:40 +02:00
Tulir Asokan
a1192bd0a4 Add support for communities 2022-12-02 15:36:19 +02:00
Tulir Asokan
6c517eaaeb Add support for wa.me/qr links in resolve command. Fixes #556 2022-09-28 14:45:09 +03:00
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