Tulir Asokan
bd1d60639c
Switch to go-whatsapp fork to test json parse error fix
2019-05-20 18:45:16 +03:00
Tulir Asokan
23747d4917
Add automatic connection retries
2019-05-17 23:53:57 +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
6cda7ab549
Add ON DELETE CASCADE for future sqlite databases too
2019-05-17 13:10:46 +03:00
Tulir Asokan
33148909d6
Remove dev replaces in go.mod again
2019-05-17 02:33:49 +03:00
Tulir Asokan
b0d774a5a5
Add database migrations and handle leaving private chat portals. Fixes #7
2019-05-16 21:26:43 +03:00
Tulir Asokan
97e740d93d
Maybe improve connecting errors
2019-05-16 18:24:59 +03:00
Tulir Asokan
2381eb029b
Report WhatsApp server connection errors to user too. Fixes #18
2019-05-16 18:18:11 +03:00
Tulir Asokan
b5af35684d
Make connection timeout configurable
2019-05-16 18:08:30 +03:00
Tulir Asokan
5d0edda04a
Add command to delete session information to force logout when the bridge gets stuck
2019-05-16 18:00:46 +03:00
Tulir Asokan
c1e1964fc5
Add WhatsApp<->Matrix redaction bridging
2019-05-16 02:25:13 +03:00
Tulir Asokan
ae92d71d5a
Handle connection failures like disconnections
2019-05-16 01:56:33 +03:00
Tulir Asokan
f39fd0ac46
Update mautrix-go
2019-05-16 00:51:45 +03:00
Tulir Asokan
e5085b87c7
Log message ID when failing to download media
2019-05-16 00:35:04 +03:00
Tulir Asokan
e25bf29609
Handle startup connection errors
2019-05-16 00:18:43 +03:00
Tulir Asokan
7fb5cfe884
Remove dev replaces that were accidentally committed
2019-05-15 23:17:31 +03:00
Tulir Asokan
adbdf55926
Improve edge case handling in login command by not assuming connection status
2019-05-15 23:17:09 +03:00
Tulir Asokan
6b73c66e12
Improve connection error handling
2019-05-15 23:04:09 +03:00
Tulir Asokan
69879df346
Update deps
2019-05-15 21:49:16 +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
3ed2522a10
Merge pull request #50 from rreuvekamp/fix/panic-when-using-auth-command
...
Disallow using session commands when not logged in
2019-03-15 22:15:42 +02:00
Tulir Asokan
b10fac2bb1
Update go-whatsapp. Fixes #35
2019-03-14 01:15:39 +02:00
Tulir Asokan
c88e299348
Set name for status broadcast room when creating and reformat example config
...
Fixes #27
2019-03-14 00:54:05 +02:00
Tulir Asokan
67a041c06d
Merge pull request #43 from RennerDev/master
...
Implemented postgres
2019-03-14 00:37:00 +02:00
Tulir Asokan
8c2cb26fd7
Merge pull request #42 from olmari/master
...
Change help message to 'sync' instead 'import contacts'
2019-03-05 20:14:39 +02:00
Tulir Asokan
e051067f81
Upgrade dependencies to version without Rhymen/go-whatsapp@c9a81e9
2019-02-24 02:22:57 +02:00
Tulir Asokan
6f300ae6cb
Revert "Use fork of go-whatsapp with better connection handling"
...
This reverts commit c5aac5e770d40fe5d5549a2939b92f0c103d8165.
2019-02-23 23:29:26 +02:00
Tulir Asokan
542aafe7df
Revert "Update dependencies"
...
This reverts commit cc8928b30e6944aa5cee77b8351beb0f89cd8d1a.
2019-02-23 23:27:38 +02:00
Tulir Asokan
8dfc37b190
Use fork of go-whatsapp with better connection handling
2019-02-20 15:15:30 +02:00
Tulir Asokan
c054fbae8e
Remove reply fallback before generating new reply fallback. Fixes #26
2019-02-20 14:46:37 +02:00
Tulir Asokan
361a1a1d1c
Remove import command and add sync, list, open and pm
...
Fixes #29
2019-02-20 14:39:46 +02:00
Tulir Asokan
58a1ec9f2e
Update dependencies
2019-02-20 13:12:23 +02:00
Tulir Asokan
7853a7ce31
Merge pull request #32 from derEisele/master
...
Fix Dockerfile
2019-02-11 08:46:10 +02:00
Tulir Asokan
010059969a
Remove replace directives in go.mod
2019-01-27 14:17:51 +02: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
Tulir Asokan
bb3d67dba9
Lock state store when saving/loading and update deps
2018-12-16 21:32:10 +02:00
Tulir Asokan
c6d33d8bba
Make sure there are enough args before getting args
2018-12-08 01:30:15 +02:00
Tulir Asokan
88483fc61f
Merge pull request #22 from jo-so/master
...
Collection of small fixes and improvements
2018-12-08 01:25:24 +02:00
Tulir Asokan
abab28f8a7
Merge pull request #14 from izissise/docker-uid
...
Allow to set uid guid when running whatsapp program
2018-10-26 15:36:10 +03:00
Tulir Asokan
a19239b936
Don't rewrite name templates when saving config
...
Advanced template stuff isn't preserved if you execute them
2018-10-23 18:22:58 +03:00
Tulir Asokan
4e03361df6
Merge pull request #12 from krombel/fixUserManagementRoom
...
parse management room from database as well
2018-10-16 22:59:27 +03:00
Tulir Asokan
fab2bd2e12
Merge pull request #11 from krombel/implementHelp
...
implement !help
2018-10-16 22:50:11 +03:00
Tulir Asokan
fa3105d058
Update dependencies. Closes #9
2018-09-22 18:27:16 +03:00
Tulir Asokan
f658c61951
Update ROADMAP.md
2018-09-11 19:39:52 +03:00
Tulir Asokan
a893377cc5
Fix Puppet.Scan()
2018-09-02 00:44:10 +03:00
Tulir Asokan
c4ada14c2f
Increase length recently handled events array to 100
2018-09-02 00:01:22 +03:00
Tulir Asokan
c888cb14a0
[BREAKING] Merge pull request #5 from tulir/desegregate
...
Desegregate users
2018-09-01 23:56:47 +03:00
Tulir Asokan
68c0190594
Rename binary content en/decode functions
2018-09-01 23:53:47 +03:00
Tulir Asokan
ed27fa775e
Re-break everything and fix Matrix->WhatsApp replies
2018-09-01 23:38:03 +03:00
Tulir Asokan
e4a78832ad
Switch back to go-whatsapp upstream
2018-08-31 11:24:27 +03:00
Tulir Asokan
79851a62b4
Add locking for whatsapp->matrix messages for desegregated group chats
2018-08-31 00:13:08 +03:00
Tulir Asokan
22cdf519f2
Fix desegregation changes to make the bridge work again
2018-08-30 01:10:26 +03:00
Tulir Asokan
347854dc8c
Update dependencies
2018-08-30 01:10:03 +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
55c3ab2d4f
Update roadmap
2018-08-29 00:40:24 +03:00
Tulir Asokan
6ad224a58b
Convert mentions to names in plaintext body. Fixes #3
2018-08-28 20:09:37 +03:00
Tulir Asokan
eca9bc7887
Update dependencies
2018-08-28 20:08:29 +03:00
Tulir Asokan
dad2fc29ab
Send captions in a different message and improve other things
2018-08-27 23:15:05 +03:00
Tulir Asokan
b978930c88
Improve handling of weird potentially non-corner case in GetMessageIntent()
2018-08-27 01:06:27 +03:00
Tulir Asokan
87b135e2a6
Update mautrix-appservice
2018-08-27 00:48:32 +03:00
Tulir Asokan
6db0dc23ab
Handle potential weird corner case in GetMessageIntent()
2018-08-27 00:37:54 +03:00
Tulir Asokan
e15c3286bd
Update mautrix-appservice
2018-08-26 23:55:30 +03:00
Tulir Asokan
22e76b6a37
Format
2018-08-26 22:53:13 +03:00
Tulir Asokan
65f077c645
Fix/improve minor things
2018-08-26 22:50:28 +03:00
Tulir Asokan
a6ebc50f6d
Add dep
2018-08-26 17:29:51 +03:00
Tulir Asokan
941ab724c6
Add bridge permission checks
2018-08-26 17:08:37 +03:00
Tulir Asokan
9da7f15e8f
Add Matrix->WhatsApp room name changes
2018-08-26 17:02:32 +03:00
Tulir Asokan
0d45b5b857
Add power level to Matrix user if they're admin
2018-08-26 16:19:50 +03:00
Tulir Asokan
f78fb72622
Implement WhatsApp->Matrix power level bridging
2018-08-26 16:11:48 +03:00
Tulir Asokan
d3a178ecf3
Add handling for group metadata changes and refactor things
...
Group metadata temporarily broken until power level bridging is implemented
2018-08-26 01:56:22 +03:00
Tulir Asokan
ccfa85e44a
Handle user avatar changes
2018-08-26 01:56:22 +03:00
Tulir Asokan
060516f9cf
Add Matrix->WhatsApp replies and other stuff
2018-08-26 01:56:22 +03:00
Tulir Asokan
6d08a5ff6c
Use inline code tags for single-line whatsapp monospace blocks
2018-08-26 01:56:22 +03:00
Tulir Asokan
7f91d91f1b
Fix read receipts in private chats and remove unnecessary stuff
2018-08-26 01:56:22 +03:00
Tulir Asokan
160ecb0c95
Update README.md
2018-08-25 01:01:58 +03:00
Tulir Asokan
8483af9c0a
Stop setting room name for private chats
2018-08-25 00:45:50 +03:00
Tulir Asokan
63672885f6
Install gcc in dockerfile
2018-08-24 23:51:38 +03:00
Tulir Asokan
a496cfa7ef
Enable CGO in Dockerfile
2018-08-24 23:46:03 +03:00
Tulir Asokan
d5aecbb6b4
Make docker-run.sh executable
2018-08-24 23:30:24 +03:00
Tulir Asokan
070fe72f3e
Add Dockerfile
2018-08-24 23:06:55 +03:00
Tulir Asokan
5f6955d36f
Add Matrix->WhatsApp media bridging
2018-08-24 22:31:18 +03:00
Tulir Asokan
5eacaafc93
Add last typing update timestamp to check intended action of available presence properly
2018-08-24 22:06:17 +03:00
Tulir Asokan
0b7d23e897
Add WhatsApp->Matrix formatting
2018-08-24 22:05:38 +03:00
Tulir Asokan
a7f7295528
Add WhatsApp->Matrix typing notifications and presence
2018-08-24 20:02:38 +03:00
Tulir Asokan
1f87deb317
Add WhatsApp->Matrix read receipts and phone connection notifications
2018-08-24 20:02:18 +03:00
Tulir Asokan
60529bf022
Update README.md
2018-08-24 10:14:44 +03:00
Tulir Asokan
829f3ea292
Add features & roadmap
2018-08-24 10:14:07 +03:00
Tulir Asokan
40fccddaf1
Update README
2018-08-24 00:52:17 +03:00
Tulir Asokan
b62a85a6df
Implement matrix->whatsapp formatting and fix whatsapp->matrix files
2018-08-24 00:52:06 +03:00
Tulir Asokan
d13bf4ae64
Add JSONMessage parsing to whatsapp extensions
2018-08-24 00:51:40 +03:00
Tulir Asokan
329bc9d8ce
Add avatars, room topics and message deduplication
2018-08-23 01:12:26 +03:00
Tulir Asokan
c1f8d264f4
Fix portal DB scanning and add initial message bridging
2018-08-19 18:21:38 +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