Commit Graph

1215 Commits

Author SHA1 Message Date
Alex Gleason 4045a6bdfc
Catch metadata when parsing 2024-05-01 19:55:58 -05:00
Alex Gleason fc7ed8bf24
Remove zod schemas that we can get from NSchema 2024-05-01 19:51:12 -05:00
Alex Gleason 79177cd6c3 Merge branch 'rm-relays' into 'main'
Remove `relays` table from the database, track them with a NIP-65 admin event

See merge request soapbox-pub/ditto!207
2024-05-02 00:37:02 +00:00
Alex Gleason 76f30f5cc7
utils: remove unused import of zod 2024-05-01 19:19:52 -05:00
Alex Gleason 439dfca311
Fix kysely imports in migrations 2024-05-01 19:16:12 -05:00
Alex Gleason 87264eeef1
Remove `relays` table from the database, track them with a NIP-65 admin event 2024-05-01 19:15:20 -05:00
Alex Gleason bea2dab074 Merge branch 'relays-api-update' into 'main'
Admin relays: use "marker" property in the API, fix PUT controller

See merge request soapbox-pub/ditto!206
2024-05-01 23:52:34 +00:00
Alex Gleason 444a6efd7d
Upgrade kysely-deno-sqlite, fix the type 2024-05-01 18:40:04 -05:00
Alex Gleason d1a4a71e31
Remove the lockfile 2024-05-01 18:30:12 -05:00
Alex Gleason 258e81df51
Admin relays: use "marker" property in the API, fix PUT controller 2024-05-01 18:29:32 -05:00
Alex Gleason 1477dc1049 Merge branch 'upgrade-zod' into 'main'
Bump zod to v3.23.5

See merge request soapbox-pub/ditto!205
2024-05-01 23:25:13 +00:00
Alex Gleason 984695391a
unfurl -> unfurl.js 2024-05-01 16:59:15 -05:00
Alex Gleason d94f831af1
Bump zod to v3.23.5 2024-05-01 16:45:47 -05:00
Alex Gleason 5f5749db9b Merge branch 'alias' into 'main'
Convert a bunch of deps to use aliases

See merge request soapbox-pub/ditto!204
2024-05-01 21:45:28 +00:00
Alex Gleason 8959f85afb
Fix imports of uuid62 and fast-stringify-stable 2024-05-01 16:42:07 -05:00
Alex Gleason 7de5cdc18d
@db/sqlite, scoped_performance aliases 2024-05-01 16:40:58 -05:00
Alex Gleason 08ed52a57b
formdata-helper alias 2024-05-01 16:37:01 -05:00
Alex Gleason d1f643d7ad
secp256k1 alias 2024-05-01 16:35:39 -05:00
Alex Gleason 5a7a409981
Alias unfurl, linkifyjs etc 2024-05-01 16:34:16 -05:00
Alex Gleason e5c8030960
Move more deps to aliases 2024-05-01 16:29:21 -05:00
Alex Gleason ea665eed12
std/dotenv alias 2024-05-01 16:22:55 -05:00
Alex Gleason c4d8ad2368
uuid62 alias 2024-05-01 16:21:18 -05:00
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