Commit graph

3477 commits

Author SHA1 Message Date
Alex Gleason
549f3ebc5d Merge branch 'conf-tests' into 'main'
Remove `@/config.ts` imports from tests

See merge request soapbox-pub/ditto!696
2025-02-27 19:57:48 +00:00
Alex Gleason
23b8edefef
Remove @/config.ts imports from tests 2025-02-27 13:56:02 -06:00
Alex Gleason
4b1d7c1502 Merge branch 'sentry-conf' into 'main'
Remove `@/config.ts` import when starting Sentry

See merge request soapbox-pub/ditto!695
2025-02-27 19:53:51 +00:00
Alex Gleason
432f65ff61
Remove @/config.ts import when starting Sentry 2025-02-27 13:51:57 -06:00
Alex Gleason
92da5e6ac3
Actually fix policy.worker import (hack) 2025-02-26 18:19:30 -06:00
Alex Gleason
55115d3592
PolicyWorker: move Deno.env set above imports 2025-02-26 18:14:42 -06:00
Alex Gleason
ccf6d2074e Merge branch 'mastoapi-entities' into 'main'
Move ditto/interfaces to @ditto/mastoapi/types

See merge request soapbox-pub/ditto!693
2025-02-27 00:03:45 +00:00
Alex Gleason
b81da2c0d7
Move ditto/interfaces to @ditto/mastoapi/types 2025-02-26 18:01:32 -06:00
Alex Gleason
466245633c Merge branch 'fix-ensure-remove-exists' into 'main'
fix: call remove if it's available

See merge request soapbox-pub/ditto!692
2025-02-26 23:43:25 +00:00
P. Reis
0f20f1b26b refactor: return 500 http code in case of error 2025-02-26 20:21:42 -03:00
P. Reis
0c7ab03643 refactor: use ?. 2025-02-26 20:06:57 -03:00
P. Reis
40824280b4 fix: call remove if it's available 2025-02-26 19:53:55 -03:00
Alex Gleason
ec3fa3daeb Merge branch 'rm-config' into 'main'
Remove precheck.ts, perform check in DittoConf constructor

See merge request soapbox-pub/ditto!691
2025-02-26 22:30:27 +00:00
Alex Gleason
f650541b23
Remove precheck.ts, perform check in DittoConf constructor 2025-02-26 16:16:40 -06:00
Alex Gleason
7256b5dcf8 Merge branch 'dittoapp-opts' into 'main'
DittoApp: combine opts and vars into one object

See merge request soapbox-pub/ditto!690
2025-02-26 21:21:21 +00:00
Alex Gleason
89905d76a6
DittoApp: combine opts and vars into one object 2025-02-26 15:19:20 -06:00
Alex Gleason
c889cd68d2 Merge branch 'ditto-captcha' into 'main'
Add @ditto/captcha package

See merge request soapbox-pub/ditto!689
2025-02-26 21:14:25 +00:00
Alex Gleason
4b55acb796
Clean up captchaController 2025-02-26 15:10:41 -06:00
Alex Gleason
a2aaa55b89
Add tests to captcha modules 2025-02-26 15:09:01 -06:00
Alex Gleason
5f617b2d1a
Break captcha package into smaller modules 2025-02-26 14:53:13 -06:00
Alex Gleason
a2732642a5
Break @ditto/captcha into a separate library 2025-02-26 14:46:47 -06:00
Alex Gleason
4b321f21fc Merge branch 'refactor-remove-await' into 'main'
refactor: remove await

See merge request soapbox-pub/ditto!688
2025-02-26 14:30:54 +00:00
P. Reis
1730274e70 refactor: remove await 2025-02-26 11:19:15 -03:00
Alex Gleason
e17360d49c Merge branch 'fix-mentions-bug' into 'main'
fix: filter out invalid pubkeys

Closes #290

See merge request soapbox-pub/ditto!687
2025-02-25 23:26:22 +00:00
P. Reis
c82cfb9e8b refactor: remove duplicate filter 2025-02-25 20:16:28 -03:00
P. Reis
05a4a5a5c9 fix: filter out invalid pubkeys 2025-02-25 20:04:28 -03:00
Alex Gleason
73beef72ac Merge branch 'pool-whoops' into 'main'
Switch the pools, whoops

See merge request soapbox-pub/ditto!686
2025-02-24 14:51:55 +00:00
Alex Gleason
11a589fb01
Switch the pools, whoops 2025-02-24 08:50:06 -06:00
Alex Gleason
e78e0c2460
Upgrade Nostrify 2025-02-23 23:08:46 -06:00
Alex Gleason
40221410e8 Merge branch 'apistore' into 'main'
Replace pipeline with DittoAPIStore

See merge request soapbox-pub/ditto!685
2025-02-24 03:05:42 +00:00
Alex Gleason
9df50a5b0d
app.ts: minor variable name cleanup 2025-02-23 20:53:48 -06:00
Alex Gleason
751c09035c
Pass DittoAPIStore to MastoAPI endpoints, DittoRelayStore to /relay 2025-02-23 19:41:17 -06:00
Alex Gleason
cce78f2b0c
Make DittoAPIStore and DittoRelay separate things 2025-02-23 18:54:04 -06:00
Alex Gleason
52a9017730
Add a new DittoAPIStore extending DittoRelayStore 2025-02-23 18:03:41 -06:00
Alex Gleason
ec498653fb
Rename DittoAPIStore to DittoRelayStore 2025-02-23 18:02:45 -06:00
Alex Gleason
77c0ac3561
Hotfix for relay publishing 2025-02-23 14:55:19 -06:00
Alex Gleason
e88a7d01d4
Purify event before sending to pool 2025-02-23 14:50:45 -06:00
Alex Gleason
e99496306a
DittoAPIStore: fix handleEvent not being called 2025-02-23 13:08:19 -06:00
Alex Gleason
44f3721d36
DittoAPIStore: test that kind 0 with nip05 updates author_stats table 2025-02-23 12:41:59 -06:00
Alex Gleason
3f9f0468d2
Remove now unnecessary idleTimeout opt from socket upgrades 2025-02-23 12:05:53 -06:00
Alex Gleason
decb3ac618
Fix streaming API hydration ( ͡° ͜ʖ ͡°) 2025-02-23 11:56:29 -06:00
Alex Gleason
a52fe9fbc6
Try to fix pkey migration 2025-02-23 09:30:00 -06:00
Alex Gleason
02d4235abd
Rename nostr_events_new_pkey to nostr_events_pkey 2025-02-23 09:21:14 -06:00
Alex Gleason
497d5d12c9
Fix DittoPgStore tests 2025-02-23 00:39:41 -06:00
Alex Gleason
a9c696936b
Upgrade Nostrify 2025-02-23 00:11:42 -06:00
Alex Gleason
237f6e55ad
Fix DittoEnv type check 2025-02-22 21:52:26 -06:00
Alex Gleason
f1cb8c778a
Normalize Link header URLs 2025-02-22 21:45:04 -06:00
Alex Gleason
7f059b4dac
Fix event hydration with getEvent/getAuthor 2025-02-22 21:40:53 -06:00
Alex Gleason
6f1312b67f
Remove old paginationSchema 2025-02-22 21:38:48 -06:00
Alex Gleason
979f2cffb4
Fix stats:recompute script 2025-02-22 21:30:57 -06:00