Commit Graph

178 Commits

Author SHA1 Message Date
Alex Gleason b1b341d3b8
Insert media URL into text 2024-05-18 15:29:12 -05:00
Alex Gleason e7d350a0e3
Fix uploading by URL 2024-05-18 14:54:10 -05:00
Alex Gleason 611a94bdcf
Fix uploading (almost) 2024-05-18 14:32:50 -05:00
Alex Gleason 7d34b9401e
Support imeta tags 2024-05-18 13:22:20 -05:00
Alex Gleason 5aacbe7af5
Fix media uploads due to 'awaiting' a query builder instance 2024-05-16 18:53:04 -05:00
Alex Gleason 00d4bf2344
Upgrade Nostrify to v0.20.0, enable Postgres FTS 2024-05-16 15:42:32 -05:00
Alex Gleason 2ede439005
Upgrade Nostrify to v0.19.1, fix phantom deletions 2024-05-16 09:29:53 -05:00
Alex Gleason 7021b0d4fd
'null' -> null 2024-05-15 08:13:19 -05:00
Alex Gleason 171350a34d
Drop deleted_at column 2024-05-15 08:08:30 -05:00
Alex Gleason 69108c0375
UnattachedMedia: point to new EventsDB tables 2024-05-14 20:58:29 -05:00
Alex Gleason b3985e740b
EventsDB: migrate tables to match NDatabase 2024-05-14 20:54:09 -05:00
Alex Gleason a4226a963f
Rework Kysely db to be async 2024-05-14 18:44:42 -05:00
Alex Gleason 68b5887ed0
Don't let your memes be dreams 2024-05-14 18:24:34 -05:00
Alex Gleason b16d5b749e
Add a created_at, kind index for the global feed 2024-05-08 14:34:22 -05:00
Alex Gleason 43e8f2a698
Use a Kysely logger to log SQL regardless of the adapter used 2024-05-08 12:56:42 -05:00
Alex Gleason 5e1cfad5cc
Add PG_POOL_SIZE environment variable 2024-05-08 11:46:27 -05:00
Alex Gleason a3e54fdff4
DittoPostgres: use pool size for number of CPU cores 2024-05-06 11:44:33 -05:00
Alex Gleason 3770d8a0dd
UnattachedMedia: return early when querying nothing 2024-05-04 13:14:03 -05:00
Alex Gleason 439dfca311
Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
Alex Gleason 87264eeef1
Remove `relays` table from the database, track them with a NIP-65 admin event 2024-05-01 19:15:20 -05:00
Alex Gleason 8959f85afb
Fix imports of uuid62 and fast-stringify-stable 2024-05-01 16:42:07 -05:00
Alex Gleason c4d8ad2368
uuid62 alias 2024-05-01 16:21:18 -05:00
Alex Gleason 8738aeb820
tldts alias 2024-05-01 16:19:53 -05:00
Alex Gleason 3513206de1
stickynotes alias 2024-05-01 16:14:50 -05:00
Alex Gleason c190d2c8ce
Refactor Storages to get lazy-loaded only when they are used 2024-05-01 14:56:47 -05:00
Alex Gleason 621a632893
Update kysely imports in migrations 2024-05-01 09:36:36 -05:00
Alex Gleason 4291691aa7
Make @soapbox/kysely-deno-sqlite an import alias 2024-05-01 09:27:19 -05:00
Alex Gleason 23e00b0042
Make Kysely an import alias 2024-05-01 09:26:17 -05:00
Alex Gleason 0ddb1782e5
DittoDB: support `postgresql:` protocol 2024-04-19 21:20:35 -05:00
Alex Gleason 80e554a5c9
Update deno.json imports 2024-04-19 21:08:13 -05:00
Alex Gleason 9ccf6bbea0
Mold the things to work with Postgres 2024-04-19 20:52:42 -05:00
Alex Gleason b87a59c521
Merge remote-tracking branch 'origin/main' into postgres 2024-04-19 18:32:02 -05:00
Alex Gleason 9c91e41e87
Switch NSpec to Nostrify, update imports 2024-04-19 16:39:35 -05:00
Alex Gleason 450acddc32
Remove pragma.ts 2024-04-19 15:34:05 -05:00
Alex Gleason 2e41254507
Add Postgres adapter 2024-04-19 15:17:09 -05:00
Alex Gleason 3753648f99
Use new DittoDB module, rename old interface to DittoTables 2024-04-19 12:26:15 -05:00
Alex Gleason 4085443e45
Add DittoDB module for selecting a database depending on the DATABASE_URL 2024-04-19 12:21:32 -05:00
Alex Gleason 29102d272a
Add DittoSQLite module 2024-04-19 12:16:48 -05:00
Alex Gleason c0c586b364
Add last_updated_at column to pubkey_domains 2024-04-05 21:48:59 -05:00
Alex Gleason 9842b1aedd
Remove username from user events 2024-03-27 18:11:07 -05:00
Alex Gleason f2db6c50b8
pubkey_domains `domain` cannot be null 2024-03-20 13:21:34 -05:00
Alex Gleason e2cc6132be
Track pubkey domains 2024-03-19 17:45:19 -05:00
Alex Gleason 2972cb4b6d
Add event stats indexes 2024-03-02 21:20:43 -06:00
Alex Gleason e4f53b3936
Soft-delete events 2024-03-02 21:11:45 -06:00
Alex Gleason 96b5ecc435
Fix dropIndex calls 2024-03-02 19:23:28 -06:00
Alex Gleason 19adb3ab44
Use composite index for tags 2024-03-02 19:21:48 -06:00
Alex Gleason dffa70e2fe
Add missing index on kind-pubkey-created_at 2024-03-02 17:57:43 -06:00
Alex Gleason 59d53c4a2f
Add APISigner and AdminSigner classes, implement NostrSigner interface 2024-02-12 11:52:05 -06:00
Alex Gleason 5b24b7ad39
Pass Request signal down from API controllers 2024-01-23 15:58:59 -06:00
Alex Gleason c6062874bd
Implement NStore interface from NLib 2024-01-23 14:06:51 -06:00