Commit Graph
100 Commits
Author SHA1 Message Date
Tulir Asokan 7b75d763ed Update mautrix-go 2020-06-03 19:49:57 +03:00
Tulir Asokan f1b50a22f3 Add bridge info state events for new portal rooms 2020-06-01 15:09:58 +03:00
Tulir Asokan 7947ba616c Hide reconnected successfully message if report_connection_retry is false 2020-05-29 21:06:25 +03:00
Tulir Asokan e2261b80b6 Include whatsapp user ID in provisioning API ping response 2020-05-28 20:59:36 +03:00
Tulir Asokan c72610f3f0 Fix handling new messages during initial portal backfill 2020-05-28 20:35:43 +03:00
Tulir Asokan 7cf19b0908 Auto-create management room if needed when sending notices 2020-05-27 12:16:05 +03:00
Tulir Asokan 91db286208 Update mautrix-go 2020-05-26 17:51:20 +03:00
Tulir Asokan 46e53eca4d Fix bridging messages to WhatsApp with relaybot. Fixes #191 2020-05-25 23:11:00 +03:00
Tulir Asokan c6b4f34c28 Add option to send read receipt on confirmed delivery to WhatsApp 2020-05-25 11:17:47 +03:00
Tulir Asokan 2857b57c8e Use strings.Fields instead of manually removing spaces 2020-05-24 19:03:57 +03:00
Tulir Asokan d625ad0066 Update go-whatsapp 2020-05-24 17:47:05 +03:00
Tulir Asokan aa0a4d3eea Call LoadMediaInfo and retry if media download fails with 404/410 2020-05-24 17:46:19 +03:00
Tulir Asokan 5a62982a56 Add option to query message from phone when send times out 2020-05-24 17:28:30 +03:00
Tulir Asokan bb883e1262 Ignore multiple spaces in commands 2020-05-24 17:03:50 +03:00
Tulir Asokan 9dfd9c88b2 Merge remote-tracking branch 'Dekedro/master' 2020-05-24 16:57:51 +03:00
Tulir Asokan c909a85fc7 Re-add sending bridging failure messages 2020-05-24 15:44:20 +03:00
Tulir Asokan 91bb38eaa3 Wait for response even after message send timeout 2020-05-24 15:33:26 +03:00
Tulir Asokan dfdd4e6bca Fix typo 2020-05-24 14:15:22 +03:00
Tulir Asokan 9526d61489 Add static build for other architectures (ref #187) 2020-05-24 11:59:38 +03:00
Tulir Asokan 3d92a98891 Fix sorting list output 2020-05-24 00:11:56 +03:00
Tulir Asokan abffc0b54c Fix default page number in list command 2020-05-23 23:52:05 +03:00
Tulir Asokan ba4aaa8f52 Add missing commands to help 2020-05-23 23:25:22 +03:00
Tulir Asokan 2353924456 Paginate output of list command
Fixes #147
Closes #148
2020-05-23 23:17:45 +03:00
Tulir Asokan 4f09835b81 Fix sending captions to Matrix 2020-05-22 17:13:23 +03:00
Tulir Asokan b4949eec59 Add missing crypto != nil checks 2020-05-21 21:56:46 +03:00
Tulir Asokan 8bb5407f98 Merge branch 'e2be' 2020-05-21 20:58:57 +03:00
Tulir Asokan ed978bcb9c Don't use different types for SQLite in DB schema 2020-05-21 20:56:41 +03:00
Tulir Asokan 64af0209b7 Suggest delete-session when trying to logout without connection. Fixes #98 2020-05-21 20:50:54 +03:00
Tulir Asokan e4bc254a65 Change incoming call notices back to m.text 2020-05-21 20:14:43 +03:00
Tulir Asokan c0fc06b410 Allow using custom puppet for backfilling 2020-05-21 20:00:00 +03:00
Tulir Asokan 9002bf62ed Fix needing to reconnect after initial login 2020-05-21 19:49:01 +03:00
Tulir Asokan e08676079a Fix bridging encrypted media from Matrix 2020-05-20 16:45:21 +03:00
Tulir Asokan a770263d86 Encrypt media bridging error notices 2020-05-12 23:38:01 +03:00
Tulir Asokan 562754bc77 Update go.sum 2020-05-12 23:34:51 +03:00
Tulir Asokan fc6f8df4d3 Fix replacing outbound group session in db 2020-05-12 23:33:59 +03:00
Tulir Asokan c9adb3aba3 Store outbound group sessions in database 2020-05-12 23:16:33 +03:00
Tulir Asokan 1c3de877db Maybe support e2be by default and fix some bugs 2020-05-12 22:25:55 +03:00
Tulir Asokan db5c1a3f61 Make sure user gets invited to portal when using open command 2020-05-12 20:30:38 +03:00
Tulir Asokan 168a6ff93f Fix static build 2020-05-09 20:25:48 +03:00
Tulir Asokan ea23907492 Fix some bugs with db crypto store 2020-05-09 20:23:30 +03:00
Tulir Asokan dfc5722a80 Move crypto store to main database 2020-05-09 20:08:05 +03:00
Tulir Asokan 6e50a7c380 Switch appservice module location 2020-05-09 20:08:05 +03:00
Tulir Asokan e7458139c4 Update deps 2020-05-09 02:14:12 +03:00
Tulir Asokan 0a77e25cda Add static build to CI 2020-05-09 02:11:16 +03:00
Tulir Asokan f89fcf7212 Make no-cgo build work without source changes 2020-05-09 02:08:23 +03:00
Tulir Asokan baae66ed04 Add basic end-to-bridge encryption support
Still missing persisting sync tokens and crypto state in DB
2020-05-09 02:04:01 +03:00
Tulir Asokan edd91510f1 Add olm to CI builds 2020-05-08 23:53:30 +03:00
Tulir Asokan acc25a02e4 Update mautrix-go 2020-05-08 22:32:22 +03:00
Tulir Asokan e0aea74abf Update go-whatsapp to prevent rare panic when disconnecting 2020-04-21 23:18:28 +03:00
Tulir Asokan 53fe1b1818 Update go-whatsapp. Fixes #169 2020-04-21 09:25:18 +03:00
Tulir Asokan 9aee1c83ac Add ?sslmode=disable to example postgres connection string
Closes #163
2020-04-12 10:43:33 +03:00
Tulir Asokan 0ded3aa7af Update go-whatsapp 2020-04-12 10:43:33 +03:00
Tulir Asokan 064b5b8fed Don't use transaction for querying values 2020-04-02 21:53:45 +03:00
Tulir Asokan 6a42de73d1 Check if constraint exists before trying to delete 2020-04-02 21:37:51 +03:00
Tulir Asokan 9b01166f0c Ignore error in upgrade to allow Postgres 12 to work. Fixes #133 2020-04-02 21:11:38 +03:00
Tulir Asokan 78d3d22cd4 Add support for setting group description from Matrix 2020-03-31 16:27:42 +03:00
Tulir Asokan 3f60a6f28e Update go-whatsapp to fix file uploading 2020-03-31 11:55:07 +03:00
Tulir Asokan ac356031ac Update all deps 2020-03-27 10:27:03 +02:00
Tulir Asokan 3a9642386c Fix state store migration 2020-03-26 23:36:47 +02:00
Tulir Asokan 0b6f14460d Update go-whatsapp to get new protobuf schema 2020-03-26 21:49:35 +02:00
Tulir Asokan f66041eaf9 Update go-whatsapp 2020-03-26 20:15:32 +02:00
Tulir Asokan a937863c1e Update mautrix-appservice-go 2020-03-26 19:57:46 +02:00
Tulir Asokan 8dd5f6a0d1 Merge pull request #151 from rreuvekamp/fix/142-reconnect-command-doesnt-work-v2
Fix #142
2020-03-26 19:29:36 +02:00
Tulir Asokan 61268f8cc4 Revert to Go 1.12 in dockerfile 2020-02-25 23:26:57 +02:00
Tulir Asokan ab98ef4e3b Actually fix arm64 build 2020-02-25 23:13:45 +02:00
Tulir Asokan e20a712dce Fix arm64 builds 2020-02-25 23:04:55 +02:00
Tulir Asokan 685e6a3be0 Add arm64 docker builds to CI 2020-02-25 22:59:39 +02:00
Tulir Asokan 260555b69c Remove provisioning API QR code regen limit 2020-02-09 21:00:29 +02:00
Tulir Asokan 16dc3c8699 Add initial provisioning API 2020-02-09 20:32:14 +02:00
Tulir Asokan 39e46833b4 Merge pull request #135 from Rafaeltheraven/master
Fix #134, let whatsapp deal with mimetypes
2020-01-12 23:28:49 +02:00
Tulir Asokan 302fae6649 Bypass mautrix.Content's MarshalJSON. Fixes #132 2020-01-07 22:27:37 +02:00
Tulir Asokan 8c3807a16d Add puppet to personal filtering community when adding portal 2020-01-07 21:40:51 +02:00
Tulir Asokan a7601fa4cc Hide rooms when adding to personal filtering community 2020-01-07 21:40:51 +02:00
Tulir Asokan e4ddc43007 Merge pull request #118 from 14mRh4X0r/support-go-1-11
Replace ReplaceAll(…) with Replace(…, -1)
2019-12-31 21:26:31 +02:00
Tulir Asokanandrafaeltheraven e056459ab4 Add/fix sticker bridging in both directions
* Matrix stickers are sent as images
* WhatsApp stickers were missing the incoming event handler

Fixes #124
Fixes #127
Closes #126
Closes #129

Co-authored-by: rafaeltheraven <rafael.dulfer@gmail.com>
2019-12-31 20:22:04 +02:00
Tulir Asokan 4bdbe67c94 Mark custom puppets as registered automatically. Fixes #128 2019-12-30 20:40:30 +02:00
Tulir Asokan ec0e60c71c Add option to automatically enable custom puppeting with shared secret login 2019-12-30 20:21:04 +02:00
Tulir Asokan 0b51d84646 Fix values.yaml in helm chart 2019-12-06 15:57:35 +02:00
Tulir Asokan bb1d28c755 Fix typo 2019-11-13 09:40:41 +02:00
Tulir Asokan 14f039f5a4 Don't drop messages even if database says authenticated user is not in chat 2019-11-13 09:36:43 +02:00
Tulir Asokan 3caca1b9a0 Fix NeedsRelaybot check for groups too 2019-11-11 22:41:58 +02:00
Tulir Asokan 691d2ea1b3 Fix NeedsRelaybot check and relaybot command handling without arguments 2019-11-11 22:30:59 +02:00
Tulir Asokan 0f4048a178 Add helm chart 2019-11-10 21:56:30 +02:00
Tulir Asokan 03d42640fe Add basic relaybot support. Fixes #20 2019-11-10 21:22:11 +02:00
Tulir Asokan e2d9e2fc57 Merge remote-tracking branch 'deepbluev7/master' 2019-11-10 19:13:01 +02:00
Tulir Asokan a0658a5634 Merge remote-tracking branch 'mawalu/migrate-registrations-in-batches' 2019-11-10 19:12:57 +02:00
Tulir Asokan f0ad1456e2 Use Go 1.12 for dockerfile temporarily. Fixes #99 2019-09-29 01:15:39 +03:00
Tulir Asokan 22fb5c125d Update go-whatsapp (ref #94) 2019-09-03 21:24:33 +03:00
Tulir Asokan 9c144e480e Update mautrix-appservice-go 2019-09-01 18:23:14 +03:00
Tulir Asokan 6861ba00ec Update go-whatsapp 2019-08-31 00:33:39 +03:00
Tulir Asokan fb826601d8 Fix bridging media when whatsapp sends wrong mime type 2019-08-31 00:32:51 +03:00
Tulir Asokan 04192da0a6 Update go-whatsapp dep 2019-08-30 22:22:44 +03:00
Tulir Asokan d91f705e95 Fix most unexpected logout bugs, handle connection-in-progress states better and send warning message if sending to whatsapp times out 2019-08-30 22:04:57 +03:00
Tulir Asokan c4d2b04e67 Fix misleading connection error message in private chat portals 2019-08-30 21:37:12 +03:00
Tulir Asokan 4747d6999b Add different error message in ping if user has no session 2019-08-30 21:32:47 +03:00
Tulir Asokan 5af374e6b0 Fix bridging error messages in private chats 2019-08-30 21:32:29 +03:00
Tulir Asokan fccf6e981f Disconnect if session restore fails
Otherwise the connection sticks around and can suddenly become logged in
2019-08-30 21:31:56 +03:00
Tulir Asokan 0d4453d2e8 Skip state store migrations if state store is empty 2019-08-30 21:08:32 +03:00
Tulir Asokan 2313321d01 Improve startup sync timeout handling 2019-08-30 20:57:08 +03:00
Tulir Asokan db53b95ab1 Try to ensure recovered panics still print stack traces 2019-08-30 09:39:41 +03:00