Commit graph

64 commits

Author SHA1 Message Date
Tulir Asokan
7bd47fabb2 Update go-whatsapp to break everything and maybe improve things 2021-02-18 23:36:14 +02:00
Tulir Asokan
69dd7f803a Move whatsapp-ext to go-whatsapp 2021-02-17 01:21:30 +02:00
Tulir Asokan
67a39bb6c8 Automatically re-login-matrix on M_UNKNOWN_TOKEN 2021-02-11 20:47:17 +02:00
Tulir Asokan
3c7ff4bc0c Miscellaneous improvements to connection management 2021-02-05 19:26:09 +02:00
Alexandre Macabies
95f6487912
Make database log a sublogger of Bridge, like all other modules. (#260) 2021-01-25 21:01:54 +02:00
Tulir Asokan
e2024aa1e4 Bump version to v0.1.5 2020-12-28 18:57:35 +02:00
Tulir Asokan
0c60516702 Fix --ignore-unsupported-database flag 2020-11-02 16:16:36 +02:00
Tulir Asokan
0f17863708 Add command to reset the megolm session in a room 2020-10-05 22:32:15 +03:00
Tulir Asokan
d67c3a8c96 Wait up to 3 seconds for encryption keys to arrive 2020-09-24 15:25:36 +03:00
Tulir Asokan
1edf8bb9e1
Bump version to v0.1.4 2020-09-04 17:53:53 +03:00
Tulir Asokan
6cb55f3969 Fix bugs in db migration. Fixes #211 2020-07-30 21:41:04 +03:00
Tulir Asokan
1aca93f250 Remove http.ListenAndServe in wrong place 2020-07-27 13:02:55 +03:00
Tulir Asokan
f86f06a403 Check connection to homeserver before trying to log in for e2be 2020-07-23 19:18:24 +03:00
Tulir Asokan
8bacbbac5b Bump version to v0.1.3 2020-07-10 15:24:29 +03:00
Tulir Asokan
097dda4ce0 Bump version to v0.1.2 2020-07-04 16:22:23 +03:00
Tulir Asokan
beed19fdad Add Prometheus metrics
Closes #197

Co-authored-by: haywo <haywo@nct08.de>
2020-06-17 17:50:06 +03:00
Tulir Asokan
59e2015fa7 Add option to resend bridge info to all portals 2020-06-15 20:28:04 +03:00
Tulir Asokan
93b758b026 Bump version to v0.1.1 2020-06-04 18:39:30 +03:00
Tulir Asokan
f70b7663d2 Bump version to v0.1.0 2020-06-03 21:02:53 +03:00
Tulir Asokan
3f35a90145 Send plain version number to WhatsApp 2020-06-03 20:59:44 +03:00
Tulir Asokan
0f7163a294 Don't require config for --version 2020-06-03 20:47:13 +03:00
Tulir Asokan
f3793309a0 Fix +dev suffix in version 2020-06-03 20:44:52 +03:00
Tulir Asokan
09385713de Include commit information in CI builds. Fixes #158 2020-06-03 20:32:53 +03:00
Tulir Asokan
b4949eec59 Add missing crypto != nil checks 2020-05-21 21:56:46 +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
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
acc25a02e4 Update mautrix-go 2020-05-08 22:32:22 +03:00
Tulir Asokan
16dc3c8699 Add initial provisioning API 2020-02-09 20:32:14 +02:00
Tulir Asokan
03d42640fe Add basic relaybot support. Fixes #20 2019-11-10 21:22:11 +02: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
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
18724cde6e Don't open log file if file name format is unset 2019-08-24 22:45:16 +03:00
Tulir Asokan
4a13ae731a Fix custom puppet start loop 2019-05-31 23:07:33 +03:00
Tulir Asokan
063ec7873d Don't allow unsupported database versions without flag 2019-05-28 21:29:43 +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
Tulir Asokan
5eb06ee43c Update go-whatsapp with new proto version 2019-05-23 22:57:19 +03:00
Tulir Asokan
94ba2244b0 Disconnect clients when stopping bridge 2019-05-23 19:16:29 +03:00
Tulir Asokan
38540d8efb Make max database connection count configurable and default to 20 2019-05-17 23:33:27 +03:00
Tulir Asokan
b0d774a5a5 Add database migrations and handle leaving private chat portals. Fixes #7 2019-05-16 21:26:43 +03:00
Andrew Morgan
99ce84151a Add comma to sentence (#54)
Makes it read nicer.
2019-04-06 22:41:15 +03:00
Tulir Asokan
043820755f Revert go-whatsapp update again
This partly reverts commit b092e71a44e111f83b3e7716c2855adc7ebc5177
2019-03-30 19:25:26 +02:00
Tulir Asokan
b10fac2bb1 Update go-whatsapp. Fixes #35 2019-03-14 01:15:39 +02:00
Dominic Renner
5efd476c0a Update main.go 2019-03-06 22:21:24 +01:00
Dominic Renner
4ba331fbfd Update main.go 2019-03-06 18:28:26 +01:00
Dominic Renner
daf0faab61 Fixed many database issues 2019-03-06 16:33:42 +01:00
Tulir Asokan
9e170f3d04 Add a bunch of new logging 2019-01-21 23:55:16 +02:00