Commit graph

23 commits

Author SHA1 Message Date
Tulir Asokan
acc25a02e4 Update mautrix-go 2020-05-08 22:32:22 +03:00
Tulir Asokan
064b5b8fed Don't use transaction for querying values 2020-04-02 21:53:45 +03:00
Tulir Asokan
6a42de73d1 Check if constraint exists before trying to delete 2020-04-02 21:37:51 +03:00
Tulir Asokan
9b01166f0c Ignore error in upgrade to allow Postgres 12 to work. Fixes #133 2020-04-02 21:11:38 +03:00
Tulir Asokan
3a9642386c Fix state store migration 2020-03-26 23:36:47 +02:00
IndeedNotJames
0fba1db6aa Fix room topic length (#108) 2019-11-17 21:10:02 +02:00
Tulir Asokan
03d42640fe Add basic relaybot support. Fixes #20 2019-11-10 21:22:11 +02:00
mawalu
aa78c8c21b
Migrate registrations in batches 2019-10-01 21:14:23 +02:00
Tulir Asokan
0d4453d2e8 Skip state store migrations if state store is empty 2019-08-30 21:08:32 +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
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
7bf470d69e Add portal rooms to user-specific community for filtering 2019-08-10 15:28:12 +03:00
Tulir Asokan
2bc0e52250 Fix puppet db inserts. Fixes #69 2019-06-13 21:28:14 +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
dce08b1422 Add user-portal mapping to database 2019-05-28 21:31:25 +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
95e62fae77 Upgrade message content in db to new protocol schema 2019-05-24 01:09:42 +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