Tulir Asokan
6d53efde33
Handle edge case in portal table upgrade
2024-01-18 23:12:39 +02:00
Tulir Asokan
959eb7eaf9
Update mautrix-go
2024-01-07 23:19:31 +02:00
Tulir Asokan
e2d8a24c99
Refactor group and user info updating
2024-01-05 22:10:59 +02:00
Tulir Asokan
bd319db1a7
Clear duplicate double puppet entries before adding unique constraint
2024-01-04 19:41:34 +02:00
Tulir Asokan
36425edf2c
Drop user_portal again
2024-01-03 01:18:09 +02:00
Tulir Asokan
8d9ed76ccd
Add support for personal filtering spaces
2024-01-03 01:09:33 +02:00
Tulir Asokan
559da81ffc
Handle duplicate logins (ref #408 )
2024-01-02 17:34:47 +02:00
Tulir Asokan
46bf2fe8b8
Fix mistake in sqlite schema upgrade
2024-01-02 11:42:39 +02:00
Tulir Asokan
584786f438
Drop old reaction entries with fake timestamp
...
Fixes #405
2024-01-01 15:58:37 +02:00
Tulir Asokan
2dac1db3b6
Handle different postgres constraint names
...
Hopefully the rest of the upgrade will still fail if the name is
neither of these options
2023-12-31 19:06:00 +01:00
Tulir Asokan
5a424c5e8d
Drop user_portal table for now
2023-12-31 15:20:40 +01:00
Tulir Asokan
35db0abe8b
Refactor database tables and query wrappers ( #402 )
...
* Change most columns to `NOT NULL`, including primary keys
(because SQLite).
* Change columns only storing signal user IDs (portal receiver, message
sender, user uuid) to use the `uuid` type instead of `TEXT`.
* Drop chat ID from message table primary key.
* Add part index to message table to replace timestamp hack for storing
multiple parts of the same message.
* Change query wrappers to use new QureyHelper struct in dbutil, and
pass contexts and errors everywhere.
As a part of changing the portal receiver from phone number to uuid,
old portals whose receiver isn't logged in anymore may be discarded.
The discarded portals will be stored in the lost_portals table for
cleanup or recovery.
2023-12-31 16:12:58 +02:00
Tulir Asokan
3fabd67c5b
Rename file
2023-12-18 14:22:49 +02:00
Tulir Asokan
ce93c81271
Remove unused columns in puppet table
2023-12-17 17:25:29 +02:00
Tulir Asokan
49ce1f530c
Add copyright headers
2023-12-17 15:54:35 +02:00
Tulir Asokan
a0110915d5
Remove redundant notice_room column
2023-10-04 12:28:25 +03:00
Tulir Asokan
ce884a4061
Fix postgres migration from legacy signal
2023-09-30 14:34:29 +03:00
Scott Weber
152029fe16
Upgrade to mautrix-go 0.16.1 and use it for double puppeting
2023-09-20 15:57:59 -04:00
Scott Weber
24cf5662d7
Migration for user table and missed NULL handling in portal table
2023-09-12 13:45:40 -04:00
Tulir Asokan
2e3d50ce34
Set mx_version in upgrade
2023-09-11 16:19:34 -04:00
Tulir Asokan
aa7b6ba23f
Fix version number
2023-09-11 16:14:24 -04:00
Tulir Asokan
2d731ca4fe
Add db schema upgrade to fix python state store
2023-09-11 16:11:29 -04:00
Scott Weber
9e012e9ca7
Fix DB upgrading
2023-09-11 15:53:53 -04:00
Scott Weber
5c6dbd7aee
Set DB version to v12
2023-09-11 15:32:24 -04:00
Scott Weber
f84ae817a5
Add reactions table and handle reaction redactions
2023-08-28 10:08:08 -04:00
Scott Weber
74c8c33016
WIP: can't get bridge connected to matrix properly - deadlock in intent?
2023-06-17 10:09:43 -04:00
Scott Weber
500417fa7f
Begin writing Signal-specific database layer
2023-06-17 10:09:43 -04:00
Scott Weber
bfe713c5b1
WIP: hooking up signalmeow receive loop to signalgo
...
Fix TXs and get a message in a log
2023-06-09 12:28:08 -04:00
Scott Weber
fe06f470aa
It runs! And connects to a homeserver! And nothing else.
2023-04-09 23:49:52 -04:00
Scott Weber
7abfae2ad5
WIP: Still incomplete, but it compiles!
2023-04-06 15:02:56 -04:00
Scott Weber
d692cc051b
VERY WIP: Added lots of broken files!
2023-03-29 04:57:31 -04:00