Commit graph

  • 443cede73e Merge branch 'admin-relay-api' into 'main' Alex Gleason 2024-04-24 01:14:24 +00:00
  • a1423bbf65
    Fix hydrateEvents, lol Alex Gleason 2024-04-23 20:11:07 -05:00
  • 191b370c85
    hydrate.test: remove unnecessary boilerplate Alex Gleason 2024-04-23 19:50:23 -05:00
  • 0aab3eb775
    Rewrite hydrateEvents Alex Gleason 2024-04-23 19:31:40 -05:00
  • cbf1e8f280
    Add admin:role CLI task Alex Gleason 2024-04-23 18:13:18 -05:00
  • b73b964fda
    Add a better admin:event script Alex Gleason 2024-04-23 17:32:24 -05:00
  • 3204b61f0b
    Add an API to manage admin relays Alex Gleason 2024-04-23 16:21:36 -05:00
  • 5d84566385 Merge branch 'perf-hydrate-events' into 'main' Alex Gleason 2024-04-23 20:24:55 +00:00
  • 58d75d1939 fix: hydrate events stats and author stats with filter by kind P. Reis 2024-04-23 17:16:15 -03:00
  • 6c74ce9c12 Merge branch 'zod-alias' into 'main' Alex Gleason 2024-04-23 20:07:45 +00:00
  • 5fca482e5c refactor(hydrate events): change array to Map P. Reis 2024-04-23 15:56:35 -03:00
  • 0f9cc9fe51
    zod import alias Alex Gleason 2024-04-23 15:03:20 -05:00
  • b1309c4ec3
    microFilterSchema: allow limit property microfilter-limit Alex Gleason 2024-04-23 12:08:00 -05:00
  • 3557102b08
    deno.json: simplify unstable support (and enable Deno.Kv) Alex Gleason 2024-04-23 01:36:03 -05:00
  • a53a21ffcf
    pipeline: print policy result Alex Gleason 2024-04-23 01:29:18 -05:00
  • e5dd4c587c Merge branch 'policy-plugin' into 'main' Alex Gleason 2024-04-23 06:14:42 +00:00
  • 69178ae523
    Load a custom policy from data/policy.ts Alex Gleason 2024-04-23 01:11:37 -05:00
  • 7a12e5ec7b test: rough adapt tests for new performance hydratation P. Reis 2024-04-22 22:00:28 -03:00
  • c7b84e5438 test: kind 6 fixture P. Reis 2024-04-22 20:59:50 -03:00
  • 51f24fed87 test: kind 1 (normal post) fixture P. Reis 2024-04-22 20:59:23 -03:00
  • 351d81f2c8 test: kind 1 (quote repost) fixture P. Reis 2024-04-22 20:58:35 -03:00
  • 90eb6ede2b test: kind 0 (user 'me') fixture P. Reis 2024-04-22 20:56:41 -03:00
  • 062e21e8a8 test: remove 'hydrate quote repost WITHOUT hydrate author' P. Reis 2024-04-22 19:52:11 -03:00
  • b77c8a00cd perf: make up to 5 calls to database in hydrateEvents & remove old hydrate functions P. Reis 2024-04-22 19:51:29 -03:00
  • 621f0b2850 test: add test for hydrate repost of quote repost fix-repost-with-quote-repost P. Reis 2024-04-21 19:54:21 -03:00
  • 2c01234263 fix: hydrate quote repost if required in hydrate repost P. Reis 2024-04-21 19:51:39 -03:00
  • ed08ac7c17 Merge branch 'feat-search-account-with-no-kind-0' into 'main' Alex Gleason 2024-04-21 01:44:16 +00:00
  • 12b030c8aa refactor: decode pubkey with right import in search account P. Reis 2024-04-20 21:52:36 -03:00
  • 49f06869a3 feat: render account from pubkey if no kind 0 exists - /v2/search P. Reis 2024-04-20 21:26:05 -03:00
  • 60a1ff7adc feat: render account from pubkey if no kind 0 exists - /v1/accounts/search P. Reis 2024-04-20 20:58:12 -03:00
  • 1c126425ac Merge branch 'hono-alias' into 'main' Alex Gleason 2024-04-20 23:57:43 +00:00
  • 64d50552b7
    Import hono with an import alias Alex Gleason 2024-04-20 18:54:15 -05:00
  • 270dbab456 Merge branch 'appcontroller-type' into 'main' Alex Gleason 2024-04-20 23:53:03 +00:00
  • 505a9bced1
    Fix type of AppController Alex Gleason 2024-04-20 18:47:34 -05:00
  • ad33fec129 Merge branch 'postgresql' into 'main' Alex Gleason 2024-04-20 02:23:34 +00:00
  • 0ddb1782e5
    DittoDB: support postgresql: protocol Alex Gleason 2024-04-19 21:20:35 -05:00
  • aeaa236518 Merge branch 'postgres' into 'main' Alex Gleason 2024-04-20 02:13:08 +00:00
  • 80e554a5c9
    Update deno.json imports Alex Gleason 2024-04-19 21:08:13 -05:00
  • 9ccf6bbea0
    Mold the things to work with Postgres Alex Gleason 2024-04-19 20:52:42 -05:00
  • b87a59c521
    Merge remote-tracking branch 'origin/main' into postgres Alex Gleason 2024-04-19 18:32:02 -05:00
  • 9632b5cc96 Merge branch 'refactor-utils-import' into 'main' Alex Gleason 2024-04-19 22:55:22 +00:00
  • bbe8df8217 refactor(utils): resolve import specifier via the active import map P. Reis 2024-04-19 19:46:42 -03:00
  • 11e81f0000 Merge branch 'nostrify' into 'main' Alex Gleason 2024-04-19 21:42:17 +00:00
  • 9c91e41e87
    Switch NSpec to Nostrify, update imports Alex Gleason 2024-04-19 16:39:35 -05:00
  • 450acddc32
    Remove pragma.ts Alex Gleason 2024-04-19 15:19:49 -05:00
  • 2e41254507
    Add Postgres adapter Alex Gleason 2024-04-19 15:17:09 -05:00
  • 3753648f99
    Use new DittoDB module, rename old interface to DittoTables Alex Gleason 2024-04-19 12:26:15 -05:00
  • 4085443e45
    Add DittoDB module for selecting a database depending on the DATABASE_URL Alex Gleason 2024-04-19 12:21:32 -05:00
  • 29102d272a
    Add DittoSQLite module Alex Gleason 2024-04-19 12:14:13 -05:00
  • f6945ecd1c Merge branch 'revert-53bee767' into 'main' Alex Gleason 2024-04-19 14:40:14 +00:00
  • 1cb53bdb84 Revert "Merge branch 'rework-cache' into 'main'" Alex Gleason 2024-04-19 14:37:53 +00:00
  • dd3604908b Merge branch 'fix-reblogged-always-on' into 'main' Alex Gleason 2024-04-19 14:21:10 +00:00
  • e2b377d9c7 fix: reblogged field boolean value takes into account viewerPubkey P. Reis 2024-04-19 11:12:11 -03:00
  • ae5fe1e0ac fix: hydrate event_stats in hydrateRepostEvents() P. Reis 2024-04-19 10:23:34 -03:00
  • 6555675ef3 Merge branch 'database-url' into 'main' Alex Gleason 2024-04-19 03:14:53 +00:00
  • e458f8da13
    Introduce DATABASE_URL Alex Gleason 2024-04-18 22:00:02 -05:00
  • b5844ff06e fix: resolve updateCache() so race condition does not happen fix-race-condition P. Reis 2024-04-18 20:54:29 -03:00
  • 134473bf9f Merge branch 'improv-test-coverage' into 'main' Alex Gleason 2024-04-18 15:08:33 +00:00
  • 7dd6378717 test: improv code coverage in quote repost hydration P. Reis 2024-04-18 11:30:49 -03:00
  • 4ecc9c75b9 draft: proof of concept InsertQueryBuilder async error attempt-fix-followers-count P. Reis 2024-04-18 10:34:12 -03:00
  • c62c31a171
    updateStats: await getStatsDiff Alex Gleason 2024-04-17 22:58:25 -05:00
  • c43df106d8 draft: attempt to fix followers count P. Reis 2024-04-17 21:34:29 -03:00
  • a07d018ea6 Merge branch 'fix-create-status-quote-repost' into 'main' Alex Gleason 2024-04-16 18:23:35 +00:00
  • e19e41f826 fix: always populate quote_id if possible P. Reis 2024-04-16 15:16:18 -03:00
  • e4892c3e4a fix: response with quote field hydrated in create status P. Reis 2024-04-16 14:44:04 -03:00
  • 97d2fa1b79 Merge branch 'feature-quote-repost' into 'main' Alex Gleason 2024-04-16 16:57:24 +00:00
  • a00a932ec1 refactor: deno fmt in hydrate test P. Reis 2024-04-16 13:53:00 -03:00
  • ed92001b75 test: fix so copied object is used instead of original object P. Reis 2024-04-16 13:41:32 -03:00
  • 3219b53682 test: add test for hydrate quote repost without author & fix tests' parallelism problem P. Reis 2024-04-16 13:25:43 -03:00
  • a1ce77ef3e test: add events in fixtures dir P. Reis 2024-04-16 10:45:30 -03:00
  • 4a9232faf7 test: add test for hydrate quote repost P. Reis 2024-04-16 09:31:03 -03:00
  • d5007162e4 refactor(hydrate): remove empty lines P. Reis 2024-04-15 17:25:18 -03:00
  • a993051439 refactor: pass abort signal in hydrateRepostEvents P. Reis 2024-04-15 17:12:06 -03:00
  • 6248272243 feat: add quote repost P. Reis 2024-04-15 17:10:25 -03:00
  • b54d044550 Merge branch 'refactor-hydrate-repost' into 'main' Alex Gleason 2024-04-15 13:52:58 +00:00
  • e77fd7d48b refactor: hydrate authors through hydrateEvents() call P. Reis 2024-04-15 10:49:10 -03:00
  • 220bbeaba8 Merge branch 'test-hydrate' into 'main' Alex Gleason 2024-04-15 13:36:05 +00:00
  • b9c1d0c5fb refactor(hydrate test): cast event as DittoEvent instead of any P. Reis 2024-04-14 22:44:37 -03:00
  • b79f8bef30 test: add test for hydrate repost P. Reis 2024-04-14 21:02:57 -03:00
  • dd53a111db test: add test to hydrate authors P. Reis 2024-04-14 19:03:38 -03:00
  • f9831ba74a refactor(events-db-test): resolve import specifier via the active import map P. Reis 2024-04-14 10:32:22 -03:00
  • fe6b42211c Merge branch 'perf-hydrate-repost' into 'main' Alex Gleason 2024-04-13 21:37:54 +00:00
  • 15853d79df refactor: remove kind 1 event from hydrateEvents in reblog controller P. Reis 2024-04-13 18:31:30 -03:00
  • 37bee709cd perf: hydrate repost events in reblog endpoint & streaming P. Reis 2024-04-13 18:16:15 -03:00
  • 53bee767f9 Merge branch 'rework-cache' into 'main' Alex Gleason 2024-04-13 19:39:13 +00:00
  • ff3d8e3f90
    cache: use the old response body to prevent memory leaks Alex Gleason 2024-04-13 14:36:31 -05:00
  • afed0a0b34
    cache: serve stale response Alex Gleason 2024-04-13 14:33:59 -05:00
  • 6ab3a640bf
    Rework cache middleware to use in-memory cache, remove ExpiringCache module Alex Gleason 2024-04-13 14:00:21 -05:00
  • a738ed3d4d Merge branch 'instance-cache' into 'main' Alex Gleason 2024-04-13 18:30:40 +00:00
  • 6aa877d930
    Cache /api/v1/instance for 5 minutes Alex Gleason 2024-04-13 13:28:08 -05:00
  • 24efca5ea0 perf: hydrate repost event in home timeline P. Reis 2024-04-12 21:51:57 -03:00
  • 581ecd67d6 refactor(server): resolve import specifier via the active import map P. Reis 2024-04-12 21:34:32 -03:00
  • 0f4c76c761 refactor(fetch test): resolve import specifier via the active import map P. Reis 2024-04-12 14:26:45 -03:00
  • a05b0dc473 Merge branch 'feat-support-quote-repost' into 'main' Alex Gleason 2024-04-12 17:10:44 +00:00
  • 073a3df17e feat: add support for quote repost P. Reis 2024-04-12 14:07:22 -03:00
  • c6dce0e86b fix: quote field go only 1 level in depth and fetch quote event from database feat-quote-repost P. Reis 2024-04-12 11:41:13 -03:00
  • 77e5f4df2c feat: quote repost P. Reis 2024-04-11 18:56:50 -03:00
  • 7c14a2d5ef Merge branch 'fix-repost-counter' into 'main' Alex Gleason 2024-04-11 14:45:13 +00:00
  • 3ebcf7ea25 refactor: undo repost counter in getStatsDiff P. Reis 2024-04-11 09:53:24 -03:00
  • cdb0d817ed fix: repost counter works when undo repost P. Reis 2024-04-10 19:15:24 -03:00