Commit graph

3420 commits

Author SHA1 Message Date
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
Alex Gleason
5f6cdaf7d5
config: refactor schemas into a separate file 2025-02-15 16:37:33 -06:00
Alex Gleason
1636601bfe
config: crypto.ts -> utils/crypto.ts 2025-02-15 16:32:10 -06:00
Alex Gleason
cbe156ae2b
Create @ditto/config module 2025-02-15 16:28:26 -06:00
Alex Gleason
482b0092da Merge branch 'monorepo' into 'main'
Make Ditto a monorepo

See merge request soapbox-pub/ditto!661
2025-02-15 20:47:36 +00:00
Alex Gleason
2ccd4bad96
Move static/ into packages/ditto 2025-02-15 14:41:57 -06:00
Alex Gleason
5ee682ef8f
Remove accidental file: log.json 2025-02-15 14:38:15 -06:00
Alex Gleason
3476f45b41
Add @ditto/ditto as a workspace package 2025-02-15 14:31:30 -06:00
Alex Gleason
aa8bb03e5a
mv src packages/ditto 2025-02-15 14:21:05 -06:00
Alex Gleason
5bf6865f21 Merge branch 'notify-replaceable' into 'main'
NOTIFY when replaceable events update

See merge request soapbox-pub/ditto!660
2025-02-15 19:16:27 +00:00
Alex Gleason
d8d8cc20c9
NOTIFY when replaceable events update 2025-02-15 13:09:29 -06:00
Alex Gleason
6eb579e137 Merge branch 'cashu-test-pipeline-fast' into 'main'
Cashu test pipeline fast

See merge request soapbox-pub/ditto!659
2025-02-14 18:14:14 +00:00
P. Reis
31eb74b6e4 refactor: use mockFetch 2025-02-14 14:47:20 -03:00
P. Reis
028d41d585 refactor: use fetch mock 2025-02-14 11:52:37 -03:00
P. Reis
cb475f1126 dependency: add jsr:@std/testing/mock 2025-02-14 11:51:36 -03:00
P. Reis
9e7576f248 deno.lock: types/node 2025-02-14 11:36:26 -03:00
P. Reis
461feff952 fix: make cashu tests faster by giving invalid URL 2025-02-14 11:35:12 -03:00
P. Reis
ad967bbb5d Revert "Delete cashu.test.ts"
This reverts commit 032b29cfba.
2025-02-14 10:46:59 -03:00
Alex Gleason
032b29cfba
Delete cashu.test.ts 2025-02-13 21:34:10 -06:00
Alex Gleason
8d19eb3ec6
Don't hydrate related events when posting a status 2025-02-13 21:33:34 -06:00
Alex Gleason
64c703cef4
Log ip in relay 2025-02-13 21:11:59 -06:00
Alex Gleason
24ee33489d Merge branch 'trigger-insert' into 'main'
Trigger NOTIFY only on insert (not update)

See merge request soapbox-pub/ditto!658
2025-02-14 02:48:49 +00:00
Alex Gleason
dd336232d5
Trigger NOTIFY only on insert (not update) 2025-02-13 20:45:02 -06:00
Alex Gleason
053c362d44 Merge branch 'deno-2.1.10' into 'main'
Upgrade Deno to v2.1.10

See merge request soapbox-pub/ditto!657
2025-02-14 00:21:06 +00:00
Alex Gleason
b07ba9423b
Remove png-to-ico (this augments @types/node to a wrong version) 2025-02-13 18:16:52 -06:00
Alex Gleason
30b4900992
Upgrade Deno to v2.1.10 2025-02-13 17:46:28 -06:00
Alex Gleason
dda1bebfbc Merge branch 'cleanup' into 'main'
Cleanup

See merge request soapbox-pub/ditto!656
2025-02-13 23:45:26 +00:00
Alex Gleason
a2de8cdf82
Remove unnecessary lint rules from deno.json, avoid explicit any 2025-02-13 17:41:30 -06:00
Alex Gleason
359558e2d6
Remove unused docs and ansible directories 2025-02-13 17:21:33 -06:00