Commit Graph

136 Commits

Author SHA1 Message Date
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
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
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
Alex Gleason
fca7825bbf EventsDB: replaceable deletions support 2024-06-07 22:11:17 -05:00
Siddharth Singh
dfd098626d update kysely_deno_postgres 2024-06-04 09:51:09 +05:30
Alex Gleason
efaa5323ec Upgrade Nostrify to v0.22.5, don't render media dimensions with 0x0 dim 2024-06-01 10:28:30 -05:00
Alex Gleason
6e70f5c304 Add a lockfile 2024-05-31 14:09:08 -05:00
Alex Gleason
03c6f23605 Use a specific version of nostr-tools 2024-05-29 16:29:46 -05:00
Alex Gleason
1aa2bafc44 OAuth: add a "nostr" grant_type 2024-05-26 21:26:59 -05:00
Alex Gleason
8f3b9df1e1 Test Postgres in the CI 2024-05-26 18:42:14 -05:00
Alex Gleason
69ff568214 Stop recounting author stats constantly 2024-05-24 20:24:17 -05:00
Alex Gleason
c30d6beea2 Upgrade nostrify to v0.22.4, zod to v3.23.8 2024-05-24 12:45:26 -05:00
Alex Gleason
8c12ffaaa1 Upgrade Nostrify to v0.22.2, enforce http(s) in website field 2024-05-24 11:30:56 -05:00
Alex Gleason
b2a5ff3eaf Make Trends use SQLite again 2024-05-21 17:14:26 -05:00
Alex Gleason
8f393aa604 Remove ActivityPub actor endpoint, remove deps.ts 2024-05-21 12:51:19 -05:00
Alex Gleason
d4a029b35b sanitize-html -> isomorphic-dompurify 2024-05-21 12:44:54 -05:00
Alex Gleason
83e51ad67e lodash -> entities 2024-05-21 12:21:35 -05:00
P. Reis
7d786d731e feat: add script that installs latest soapbox 2024-05-21 10:09:06 -03:00
Alex Gleason
7c5b7c5d83 Upgrade Nostrify to v0.22.0 2024-05-19 15:38:42 -05:00
Alex Gleason
e7d350a0e3 Fix uploading by URL 2024-05-18 14:54:10 -05:00
Alex Gleason
f97064afb4 Remove dependency on npm:mime, switch to @std/media-types 2024-05-18 11:35:29 -05:00
Alex Gleason
4c87e723c0 Bump nostrify to v0.21.1 2024-05-18 10:56:34 -05:00
Alex Gleason
f9a0055e78 stats: add a Semaphore when refreshing author stats 2024-05-17 19:00:56 -05:00