Commit graph

  • 180fdbd1c9
    nostr-to-activitypub.ts --> activitypub/actor.ts Alex Gleason 2023-10-06 15:09:01 -05:00
  • 1662f616ef
    Move unfurl code to a separate module Alex Gleason 2023-10-06 13:29:25 -05:00
  • db17f84937
    Move emojiTagSchema into schemas/nostr.ts Alex Gleason 2023-10-06 12:39:22 -05:00
  • 9ca3ec08a3
    Delete transformers directory, rename views Alex Gleason 2023-10-06 12:02:24 -05:00
  • 8a244edad5 Merge branch 'docs-debug' into 'main' Alex Gleason 2023-10-06 02:03:29 +00:00
  • e4f1f0dc53
    Add debugging.md Alex Gleason 2023-10-05 21:01:13 -05:00
  • f611a94144 Merge branch 'deno-v1.37.1' into 'main' Alex Gleason 2023-10-06 01:20:26 +00:00
  • 1c96d48106
    Upgrade Deno to v1.37.1 Alex Gleason 2023-10-05 20:18:03 -05:00
  • 11d4d7e549 Merge branch 'sentry' into 'main' Alex Gleason 2023-10-06 01:07:05 +00:00
  • a15e28e48f
    Add Sentry hono middleware Alex Gleason 2023-10-05 19:58:47 -05:00
  • 980e20ac35 Merge branch 'sentry' into 'main' Alex Gleason 2023-10-05 21:10:08 +00:00
  • d646598879
    Add Sentry integration Alex Gleason 2023-10-05 16:08:12 -05:00
  • 97ac6968d6
    timelines: use the database directly, don't use the mixer timelines-no-mixer Alex Gleason 2023-10-05 12:01:20 -05:00
  • 7a8cc9b46e Merge branch 'machina' into 'main' Alex Gleason 2023-10-04 22:20:48 +00:00
  • 233f671326
    Subscription: fix it with nostr-machina Alex Gleason 2023-10-04 16:09:23 -05:00
  • 5847d95121 Merge branch 'fix-local-filter' into 'develop' develop Alex Gleason 2023-09-12 00:47:31 +00:00
  • 0f9ff5bcaa
    relay: fix querying by ids and authors Alex Gleason 2023-09-11 19:45:27 -05:00
  • 334814056b Merge branch 'nip05-set' into 'develop' v0.1.0-alpha.1 Alex Gleason 2023-09-11 23:48:06 +00:00
  • 62ac9bffa3
    accounts: set nip05 during update_credentials Alex Gleason 2023-09-11 18:44:44 -05:00
  • 3394474ee2 Merge branch 'upload-avatar' into 'develop' Alex Gleason 2023-09-11 23:03:37 +00:00
  • 93d8e0b22b
    accounts: support updating avatar and banner Alex Gleason 2023-09-11 18:02:17 -05:00
  • d2760bc706
    media: refactor upload code into a separate module Alex Gleason 2023-09-11 17:49:38 -05:00
  • 55d5197136
    timelines: 3 seconds --> 1 second Alex Gleason 2023-09-11 17:26:47 -05:00
  • 5e9ea6d579 Merge branch 'put-media' into 'develop' Alex Gleason 2023-09-11 20:38:01 +00:00
  • cdfdcb19bb Merge branch 'static' into 'develop' Alex Gleason 2023-09-11 20:37:59 +00:00
  • a44fb4c84f
    Use default avatar and banner from repo, instead of linking out to image Alex Gleason 2023-09-11 15:36:09 -05:00
  • 34b022ea51 Merge branch 'csp-remote-media' into 'develop' Alex Gleason 2023-09-11 20:18:51 +00:00
  • 737c9f0364
    csp: load any media over https, not just local media Alex Gleason 2023-09-11 15:16:26 -05:00
  • 6382f98a5e Merge branch 'installation' into 'develop' Alex Gleason 2023-09-11 20:11:11 +00:00
  • 3637eff468
    installation: add nginx file Alex Gleason 2023-09-11 15:09:20 -05:00
  • 35d8b83b10
    Add installation files Alex Gleason 2023-09-11 14:42:39 -05:00
  • 94671b6a98
    s3: create the client instance from a function each time (so missing config doesn't crash it) Alex Gleason 2023-09-11 14:41:30 -05:00
  • c20e0a0200 Merge branch 'registrations' into 'develop' Alex Gleason 2023-09-11 17:59:28 +00:00
  • ef96fa539a
    Render status account from pubkey Alex Gleason 2023-09-11 09:46:41 -05:00
  • 31114b6094
    accounts: return a blank account for verify_credentials if it isn't resolved Alex Gleason 2023-09-11 09:08:15 -05:00
  • 1b2f4d9a54
    accounts: return token after registering account Alex Gleason 2023-09-11 07:17:00 -05:00
  • 10a804b60e
    Remove POW requirement for now Alex Gleason 2023-09-11 05:57:50 -05:00
  • bacb872a18
    Add /api not implemented controller Alex Gleason 2023-09-11 04:55:15 -05:00
  • a5bf09ed2b
    Resolve any file in public/ Alex Gleason 2023-09-11 04:14:08 -05:00
  • 9cda8e3000
    csp: use template literals to avoid escaping single quotes Alex Gleason 2023-09-11 04:07:54 -05:00
  • 4310bb7157
    Add a CSP Alex Gleason 2023-09-11 04:04:55 -05:00
  • 8a9f8454bf
    Serve a frontend through Ditto Alex Gleason 2023-09-11 00:19:56 -05:00
  • 82c4f0827e
    Make registrations configurable by env Alex Gleason 2023-09-10 23:43:06 -05:00
  • 0adb6f5eba
    Add messages to HTTPException's Alex Gleason 2023-09-10 19:43:07 -05:00
  • 75dd2652d2
    app: remove unused account search fallback endpoint Alex Gleason 2023-09-10 19:42:41 -05:00
  • e3f11545b7
    /api/v1/acccounts --> /api/v1/accounts Alex Gleason 2023-09-10 19:23:50 -05:00
  • 2d7398e9d1
    nip98: fix pow check Alex Gleason 2023-09-10 17:11:13 -05:00
  • 607ef4b980
    Make POW configurable, expose over the API Alex Gleason 2023-09-10 15:37:32 -05:00
  • b725550fc4
    ci: remove check job, since test already does it Alex Gleason 2023-09-10 15:14:01 -05:00
  • 052c00821d
    Enable registrations, require proof-of-work Alex Gleason 2023-09-10 15:07:31 -05:00
  • bace1e9562
    WIP: PUT /api/v1/media/:id put-media Alex Gleason 2023-09-10 14:09:11 -05:00
  • 35b91812fc
    Merge branch 'media' into 'develop' Alex Gleason 2023-09-10 15:26:33 +00:00
  • b9476ccbd6
    pipeline: delete unattached-media rows when authoring an event Alex Gleason 2023-09-09 22:27:16 -05:00
  • 0d343fa190
    db/unattached-media: refactor queries, DRY Alex Gleason 2023-09-09 22:03:02 -05:00
  • 43499f2dfd
    media: add attachment view, unify types Alex Gleason 2023-09-09 21:33:12 -05:00
  • cf9a754b02
    media: pukey --> pubkey, fix adding media tags to event Alex Gleason 2023-09-09 20:12:47 -05:00
  • 0b867afd8e
    unattached-media: delete orphaned attachments after 15 minutes Alex Gleason 2023-09-09 19:27:39 -05:00
  • 46b9deffce
    utils: add ipfs module Alex Gleason 2023-09-09 19:13:42 -05:00
  • e8053ba072
    unattached-media: cid --> url Alex Gleason 2023-09-09 18:12:54 -05:00
  • c88b174d02
    Add unattached_media table, insert one when uploading a file Alex Gleason 2023-09-09 17:41:30 -05:00
  • c6b20e68f6
    db/events: refactor filterIndexableTags function Alex Gleason 2023-09-09 16:24:53 -05:00
  • f8b2efb484
    db/events: refactor insertEvent into smaller functions Alex Gleason 2023-09-09 16:08:30 -05:00
  • 96ff31719e
    db/events: pass EventData, index all media from local users Alex Gleason 2023-09-09 15:48:03 -05:00
  • d24318fd0d
    db/events: index "media" tags, rearrange conditionals to optimize processing Alex Gleason 2023-09-09 15:39:49 -05:00
  • 6e139985ac
    db/events: add a baseline 200 character limit to tag values Alex Gleason 2023-09-09 15:31:15 -05:00
  • fe08aaa2a3
    db/events: use stricter tagConditions to not pollute the database Alex Gleason 2023-09-09 15:29:17 -05:00
  • b5a84627c8
    statuses: enable posting with media attachments Alex Gleason 2023-09-08 18:45:00 -05:00
  • dcc9d05ee5
    auth98: fix nsec flow Alex Gleason 2023-09-08 18:29:26 -05:00
  • 527e276340
    Fix nip98 signing (validate proof), skip validating payload for media requests Alex Gleason 2023-09-08 18:22:38 -05:00
  • 969d8bfe7f
    Add media endpoints, require nip98 proof to upload them Alex Gleason 2023-09-08 17:00:07 -05:00
  • 2c943872a8
    media: enforce a filesize limit on uploads Alex Gleason 2023-09-08 16:48:27 -05:00
  • acc18adffb
    media: return the appropriate Attachment type Alex Gleason 2023-09-08 16:15:34 -05:00
  • 8ae89462b7
    Add a configUploader module to select the uploader based on config Alex Gleason 2023-09-08 16:04:55 -05:00
  • 34acc99000
    Add a precheck file to throw when config is wrong Alex Gleason 2023-09-08 15:48:00 -05:00
  • 4f57ac0352
    uploads: make uploader and media URL configurable Alex Gleason 2023-09-08 15:20:57 -05:00
  • 014b9f6d29
    uploaders: allow deleting files by CID Alex Gleason 2023-09-08 15:01:30 -05:00
  • c40f10539d
    ipfs: make API URL configurable, reorganize config Alex Gleason 2023-09-07 19:22:28 -05:00
  • c4af44d582
    Move s3 to separate uploader module, add ipfs uploader Alex Gleason 2023-09-07 16:59:05 -05:00
  • 4622b52f78
    mediaController: get cid, fix permissions, host on /ipfs Alex Gleason 2023-09-06 22:10:28 -05:00
  • 3fc60c78d2
    Add a mediaController for s3 uploads Alex Gleason 2023-09-06 17:55:46 -05:00
  • 4b4bfd48c7
    Merge branch 'delete' into 'develop' Alex Gleason 2023-09-06 17:34:47 +00:00
  • 5f82f4f11b
    client: use the same pool as the firehose Alex Gleason 2023-09-06 01:18:07 -05:00
  • 17c75e6761
    Move pool to a separate module (to avoid importing firehose in tests) Alex Gleason 2023-09-05 22:00:32 -05:00
  • f2ccb5254e
    cron: run cleanupEvents on startup Alex Gleason 2023-09-05 21:52:16 -05:00
  • a69b7f54f8
    pipeline: broadcast deletions to all known relays Alex Gleason 2023-09-05 21:38:15 -05:00
  • e2b88d57d9
    pipeline: process kind 5 deletion events Alex Gleason 2023-09-05 21:24:59 -05:00
  • 22ddc7b1a8
    pipeline: remove unnecessary async keyword from trackHashtags Alex Gleason 2023-09-05 20:35:58 -05:00
  • 48195f02b3
    pipeline: don't store event if a deletion for it exists Alex Gleason 2023-09-05 20:29:35 -05:00
  • 97a3478b1a
    cron: change cleanupEvents to every 15 minutes Alex Gleason 2023-09-05 17:48:50 -05:00
  • a46381849f
    db/events: delete FTS rows when deleting events Alex Gleason 2023-09-05 17:25:54 -05:00
  • a25d6c9755
    db: pragma, enable fk constraints, enable autovacuum full Alex Gleason 2023-09-05 17:25:14 -05:00
  • 02049ed9d1
    pipeline: fix isFresh comparison Alex Gleason 2023-09-05 17:10:20 -05:00
  • 5c02fd0773
    db/relays: normalize url before inserting Alex Gleason 2023-09-05 16:58:34 -05:00
  • 2ff40c8fc5
    db/events: rework tags, make event_id a FK to events again, drop value_2 and value_3 Alex Gleason 2023-09-05 16:11:38 -05:00
  • 4708839fd6
    db: improve output of migrations, exit on failure Alex Gleason 2023-09-05 16:04:23 -05:00
  • cdffe42cfd
    db/events: delete tags during deleteFilters Alex Gleason 2023-09-05 13:23:45 -05:00
  • df17f62ecb
    db/events: try fixing types in CI? Alex Gleason 2023-09-05 12:31:59 -05:00
  • aea07fd28a
    db/events: fix type error Alex Gleason 2023-09-04 22:16:43 -05:00
  • 5d19c21f51
    cron: delete old remote events every hour Alex Gleason 2023-09-04 19:45:33 -05:00
  • 08dd5fa4eb
    db/events: fix local: false filter Alex Gleason 2023-09-04 17:17:47 -05:00