Commit graph

3198 commits

Author SHA1 Message Date
Alex Gleason
73e4708ba2
EventsDB -> DittoPgStore 2025-02-18 01:45:09 -06:00
Alex Gleason
a8b125162f
Consolidate EventsDB and InternalRelay 2025-02-18 01:44:45 -06:00
Alex Gleason
e2ce9d0dab
Add paginationMiddleware, getting warmer 2025-02-17 23:03:59 -06:00
Alex Gleason
316e3e287f
Add link-header module 2025-02-17 22:15:32 -06:00
Alex Gleason
b360dfaf06
Add requireVar middleware 2025-02-17 21:11:10 -06:00
Alex Gleason
d1f8e3b92c
Make @ditto/auth and @ditto/storages packages 2025-02-17 20:51:34 -06:00
Alex Gleason
5210275d23
Create @ditto/lang, @ditto/policies, @ditto/signers, @ditto/uploaders 2025-02-17 17:05:26 -06:00
Alex Gleason
3ec9ea9c91
Make @ditto/utils a separate package 2025-02-17 15:32:18 -06:00
Alex Gleason
b73e475326
Make @ditto/ratelimiter a separate package 2025-02-17 15:30:11 -06:00
Alex Gleason
eec380665c
Start reorganizing routes and views 2025-02-17 15:26:09 -06:00
Alex Gleason
e5100530da
Set up DittoApp, minor fixes to controllers 2025-02-17 15:16:43 -06:00
Alex Gleason
d3730284de
Fix favicon in DittoPipeline 2025-02-17 15:16:05 -06:00
Alex Gleason
f837083146
db: implement asyncDispose 2025-02-17 15:15:28 -06:00
Alex Gleason
951c145138
api: set vars while constructing DittoApp 2025-02-17 15:09:46 -06:00
Alex Gleason
30f4d45fca
api: add DittoApp and DittoRoute classes 2025-02-17 14:48:10 -06:00
Alex Gleason
28360e0ea8
Move translators into their own package 2025-02-17 00:41:49 -06:00
Alex Gleason
65846d062a
Rewrite literally everything 2025-02-16 23:27:13 -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
Alex Gleason
3073777d9b
Fix cashu tests 2025-02-15 18:51:15 -06:00
Alex Gleason
d0d37f5948
Remove Conf from middleware 2025-02-15 18:43:59 -06:00
Alex Gleason
8d2c83bb09
Remove Conf from S3Uploader, uploaderMiddleware 2025-02-15 18:38:20 -06:00
Alex Gleason
478c77bb62
Eliminate Conf from most controllers 2025-02-15 18:34:43 -06:00
Alex Gleason
cfd4d6bda5 Merge branch 'ditto-conf' into 'main'
@ditto/config -> @ditto/conf, DittoConfig -> DittoConf

See merge request soapbox-pub/ditto!664
2025-02-16 00:00:02 +00:00
Alex Gleason
02a7305ee9
@ditto/config -> @ditto/conf, DittoConfig -> DittoConf 2025-02-15 17:58:24 -06:00
Alex Gleason
3d2816dd05 Merge branch 'conf-mw' into 'main'
Add @ditto/api package with conf middleware

See merge request soapbox-pub/ditto!663
2025-02-15 23:56:14 +00:00
Alex Gleason
665be0c1b2
Add @ditto/api package with conf middleware 2025-02-15 17:54:38 -06:00
Alex Gleason
28f6ec8fc5 Merge branch 'ditto-config' into 'main'
Add a @ditto/config package, refactor config

See merge request soapbox-pub/ditto!662
2025-02-15 23:04:53 +00:00
Alex Gleason
9bfc7e6fe3
DittoConfig: fix missing return type of .external() 2025-02-15 17:02:53 -06:00
Alex Gleason
a2f273287d
config: test defaults 2025-02-15 16:59:12 -06:00
Alex Gleason
1e5278dc8c
Add basic DittoConfig tests 2025-02-15 16:55:59 -06:00
Alex Gleason
13db5498a5
config: break mergeURLPath into a separate module 2025-02-15 16:51:21 -06:00