Commit graph

197 commits

Author SHA1 Message Date
Siddharth Singh
ab5f451929
fmt 2024-06-26 01:33:02 +05:30
Siddharth Singh
7c7c584b78
basic (and incredibly stupid but potentially genius) db_query_time histogram 2024-06-26 01:30:16 +05:30
Alex Gleason
d7d14194d7
Collect database connections metrics 2024-06-24 22:01:01 -05:00
Alex Gleason
1fe4b4bb81
Upgrade kysely_deno_postgres 2024-06-17 23:36:50 -05:00
Alex Gleason
91fe7acbd2
Index nostr_tags.name 2024-06-13 21:36:07 -05:00
P. Reis
c77da12f9d Merge branch 'main' into feat-zap-counter 2024-06-10 09:52:28 -03:00
P. Reis
d260825660 feat: add 'zaps_amount' to EventStatsRow as number 2024-06-10 09:34:14 -03:00
P. Reis
1f4de9aed0 feat: add migration for 'zaps_amount' column 2024-06-10 09:34:07 -03:00
Alex Gleason
7d54a5c7d0
Kind 30361 -> 30382 2024-06-08 11:32:29 -05:00
Alex Gleason
22c840092f
Add quotes count 2024-06-02 20:30:57 -05:00
Alex Gleason
7221b5f203
grant_type nostr -> nostr_bunker, connections -> nip46_tokens 2024-05-29 16:14:21 -05:00
Alex Gleason
c55cd2a977
blob -> bytea 2024-05-26 20:41:14 -05:00
Alex Gleason
0141a732c3
Add connections table 2024-05-26 19:21:15 -05:00
Alex Gleason
4330cae626
Fix Conf.db in migrations 2024-05-24 20:16:51 -05:00
Alex Gleason
250998405a
Rework database Conf to easily get the dialect 2024-05-24 20:07:38 -05:00
Alex Gleason
c6dea07ac3
Add back reactions_count column so trending can still work 2024-05-24 17:51:32 -05:00
Alex Gleason
f7c9a96719
Nuke the old stats module, support emoji reactions on posts 2024-05-24 17:40:51 -05:00
Alex Gleason
34f3cc8d24
Fully test the new stats module 2024-05-24 15:52:30 -05:00
Alex Gleason
101a16bc12
Index the Postgres FTS column 2024-05-21 16:30:48 -05:00
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