Commit graph

2031 commits

Author SHA1 Message Date
Siddharth Singh
2acfcb3951
update lock file 2024-07-21 03:23:15 +05:30
Siddharth Singh
b3dba0f793
update pinned version of postgres.js 2024-07-21 03:19:05 +05:30
Alex Gleason
4304715c1e
pool: skip event verification 2024-07-20 13:38:56 -05:00
Alex Gleason
9cb85e42d2 Merge branch 'use-npool-nostrify' into 'main'
Replace PoolStore with NPool & add tests for outbox.ts file and RelayError.ts file

Closes #148, #180, and #181

See merge request soapbox-pub/ditto!424
2024-07-20 18:33:32 +00:00
Alex Gleason
8768bb1bad
Merge remote-tracking branch 'origin/main' into use-npool-nostrify 2024-07-20 13:31:05 -05:00
Alex Gleason
8c19c5ba09 Merge branch 'stable-sort' into 'main'
Sort events by id after created_at

See merge request soapbox-pub/ditto!429
2024-07-19 03:49:06 +00:00
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
Alex Gleason
b18d326f5d Merge branch 'revert-bf9b816e' into 'main'
Revert "Merge branch 'tag-perf' into 'main'"

See merge request soapbox-pub/ditto!426
2024-07-18 04:11:50 +00:00
Alex Gleason
2d239fcaec Revert "Merge branch 'tag-perf' into 'main'"
This reverts merge request !425
2024-07-18 04:11:04 +00:00
Alex Gleason
bf9b816e0b Merge branch 'tag-perf' into 'main'
EventsDB: query tags by converting to ids filter

See merge request soapbox-pub/ditto!425
2024-07-18 03:33:03 +00:00
Alex Gleason
ff8d7ef9d4
EventsDB: normalizeFilters before expanding tag queries 2024-07-17 20:11:31 -05:00
Alex Gleason
0f5c28deeb
EventsDB: query tags by converting to ids filter 2024-07-17 19:58:12 -05:00
P. Reis
31e5b89750 refactor: delete pool-store.ts file 2024-07-17 11:42:27 -03:00
P. Reis
bccf33f80a feat(storages): remove PoolStore, use NPool 2024-07-17 11:42:27 -03:00
P. Reis
e01e0049e3 fix: purify event before publishing to other relays 2024-07-17 11:40:08 -03:00
P. Reis
f4f0c5fb86 fix(storages): publish to write relays only as well 2024-07-17 11:00:49 -03:00
P. Reis
f5ee5ea6a3 test(RelayError): code coverage 100.00% 2024-07-17 10:53:31 -03:00
P. Reis
85a6089e36 test(outbox): coverage 100% 2024-07-17 10:39:50 -03:00
P. Reis
4d4273832a fixture: add kind 10002 2024-07-17 10:39:50 -03:00
P. Reis
cc51917d61 fix(outbox): remove comment, use author pubkey 2024-07-17 10:39:50 -03:00
Alex Gleason
eebc3e5c61 Merge branch 'update-dependencies' into 'main'
chore: update dependencies

See merge request soapbox-pub/ditto!423
2024-07-16 19:29:23 +00:00
P. Reis
aec2cd3b9f chore: update dependencies 2024-07-16 16:26:22 -03:00
Alex Gleason
d32cccd70e Merge branch 'coverage-support' into 'main'
ci: add code coverage

See merge request soapbox-pub/ditto!421
2024-07-16 16:19:08 +00:00
Alex Gleason
00f09e1846 Merge branch 'use-postgres-js' into 'main'
replace kysely_deno_postgres with kysely-postgres-js

See merge request soapbox-pub/ditto!404
2024-07-16 14:27:46 +00:00
Alex Gleason
c2f578a2bb
DittoPostgres: handle pool not being opened yet 2024-07-16 09:26:49 -05:00
Alex Gleason
e208d7ef56
Merge remote-tracking branch 'origin/main' into use-postgres-js 2024-07-15 21:35:29 -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
P. Reis
b45eab64b5 ci: add code coverage 2024-07-15 19:05:28 -03: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
Alex Gleason
c2026a340a
Update CHANGELOG 2024-07-14 15:59:02 -05:00
Alex Gleason
4fa5517c58 Merge branch 'tweak-timeouts' into 'main'
Increase default database timeouts

See merge request soapbox-pub/ditto!420
2024-07-14 15:11:43 +00:00
Alex Gleason
a49e56f2a0
Increase default database timeouts 2024-07-14 10:10:26 -05:00
Alex Gleason
aac6505bf5 Merge branch 'deno-v1.45.2' into 'main'
Upgrade Deno to v1.45.2

See merge request soapbox-pub/ditto!419
2024-07-13 20:51:30 +00:00
Alex Gleason
46c3e52b98
Upgrade Deno to v1.45.2 2024-07-13 15:49:19 -05:00
Alex Gleason
39fdbc1acb
Delete scavenger.test.ts 2024-07-12 14:01:21 -05:00
Alex Gleason
d6b49b169d Merge branch 'timeouts-conf' into 'main'
Make database timeouts configurable

See merge request soapbox-pub/ditto!417
2024-07-12 18:53:07 +00:00
Alex Gleason
96fe8920cd
Make database timeouts configurable 2024-07-12 13:49:44 -05:00
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
Alex Gleason
9584638d5c
Merge remote-tracking branch 'origin/main' into use-postgres-js 2024-07-11 17:16:11 -05:00
Alex Gleason
d0d385682d Merge branch 'ws-limit' into 'main'
Rate-limit websocket endpoints

See merge request soapbox-pub/ditto!415
2024-07-11 22:11:56 +00:00
Alex Gleason
5c6479b3fe
Rate-limit messages to the relay 2024-07-11 17:10:05 -05:00
Alex Gleason
92061c267e
Merge remote-tracking branch 'origin/main' into ws-limit 2024-07-11 17:02:00 -05:00
Alex Gleason
c4b35d11c8 Merge branch 'deno-v1.45.0' into 'main'
Upgrade Deno to v1.45.0

See merge request soapbox-pub/ditto!414
2024-07-11 21:56:48 +00:00
Alex Gleason
6245200e21
Upgrade Deno to v1.45.0 2024-07-11 16:55:02 -05:00
Alex Gleason
b3067e64ee Merge branch 'e-tags' into 'main'
createStatusController: add relay hints

See merge request soapbox-pub/ditto!413
2024-07-06 23:25:41 +00:00