Commit graph

206 commits

Author SHA1 Message Date
Alex Gleason
300c78ddb1
Upgrade @nostrify/db 2024-08-10 15:44:58 -05:00
Alex Gleason
916b68a3e4
Switch to NPostgres (steamroll SQLite for now) 2024-08-10 13:30:24 -05:00
Alex Gleason
ff900341d5
Match every possible goddamn URL format in search 2024-08-07 15:53:59 -05:00
Alex Gleason
db6417bad9
Upgrade to Nostrify v0.30.0 2024-08-05 15:45:02 -05:00
Alex Gleason
ba3f816955
Add db:import task 2024-08-02 16:54:35 -05:00
Alex Gleason
3bec54ee76
Let SQLite transfer asyncIterables 2024-08-02 16:45:41 -05:00
Alex Gleason
9543049419
Add db:export command 2024-08-02 16:31:39 -05:00
Alex Gleason
b05bf37cb3
Limit firehose concurrency 2024-08-01 11:51:38 -05:00
Alex Gleason
d73370cc68
Convert IN operators to = ANY() operators on Postgres 2024-07-31 14:41:04 -05:00
Alex Gleason
caaababbab
Upgrade Nostrify to v0.28.0 2024-07-30 00:01:21 -05:00
Alex Gleason
df9ae26a3a
Upgrade Nostrify to v0.27.0 2024-07-29 14:18:46 -05:00
Alex Gleason
51bdd977e1
Merge remote-tracking branch 'origin/main' into tag-queries 2024-07-29 14:14:35 -05:00
P. Reis
6551f0c677 Merge branch 'main' into postgres-support-testing
Update local branch to latest. This branch has the NIP-05 but it will be overriden
2024-07-26 18:32:30 -03:00
Alex Gleason
75e9837c09
Upgrade Nostrify to v0.27.0-rc.4 2024-07-24 13:59:21 -05:00
Alex Gleason
64eeee5ff7
Upgrade Nostrify to v0.27.0-rc.3 2024-07-23 22:09:51 -05:00
Alex Gleason
ff35357121
Upgrade Nostrify to v0.27.0-rc.2 2024-07-23 15:13:02 -05:00
Alex Gleason
e400641757
Improve performance of tag queries 2024-07-23 10:29:45 -05:00
Siddharth Singh
b3dba0f793
update pinned version of postgres.js 2024-07-21 03:19:05 +05:30
Alex Gleason
8ec5feae13
Sort events by id after created_at 2024-07-18 22:48:11 -05:00
Alex Gleason
13f0d3f49e
Upgrade Nostrify to v0.26.2 2024-07-18 22:01:16 -05:00
Alex Gleason
7793db3e2c
Upgrade Nostrify to v0.26.1 2024-07-17 23:13:04 -05:00
P. Reis
aec2cd3b9f chore: update dependencies 2024-07-16 16:26:22 -03:00
P. Reis
cf4ee051db Merge branch 'main' into search-nip05-enhance-and-postgres-support-testing 2024-07-16 13:58:47 -03:00
Alex Gleason
e208d7ef56
Merge remote-tracking branch 'origin/main' into use-postgres-js 2024-07-15 21:35:29 -05:00
Alex Gleason
6fe034d55a
Bump version to v1.1.0 2024-07-15 08:11:25 -05:00
Siddharth Singh
404306f203
change to connection-stats branch 2024-07-15 14:23:23 +05:30
Siddharth Singh
36b9aae1ab
switch to postgres.js available-connections branch temporarily 2024-07-06 20:07:02 +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
P. Reis
d8247dc76a build: remove DATABASE_URL in test script 2024-07-04 18:08:03 -03:00
Alex Gleason
4c257fa529 Merge branch 'timeouts' into 'main'
Add query timeouts

See merge request soapbox-pub/ditto!403
2024-07-02 05:16:09 +00:00
Siddharth Singh
6974b78952
db:import --> nostr:pull 2024-07-01 23:21:29 +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
96fe171d65
Use kysely_deno_postgres with simple transactions 2024-07-01 07:22:33 +01:00
Siddharth Singh
80f6172a64
create first version of import script 2024-06-30 15:35:46 +05:30
Siddharth Singh
ae140933f5
replace kysely_deno_postgres with kysely-postgres-js 2024-06-30 13:13:01 +05:30
Alex Gleason
9ea6c7b00b
Add query timeouts 2024-06-29 22:26:51 +01:00
Alex Gleason
d7d14194d7
Collect database connections metrics 2024-06-24 22:01:01 -05:00
Alex Gleason
31a5533fd7
Add Prometheus metrics 2024-06-21 22:38:25 -05:00
Alex Gleason
6ee9eb63d3
Get Ditto version from deno.json 2024-06-18 18:05:11 -05:00
Alex Gleason
a824d72a1a
Add IP rate limiter 2024-06-18 12:09:29 -05:00
Alex Gleason
66abfa38c3
Upgrade hono, switch it to use JSR 2024-06-18 11:51:51 -05:00
Alex Gleason
1fe4b4bb81
Upgrade kysely_deno_postgres 2024-06-17 23:36:50 -05:00
Alex Gleason
1209b1c430 Merge branch 'fix-zap-amount-zero' into 'main'
Get zap amount from zap receipt if not present in zap request

See merge request soapbox-pub/ditto!385
2024-06-18 00:16:09 +00:00
P. Reis
b237432312 fix: change bolt11 dependency to light-bolt11-decoder 2024-06-17 19:40:47 -03:00
Alex Gleason
2f3b656af5
Upgrade Nostrify to v0.23.3, remove normalizeFilters call in EventsDB (NDatabase does this now) 2024-06-17 17:29:01 -05:00
P. Reis
ba9a578ec0 feat: add bolt11 dependency 2024-06-17 11:05:14 -03:00
Alex Gleason
8d8e46eae8
Add a script to update trends 2024-06-15 12:13:35 -05:00
Alex Gleason
44fe0c5e1d
Bump Nostrify to v0.23.2 2024-06-13 18:43:04 -05:00
Alex Gleason
4e0a210041
Add a setup script to generate the .env file 2024-06-12 19:19:48 -05:00
Alex Gleason
6b3e01a072
Upgrade nostrify to v0.23.1 2024-06-09 21:42:31 -05:00