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
95e62fae77
Upgrade message content in db to new protocol schema
2019-05-24 01:09:42 +03:00
Tulir Asokan
14f96bd96f
Fix some bugs in missed message and initial history filling
2019-05-22 23:05:58 +03:00
Tulir Asokan
b363547bdf
Possibly significantly improve how portals are created and synced
2019-05-22 16:46:18 +03:00
Tulir Asokan
6cda7ab549
Add ON DELETE CASCADE for future sqlite databases too
2019-05-17 13:10:46 +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
c1e1964fc5
Add WhatsApp<->Matrix redaction bridging
2019-05-16 02:25:13 +03:00
Nicolas Werner
9dde189438
Make message.CreateTable usable on postgres and sqlite
2019-03-06 23:03:19 +01:00
Nicolas Werner
d46578894e
Rename user table back
2019-03-06 22:57:38 +01:00
Dominic Renner
2d3de9740c
Update user.go
2019-03-06 22:26:55 +01:00
Dominic Renner
539699ba04
Update user.go
2019-03-06 22:23:15 +01:00
Dominic Renner
c1e20f96d0
Update puppet.go
2019-03-06 22:23:10 +01:00
Dominic Renner
d91bc8c346
Update portal.go
2019-03-06 22:23:05 +01:00
Dominic Renner
7c513c2f09
Update message.go
2019-03-06 22:22:54 +01:00
Dominic Renner
aaa57b353f
Update database.go
2019-03-06 22:22:12 +01:00
Dominic Renner
96a509384d
Update database.go
2019-03-06 18:29:15 +01:00
Dominic Renner
aeb692d616
Update database.go
2019-03-06 18:18:40 +01:00
Dominic Renner
daf0faab61
Fixed many database issues
2019-03-06 16:33:42 +01:00
Dominic Renner
6547a2ce1f
changed sqlite to postgresql
2019-03-06 10:59:52 +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
Krombel
8427fedf98
parse management room from database as well
2018-10-16 21:58:12 +02:00
Tulir Asokan
a893377cc5
Fix Puppet.Scan()
2018-09-02 00:44:10 +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
22cdf519f2
Fix desegregation changes to make the bridge work again
2018-08-30 01:10:26 +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
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
1f87deb317
Add WhatsApp->Matrix read receipts and phone connection notifications
2018-08-24 20:02:18 +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