Commit graph

  • 606aeb3236
    test: drop postgres tables dynamically Alex Gleason 2024-09-25 13:13:58 -05:00
  • dac11a9055 feat: filter global and local feed by language add a 'language' field in publicQuerySchema P. Reis 2024-09-25 13:56:14 -03:00
  • f44b9267ad
    Remove unused utils/ipfs.ts Alex Gleason 2024-09-25 09:47:51 -05:00
  • 657a513cf1 Merge branch 'pglite-0.2.8' into 'main' Alex Gleason 2024-09-25 14:14:14 +00:00
  • f1828bfb52
    Upgrade to pglite v0.2.8 Alex Gleason 2024-09-25 09:07:47 -05:00
  • 3ff3ba81b7 Merge branch 'zap-notification-streaming' into 'main' Alex Gleason 2024-09-24 22:50:35 +00:00
  • be88e0bc2e Merge branch 'pipeline-stats' into 'main' Alex Gleason 2024-09-24 21:54:32 +00:00
  • 9f02215c04
    Rethrow the error Alex Gleason 2024-09-24 16:20:42 -05:00
  • 3469374d8e
    pipeline: insert event even if stats fail Alex Gleason 2024-09-24 16:15:26 -05:00
  • b81ae3f043 Merge branch 'main' into zap-notification-streaming P. Reis 2024-09-24 18:12:28 -03:00
  • a7074c5c9e fix: rollback to savepoint if updateStats() function fails fix-update-stats-error P. Reis 2024-09-24 14:39:03 -03:00
  • d72ec843cf
    Add relay connections metrics Alex Gleason 2024-09-23 22:28:01 -05:00
  • fc73cb2961
    Upgrade Nostrify Alex Gleason 2024-09-23 22:16:03 -05:00
  • 6a8b22d018
    metrics: improve fetch response metrics Alex Gleason 2024-09-23 21:29:50 -05:00
  • d93025e2d6
    test deploy-annotations Alex Gleason 2024-09-23 20:40:40 -05:00
  • 26eb6c259b
    Track deployments in Prometheus Alex Gleason 2024-09-23 20:32:24 -05:00
  • f8fcb9ac77 Merge branch 'policy-signal' into 'main' Alex Gleason 2024-09-23 23:10:00 +00:00
  • fe7a8aa8a7
    Merge remote-tracking branch 'origin/main' into policy-signal Alex Gleason 2024-09-23 18:06:11 -05:00
  • 6d0611dafe
    Pass signal into policy Alex Gleason 2024-09-23 18:04:12 -05:00
  • 3dd53f71e9 Merge branch 'catch-update-stats' into 'main' Alex Gleason 2024-09-23 22:53:41 +00:00
  • 42371bcc31 fix: catch updateStats() function P. Reis 2024-09-23 17:47:55 -03:00
  • e0b966bb6d Merge branch 'add-sticky-to-relay' into 'main' Alex Gleason 2024-09-23 18:50:58 +00:00
  • 92d8f9b8c2 refactor(pipeline.ts): use correct Stickynotes, and not legacy Debug P. Reis 2024-09-23 15:36:05 -03:00
  • 60ebff45d5 refactor: use correct Stickynotes, and not legacy Debug P. Reis 2024-09-23 15:33:14 -03:00
  • 1a1adc1654 feat: add ditto:relay in /relay - sticky notes P. Reis 2024-09-23 14:47:17 -03:00
  • 70e27b04f4 Merge branch 'deno-2.0' into 'main' Alex Gleason 2024-09-22 23:35:07 +00:00
  • 8267916466
    Add back pipeline test Alex Gleason 2024-09-22 18:01:07 -05:00
  • ebce4a8b1d
    Fix a few more type errors, whoops Alex Gleason 2024-09-22 17:46:21 -05:00
  • b6e7a5529f
    Downgrade GitLab CI to rc3 for now Alex Gleason 2024-09-22 17:38:31 -05:00
  • cd66234af7
    Ugrade to Deno 2.0 Alex Gleason 2024-09-22 17:35:04 -05:00
  • cccb3ad8d7 Merge branch 'fix-lru' into 'main' Alex Gleason 2024-09-22 21:13:04 +00:00
  • 6745e96c64
    SimpleLRU: fix repeated calls fetching Alex Gleason 2024-09-22 16:06:10 -05:00
  • ce562b3b6a
    Upgrade @gleasonator/policy in deno.lock Alex Gleason 2024-09-22 14:41:34 -05:00
  • dee635235b Merge branch 'fix-streaming' into 'main' Alex Gleason 2024-09-22 16:56:08 +00:00
  • c4391ccd99
    pipeline: fix events not being pushed through streaming API Fixes https://gitlab.com/soapbox-pub/ditto/-/issues/206 Alex Gleason 2024-09-22 11:49:37 -05:00
  • 2587b57794
    grafana: add streaming API section Alex Gleason 2024-09-21 22:27:00 -05:00
  • 1be8fcbcdf Merge branch 'streaming-metrics' into 'main' Alex Gleason 2024-09-22 03:17:07 +00:00
  • 195cf9f44e
    metrics: add messages sent and received by streaming API Alex Gleason 2024-09-21 21:44:24 -05:00
  • fc7228e183
    Streaming metrics Alex Gleason 2024-09-21 21:40:52 -05:00
  • 323d97e5e0
    Upgrade @gleasonator/policy in deno.lock Alex Gleason 2024-09-21 21:01:11 -05:00
  • 4598782a38
    Upgrade @gleasonator/policy in deno.lock Alex Gleason 2024-09-21 18:12:57 -05:00
  • 7ec4be5011
    Add gleasonator-policy 0.6.0 to deno.lock Alex Gleason 2024-09-21 16:56:01 -05:00
  • 6f487c0891
    grafana: fix datasource variables Alex Gleason 2024-09-21 15:10:59 -05:00
  • 7d1b64c234 Merge branch 'relay-conn-metrics' into 'main' Alex Gleason 2024-09-21 20:09:57 +00:00
  • 5a0a2087e5
    relay: fix connection metrics Alex Gleason 2024-09-21 14:48:50 -05:00
  • 9c9b87bc94
    grafana: make caches into gauges Alex Gleason 2024-09-21 11:36:08 -05:00
  • 15372ceb43 Merge branch 'inc-cache' into 'main' Alex Gleason 2024-09-20 18:29:29 +00:00
  • 454b362825
    deno lint Alex Gleason 2024-09-20 13:24:33 -05:00
  • 807bc78472
    Let caches be configurable Alex Gleason 2024-09-20 13:22:45 -05:00
  • 099fec6e31
    Increase nip05 cache to 3000, link previews to 1000 Alex Gleason 2024-09-20 13:13:26 -05:00
  • efb37701f0
    grafana: add cache section Alex Gleason 2024-09-20 13:03:30 -05:00
  • 7c45d13849 Merge branch 'cache-metrics' into 'main' Alex Gleason 2024-09-20 17:41:12 +00:00
  • 58bf286ce0
    Add cache metrics Alex Gleason 2024-09-20 12:34:54 -05:00
  • 084e3c8341
    note: test that mentions with commas get parsed correctly Alex Gleason 2024-09-20 11:46:14 -05:00
  • 80302b3915 Merge branch 'stats64' into 'main' Alex Gleason 2024-09-20 15:37:35 +00:00
  • f0c8096498
    stats64: delete invalid rows first Alex Gleason 2024-09-20 10:06:17 -05:00
  • 2b2cdca282
    Use char(64) for stats primary keys Alex Gleason 2024-09-20 09:58:46 -05:00
  • e27c1519fb Merge branch 'followers-index' into 'main' Alex Gleason 2024-09-20 14:20:09 +00:00
  • c582b1c520
    author_stats: add index on followers_count Alex Gleason 2024-09-20 09:16:09 -05:00
  • ab727c3940 Merge branch 'move-author-search-to-author-stats' into 'main' Alex Gleason 2024-09-20 13:57:31 +00:00
  • 54d7a12263 Merge branch 'admin-skip-policy' into 'main' Alex Gleason 2024-09-20 13:54:57 +00:00
  • b13e924001 fix: build search and also return it in countAuthorStats() function P. Reis 2024-09-20 10:24:41 -03:00
  • 578f269a65 refactor: countAuthorStats() function does not return search P. Reis 2024-09-20 09:53:30 -03:00
  • 5dca8d4950
    pipeline: let ditto admin skip the policy Alex Gleason 2024-09-19 21:57:59 -05:00
  • cc2b5cf66a Merge branch 'firehose-kinds' into 'main' Alex Gleason 2024-09-20 02:56:03 +00:00
  • b53c6dab62
    Add FIREHOSE_KINDS variable Alex Gleason 2024-09-19 21:51:48 -05:00
  • ebeb150463 refactor: use search in author_stats P. Reis 2024-09-19 19:37:13 -03:00
  • 1b6e9160ec test: update to use author_stats table P. Reis 2024-09-19 19:36:44 -03:00
  • 2727523540 feat: order search by followers count also P. Reis 2024-09-19 19:36:13 -03:00
  • f063da1b86 refactor: add search field to AuthorStatsRow, remove AuthorSearch interface P. Reis 2024-09-19 19:35:38 -03:00
  • 017c17c8a2 refactor: remove author_search table, put search in author_stats P. Reis 2024-09-19 19:35:05 -03:00
  • 40ca59307b feat: order search by followers count also search-order-by-followers P. Reis 2024-09-19 15:09:44 -03:00
  • d1f452d87b Merge branch 'fix-pg-trgm-operator' into 'main' Alex Gleason 2024-09-19 13:58:45 +00:00
  • 2f27e22b4c test(getPubkeysBySearch): change search query P. Reis 2024-09-19 10:15:41 -03:00
  • 148e714863 fix(pg_trgm): use <% instead of % P. Reis 2024-09-19 10:07:04 -03:00
  • aa07809e3f Merge branch 'main' into zap-notification-streaming P. Reis 2024-09-18 18:32:35 -03:00
  • ee68fbad48 Merge branch 'domain-search-perf' into 'main' Alex Gleason 2024-09-18 18:46:37 +00:00
  • 5ecf016cb9
    EventsDB: fix domain search performance (also allow searching by multiple languages/domains) Alex Gleason 2024-09-18 13:42:43 -05:00
  • f55a6d515a Merge branch 'enhance-profile-search-again' into 'main' Alex Gleason 2024-09-18 18:02:15 +00:00
  • 8890f6bce5
    searchEvents: fix account_id, simplify code Alex Gleason 2024-09-18 12:58:17 -05:00
  • 4ae17c4993 refactor: make getPubkeysBySearch() function return Set<string> P. Reis 2024-09-18 14:15:18 -03:00
  • f1c0d8c18f refactor(getPubkeysBySearch): rename followList to followedPubkeys P. Reis 2024-09-18 11:26:30 -03:00
  • 373e9ca6d8 Merge branch 'main' into zap-notification-streaming P. Reis 2024-09-17 17:06:45 -03:00
  • f73b20bf03 refactor: make getPubkeysBySearch() function use set of strings Set<string> P. Reis 2024-09-17 14:50:33 -03:00
  • 47c1d290b0 Merge branch 'main' into enhance-profile-search-again P. Reis 2024-09-17 14:42:15 -03:00
  • c67d27e580 Merge branch 'refactor-queries-ts' into 'main' Alex Gleason 2024-09-17 17:40:39 +00:00
  • 19069c0417 refactor: return set in a different way P. Reis 2024-09-17 14:37:04 -03:00
  • 7eab62b9a9 refactor: getFollowedPubkeys() and getFeedPubkeys() functions return Set<string> P. Reis 2024-09-17 14:02:46 -03:00
  • 10cb65e60f
    throw out commander in favour of homegrown argument parser Siddharth Singh 2024-09-17 21:04:26 +05:30
  • 8ba9e6e8b8 Merge branch 'nip70' into 'main' Alex Gleason 2024-09-17 14:48:31 +00:00
  • d32b12c814
    Block NIP-70 protected events Alex Gleason 2024-09-17 09:44:46 -05:00
  • 8cd212e407 test: add missing argument in getPubkeysBySearch() function P. Reis 2024-09-17 11:09:39 -03:00
  • 52001373e0 feat: show users you follow first in search getPubkeysBySearch() function refactored to accept a followList argument P. Reis 2024-09-17 11:04:27 -03:00
  • 7b5cbdb525
    no need for headless setup now, in theory Siddharth Singh 2024-09-17 18:25:36 +05:30
  • 8c87e87a37
    test with only config:set variables Siddharth Singh 2024-09-17 18:15:10 +05:30
  • e86e26eea9 Fix lockfile Siddharth Singh 2024-09-17 11:09:15 +00:00
  • e0dee33aec Merge branch 'pglite-debug' into 'main' Alex Gleason 2024-09-16 17:36:50 +00:00
  • 8e3ddaa056
    Add PGLITE_DEBUG environment variable Alex Gleason 2024-09-16 12:31:50 -05:00
  • 2fe6a8fde5 refactor: move getPubkeysBySearch () function to a new location P. Reis 2024-09-16 14:24:26 -03:00
  • a18b049eb7 feat: make notifications great again it works the same as before, but with way less code P. Reis 2024-09-16 14:08:45 -03:00