Commit graph

  • 5f617b2d1a
    Break captcha package into smaller modules Alex Gleason 2025-02-26 14:53:13 -06:00
  • a2732642a5
    Break @ditto/captcha into a separate library Alex Gleason 2025-02-26 14:46:47 -06:00
  • 484c162463 Merge branch 'main' into unfavourite danidfra 2025-02-26 14:31:14 -03:00
  • 4b321f21fc Merge branch 'refactor-remove-await' into 'main' Alex Gleason 2025-02-26 14:30:54 +00:00
  • 937a9a58ee Merge branch 'refactor-remove-await' into 'main' P. Reis 2025-02-26 14:20:16 +00:00
  • 1730274e70 refactor: remove await P. Reis 2025-02-26 11:19:15 -03:00
  • e17360d49c Merge branch 'fix-mentions-bug' into 'main' Alex Gleason 2025-02-25 23:26:22 +00:00
  • a5768ab215 Merge branch 'fix-mentions-bug' into 'main' P. Reis 2025-02-25 23:16:41 +00:00
  • c82cfb9e8b refactor: remove duplicate filter P. Reis 2025-02-25 20:16:28 -03:00
  • 05a4a5a5c9 fix: filter out invalid pubkeys P. Reis 2025-02-25 20:04:28 -03:00
  • cf4d888ad5 fix: total balance can be equal to the amount, access undefined with ? P. Reis 2025-02-25 16:20:40 -03:00
  • e08603a42a fix: get lock pubkey from nutzap info P. Reis 2025-02-25 15:59:40 -03:00
  • 51faffc9e2 fix: get mints from nutzap info P. Reis 2025-02-25 15:56:41 -03:00
  • 33b8078fc6 fix: add pubkey lock to proofs P. Reis 2025-02-25 13:58:57 -03:00
  • 99a20bd129 Merge branch 'main' into mint-cashu P. Reis 2025-02-24 20:07:12 -03:00
  • 1d2a317029 feat: nutzap a post or user (no tests) P. Reis 2025-02-24 17:34:14 -03:00
  • 73beef72ac Merge branch 'pool-whoops' into 'main' Alex Gleason 2025-02-24 14:51:55 +00:00
  • 0e55a0a105 Merge branch 'pool-whoops' into 'main' Alex Gleason 2025-02-24 14:50:42 +00:00
  • 11a589fb01
    Switch the pools, whoops Alex Gleason 2025-02-24 08:50:06 -06:00
  • e78e0c2460
    Upgrade Nostrify Alex Gleason 2025-02-23 23:08:46 -06:00
  • 40221410e8 Merge branch 'apistore' into 'main' Alex Gleason 2025-02-24 03:05:42 +00:00
  • d783886726 Merge branch 'apistore' into 'main' Alex Gleason 2025-02-24 02:54:42 +00:00
  • 9df50a5b0d
    app.ts: minor variable name cleanup Alex Gleason 2025-02-23 20:53:48 -06:00
  • 751c09035c
    Pass DittoAPIStore to MastoAPI endpoints, DittoRelayStore to /relay Alex Gleason 2025-02-23 19:39:43 -06:00
  • cce78f2b0c
    Make DittoAPIStore and DittoRelay separate things Alex Gleason 2025-02-23 18:54:04 -06:00
  • 61cc7c335a feat: create organizedProofs function test: organizedProofs function P. Reis 2025-02-23 21:06:34 -03:00
  • 52a9017730
    Add a new DittoAPIStore extending DittoRelayStore Alex Gleason 2025-02-23 18:03:41 -06:00
  • ec498653fb
    Rename DittoAPIStore to DittoRelayStore Alex Gleason 2025-02-23 18:02:45 -06:00
  • 77c0ac3561
    Hotfix for relay publishing Alex Gleason 2025-02-23 14:55:19 -06:00
  • e88a7d01d4
    Purify event before sending to pool Alex Gleason 2025-02-23 14:50:45 -06:00
  • e99496306a
    DittoAPIStore: fix handleEvent not being called Alex Gleason 2025-02-23 13:08:19 -06:00
  • 44f3721d36
    DittoAPIStore: test that kind 0 with nip05 updates author_stats table Alex Gleason 2025-02-23 12:41:59 -06:00
  • 3f9f0468d2
    Remove now unnecessary idleTimeout opt from socket upgrades Alex Gleason 2025-02-23 12:05:53 -06:00
  • decb3ac618
    Fix streaming API hydration ( ͡° ͜ʖ ͡°) Alex Gleason 2025-02-23 11:56:29 -06:00
  • a52fe9fbc6
    Try to fix pkey migration Alex Gleason 2025-02-23 09:30:00 -06:00
  • 02d4235abd
    Rename nostr_events_new_pkey to nostr_events_pkey Alex Gleason 2025-02-23 09:21:14 -06:00
  • 497d5d12c9
    Fix DittoPgStore tests Alex Gleason 2025-02-23 00:39:41 -06:00
  • a9c696936b
    Upgrade Nostrify Alex Gleason 2025-02-23 00:11:42 -06:00
  • 237f6e55ad
    Fix DittoEnv type check Alex Gleason 2025-02-22 21:52:26 -06:00
  • f1cb8c778a
    Normalize Link header URLs Alex Gleason 2025-02-22 21:45:04 -06:00
  • 7f059b4dac
    Fix event hydration with getEvent/getAuthor Alex Gleason 2025-02-22 21:40:53 -06:00
  • 6f1312b67f
    Remove old paginationSchema Alex Gleason 2025-02-22 21:38:48 -06:00
  • 979f2cffb4
    Fix stats:recompute script Alex Gleason 2025-02-22 21:30:57 -06:00
  • 1ae9da5793
    Fix hydrate tests Alex Gleason 2025-02-22 21:26:23 -06:00
  • 6cd64500ce
    Fix stats test Alex Gleason 2025-02-22 21:24:17 -06:00
  • 4f46a69131
    I did a fucked up polymorphism Alex Gleason 2025-02-22 20:56:53 -06:00
  • f893a81464
    DittoAPIStore: add limit 0 Alex Gleason 2025-02-22 19:55:58 -06:00
  • 70f0eb3b03
    Fix pagination lint errors Alex Gleason 2025-02-22 19:49:43 -06:00
  • f2e2072184
    Export PolicyWorker as a regular class Alex Gleason 2025-02-22 19:46:38 -06:00
  • 3b17fd9b45
    Remove @/storages.ts (jesus christ) Alex Gleason 2025-02-22 19:27:53 -06:00
  • ca5c887705
    Remove storages.ts from scripts Alex Gleason 2025-02-22 15:54:31 -06:00
  • 63c0f8b032
    ditto/db: make adapters use classes instead of static classes Alex Gleason 2025-02-22 15:32:47 -06:00
  • 398d79b45e
    DittoAPIStore: console.error -> logi Alex Gleason 2025-02-22 13:05:50 -06:00
  • 79fc568548
    Add DittoPool class Alex Gleason 2025-02-22 12:59:36 -06:00
  • 2f0dbc44e4
    Copy all the pipeline logic into DittoAPIStore (and some into DittoPgStore) Alex Gleason 2025-02-22 12:01:50 -06:00
  • 48bd7618f7
    Start building DittoAPIStore Alex Gleason 2025-02-22 03:13:05 -06:00
  • 02e284f3aa
    Remove unused DittoFilter interface Alex Gleason 2025-02-22 01:06:53 -06:00
  • 045eb4e1d6 Merge branch 'router' into 'main' Alex Gleason 2025-02-22 07:05:11 +00:00
  • 68a3db0c5e Merge branch 'router' into 'main' Alex Gleason 2025-02-22 05:32:52 +00:00
  • 4ed0640766
    @ditto/router -> @ditto/mastoapi/router Alex Gleason 2025-02-21 23:32:15 -06:00
  • ecb2b8d8f1 Merge branch 'lowercase-nip05' into 'main' Alex Gleason 2025-02-22 03:59:20 +00:00
  • 084c6aa944
    Fix DummyDB test Alex Gleason 2025-02-21 21:55:00 -06:00
  • 8ef03e7926
    Merge remote-tracking branch 'origin/lowercase-nip05' into router Alex Gleason 2025-02-21 21:54:32 -06:00
  • 6869364ff1 Merge branch 'lowercase-nip05' into 'main' Alex Gleason 2025-02-22 03:52:40 +00:00
  • 6c70b4bc4e
    Make NIP-05 case insensitive Alex Gleason 2025-02-21 21:48:10 -06:00
  • 07b68b71d2
    Add missing types to testApp Alex Gleason 2025-02-21 21:31:42 -06:00
  • 9c97cc387f
    mastoapi: add a test module Alex Gleason 2025-02-21 21:15:57 -06:00
  • d4fc10fe3e
    Add userMiddleware tests Alex Gleason 2025-02-21 21:09:22 -06:00
  • 403b16a67b
    Merge remote-tracking branch 'origin/main' into router Alex Gleason 2025-02-21 20:51:33 -06:00
  • 4cfb6543c7
    Don't lowercase nip05 name before fetching (for now) Alex Gleason 2025-02-21 20:50:09 -06:00
  • 8437da1200
    Fix error handling in nameRequestController Alex Gleason 2025-02-21 20:33:44 -06:00
  • 5fec5deb06
    publishEvent: publish to pool in background, catch errors and log Alex Gleason 2025-02-21 20:22:58 -06:00
  • 82446e3ef1
    Add method and pathname to ditto.http error Alex Gleason 2025-02-21 20:06:39 -06:00
  • d2abb1f1e4
    Fix MuteListPolicy test Alex Gleason 2025-02-21 18:59:14 -06:00
  • 6b1aadc24c
    nip98: add explicit types to exported functions Alex Gleason 2025-02-21 18:46:43 -06:00
  • 26e87b3962
    tokenMiddleware: pass token to streaming API Alex Gleason 2025-02-21 17:44:56 -06:00
  • 806bfc1b45
    Delete auth98Middleware, replace with userMiddleware Alex Gleason 2025-02-21 16:54:38 -06:00
  • adeff1cae5
    tokenMiddleware: support nip98 auth Alex Gleason 2025-02-21 15:53:29 -06:00
  • f0add87c6d
    Create @ditto/nip98 package Alex Gleason 2025-02-21 15:35:03 -06:00
  • 72851bc536
    Remove AdminStore from storages Alex Gleason 2025-02-21 15:08:58 -06:00
  • e5657d67c0
    app -> route Alex Gleason 2025-02-21 15:08:37 -06:00
  • d0c7cc7a45
    Improve cashu test Alex Gleason 2025-02-21 15:05:54 -06:00
  • 438ab09216
    Split userMiddleware into tokenMiddleware and a new userMiddleware Alex Gleason 2025-02-21 14:52:17 -06:00
  • ac684194a0 feat: create tokenEventSchema and add tests for cashu schemas P. Reis 2025-02-21 16:48:44 -03:00
  • 5ad7f1d5d7
    userMiddleware -> tokenMiddleware Alex Gleason 2025-02-21 13:27:19 -06:00
  • 08d2f7fe3f refactor: add cashu proof schema P. Reis 2025-02-21 11:41:45 -03:00
  • f83925331a
    Apply the UserStore to the userMiddleware Alex Gleason 2025-02-20 20:04:57 -06:00
  • 8f49b99935
    Consolidate AdminStore and UserStore Alex Gleason 2025-02-20 20:03:31 -06:00
  • 8a978b088b
    Use the user's store in a few places where it matters Alex Gleason 2025-02-20 18:57:55 -06:00
  • 33786d2e5d
    Fix cashu tests, sorta Alex Gleason 2025-02-20 18:48:44 -06:00
  • d87f650da3 fix: remove unused imports P. Reis 2025-02-20 19:36:02 -03:00
  • a6fba9c8f1 fix: remove unused imports P. Reis 2025-02-20 19:34:58 -03:00
  • d98a4bd263 refactor: use validateAndParseWallet function in GET /wallet P. Reis 2025-02-20 19:33:25 -03:00
  • 36640dd400 refactor: explain better the 'toBeRedeemed' field P. Reis 2025-02-20 19:21:20 -03:00
  • 71fd6ef965 refactor: extract repetitive validation and put it into a new function called 'validateAndParseWallet', tests included P. Reis 2025-02-20 19:12:35 -03:00
  • e1bf86eb21
    Make auth middleware work again (in a hacky way for now) Alex Gleason 2025-02-20 14:45:44 -06:00
  • 67aec57990
    Rename @ditto/api to @ditto/mastoapi, start using the new router and middleware in app Alex Gleason 2025-02-20 14:29:22 -06:00
  • 22d7a5fa55
    Merge remote-tracking branch 'origin/main' into router Alex Gleason 2025-02-20 12:07:18 -06:00
  • 64e71b0ba8 Merge branch 'rm-admin-signer' into 'main' Alex Gleason 2025-02-20 18:07:01 +00:00
  • a5fb1b0bd9 Merge branch 'rm-admin-signer' into 'main' Alex Gleason 2025-02-20 18:06:18 +00:00