Siddharth Singh
|
6ff90d63bb
|
implement PUT /api/v1/media/:id
Adds support for setting image descriptions for accessibility reasons
|
2024-08-25 16:23:25 +05:30 |
|
Alex Gleason
|
27ba8b071a
|
pg migration: advise checking out main branch
|
2024-08-12 16:48:42 -05:00 |
|
Alex Gleason
|
c4064d0fa6
|
pg migration: 3 days -> several hours
|
2024-08-12 15:54:56 -05:00 |
|
Alex Gleason
|
8a23011392
|
pg migration: cascade
|
2024-08-12 15:17:42 -05:00 |
|
Alex Gleason
|
617659c7fd
|
Fix DittoDB+EventsDB relationship
|
2024-08-12 15:13:49 -05:00 |
|
Alex Gleason
|
5c23cb02c2
|
Add NPostgres migration
|
2024-08-12 14:37:41 -05:00 |
|
Alex Gleason
|
c8bec9b4b7
|
Delete unused getUnattachedMedia function
|
2024-08-11 19:07:27 -05:00 |
|
Alex Gleason
|
552de01a17
|
Rework DittoDB to return an object
|
2024-08-11 19:02:27 -05:00 |
|
Alex Gleason
|
9543049419
|
Add db:export command
|
2024-08-02 16:31:39 -05:00 |
|
Alex Gleason
|
44a61c4a52
|
Rework migrations logging
|
2024-08-02 16:31:06 -05:00 |
|
Alex Gleason
|
49bf38d27b
|
Fix kysely dependency version mismatch
|
2024-07-31 15:00:05 -05:00 |
|
Alex Gleason
|
d73370cc68
|
Convert IN operators to = ANY() operators on Postgres
|
2024-07-31 14:41:04 -05:00 |
|
Alex Gleason
|
ce18cb928a
|
KyselyLogger: also log errors
|
2024-07-29 21:19:44 -05:00 |
|
Alex Gleason
|
31f5254fb3
|
Clear timeouts in tag queries migration
|
2024-07-29 15:37:45 -05:00 |
|
Alex Gleason
|
48a4e30e38
|
trends: read directly from the tags table instead of doing an inner join on events
|
2024-07-29 15:33:16 -05:00 |
|
Alex Gleason
|
ece18c9bd8
|
Add tags table migration
|
2024-07-29 15:32:36 -05:00 |
|
Alex Gleason
|
8ec5feae13
|
Sort events by id after created_at
|
2024-07-18 22:48:11 -05:00 |
|
Alex Gleason
|
c2f578a2bb
|
DittoPostgres: handle pool not being opened yet
|
2024-07-16 09:26:49 -05:00 |
|
Siddharth Singh
|
3aa8266bbe
|
use idle count to get avl connections
|
2024-07-16 07:44:55 +05:30 |
|
Siddharth Singh
|
53343ba349
|
messing with conn stats
|
2024-07-16 07:44:39 +05:30 |
|
Siddharth Singh
|
404306f203
|
change to connection-stats branch
|
2024-07-15 14:23:23 +05:30 |
|
Alex Gleason
|
c2b13b1a63
|
Add a ts-ignore instead of as any
|
2024-07-11 17:22:12 -05:00 |
|
Alex Gleason
|
cd961dad86
|
delay -> sleep, style tweaks
|
2024-07-11 17:19:47 -05:00 |
|
Siddharth Singh
|
36b9aae1ab
|
switch to postgres.js available-connections branch temporarily
|
2024-07-06 20:07:02 +05:30 |
|
Siddharth Singh
|
102398967e
|
fix type stuff
|
2024-07-06 18:18:38 +05:30 |
|
Siddharth Singh
|
3495092eff
|
add poolsize and availableconnections metrics back
|
2024-07-06 18:15:21 +05:30 |
|
Siddharth Singh
|
a804608afb
|
Merge branch 'main' into 'use-postgres-js'
# Conflicts:
# deno.json
# src/db/adapters/DittoPostgres.ts
|
2024-07-06 12:03:21 +00:00 |
|
Alex Gleason
|
fd769c125c
|
Merge branch 'zapped-by-pagination-sort-amount' into 'main'
zapped_by: add pagination & sort amount
Closes #159
See merge request soapbox-pub/ditto!394
|
2024-07-02 05:17:11 +00:00 |
|
Siddharth Singh
|
65f77e845d
|
fmt
|
2024-07-01 21:43:01 +05:30 |
|
Siddharth Singh
|
98aaab8e51
|
switch to deno.land/postgresjs for free 4x speed increase
|
2024-07-01 21:42:50 +05:30 |
|
Alex Gleason
|
d062f6bbb6
|
Try lazy pool initialization
|
2024-07-01 08:44:01 +01:00 |
|
Siddharth Singh
|
ae140933f5
|
replace kysely_deno_postgres with kysely-postgres-js
|
2024-06-30 13:13:01 +05:30 |
|
P. Reis
|
9cdb8ec534
|
fix(KyselyLogger): use dbQueryTimeHistogram.observe
|
2024-06-27 10:34:12 -03:00 |
|
P. Reis
|
ac9bdfde62
|
refactor(KyselyLogger): use startTimer instead of observe
|
2024-06-27 10:23:10 -03:00 |
|
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 |
|
P. Reis
|
05bf417bcc
|
perf(event_zaps): make two separate indexes instead of a compound index
|
2024-06-23 22:49:15 -03:00 |
|
P. Reis
|
ec82e14410
|
fix: add amount_millisats in event_zaps index
|
2024-06-21 18:35:26 -03:00 |
|
P. Reis
|
2d937a7378
|
refactor(event_zaps): rename amount to amount_millisats
|
2024-06-21 18:20:10 -03:00 |
|
P. Reis
|
bac0b48801
|
feat: add migration for event_zaps;create idx_event_zaps_id_amount
|
2024-06-20 14:36:19 -03:00 |
|
P. Reis
|
ddb93af09f
|
feat(DittoTables): create EventZapRow
|
2024-06-20 14:33:25 -03: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 |
|