Commit Graph

81 Commits

Author SHA1 Message Date
Tulir Asokan
87c90d3f12 Maybe fix db upgrade for sqlites in weird states 2023-05-06 23:08:29 +03:00
Tulir Asokan
8100386f88 Set times to utc when reading from database 2023-05-06 22:59:32 +03:00
Tulir Asokan
4324b60a2c Store edit timestamp in database to deduplicate edits. Fixes #86 2023-05-06 22:23:19 +03:00
Tulir Asokan
14c6ae8c75 Set db compat version 2023-04-28 14:50:47 +03:00
Tulir Asokan
0e5faa5510 Store username/discriminator/bot status in puppet table 2023-04-26 21:18:46 +03:00
Tulir Asokan
3f3c86754d Bridge friend nicks as DM room name 2023-04-22 02:50:14 +03:00
Sumner Evans
7469b2577d db/puppet: add contact_info_set column
Signed-off-by: Sumner Evans <sumner@beeper.com>
2023-04-17 21:56:05 -06:00
Tulir Asokan
587ac68f60 Fix backfill things 2023-04-16 16:31:29 +03:00
Tulir Asokan
4194b4dfd9 Improve missed message backfilling 2023-04-16 15:06:02 +03:00
Max Sandholm
ee5ea87e83 Forward fill missing messages on startup 2023-04-14 18:48:35 +03:00
Tulir Asokan
17d4b79554 Add initial support for relay mode with webhooks 2023-02-28 00:40:53 +02:00
Tulir Asokan
4676ec98c4 Add more options for guild message handling 2023-02-18 22:56:20 +02:00
Tulir Asokan
0dba4fbdd4 Fix typo in initial db migration 2023-02-04 15:58:22 +02:00
Tulir Asokan
466139164c Merge emoji and discord_file tables
Also fix duplicate reaction when reacting with custom emoji from Matrix
2023-01-30 01:35:22 +02:00
Tulir Asokan
9cc1666d2b Try to fix discord file cache with postgres again 2023-01-28 16:02:06 +02:00
Tulir Asokan
c365c1cf20 Use strings for decryption info in DB 2023-01-28 15:57:34 +02:00
Tulir Asokan
75fafae82f Store mime type for reuploaded files 2023-01-28 13:11:35 +02:00
Tulir Asokan
9ca27a8df6 Cache files copied to Matrix 2023-01-28 01:57:45 +02:00
Tulir Asokan
7d959c92dc Automatically unbridge guild when leaving if it has no other Matrix users 2023-01-27 21:06:30 +02:00
Tulir Asokan
d0fb075874 Add db migration to fix broken double puppets 2023-01-16 17:24:04 +02:00
Tulir Asokan
9d84faa954 Add support for unbridging guilds 2023-01-13 17:01:23 +02:00
Tulir Asokan
a32c469ca4 Fix inserting non-thread reactions. Fixes #40 2022-10-31 12:47:10 +02:00
Tulir Asokan
b64617a699 Update mautrix-go and stop sending all thread messages as replies 2022-10-28 23:45:35 +03:00
Tulir Asokan
f268ddd132 Add option for autojoining threads when opened 2022-10-28 23:35:31 +03:00
Tulir Asokan
1ced229be9 Update mautrix-go for new bridge status package 2022-08-15 16:43:55 +03:00
Tulir Asokan
52f7ca1a49 Update Go in actions and add go vet to pre-commit 2022-08-15 16:19:44 +03:00
Tulir Asokan
7f0f77423d Bridge channel deletions from Discord 2022-07-09 16:51:43 +03:00
Tulir Asokan
ca8682657c Fix latest revision version 2022-07-08 22:34:45 +03:00
Tulir Asokan
c6fbaa90bf Re-add support for channel name templates 2022-07-08 20:49:23 +03:00
Tulir Asokan
2611cbfa34 Store role list in database and convert role mentions into a readable format 2022-07-08 15:31:07 +03:00
Tulir Asokan
2c57b47ad2 Store read state version and resync on startup if needed 2022-07-08 12:57:21 +03:00
Tulir Asokan
a33551e487 Bridge own read status in both directions 2022-07-08 12:00:55 +03:00
Tulir Asokan
ac7be4bb4e Don't try to insert nothing into the database. Fixes #11 2022-07-02 23:19:00 +03:00
Tulir Asokan
d3390cfd39 Fix mistake in database v4. Fixes #10 2022-06-30 21:54:05 +03:00
Tulir Asokan
98bc98627d Re-add support for deleting attachments 2022-06-27 16:13:26 +03:00
Tulir Asokan
91e1baaceb Add untested SQLite support for attachment db upgrade 2022-06-27 11:19:18 +03:00
Tulir Asokan
b7608ca051 Remove attachment table from latest revision upgrade 2022-06-27 11:18:22 +03:00
Tulir Asokan
21269d91dd Remove separate attachment table. Fixes #8 2022-06-27 11:18:22 +03:00
Tulir Asokan
a55dcc7c9f Remove legacy db migration 2022-06-27 11:18:22 +03:00
Tulir Asokan
7f8abc1f04 Fix scanning reaction rows 2022-06-15 15:27:57 +03:00
Tulir Asokan
800ca360c3 Fix inserting attachments. Fixes #2 2022-06-06 11:29:59 +01:00
Tulir Asokan
d797541cdc Add DM rooms to space 2022-05-28 23:41:34 +03:00
Tulir Asokan
91dbc83b5d Break a bunch of stuff 2022-05-28 23:03:24 +03:00
Tulir Asokan
4c7829c304 Update database schema and fix things 2022-05-27 15:58:09 +03:00
Tulir Asokan
8c66a064e1 Fix channel names getting corrupted on own message 2022-05-23 23:18:10 +03:00
Tulir Asokan
17288f3d04 Log startup errors and only try to start users who have a token 2022-05-23 23:17:42 +03:00
Tulir Asokan
888731cec2 Switch to spaces in .sql files 2022-05-23 20:01:03 +03:00
Tulir Asokan
a40ad4d10f Fix db upgrade file name 2022-05-22 22:54:07 +03:00
Tulir Asokan
9f9f7ca4fd Switch startup, config, commands and db migrations to mautrix-go systems 2022-05-22 22:16:42 +03:00
Tulir Asokan
cf5384d908 Merge remote-tracking branch 'beeper/main' 2022-05-21 00:13:33 +03:00