Commit Graph

1165 Commits

Author SHA1 Message Date
Alex Gleason d22c606960
storeMiddleware: pass through admin UserStore 2024-04-30 13:27:30 -05:00
Alex Gleason 1ed700d7f9 Merge branch 'rm-toucan' into 'main'
Remove hono/sentry middleware, upgrade @sentry/deno

See merge request soapbox-pub/ditto!196
2024-04-30 18:11:52 +00:00
Alex Gleason 18a3d0f9ad
Switch back to @sentry/deno from deno.land 2024-04-30 13:09:01 -05:00
Alex Gleason f2b36f75f0
Remove hono/sentry middleware, upgrade @sentry/deno 2024-04-30 13:01:43 -05:00
Alex Gleason e722e754cd
deno lint 2024-04-30 12:55:39 -05:00
Alex Gleason f651bf416a
sentry: skip "no pubkey provided" error 2024-04-30 12:52:20 -05:00
Alex Gleason 9ecf5db1b1
hono: catch HTTPException 2024-04-30 12:46:29 -05:00
Alex Gleason 0e6b4e8b45
sentryMiddleware: ignore HTTPException errors 2024-04-30 12:37:27 -05:00
Alex Gleason d1b2e26abf Merge branch 'refactor-get-descendants' into 'main'
Convert getDescendants to async function

See merge request soapbox-pub/ditto!195
2024-04-30 14:42:24 +00:00
P. Reis d99fd753ee refactor(queries): convert getDescendants to async function 2024-04-30 11:18:20 -03:00
Alex Gleason 36aaf79a74 Merge branch 'local-uploader' into 'main'
Add localUploader

See merge request soapbox-pub/ditto!194
2024-04-29 21:31:38 +00:00
Alex Gleason 303b0fe098
Add localUploader 2024-04-29 16:28:54 -05:00
Alex Gleason 22064f86aa Merge branch 's3-path' into 'main'
S3: support pathStyle

See merge request soapbox-pub/ditto!193
2024-04-29 21:08:28 +00:00
Alex Gleason 7ada849a6a
s3: support pathStyle 2024-04-29 16:05:36 -05:00
Alex Gleason c786e1bc55
Uploader: make second argument an options object 2024-04-29 15:32:18 -05:00
Alex Gleason 25db277a9f
storeMiddleware: remove `as string` 2024-04-29 15:10:08 -05:00
Alex Gleason 8902dc28c1 Merge branch 'app-store' into 'main'
Make storeMiddleware available in every request

See merge request soapbox-pub/ditto!192
2024-04-29 20:08:39 +00:00
Alex Gleason 0925f37929
Make storeMiddleware available in every request 2024-04-29 15:05:08 -05:00
Alex Gleason 61e648ff31 Merge branch 'mentions-perf' into 'main'
Improve mentions performance

See merge request soapbox-pub/ditto!190
2024-04-28 17:16:01 +00:00
Alex Gleason 1ea5591393
Improve mentions performance 2024-04-28 12:12:58 -05:00
Alex Gleason 42bbc09a91 Merge branch 'feat-store-middleware' into 'main'
Create User Store middleware and use it in required endpoints

See merge request soapbox-pub/ditto!189
2024-04-28 01:45:17 +00:00
P. Reis 86573a579b refactor: store middleware 2024-04-27 20:59:35 -03:00
P. Reis ab7a60c6de fix(UserStore): add missing return keyword in array filter 2024-04-27 17:04:14 -03:00
P. Reis a7912e0800 feat: if possible use userStore in renderStatuses() 2024-04-27 17:03:30 -03:00
P. Reis 18508d37f2 feat: define userStore in HonoEnv & set userStore middleware in home timeline 2024-04-27 17:02:07 -03:00
P. Reis 7b864482bf feat: create user store middleware 2024-04-27 17:00:03 -03:00
Alex Gleason 606ab58c0a
UserStore.test: use MockRelay 2024-04-26 15:39:28 -05:00
Alex Gleason 7e053fbeea Merge branch 'feat-create-user-store' into 'main'
Create a UserStore class

See merge request soapbox-pub/ditto!184
2024-04-26 20:33:01 +00:00
P. Reis 8a460d6bc5 test: create rough tests for UserStore 2024-04-26 16:23:10 -03:00
P. Reis 2d9db61deb test: kind 10000 ('black' blocks 'me') fixture 2024-04-26 16:12:13 -03:00
P. Reis ad928eec9b test: kind 0 (user 'black') fixture 2024-04-26 16:09:56 -03:00
P. Reis 2b8ad8c349 Merge branch 'main' into feat-create-user-store 2024-04-26 16:06:10 -03:00
P. Reis c87db6d1f8 refactor: remove muteList as a field 2024-04-26 16:05:53 -03:00
Alex Gleason edbe3395b3 Merge branch 'nostrify-15' into 'main'
Upgrade Nostrify to v0.15, use MockRelay in tests instead of NCache

See merge request soapbox-pub/ditto!188
2024-04-26 17:36:57 +00:00
Alex Gleason f61d29eb66
Upgrade Nostrify to v0.15, use MockRelay in tests instead of NCache 2024-04-26 12:33:52 -05:00
Alex Gleason f3bc12252a Merge branch 'refactor-subs' into 'main'
Add full NIP-46 signer from Nostrify

See merge request soapbox-pub/ditto!185
2024-04-26 03:04:17 +00:00
Alex Gleason 9496917be1
Upgrade Nostrify 2024-04-25 21:45:26 -05:00
Alex Gleason 498e91ee7c
Merge remote-tracking branch 'origin/main' into refactor-subs 2024-04-25 21:27:57 -05:00
Alex Gleason fae289486c Merge branch 'internal-relay-push' into 'main'
InternalRelay: fix event distribution

See merge request soapbox-pub/ditto!187
2024-04-26 02:12:12 +00:00
Alex Gleason f1700a08f9
InternalRelay: fix event distribution 2024-04-25 21:04:34 -05:00
Alex Gleason b04d0c42e6
Merge remote-tracking branch 'origin/main' into refactor-subs 2024-04-25 19:04:01 -05:00
Alex Gleason d8475e1b14 Merge branch 'internal-relay' into 'main'
Replace old subscription store with an InternalRelay class

See merge request soapbox-pub/ditto!186
2024-04-26 00:01:27 +00:00
Alex Gleason 4e4b7711c9
relay: NSchema 2024-04-25 18:48:02 -05:00
Alex Gleason 7ee258fe87
relay: fix local filtering logic 2024-04-25 18:46:34 -05:00
Alex Gleason 333dfca270
Storages: typofix subsub -> pubsub 2024-04-25 18:31:16 -05:00
Alex Gleason 05534d532b
APISigner: refactor with InternalRelay 2024-04-25 18:28:19 -05:00
Alex Gleason 7aa931a69e
try-catch the InternalRelay req's 2024-04-25 18:24:03 -05:00
Alex Gleason 7a18a19b2f
Remove subs.ts & subscription.ts, refactor around it 2024-04-25 18:23:26 -05:00
P. Reis ddc84bf47a refactor(UserStore): change fields to private & handle in case of muteList undefined 2024-04-25 18:43:12 -03:00
Alex Gleason 60ca3652bb
try-catch the InternalRelay req's 2024-04-25 16:36:20 -05:00