Commit Graph

  • 19ba7e74d6 Merge branch 'admin-blocks' into 'main' Alex Gleason 2024-04-30 18:49:11 +00:00
  • d22c606960 storeMiddleware: pass through admin UserStore Alex Gleason 2024-04-30 13:27:30 -05:00
  • 1ed700d7f9 Merge branch 'rm-toucan' into 'main' Alex Gleason 2024-04-30 18:11:52 +00:00
  • 18a3d0f9ad Switch back to @sentry/deno from deno.land Alex Gleason 2024-04-30 13:09:01 -05:00
  • f2b36f75f0 Remove hono/sentry middleware, upgrade @sentry/deno Alex Gleason 2024-04-30 13:01:43 -05:00
  • e722e754cd deno lint Alex Gleason 2024-04-30 12:55:39 -05:00
  • f651bf416a sentry: skip "no pubkey provided" error Alex Gleason 2024-04-30 12:52:20 -05:00
  • 9ecf5db1b1 hono: catch HTTPException Alex Gleason 2024-04-30 12:46:29 -05:00
  • 0e6b4e8b45 sentryMiddleware: ignore HTTPException errors Alex Gleason 2024-04-30 12:37:27 -05:00
  • d1b2e26abf Merge branch 'refactor-get-descendants' into 'main' Alex Gleason 2024-04-30 14:42:24 +00:00
  • d99fd753ee refactor(queries): convert getDescendants to async function P. Reis 2024-04-30 11:18:20 -03:00
  • 36aaf79a74 Merge branch 'local-uploader' into 'main' Alex Gleason 2024-04-29 21:31:38 +00:00
  • 303b0fe098 Add localUploader Alex Gleason 2024-04-29 16:28:54 -05:00
  • 22064f86aa Merge branch 's3-path' into 'main' Alex Gleason 2024-04-29 21:08:28 +00:00
  • 7ada849a6a s3: support pathStyle Alex Gleason 2024-04-29 15:54:01 -05:00
  • c786e1bc55 Uploader: make second argument an options object Alex Gleason 2024-04-29 15:32:18 -05:00
  • 25db277a9f storeMiddleware: remove as string Alex Gleason 2024-04-29 15:10:08 -05:00
  • 8902dc28c1 Merge branch 'app-store' into 'main' Alex Gleason 2024-04-29 20:08:39 +00:00
  • 0925f37929 Make storeMiddleware available in every request Alex Gleason 2024-04-29 15:04:13 -05:00
  • bb82df14c6 refactor: user preference in create & verify credentials P. Reis 2024-04-28 21:42:57 -03:00
  • 6627704114 feat: save user preferences (kind 30078) & encrypt it P. Reis 2024-04-28 17:07:41 -03:00
  • 61e648ff31 Merge branch 'mentions-perf' into 'main' Alex Gleason 2024-04-28 17:16:01 +00:00
  • 1ea5591393 Improve mentions performance Alex Gleason 2024-04-28 12:12:58 -05:00
  • 42bbc09a91 Merge branch 'feat-store-middleware' into 'main' Alex Gleason 2024-04-28 01:45:17 +00:00
  • 86573a579b refactor: store middleware P. Reis 2024-04-27 20:59:35 -03:00
  • ab7a60c6de fix(UserStore): add missing return keyword in array filter P. Reis 2024-04-27 17:04:14 -03:00
  • a7912e0800 feat: if possible use userStore in renderStatuses() P. Reis 2024-04-27 17:03:30 -03:00
  • 18508d37f2 feat: define userStore in HonoEnv & set userStore middleware in home timeline P. Reis 2024-04-27 17:02:07 -03:00
  • 7b864482bf feat: create user store middleware P. Reis 2024-04-27 17:00:03 -03:00
  • 606ab58c0a UserStore.test: use MockRelay Alex Gleason 2024-04-26 15:39:28 -05:00
  • 7e053fbeea Merge branch 'feat-create-user-store' into 'main' Alex Gleason 2024-04-26 20:33:01 +00:00
  • 8a460d6bc5 test: create rough tests for UserStore P. Reis 2024-04-26 16:23:10 -03:00
  • 2d9db61deb test: kind 10000 ('black' blocks 'me') fixture P. Reis 2024-04-26 16:12:13 -03:00
  • ad928eec9b test: kind 0 (user 'black') fixture P. Reis 2024-04-26 16:09:56 -03:00
  • 2b8ad8c349 Merge branch 'main' into feat-create-user-store P. Reis 2024-04-26 16:06:10 -03:00
  • c87db6d1f8 refactor: remove muteList as a field P. Reis 2024-04-26 16:05:53 -03:00
  • edbe3395b3 Merge branch 'nostrify-15' into 'main' Alex Gleason 2024-04-26 17:36:57 +00:00
  • f61d29eb66 Upgrade Nostrify to v0.15, use MockRelay in tests instead of NCache Alex Gleason 2024-04-26 12:33:52 -05:00
  • f3bc12252a Merge branch 'refactor-subs' into 'main' Alex Gleason 2024-04-26 03:04:17 +00:00
  • 9496917be1 Upgrade Nostrify Alex Gleason 2024-04-25 21:45:26 -05:00
  • 498e91ee7c Merge remote-tracking branch 'origin/main' into refactor-subs Alex Gleason 2024-04-25 21:27:57 -05:00
  • fae289486c Merge branch 'internal-relay-push' into 'main' Alex Gleason 2024-04-26 02:12:12 +00:00
  • f1700a08f9 InternalRelay: fix event distribution Alex Gleason 2024-04-25 21:03:39 -05:00
  • b04d0c42e6 Merge remote-tracking branch 'origin/main' into refactor-subs Alex Gleason 2024-04-25 19:04:01 -05:00
  • d8475e1b14 Merge branch 'internal-relay' into 'main' Alex Gleason 2024-04-26 00:01:27 +00:00
  • 4e4b7711c9 relay: NSchema Alex Gleason 2024-04-25 18:48:02 -05:00
  • 7ee258fe87 relay: fix local filtering logic Alex Gleason 2024-04-25 18:46:34 -05:00
  • 333dfca270 Storages: typofix subsub -> pubsub Alex Gleason 2024-04-25 18:31:16 -05:00
  • 05534d532b APISigner: refactor with InternalRelay Alex Gleason 2024-04-25 18:28:19 -05:00
  • 7aa931a69e try-catch the InternalRelay req's Alex Gleason 2024-04-25 16:36:20 -05:00
  • 7a18a19b2f Remove subs.ts & subscription.ts, refactor around it Alex Gleason 2024-04-25 13:18:35 -05:00
  • ddc84bf47a refactor(UserStore): change fields to private & handle in case of muteList undefined P. Reis 2024-04-25 18:43:12 -03:00
  • 60ca3652bb try-catch the InternalRelay req's Alex Gleason 2024-04-25 16:36:20 -05:00
  • 6c292b8da4 feat: create UserStore class P. Reis 2024-04-25 16:41:40 -03:00
  • f33ad04084 Remove subs.ts & subscription.ts, refactor around it Alex Gleason 2024-04-25 13:18:35 -05:00
  • fc47116dd3 APISigner: reimplement with NConnectSigner and InternalRelay Alex Gleason 2024-04-25 12:32:39 -05:00
  • 8407583d83 Add InternalRelay class Alex Gleason 2024-04-25 11:54:25 -05:00
  • e8c2c175af Merge branch 'media-role' into 'main' Alex Gleason 2024-04-25 00:25:25 +00:00
  • 677720f15e Unrestrict media uploads Alex Gleason 2024-04-24 19:22:36 -05:00
  • 620fd6bb74 Merge branch 'configurable-local-port' into 'main' Alex Gleason 2024-04-24 17:22:58 +00:00
  • 953295c534 server.ts: Conf.localPort -> Conf.port Alex Gleason 2024-04-24 16:26:56 +00:00
  • 58b034e169 rename DITTO_LISTEN_ON and localPort() to PORT and port() Siddharth Singh 2024-04-24 21:38:05 +05:30
  • 3880f1e013 allow configuring the local port ditto listens on Siddharth Singh 2024-04-24 21:32:02 +05:30
  • 2bffb667c4 Merge branch 'hydrate-again' into 'main' Alex Gleason 2024-04-24 02:49:40 +00:00
  • 1f5ba81e98 hydrateEvents: early return is only needed for stats? Alex Gleason 2024-04-23 21:40:02 -05:00
  • a2c3daade7 hydrateEvents: return early if the results would be empty Alex Gleason 2024-04-23 21:32:48 -05:00
  • b8d01ea3de hydrateEvents: use filters to find events in memory Alex Gleason 2024-04-23 21:10:21 -05:00
  • b2ef87c5b5 Merge branch 'admin-cli' into 'main' Alex Gleason 2024-04-24 01:19:36 +00:00
  • 443cede73e Merge branch 'admin-relay-api' into 'main' Alex Gleason 2024-04-24 01:14:24 +00:00
  • a1423bbf65 Fix hydrateEvents, lol Alex Gleason 2024-04-23 20:11:07 -05:00
  • 191b370c85 hydrate.test: remove unnecessary boilerplate Alex Gleason 2024-04-23 19:50:23 -05:00
  • 0aab3eb775 Rewrite hydrateEvents Alex Gleason 2024-04-23 19:31:40 -05:00
  • cbf1e8f280 Add admin:role CLI task Alex Gleason 2024-04-23 18:13:18 -05:00
  • b73b964fda Add a better admin:event script Alex Gleason 2024-04-23 17:32:24 -05:00
  • 3204b61f0b Add an API to manage admin relays Alex Gleason 2024-04-23 16:21:36 -05:00
  • 5d84566385 Merge branch 'perf-hydrate-events' into 'main' Alex Gleason 2024-04-23 20:24:55 +00:00
  • 58d75d1939 fix: hydrate events stats and author stats with filter by kind P. Reis 2024-04-23 17:16:15 -03:00
  • 6c74ce9c12 Merge branch 'zod-alias' into 'main' Alex Gleason 2024-04-23 20:07:45 +00:00
  • 5fca482e5c refactor(hydrate events): change array to Map P. Reis 2024-04-23 15:56:35 -03:00
  • 0f9cc9fe51 zod import alias Alex Gleason 2024-04-23 15:03:20 -05:00
  • 3557102b08 deno.json: simplify unstable support (and enable Deno.Kv) Alex Gleason 2024-04-23 01:36:03 -05:00
  • a53a21ffcf pipeline: print policy result Alex Gleason 2024-04-23 01:29:18 -05:00
  • e5dd4c587c Merge branch 'policy-plugin' into 'main' Alex Gleason 2024-04-23 06:14:42 +00:00
  • 69178ae523 Load a custom policy from data/policy.ts Alex Gleason 2024-04-23 01:11:37 -05:00
  • 7a12e5ec7b test: rough adapt tests for new performance hydratation P. Reis 2024-04-22 22:00:28 -03:00
  • c7b84e5438 test: kind 6 fixture P. Reis 2024-04-22 20:59:50 -03:00
  • 51f24fed87 test: kind 1 (normal post) fixture P. Reis 2024-04-22 20:59:23 -03:00
  • 351d81f2c8 test: kind 1 (quote repost) fixture P. Reis 2024-04-22 20:58:35 -03:00
  • 90eb6ede2b test: kind 0 (user 'me') fixture P. Reis 2024-04-22 20:56:41 -03:00
  • 062e21e8a8 test: remove 'hydrate quote repost WITHOUT hydrate author' P. Reis 2024-04-22 19:52:11 -03:00
  • b77c8a00cd perf: make up to 5 calls to database in hydrateEvents & remove old hydrate functions P. Reis 2024-04-22 19:51:29 -03:00
  • ed08ac7c17 Merge branch 'feat-search-account-with-no-kind-0' into 'main' Alex Gleason 2024-04-21 01:44:16 +00:00
  • 12b030c8aa refactor: decode pubkey with right import in search account P. Reis 2024-04-20 21:52:36 -03:00
  • 49f06869a3 feat: render account from pubkey if no kind 0 exists - /v2/search P. Reis 2024-04-20 21:26:05 -03:00
  • 60a1ff7adc feat: render account from pubkey if no kind 0 exists - /v1/accounts/search P. Reis 2024-04-20 20:58:12 -03:00
  • 1c126425ac Merge branch 'hono-alias' into 'main' Alex Gleason 2024-04-20 23:57:43 +00:00
  • 64d50552b7 Import hono with an import alias Alex Gleason 2024-04-20 18:54:15 -05:00
  • 270dbab456 Merge branch 'appcontroller-type' into 'main' Alex Gleason 2024-04-20 23:53:03 +00:00
  • 505a9bced1 Fix type of AppController Alex Gleason 2024-04-20 18:47:34 -05:00
  • ad33fec129 Merge branch 'postgresql' into 'main' Alex Gleason 2024-04-20 02:23:34 +00:00