Commit graph

742 commits

Author SHA1 Message Date
Tulir Asokan f5ae637ffd Resync all puppets after app state sync completes 2021-11-08 13:04:39 +02:00
Tulir Asokan b489d407c9 Remove old db migration that was merged into initial schema 2021-11-07 23:51:34 +02:00
Tulir Asokan 7c7ac37ba7 Fix updating rows on SQLite. Fixes #380 2021-11-07 23:42:23 +02:00
Tulir Asokan fad3a053b7 Use current directory for config temp file 2021-11-07 22:54:02 +02:00
Tulir Asokan 465fa4aa16 Switch to go-yaml v3 and add config updater. Fixes #243 2021-11-07 22:31:22 +02:00
Tulir Asokan 19104d857b Remove unused variable and fix formatting 2021-11-06 21:30:27 +02:00
Tulir Asokan 95453a4748 Maybe fix backfilling when double puppeting isn't enabled at all 2021-11-06 21:28:42 +02:00
Tulir Asokan a2bdb84414 Add sha256sum files to CI artifacts 2021-11-06 15:55:52 +02:00
Tulir Asokan 58e2a3a511 Disable backfilling with double puppets on other servers 2021-11-06 15:33:59 +02:00
Tulir Asokan ea045160a2 Never return nil in IntentFor(). Fixes #379 2021-11-06 14:20:56 +02:00
Tulir Asokan de9977b7d2 Add support for automatic double puppeting from other servers 2021-11-06 13:57:35 +02:00
Tulir Asokan 348b7bfe7b Merge remote-tracking branch 'abmantis/double_puppet_server_map' 2021-11-06 13:40:18 +02:00
Tulir Asokan 2941143b82 Adjust more things in roadmap 2021-11-06 00:18:16 +02:00
Tulir Asokan 0feb62517e Update ROADMAP.md 2021-11-06 00:09:53 +02:00
Tulir Asokan 64db9c9c9b Fix displayname not being html-escaped in relay mode templates 2021-11-05 20:08:49 +02:00
Tulir Asokan 911fdd37f0 Fix bug in SQLStateStore.SetMember(). Closes #378 2021-11-05 20:04:27 +02:00
Tulir Asokan d7eb071be8 Update whatsmeow 2021-11-05 17:34:05 +02:00
Tulir Asokan 0074c79f31 Bump version to v0.2.0 2021-11-05 14:49:49 +02:00
Tulir Asokan 433aaf3829 Reimplement more things 2021-11-05 12:17:56 +02:00
Tulir Asokan 7e20452783 Move all SetReply calls to one place 2021-11-05 11:47:51 +02:00
Tulir Asokan c0e69e31bb Include phone and device number in /ping API response 2021-11-04 12:06:56 +02:00
Tulir Asokan bc1bf6079a Fix INITIAL_BOOTSTRAP history syncs not being handled 2021-11-04 01:35:17 +02:00
Tulir Asokan a7d770ea62 Add some more debug logs for backfilling 2021-11-04 00:09:23 +02:00
Tulir Asokan f426b87dce Fix panic in backfill if there are no messages to backfill 2021-11-03 22:04:03 +02:00
Tulir Asokan 752aff48f1 Prioritize backfilling recent messages and fix some bugs 2021-11-03 21:34:06 +02:00
Tulir Asokan c42f2123fb Use bridge info content struct from mautrix-go 2021-11-03 20:41:34 +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 d05a79d843 Re-enable deployNext in CI 2021-11-03 10:56:25 +02:00
Tulir Asokan 146efa9e94 Ignore old call start events 2021-11-03 10:56:16 +02:00
Tulir Asokan 64f5610f39 Update whatsmeow to avoid unknown errors on 503 stream errors 2021-11-03 10:52:57 +02:00
Tulir Asokan b11a1664dd Sort chats by timestamp when handling history sync 2021-11-02 19:19:11 +02:00
Tulir Asokan ab4f16328e Send a dummy event for initial history backfill too 2021-11-02 19:09:52 +02:00
Tulir Asokan d3261d6de7 Update whatsmeow to handle group name/topic changes 2021-11-02 16:36:04 +02:00
Tulir Asokan 2977994f74 Fix incoming group call text 2021-11-02 15:52:12 +02:00
Tulir Asokan e0d79f2de1 Re-add call start notices 2021-11-02 15:46:31 +02:00
Tulir Asokan 817cd21550 Create all portals before backfilling when handling history syncs 2021-11-02 14:06:21 +02:00
Tulir Asokan db44ef2b36 Disable SQLite foreign keys. Fixes #360 2021-11-02 12:57:05 +02:00
Tulir Asokan 7218f9ad76 Adjust logic for adding members in backfill 2021-11-02 12:28:53 +02:00
Tulir Asokan 1e3c3a5548 Fix bridge bot requests not being logged 2021-11-02 12:27:38 +02:00
abmantis 16dee2aa56 Implement DoublePuppetServerMap 2021-11-01 23:17:44 +00:00
Tulir Asokan 328633b07a Update whatsmeow to fix panic on 32-bit arm 2021-11-01 21:13:58 +02:00
Tulir Asokan 38dd02e788 Fix provisioning API including jid field at the wrong time 2021-11-01 18:45:58 +02:00
Tulir Asokan bcfe674fa3 Re-enable post-build webhook in CI 2021-11-01 18:30:06 +02:00
Tulir Asokan 9994a04f79 Allow redacting through relaybot. Fixes #298 2021-11-01 16:46:03 +02:00
Tulir Asokan 08360d0d08 Fix backfill config comment 2021-11-01 16:45:39 +02:00
Tulir Asokan dd50379c3a Fix participant ID in replies and update comment 2021-11-01 16:29:13 +02:00
Tulir Asokan 02dc422089 Improve ping command response 2021-11-01 15:32:08 +02:00
Tulir Asokan 4ac445a868 Fix checking if message contains interesting things 2021-11-01 15:30:56 +02:00
Tulir Asokan ce8a29b46f Update whatsmeow. Fixes #365 2021-11-01 13:03:09 +02:00
Tulir Asokan c85b003fe8 Check prev_content for all leave events 2021-11-01 12:52:51 +02:00