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 Asokan and rafaeltheraven
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
Tulir Asokan
7413163df2
Migrate room user profiles from mx-state.json in batches. Fixes #93
2019-08-27 15:30:22 +03:00
Tulir Asokan
f91812f3e9
Fix membership db scan error message
2019-08-25 21:54:11 +03:00
Tulir Asokan
85d57d52bb
Log better error when parsing message fails
2019-08-25 19:41:53 +03:00
Tulir Asokan
0f36ee0168
Add way to migrate database
2019-08-25 19:26:04 +03:00
Tulir Asokan
3be9aa2319
Improve errors in state store migration edge cases
2019-08-25 17:25:19 +03:00
Tulir Asokan
ab91d326fd
Move Matrix state store to main database. Fixes #64
2019-08-25 16:29:35 +03:00
Tulir Asokan
15b0798cdd
Check connection to homeserver before starting. Fixes #15
2019-08-25 00:34:58 +03:00
Tulir Asokan
1490830be2
Use handlers instead of sleeping for startup chat/contact sync
2019-08-25 00:25:29 +03:00
Tulir Asokan
f28322d1f7
Send error message if downloading media from WhatsApp fails
2019-08-24 23:08:45 +03:00
Tulir Asokan
2c89089650
Update deps
2019-08-24 22:56:29 +03:00
Tulir Asokan
18724cde6e
Don't open log file if file name format is unset
2019-08-24 22:45:16 +03:00
Tulir Asokan
80a0edd855
Add option to disable call start/end notifications. Fixes #68
2019-08-24 22:42:03 +03:00
Tulir Asokan
07d43c4825
Send call notifications as notices. Fixes #82
2019-08-24 22:40:09 +03:00
Tulir Asokan
44a0fc65b8
Handle 400 init response and add ping command. Fixes #87
2019-08-24 22:39:12 +03:00
Tulir Asokan
b9ce4d7ab4
Update mautrix-appservice-go
2019-08-23 00:02:04 +03:00
Tulir Asokan
eb3595bd39
Add newly created portals to personal filtering community
2019-08-10 15:44:05 +03:00
Tulir Asokan
64e517da25
Fix some logger calls
2019-08-10 15:35:34 +03:00
Tulir Asokan
1119587b59
Fix setting metadata of personal filtering community
2019-08-10 15:33:19 +03:00
Tulir Asokan
7bf470d69e
Add portal rooms to user-specific community for filtering
2019-08-10 15:28:12 +03:00
Tulir Asokan
07b8936985
Change default port to 29318
2019-07-28 18:29:30 +03:00
Tulir Asokan
1474288b82
Cache modules when building and include example config in artifacts
2019-07-27 17:15:45 +03:00
Tulir Asokan
d59d2c61ee
Add .gitlab-ci.yml
2019-07-27 17:03:05 +03:00
Tulir Asokan
35e28feb7c
Update deps
2019-07-18 00:18:01 +03:00
Tulir Asokan
91e8000c14
Edit message with regenerated QR code when logging in
2019-07-18 00:17:25 +03:00
Tulir Asokan
7f0a0df7de
Convert newlines to <br> in whatsapp->matrix formatted messages
2019-07-18 00:17:25 +03:00
Tulir Asokan
921c1209ea
Enable foreign keys in SQLite
2019-07-18 00:17:25 +03:00
Tulir Asokan
29f5ae45c4
Print clean websocket disconnections if they weren't announced by the server beforehand
...
Also print message send errors when Session is not nil even if Connection is nil
2019-07-04 15:08:59 +03:00
Tulir Asokan
2023f55f32
Recover from panics in event handlers
2019-06-18 08:24:17 +03:00
Tulir Asokan
45e60c2510
Update go-whatsapp
2019-06-16 23:00:45 +03:00
Tulir Asokan
5be78dd978
Fix the crash in #69
2019-06-13 21:30:38 +03:00
Tulir Asokan
2bc0e52250
Fix puppet db inserts. Fixes #69
2019-06-13 21:28:14 +03:00
Tulir Asokan
d270c86709
Update go-whatsapp
2019-06-12 12:38:07 +03:00
Tulir Asokan
c4186c9029
Update deps and add real version for go-whatsapp dep
...
Closes #66
2019-06-01 20:18:24 +03:00
Tulir Asokan
e124641107
Add option to set private chat portal rooms' name/avatar explicitly
2019-06-01 20:03:29 +03:00
Tulir Asokan
9fa0ad923d
Fix potential nil pointer crash
2019-06-01 19:20:06 +03:00
Tulir Asokan
4a13ae731a
Fix custom puppet start loop
2019-05-31 23:07:33 +03:00
Tulir Asokan
3345615fc0
Fix indentation in filter json
2019-05-31 23:03:09 +03:00
Tulir Asokan
2bf3edda16
Add logout-matrix command
2019-05-31 23:02:00 +03:00
Tulir Asokan
1285aa4327
Fix fetching more than one chunk of initial history
2019-05-31 22:30:57 +03:00
Tulir Asokan
37fd5dba2c
Fix syncing chats for users with old chats
2019-05-31 21:59:23 +03:00
Tulir Asokan
83f4cf2811
Fix crash and add more logging
2019-05-31 20:51:16 +03:00
Tulir Asokan
a40584db41
Add command to delete all own portals for a fresh start
2019-05-31 19:33:18 +03:00
Tulir Asokan
37cd34e4bf
Make contact wait delay configurable and fix nil pointer usage
2019-05-30 20:25:04 +03:00
Tulir Asokan
02f78155b5
Only invite default puppet for backfilling when needed
2019-05-30 17:48:22 +03:00
Tulir Asokan
521a8b74aa
Share backfill start/end code between initial and recovery fills
2019-05-30 17:25:56 +03:00
Tulir Asokan
c4751f4953
Use default puppet when backfilling to avoid rate limits
2019-05-30 17:22:03 +03:00
Tulir Asokan
a9fd97932b
Send alerts about incoming calls
2019-05-30 17:00:36 +03:00
Tulir Asokan
1c009b96fe
Only load 50 messages per request in initial fill
2019-05-28 21:48:37 +03:00
Tulir Asokan
dce08b1422
Add user-portal mapping to database
2019-05-28 21:31:25 +03:00
Tulir Asokan
666194b066
Possibly fix and/or break missed message backfilling
2019-05-28 21:30:39 +03:00
Tulir Asokan
063ec7873d
Don't allow unsupported database versions without flag
2019-05-28 21:29:43 +03:00
Tulir Asokan
1d43aeca2f
Remove message locking as message handling is synchronous per-portal
2019-05-28 14:12:35 +03:00
Tulir Asokan
7f0c67168c
Fix potential autoreconnect problem and add exponential backoff
2019-05-28 14:09:49 +03:00
Tulir Asokan
498c0e4130
Ignore invalid data received errors
2019-05-27 14:15:45 +03:00
Tulir Asokan
3f13e13d36
Make not connected errors in sync handling non-fatal
2019-05-27 14:01:30 +03:00
Tulir Asokan
402f482db3
Update deps
2019-05-27 13:48:11 +03:00
Tulir Asokan
bfe5af7edc
Add Matrix->WhatsApp EDU bridging
2019-05-27 13:46:04 +03:00
Tulir Asokan
5346e01d2a
Add logging for custom puppets and save next batch properly
2019-05-24 14:09:48 +03:00
Tulir Asokan
0db44d4cc7
Remove dev replaces in go.mod again
2019-05-24 02:36:59 +03:00
Tulir Asokan
2c9c473040
Add basic Matrix puppeting support
...
May contain bugs.
EDUs from /sync are not yet handled.
2019-05-24 02:33:30 +03:00