Commit graph

  • f830271ce2
    Merge remote-tracking branch 'origin/main' into npostgres Alex Gleason 2024-08-11 16:27:59 -05:00
  • e789e08c0f Merge branch 'import-script' into 'main' Alex Gleason 2024-08-11 21:11:55 +00:00
  • 9f9a07e618
    Improve performance of import script Alex Gleason 2024-08-11 16:07:29 -05:00
  • 300c78ddb1
    Upgrade @nostrify/db Alex Gleason 2024-08-10 15:44:58 -05:00
  • 916b68a3e4
    Switch to NPostgres (steamroll SQLite for now) Alex Gleason 2024-08-10 13:30:24 -05:00
  • 66cfba5535
    Remove leading @ from params.acct Alex Gleason 2024-08-10 09:58:25 -05:00
  • 6657a48a07 Merge branch 'at-match' into 'main' Alex Gleason 2024-08-10 02:10:39 +00:00
  • 443c8a43f7
    Fix matching @ routes in app Alex Gleason 2024-08-09 21:07:41 -05:00
  • 4bf3096454
    errorHandler: don't log timeouts Alex Gleason 2024-08-09 13:31:36 -05:00
  • 2cbbf2fbe7 Merge branch 'api-err' into 'main' Alex Gleason 2024-08-09 18:29:35 +00:00
  • abc1a6eb49
    EventsDB.event: throw error on insertion Alex Gleason 2024-08-09 12:47:59 -05:00
  • 9b68d2d08a
    publishEvent: throw errors Alex Gleason 2024-08-09 12:44:25 -05:00
  • c7a59b50d0
    Fix account search Alex Gleason 2024-08-08 18:41:29 -05:00
  • 800e20a143
    Convert og:description to plaintext Alex Gleason 2024-08-07 21:36:02 -05:00
  • a46c352d3d Merge branch 'opengraph-metadata' into 'main' Alex Gleason 2024-08-08 02:22:01 +00:00
  • 313c37564c
    Add MastodonAttachment type Alex Gleason 2024-08-07 21:19:04 -05:00
  • efc121a4ae
    Fallback to favicon.ico in link previews Alex Gleason 2024-08-07 21:10:31 -05:00
  • 15c46ec3f0
    Rework nginx file again for link previews Alex Gleason 2024-08-07 21:08:03 -05:00
  • 2f2fda2ac3
    Render OG data on every page Alex Gleason 2024-08-07 21:06:51 -05:00
  • 5f1b87c3b6
    Pretend to be WhatsApp when fetching links Alex Gleason 2024-08-07 21:00:07 -05:00
  • ba241f0431
    Rework opengraph Alex Gleason 2024-08-07 20:47:53 -05:00
  • 72970bf480
    Code style changes Alex Gleason 2024-08-07 18:50:32 -05:00
  • 020736fd47
    Escape @ in SSR routes Alex Gleason 2024-08-07 18:19:39 -05:00
  • 349f59cc70
    Merge remote-tracking branch 'origin/main' into opengraph-metadata Alex Gleason 2024-08-07 18:19:13 -05:00
  • e264d6116c Merge branch 'search-fixes' into 'main' Alex Gleason 2024-08-07 23:11:20 +00:00
  • 2e38a7b9ec
    mentionsCompat: wrap each mention in an h-card span Alex Gleason 2024-08-07 17:54:45 -05:00
  • ab17be219c
    Fix parseNoteContent test Alex Gleason 2024-08-07 17:37:44 -05:00
  • 2f5b4557b7
    compatMentions: remove post author and explicit text mentions Alex Gleason 2024-08-07 17:34:36 -05:00
  • 529e61be6d
    Return properly formatted mentions in Status API Alex Gleason 2024-08-07 17:27:22 -05:00
  • a24c119c7b
    accountSearchController: actually use the looked up event, whoops Alex Gleason 2024-08-07 16:56:15 -05:00
  • fd90c199f5
    search: fix lookupPubkey for account search endpoint Alex Gleason 2024-08-07 16:44:32 -05:00
  • 8f5ec50a25
    search: fix nip05 lookups Alex Gleason 2024-08-07 16:41:46 -05:00
  • bc603188fa
    extractBech32 -> extractIdentifier, support extracting nip05 names Alex Gleason 2024-08-07 16:22:10 -05:00
  • d3780037df
    search: escape @ signs in matchers Alex Gleason 2024-08-07 16:05:04 -05:00
  • ff900341d5
    Match every possible goddamn URL format in search Alex Gleason 2024-08-07 15:53:59 -05:00
  • dbd40357af
    Mimic Mastodon's uri/url fields exactly on Accounts and Statuses Alex Gleason 2024-08-07 15:23:33 -05:00
  • 8f704e4ea2
    Fix account URL lookup with @ in the URL Alex Gleason 2024-08-07 14:52:13 -05:00
  • 385127761d
    Strictly follow Mastodon API's way of only returning one result of a lookup succeeds Alex Gleason 2024-08-07 14:41:16 -05:00
  • 717fd6bdc9 Merge branch 'zap-tag-endpoint-by-id' into 'main' Alex Gleason 2024-08-07 17:36:09 +00:00
  • cdee2604a1
    Apply same search improvements to accountSearchController Alex Gleason 2024-08-07 12:31:22 -05:00
  • 10052230e5 refactor: rename getZapSplitsOfStatusController to statusZapSplitsController P. Reis 2024-08-07 14:24:32 -03:00
  • 1efd4fad12
    search: parse bech32 ids from pasted URLs Alex Gleason 2024-08-07 12:11:13 -05:00
  • b3eb65f5ce Merge branch 'app-redirect' into 'main' Alex Gleason 2024-08-07 00:57:51 +00:00
  • 9c645cf616
    createAppController: parse formdata body Alex Gleason 2024-08-06 19:47:26 -05:00
  • d572a43b5a Merge branch 'pagination-compat' into 'main' Alex Gleason 2024-08-07 00:24:17 +00:00
  • 5d6ab9f63b
    Separate listPagination Alex Gleason 2024-08-06 19:04:27 -05:00
  • 32cecb5e6b feat: create zap split endpoint based in post/status id P. Reis 2024-08-06 20:55:40 -03:00
  • d285b7dced
    Fix Mastodon legacy pagination Alex Gleason 2024-08-06 18:17:03 -05:00
  • 09ea0856a6
    renderRelationship: delete accidental comment left in Alex Gleason 2024-08-06 15:58:04 -05:00
  • 6ae48e60e5 Merge branch 'relationships-perf' into 'main' Alex Gleason 2024-08-06 20:46:09 +00:00
  • 41bcd77853
    Optimize relationships database calls Alex Gleason 2024-08-06 15:34:10 -05:00
  • 75935d0b53 Merge branch 'nostrify-30' into 'main' Alex Gleason 2024-08-05 20:48:59 +00:00
  • db6417bad9
    Upgrade to Nostrify v0.30.0 Alex Gleason 2024-08-05 15:45:02 -05:00
  • 612c845f95
    get rid of r() and RawHtml from html.ts Siddharth Singh 2024-08-06 01:51:43 +05:30
  • 16f4048604
    way better logging Siddharth Singh 2024-08-06 01:25:39 +05:30
  • 166106b12b
    even better kind 0 handling Siddharth Singh 2024-08-06 00:56:27 +05:30
  • b2136b35e8 Merge branch 'move-get-zap-split-to-new-endpoint' into 'main' Alex Gleason 2024-08-05 19:23:56 +00:00
  • bce404728b refactor: rename zap_split to dittoZapSplit P. Reis 2024-08-05 16:20:38 -03:00
  • 2283f64204
    regex guard around opengraph routes Siddharth Singh 2024-08-06 00:45:28 +05:30
  • f48d8e0a66
    use Object.assign to fill template opts Siddharth Singh 2024-08-06 00:37:14 +05:30
  • af70065d84
    yet another typo fix Siddharth Singh 2024-08-06 00:32:13 +05:30
  • 4f8ebb95f3
    hex regex typo fix Siddharth Singh 2024-08-06 00:26:04 +05:30
  • 6691908fc4
    typo Siddharth Singh 2024-08-06 00:20:58 +05:30
  • aa0727a96d
    acct can be a bare pubkey Siddharth Singh 2024-08-06 00:20:05 +05:30
  • f6bd7fc3a5
    fail gracefully if getHandle fails to fetch profile Siddharth Singh 2024-08-05 23:23:13 +05:30
  • 0a3ed4e160 refactor(zap split): rename amount to weight P. Reis 2024-08-05 14:33:47 -03:00
  • c109d06a6e
    better getHandle Siddharth Singh 2024-08-05 23:00:08 +05:30
  • 25bbeceb8d refactor: rename zap_splits_mastodon to zapSplitEntity P. Reis 2024-08-05 14:29:30 -03:00
  • 9a96582bfc
    catch errors while building opengraph metadata to allow _some_ metadata to make it out still Siddharth Singh 2024-08-05 22:36:48 +05:30
  • 18e0c990e4
    add ditto favicon to default metadata Siddharth Singh 2024-08-05 22:35:55 +05:30
  • 00fe609ef1
    fix naked pubkey test regex Siddharth Singh 2024-08-05 21:36:49 +05:30
  • 2f9dd7e9a2
    more logging Siddharth Singh 2024-08-05 21:34:20 +05:30
  • a3012d341b
    log stuff Siddharth Singh 2024-08-05 21:32:44 +05:30
  • 9175596d5f
    use nip27 replacer instead of janky regex Siddharth Singh 2024-08-05 20:24:03 +05:30
  • e4f24c3b26
    format Siddharth Singh 2024-08-05 20:18:49 +05:30
  • 7c56b9dad8
    use stickynotes, move storages.db to inside buildTemplateOpts Siddharth Singh 2024-08-05 20:18:16 +05:30
  • 85b54e81be
    ignore OG metadata errors Siddharth Singh 2024-08-05 20:14:43 +05:30
  • 2ad81d3fbf
    sort imports Siddharth Singh 2024-08-05 20:07:08 +05:30
  • 33da9a41b2
    rewrite metadata generation Siddharth Singh 2024-08-05 20:04:26 +05:30
  • 5785f07052
    tpl --> metadataView Siddharth Singh 2024-08-05 20:02:03 +05:30
  • c7e5aed679
    move parseAndVerifyNip05 to utils/nip05 Siddharth Singh 2024-08-05 18:12:53 +05:30
  • 29d7495c39
    add site property to OpenGraphTemplateOpts Siddharth Singh 2024-08-05 15:43:56 +05:30
  • 7e2217ccd8
    use entities escape instead of shitty custom one Siddharth Singh 2024-08-05 15:42:32 +05:30
  • 0706f53b9f
    sort imports by path Siddharth Singh 2024-08-05 15:18:17 +05:30
  • c863655b4d
    sort imports by path Siddharth Singh 2024-08-05 15:15:48 +05:30
  • c0a6d48d55
    rename OG_META_PLACEHOLDER --> META_PLACEHOLDER Siddharth Singh 2024-08-05 15:14:51 +05:30
  • 2cafc2014f
    remove cf from lockfile Siddharth Singh 2024-08-05 15:13:09 +05:30
  • 4c83d6d1b2
    Do frontendController like I want to Alex Gleason 2024-08-04 13:26:05 -05:00
  • 95ef308d0e
    fix typo in nip05 cleaner regex Siddharth Singh 2024-08-04 12:25:30 +05:30
  • 8b8a801da8
    handle underscores in nip05 correctly Siddharth Singh 2024-08-04 12:21:31 +05:30
  • b95e31cd5d
    rework kind 0 handling Siddharth Singh 2024-08-04 12:07:24 +05:30
  • 6aa49c12e1
    steal html util from campfire, remove external dependency on cf Siddharth Singh 2024-08-04 11:10:33 +05:30
  • 77d73c47ee
    move a bunch of utils to their own file Siddharth Singh 2024-08-04 11:07:29 +05:30
  • 435ca60b0d
    update todo Siddharth Singh 2024-08-04 05:52:51 +05:30
  • 7aaa1bc030
    generate metadata for bech32 encoded entities Siddharth Singh 2024-08-04 05:52:24 +05:30
  • 80f8932513
    send profile pictures where possible Siddharth Singh 2024-08-04 04:54:50 +05:30
  • 8c9facdad7
    remove unnecessary logs and use nip05s if avl Siddharth Singh 2024-08-04 04:49:24 +05:30
  • baa6e318f3
    remove premature optimization in serveStaticWithOG Siddharth Singh 2024-08-04 04:43:47 +05:30
  • 5ee0c1e852
    opengraphMiddleware.ts --> serveStaticWithOG.ts Siddharth Singh 2024-08-04 04:36:36 +05:30
  • b8eb549190
    opengraphFrontendController --> serveStaticWithOG Siddharth Singh 2024-08-04 04:35:56 +05:30