Commit Graph

  • 1232c5a838 fetchWorker: Array.from --> [...] Alex Gleason 2023-11-29 13:04:22 -06:00
  • 86749cc285 fetchWorker: return response as ArrayBuffer Alex Gleason 2023-11-29 13:03:55 -06:00
  • 99964c4d0e fetchWorker: support POST'ing (and FormData) Alex Gleason 2023-11-29 13:01:48 -06:00
  • 06a2eaf8c3 Merge branch 'fetchworker-abort' into 'main' Alex Gleason 2023-11-29 03:34:45 +00:00
  • da3efaa5bc fetchWorker: support RequestInit Alex Gleason 2023-11-28 20:55:43 -06:00
  • 5a954a304d Merge branch 'fetch-worker' into 'main' Alex Gleason 2023-11-29 01:00:29 +00:00
  • 3a85e3f8bf Add fetchWorker for fetching off the main thread Alex Gleason 2023-11-28 18:44:23 -06:00
  • 81971df7fd Merge branch 'signup-pow' into 'main' Alex Gleason 2023-11-21 03:22:31 +00:00
  • 595fb2cfc6 eventMatchesTemplate: let the event timestamp be greater than the template Alex Gleason 2023-11-20 21:20:14 -06:00
  • e55ddbd8e6 eventMatchesTemplate: drop nonce tags before comparison Alex Gleason 2023-11-20 19:57:03 -06:00
  • f4e334b5ff Require POW on signup Alex Gleason 2023-11-20 17:57:47 -06:00
  • 944c2a401d Merge branch 'sentry-deno' into 'main' Alex Gleason 2023-11-21 01:27:57 +00:00
  • 3cdfbac4a1 Switch to sentry-deno Alex Gleason 2023-11-20 19:25:16 -06:00
  • cecb225f42 Merge branch 'sign-pow' into 'main' Alex Gleason 2023-11-20 18:52:26 +00:00
  • 5b030c99c5 Upgrade Hono to v3.10.1 Alex Gleason 2023-11-20 12:42:18 -06:00
  • c1bf326981 c.req.headers.get --> c.req.header, hono deprecation Alex Gleason 2023-11-20 12:39:20 -06:00
  • bedc8fdf91 Upgrade nostr-tools to v1.17.0 Alex Gleason 2023-11-20 12:35:58 -06:00
  • 6868f39719 NIP-46: request target proof-of-work difficulty when signing events Alex Gleason 2023-11-20 12:34:19 -06:00
  • ae56d059b1 SqliteWorker: return query result instead of rows for query Alex Gleason 2023-11-15 19:23:24 -06:00
  • e601c43197 deno fmt Alex Gleason 2023-11-15 17:09:53 -06:00
  • 71e8d26195 SqliteWorker: wait until worker is ready Alex Gleason 2023-11-15 17:09:30 -06:00
  • 87980bbba1 Add an SqliteWorker Alex Gleason 2023-11-15 16:22:57 -06:00
  • 7ed34a0906 Merge branch 'wal' into 'main' Alex Gleason 2023-10-12 05:07:48 +00:00
  • 1b8a2d764c Fix tests Alex Gleason 2023-10-11 23:50:11 -05:00
  • 079cdcf7d7 deno lint Alex Gleason 2023-10-11 23:48:01 -05:00
  • 9686469c28 Move PRAGMA utils to a separate file, log out PRAGMA values on start Alex Gleason 2023-10-11 23:44:28 -05:00
  • f35d38d83b Refactor pragmas Alex Gleason 2023-10-11 23:34:59 -05:00
  • d63de0ad0b Set SQLite PRAGMAs on start Alex Gleason 2023-10-11 23:03:56 -05:00
  • 149f8f6f04 Enable WAL mode on the database Alex Gleason 2023-10-11 22:30:07 -05:00
  • 7ec028465e Merge branch 'nginx-static' into 'main' Alex Gleason 2023-10-12 02:35:11 +00:00
  • 3da30b4f6e Serve static files from nginx Alex Gleason 2023-10-11 21:31:53 -05:00
  • fe99e4a053 Merge branch 'sqlite3' into 'main' Alex Gleason 2023-10-11 21:26:53 +00:00
  • 5cb87a0fd9 db/events: fix catching UNIQUE violations Alex Gleason 2023-10-11 16:24:10 -05:00
  • 451b77d6c4 Switch main database to Deno SQLite3 Alex Gleason 2023-10-11 15:49:47 -05:00
  • 6c2c9541be Merge branch 'no-pool-queries' into 'main' Alex Gleason 2023-10-09 18:38:11 +00:00
  • 9cd0a9bf22 Stop querying the pool Alex Gleason 2023-10-09 13:17:02 -05:00
  • 24cbc50c1b mixer: stop querying relays Alex Gleason 2023-10-09 13:15:02 -05:00
  • a0ebd80c7e Merge branch 'views' into 'main' Alex Gleason 2023-10-06 20:52:36 +00:00
  • 45d42f7ea4 Delete nostr-to-mastoapi.ts, add notifications.ts and relationships.ts Alex Gleason 2023-10-06 15:40:34 -05:00
  • d49c63bb1a Move statuses view into its own file Alex Gleason 2023-10-06 15:37:31 -05:00
  • 0b77e7d888 Add views/mastodon/accounts.ts, views/mastodon/emojis.ts Alex Gleason 2023-10-06 15:28:02 -05:00
  • cb1141784e views.ts: fix wrong import of toAccount Alex Gleason 2023-10-06 15:19:27 -05:00
  • 981d0ee693 views/attachment.ts -> views/mastodon/attachments.ts Alex Gleason 2023-10-06 15:19:13 -05:00
  • 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
  • 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' 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' 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
  • 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
  • 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