Commit graph

  • a5369d9826
    Ensure relations are loaded throughout the API where needed Alex Gleason 2023-12-10 16:21:18 -06:00
  • 733b8ba9c5
    pubkey_stats --> author_stats Alex Gleason 2023-12-10 16:04:52 -06:00
  • 07dc07ab71
    Simplify author_stats relation Alex Gleason 2023-12-10 15:54:31 -06:00
  • 5415656b4d
    Make author_stats and event_stats two separate keys on an event Alex Gleason 2023-12-10 15:40:05 -06:00
  • a48c1e51e1
    stats: fix queries getting stuck Alex Gleason 2023-12-10 15:33:01 -06:00
  • 6a92c5135d
    db/events: support 'stats' relation Alex Gleason 2023-12-10 15:02:19 -06:00
  • 21b6a02ff3
    views: avoid counting directly in the view, take from the event object if it has it Alex Gleason 2023-12-10 14:27:15 -06:00
  • 3147496d78
    Merge remote-tracking branch 'origin/main' into stats Alex Gleason 2023-12-10 14:05:14 -06:00
  • 8b03d492a1
    stats: add migration for stats tables Alex Gleason 2023-12-10 14:03:01 -06:00
  • 0f10a7c3a2
    stats: refactor inReplyToId Alex Gleason 2023-12-10 13:58:35 -06:00
  • 7167553afe
    stats: switch to a system based on diff tuples Alex Gleason 2023-12-10 13:53:51 -06:00
  • a8944dd7ea
    stats: support multiple values Alex Gleason 2023-12-10 13:12:35 -06:00
  • eca923d7c8
    stats: make the logic kind of make sense Alex Gleason 2023-12-10 11:43:41 -06:00
  • bababe56f3
    stats: update note count Alex Gleason 2023-12-10 11:10:11 -06:00
  • 2ab7616795
    Upgrade Deno to v1.38.5 Alex Gleason 2023-12-10 10:47:13 -06:00
  • 0724a2744f Merge branch 'event-relations' into 'main' Alex Gleason 2023-12-08 01:47:24 +00:00
  • de9fecaf65
    Add a stats module (draft) Alex Gleason 2023-12-07 18:43:24 -06:00
  • 2157822c7f Merge branch 'sentry-queries' into 'main' Alex Gleason 2023-12-07 18:25:22 +00:00
  • c532f54ea6
    Track queries with Sentry Alex Gleason 2023-12-06 14:49:01 -06:00
  • 6993f20d0a
    sqlite: try increasing size and concurrency worker-pool Alex Gleason 2023-12-06 21:22:37 -06:00
  • c36e8de0ed
    sqlite: remove size opt Alex Gleason 2023-12-06 21:18:42 -06:00
  • 80863874ae
    Switch to our fixed version of threads.js, cron: don't do cleanup on start (before the db is initialized) Alex Gleason 2023-12-06 21:16:53 -06:00
  • 9000d4fc0a
    Rewrite sqlite worker to use threads.js worker pool Alex Gleason 2023-12-06 16:31:17 -06:00
  • f50a78f978
    db/events: don't return author unless it exists Alex Gleason 2023-12-06 13:06:13 -06:00
  • a6947441fc
    renderStatus: don't fetch the author, expect it to be passed in Alex Gleason 2023-12-06 12:04:24 -06:00
  • 7d2813b214
    extra --> relations, move it back to a filter option Alex Gleason 2023-12-05 22:06:27 -06:00
  • 22b1d730eb
    with --> extra Alex Gleason 2023-12-05 19:40:40 -06:00
  • 8b4621ddfb
    Merge remote-tracking branch 'origin/main' into with_authors Alex Gleason 2023-12-05 19:18:53 -06:00
  • 709675754c Merge branch 'limit-fix' into 'main' Alex Gleason 2023-12-06 00:32:33 +00:00
  • a6bf5f47cd
    db/events: fix limit not being applied correctly Alex Gleason 2023-12-05 18:22:12 -06:00
  • 2478545cd3
    with_authors --> with: With[] Alex Gleason 2023-12-05 17:27:52 -06:00
  • e3d5b2ac4a
    Move with_authors to GetFilterOpts instead of DittoFilter Alex Gleason 2023-12-05 17:15:08 -06:00
  • f9d3240fa8
    with_author --> with_authors Alex Gleason 2023-12-05 16:52:39 -06:00
  • b3c749d266
    db/events: add support for with_author filter Alex Gleason 2023-12-05 16:40:45 -06:00
  • df7b999bfe Merge branch 'disable-relaypool-logging' into 'main' Alex Gleason 2023-12-04 22:51:59 +00:00
  • 4b4639014b
    Upgrade nostr-relaypool to v0.6.30, disable logging Alex Gleason 2023-12-04 16:49:54 -06:00
  • 10447aed64 Merge branch 'trends-worker' into 'main' Alex Gleason 2023-12-04 22:34:41 +00:00
  • d569dfd5b5
    Add TrendsWorker for tracking/querying trending tags with a Web Worker Alex Gleason 2023-12-04 16:33:02 -06:00
  • 3169ad0a69 Merge branch 'trends-cache' into 'main' Alex Gleason 2023-12-04 19:23:29 +00:00
  • 86daef416f
    Cache trending tags (with code copied from Mostr) Alex Gleason 2023-12-04 13:19:20 -06:00
  • caf671983b Merge branch 'verify-worker' into 'main' Alex Gleason 2023-12-04 18:16:27 +00:00
  • bc3f4bc534
    Add verifySignatureWorker Alex Gleason 2023-12-03 16:55:34 -06:00
  • e5d6c44437 Merge branch 'sqlite-worker' into 'main' Alex Gleason 2023-12-03 21:02:34 +00:00
  • a4e7c241d0
    Rewrite SqliteWorker with Comlink Alex Gleason 2023-12-03 14:58:35 -06:00
  • 455752e656
    SqliteWorker: use SQLite path from config Alex Gleason 2023-12-02 13:18:35 -06:00
  • b168175d14
    Upgrade Deno to v1.38.4 Alex Gleason 2023-12-02 13:18:20 -06:00
  • 1ad7eeb961
    deno fmt, deno lint Alex Gleason 2023-12-01 19:28:33 -06:00
  • 89b74217b6
    Use the SqliteWorker with our new Kysely dialect Alex Gleason 2023-12-01 18:15:39 -06:00
  • 01839fbcbf
    Upgrade kysely and kysely-deno-sqlite Alex Gleason 2023-12-01 17:57:01 -06:00
  • 01886059ab
    Merge remote-tracking branch 'origin/main' into sqlite-worker Alex Gleason 2023-11-29 15:11:21 -06:00
  • 4ca3f1768b Merge branch 'fetchworker-init' into 'main' Alex Gleason 2023-11-29 20:02:45 +00:00
  • 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
  • 91c9769cf1
    Switch to @sentry/deno, upgrade to latest version upgrade-sentry Alex Gleason 2023-11-20 18:58:40 -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
  • d2a4862a2a
    nip05: add debugging output nip05-debug Alex Gleason 2023-10-14 16:26:50 -05: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
  • 121de85a84
    Try wrapping slow queries in transaction trx Alex Gleason 2023-10-11 19:37:52 -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
  • 1c51e3b27c
    Disable mixer, just take events from the db deno-sqlite3 Alex Gleason 2023-10-09 11:37:35 -05:00
  • 49b056a4bd
    Experiment: try switching to deno-sqlite3 Alex Gleason 2023-10-09 11:20:48 -05:00
  • 1474050721
    Disable stats for now (performance) disable-stats Alex Gleason 2023-10-08 23:33:45 -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