Tulir Asokan
d94cd6a669
Add option to request more history from phone on login
2021-10-30 23:12:16 +03:00
Tulir Asokan
b80e0c8db5
Merge branch 'multidevice'
...
Fixes #330
2021-10-30 18:53:34 +03:00
Tulir Asokan
3d384a6db7
Clean up and fix some things
2021-10-29 16:50:29 +03:00
Tulir Asokan
91e1c5428f
Bump version to v0.1.9
2021-10-28 16:15:08 +03:00
Tulir Asokan
bb9a0f6528
Make relay mode more like the Signal bridge
2021-10-28 13:57:15 +03:00
Tulir Asokan
ded2fb9799
Implement logout and provisioning API login
2021-10-27 15:54:34 +03:00
Tulir Asokan
0b4d0bbbe1
Handle history sync payloads with MSC2716 batch sending
2021-10-26 17:01:10 +03:00
Tulir Asokan
56850bb698
Initial switch to go.mau.fi/whatsmeow
2021-10-22 20:14:34 +03:00
Tulir Asokan
3bef9ebfc0
Update readiness endpoint at the end of Start()
2021-08-25 20:46:52 +03:00
Tulir Asokan
b11a6360f4
Actually maybe fix database migration (ref #304 and #335 )
2021-08-21 23:55:09 +03:00
Tulir Asokan
d52b012b37
Maybe fix database migration
...
Fixes #335
Fixes #304
2021-08-19 19:32:17 +03:00
Tulir Asokan
f4a7394b67
Bump version to v0.1.8
2021-08-07 15:04:24 +03:00
Tulir Asokan
ce16432318
Update repo path
2021-08-06 17:46:57 +03:00
Tulir Asokan
abbff16e66
Switch bridge state system to using state events
2021-08-04 16:14:47 +03:00
Tulir Asokan
32122c7e54
Bump version to v0.1.7
2021-06-15 21:04:40 +03:00
Tulir Asokan
80b534323f
Try to fix false positive send error on whatsapp mobile
2021-06-01 13:32:14 +03:00
Tulir Asokan
b0d433ea66
Print version when starting
2021-04-25 15:46:06 +03:00
Tulir Asokan
af0fd279d2
Bump version to v0.1.6
2021-04-01 12:31:44 +03:00
Tulir Asokan
9b25e26b04
Update mautrix-go and add custom user agent
2021-03-26 11:18:10 +02:00
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 b092e71a44
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
Tulir Asokan
79bd35964f
Update license year, Dockerfile, docker-run.sh and deps and add editorconfig
2019-01-12 15:54:04 +02:00
Tulir Asokan
1cccefd34c
Switch to Go modules
2019-01-11 21:17:39 +02:00
Jörg Sommer
a626d14a3f
No sync on startup; new command import contacts
...
Having an import of all contacts on each startup and after login is very
annoying, if you have a big list of contacts. If you choose to not join a
room with all contacts, you get the invitation over and over on each
restart of the service. Better is to have a command for the management
room to explicitly start the import.
2018-12-07 20:08:06 +01:00
Tulir Asokan
22cdf519f2
Fix desegregation changes to make the bridge work again
2018-08-30 01:10:26 +03:00
Tulir Asokan
5a1a6f9c3c
Remove config update stuff
2018-08-29 23:48:15 +03:00
Tulir Asokan
c7348f29b0
Initial desegregation of users and automatic config updating
2018-08-29 00:40:54 +03:00
Tulir Asokan
22e76b6a37
Format
2018-08-26 22:53:13 +03:00
Tulir Asokan
a9124b89bd
Fix and add things
...
* Fix user ID reservation in registration
* Fix some database things
* Add commands
* Add basic contact syncing and portal creation
* Add better error logging
2018-08-18 22:57:33 +03:00
Tulir Asokan
edd4f817e4
Use type aliases for different ID types and add puppet type
2018-08-17 00:11:28 +03:00
Tulir Asokan
141eba644b
Fix data storage and other things
2018-08-16 19:20:07 +03:00
Tulir Asokan
9c48eeb534
Add puppet and portal stuff and fix config stuff
2018-08-16 15:59:18 +03:00
Tulir Asokan
fd3c1fb77c
Add database models and improve config/main
2018-08-13 23:24:44 +03:00
Tulir Asokan
ace08205d9
Initial config structs and example config, some whatsapp testing
2018-08-13 01:00:23 +03:00
Tulir Asokan
c84b5dd5dc
Initial commit
2018-08-12 22:26:05 +03:00