Commit Graph

1243 Commits

Author SHA1 Message Date
Alex Gleason 8738aeb820
tldts alias 2024-05-01 16:19:53 -05:00
Alex Gleason c7b34ed31b
iso-639-1 alias 2024-05-01 16:18:28 -05:00
Alex Gleason 973791cde1
type-fest alias 2024-05-01 16:16:19 -05:00
Alex Gleason 3513206de1
stickynotes alias 2024-05-01 16:14:50 -05:00
Alex Gleason 9d0be2de0d
nostr-relaypool alias 2024-05-01 15:57:28 -05:00
Alex Gleason 58ed1b111f
Comlink alias 2024-05-01 15:55:56 -05:00
Alex Gleason efd6e35065 Merge branch 'refactor-storages' into 'main'
First pass refactoring storages

See merge request soapbox-pub/ditto!203
2024-05-01 20:27:08 +00:00
Alex Gleason 08f0ef3cdd
Add a deno.lock again 2024-05-01 15:23:54 -05:00
Alex Gleason c190d2c8ce
Refactor Storages to get lazy-loaded only when they are used 2024-05-01 14:56:47 -05:00
Alex Gleason a6681a97d9 Merge branch 'kysely-alias' into 'main'
Make Kysely an import alias

See merge request soapbox-pub/ditto!202
2024-05-01 14:39:10 +00:00
Alex Gleason 621a632893
Update kysely imports in migrations 2024-05-01 09:36:36 -05:00
Alex Gleason d45a1b5001
Upgrade Kysely to v0.27.3 2024-05-01 09:32:24 -05:00
Alex Gleason 4291691aa7
Make @soapbox/kysely-deno-sqlite an import alias 2024-05-01 09:27:19 -05:00
Alex Gleason 23e00b0042
Make Kysely an import alias 2024-05-01 09:26:17 -05:00
Alex Gleason 9c1760bcc0 Merge branch 'rm-cron' into 'main'
Remove cron.ts

See merge request soapbox-pub/ditto!201
2024-05-01 14:11:41 +00:00
Alex Gleason caa9e47161
Remove cron.ts 2024-05-01 09:08:36 -05:00
Alex Gleason 6cc44c468e
Don't await cleanupMedia on startup 2024-04-30 20:38:21 -05:00
Alex Gleason 51d7bf4438 Merge branch 'fix-block-not-working-in-streaming' into 'main'
Don't show posts from blocked users (fix streaming)

Closes #95

See merge request soapbox-pub/ditto!200
2024-05-01 01:03:49 +00:00
P. Reis de08aeac10 fix: allow to query kind 0 of blocked users 2024-04-30 21:28:45 -03:00
P. Reis 2b605d2ac3 Merge branch 'main' into fix-block-not-working-in-streaming
(((Updating local branch)))
2024-04-30 21:23:44 -03:00
P. Reis f0c66c1e92 fix(streaming): don't show posts from blocked users 2024-04-30 21:23:25 -03:00
P. Reis e8e45360d3 refactor(store middleware): get adminStore through function 2024-04-30 21:21:32 -03:00
P. Reis ba6d33c115 feat: create getAdminStore() func 2024-04-30 21:20:19 -03:00
Alex Gleason c2608f9b11 Merge branch 'nostr-tools-alias' into 'main'
Move nostr-tools to an import alias

See merge request soapbox-pub/ditto!199
2024-04-30 23:48:34 +00:00
Alex Gleason 0bb4ccf5c9
Move nostr-tools to an import alias 2024-04-30 18:43:53 -05:00
Alex Gleason 1d3b06958b Merge branch 'hashtag-lower' into 'main'
hashtagTimelineController: toLowerCase

See merge request soapbox-pub/ditto!198
2024-04-30 20:06:44 +00:00
Alex Gleason 35ab012276
hashtagTimelineController: toLowerCase 2024-04-30 14:58:00 -05:00
Alex Gleason 19ba7e74d6 Merge branch 'admin-blocks' into 'main'
storeMiddleware: pass through admin UserStore

See merge request soapbox-pub/ditto!197
2024-04-30 18:49:11 +00:00
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