Commit graph

3361 commits

Author SHA1 Message Date
Alex Gleason
6f7fc11635
Super duper extra close the database 2025-02-19 22:00:09 -06:00
Alex Gleason
c6605ece77
Fix not being able to log in for chrissakes 2025-02-19 21:50:19 -06:00
Alex Gleason
aefa6bed6e
Add an initial limit back to the relay 2025-02-19 20:51:07 -06:00
Alex Gleason
9401c0e013
DittoPgStore: call expandFilters in .req 2025-02-19 20:40:30 -06:00
Alex Gleason
d05dd16507
EOSE after empty initial filters 2025-02-19 20:29:24 -06:00
Alex Gleason
f0c7ec0a99
Prevent the streaming API from paginating the whole database 2025-02-19 20:25:12 -06:00
Alex Gleason
f87f19d06c
DittoPgStore: rework realtime streaming so it actually works 2025-02-19 20:17:53 -06:00
Alex Gleason
bc0830785a
Remove old startNotify code 2025-02-19 16:19:16 -06:00
Alex Gleason
d9a466c0ee
Remove InternalRelay (pubsub) store 2025-02-19 16:13:22 -06:00
Alex Gleason
6568dca191
DittoPgStore: support timeout in req, add special treatment for ephemeral events, yield event loop when processing many subscriptions 2025-02-19 15:55:09 -06:00
Alex Gleason
31044691e1
Merge remote-tracking branch 'origin/main' into rm-pubsub 2025-02-19 12:03:12 -06:00
Alex Gleason
f86d1f1cad Merge branch 'deno-2.2.0' into 'main'
Upgrade Deno to v2.2.0

See merge request soapbox-pub/ditto!679
2025-02-19 02:06:08 +00:00
Alex Gleason
7deec54a2e
Upgrade Deno to v2.2.0 2025-02-18 20:04:23 -06:00
Alex Gleason
3ed75434fe Merge branch 'genevent' into 'main'
Switch to genEvent from Nostrify

See merge request soapbox-pub/ditto!678
2025-02-18 22:37:55 +00:00
Alex Gleason
c29fc57a8c
Switch to genEvent from Nostrify 2025-02-18 16:35:45 -06:00
Alex Gleason
32813485a5 Merge branch 'rm-search-store' into 'main'
Remove SearchStore

See merge request soapbox-pub/ditto!677
2025-02-18 21:09:56 +00:00
Alex Gleason
aabe6350a7
Remove SearchStore 2025-02-18 15:08:00 -06:00
Alex Gleason
6fb873e72f
Make DittoPgStore pubsub capable 2025-02-18 13:45:14 -06:00
Alex Gleason
37f418899b
EventsDB -> DittoPgStore 2025-02-18 13:32:32 -06:00
Alex Gleason
3e7f33a63d Merge branch 'ditto-ratelimiter' into 'main'
Make @ditto/ratelimiter its own package

See merge request soapbox-pub/ditto!675
2025-02-18 19:18:44 +00:00
Alex Gleason
ac3a9fdf5a
Make @ditto/ratelimiter its own package 2025-02-18 13:16:42 -06:00
Alex Gleason
fc2928e72e Merge branch 'ditto-policies' into 'main'
Make @ditto/policies its own package

See merge request soapbox-pub/ditto!674
2025-02-18 19:14:38 +00:00
Alex Gleason
6f9081bbaf
Make @ditto/policies its own package 2025-02-18 13:13:05 -06:00
Alex Gleason
c029520937 Merge branch 'ditto-translators' into 'main'
Make @ditto/translators its own package

See merge request soapbox-pub/ditto!673
2025-02-18 19:07:33 +00:00
Alex Gleason
025a86fda2
translators: add missing return types 2025-02-18 13:05:47 -06:00
Alex Gleason
990646da26
Make @ditto/translators its own package 2025-02-18 13:03:48 -06:00
Alex Gleason
e163fcfa80 Merge branch 'ditto-lang' into 'main'
Make @ditto/lang its own package

See merge request soapbox-pub/ditto!672
2025-02-18 18:50:51 +00:00
Alex Gleason
d901a722e5
Make @ditto/lang its own package 2025-02-18 12:49:19 -06:00
Alex Gleason
7ef4fcecd3 Merge branch 'ditto-uploaders' into 'main'
Move uploaders into @ditto/uploaders

See merge request soapbox-pub/ditto!671
2025-02-18 18:45:34 +00:00
Alex Gleason
b2cd5c541b
Move uploaders into @ditto/uploaders 2025-02-18 12:43:57 -06:00
Alex Gleason
9e9a784416 Merge branch 'fix-policy-path' into 'main'
Fix path to datadir and custom policies

See merge request soapbox-pub/ditto!669
2025-02-16 18:54:08 +00:00
Alex Gleason
af0e688ca3
Fix path to datadir and custom policies 2025-02-16 12:52:27 -06:00
Alex Gleason
561efeffde Merge branch 'ditto-metrics' into 'main'
Add @ditto/metrics package

See merge request soapbox-pub/ditto!668
2025-02-16 18:03:47 +00:00
Alex Gleason
0ace14ffbb
metrics: add types to all exports 2025-02-16 11:56:41 -06:00
Alex Gleason
e100f72a9b
Add deno task lint 2025-02-16 11:53:34 -06:00
Alex Gleason
785ba1e053
Remove base alias from packages (make scripts use relative paths for now) 2025-02-16 11:50:25 -06:00
Alex Gleason
fbb5c63c33
metrics: make 'prefix' a variable 2025-02-16 11:45:08 -06:00
Alex Gleason
e1c1967a66
db: remove some external deps 2025-02-16 11:42:48 -06:00
Alex Gleason
dbfd759fba
Merge remote-tracking branch 'origin/main' into ditto-metrics 2025-02-16 00:45:01 -06:00
Alex Gleason
84493ceacc Merge branch 'ditto-db' into 'main'
Add @ditto/db package

See merge request soapbox-pub/ditto!667
2025-02-16 06:44:48 +00:00
Alex Gleason
425e0bf3f0
ci: deno lint --allow-import 2025-02-16 00:43:10 -06:00
Alex Gleason
4e0bb16b85
Fix db tests 2025-02-16 00:39:00 -06:00
Alex Gleason
739153afc9
Add @ditto/metrics package 2025-02-16 00:30:00 -06:00
Alex Gleason
773b5da461
Add db tests 2025-02-16 00:21:41 -06:00
Alex Gleason
c59bb421c6
Add @ditto/db package 2025-02-16 00:14:41 -06:00
Alex Gleason
a9744ff4ad
Add streak.expires to the API 2025-02-15 23:23:04 -06:00
Alex Gleason
222bf84eab
More msg tweaks 2025-02-15 23:05:41 -06:00
Alex Gleason
7622230c19
logi: ditto.relay.message -> ditto.relay.msg 2025-02-15 22:51:49 -06:00
Alex Gleason
aefc8c7163
Log verb with ditto.relay.message 2025-02-15 22:47:11 -06:00
Alex Gleason
7fb60f6d1b Merge branch 'rm-conf' into 'main'
Replace `import Conf` calls with Hono context in some places

See merge request soapbox-pub/ditto!665
2025-02-16 00:52:42 +00:00