Commit Graph

  • 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
  • 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
  • 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
  • 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
  • 9b66499df3 fix: get zap recipient in gatherAuthors() function this is needed to work correctly in notifications P. Reis 2024-09-16 14:00:12 -03:00
  • af13614f1a test(hydrate): expect zap_message also P. Reis 2024-09-16 13:31:49 -03:00
  • 04a9a83fed feat: hydrate zap_message P. Reis 2024-09-16 13:30:43 -03:00
  • 7fea333483 feat(DittoEvent): add zap_message field P. Reis 2024-09-16 13:30:01 -03:00
  • 07c364b829 test(hydrate): add zap receipt, kind 9735 P. Reis 2024-09-16 13:17:42 -03:00
  • 4f0f1182b8 test(fixtures): jack zaps patrick P. Reis 2024-09-16 13:15:58 -03:00
  • 10f30b3661 test(fixtures): patrick kind 1, post zapped P. Reis 2024-09-16 13:15:43 -03:00
  • 5caa482806 test(fixtures): patrick kind 0 P. Reis 2024-09-16 13:15:21 -03:00
  • 516866a905 test(fixtures): jack kind 0 P. Reis 2024-09-16 13:15:05 -03:00
  • a2077e3d40 feat: hydrate zap receipt kind 9735 - gatherZapSender, gatherZapped P. Reis 2024-09-16 13:13:55 -03:00
  • 6e2508063b feat(DittoEvent): add zapped, zap_sender & zap_amount P. Reis 2024-09-16 13:10:10 -03:00
  • 8b5940298c Merge branch 'main' into zap-notification-streaming P. Reis 2024-09-16 09:18:40 -03:00
  • 4d0ae401b3 Merge branch 'fix-postgres-password-input' into 'main' Alex Gleason 2024-09-16 00:28:00 +00:00
  • 0dcb1965be Change setup.ts to use password input instead of plaintext Siddharth Singh 2024-09-16 05:52:51 +05:30
  • a87497380a Make pipeline query easier to look at Alex Gleason 2024-09-15 19:22:14 -05:00
  • 718795fcd1 Merge branch 'fix-postgresjs-error' into 'main' Alex Gleason 2024-09-16 00:03:39 +00:00
  • 5a98ba86bf Fix ambiguous postgres.js errors Alex Gleason 2024-09-15 18:58:34 -05:00
  • 8510f22d1b Only save the nip05 in author search if it's valid Alex Gleason 2024-09-15 18:33:16 -05:00
  • a8df213aec Merge branch 'language-detection' into 'main' Alex Gleason 2024-09-15 23:11:30 +00:00
  • 394021e485 Don't use semi-colons in migration Alex Gleason 2024-09-15 17:38:16 -05:00
  • 642ecfd36f Rename language migration to 033 Alex Gleason 2024-09-15 17:26:02 -05:00
  • 8da223ad6c Merge remote-tracking branch 'origin/main' into language-detection Alex Gleason 2024-09-15 17:25:36 -05:00
  • 580e773bfc Merge branch 'enchance-profile-search' into 'main' Alex Gleason 2024-09-15 21:46:49 +00:00
  • cbc1691002 feat: zap notification in streaming P. Reis 2024-09-15 18:34:11 -03:00
  • dc69f21e0b refactor: write map function in a cleaner way P. Reis 2024-09-15 17:46:10 -03:00
  • c5711ea071 refactor(accountSearchController): only reassign events if event is undefined P. Reis 2024-09-15 17:42:58 -03:00
  • ed74b2464a refactor: write it like a normal if statement P. Reis 2024-09-15 17:42:26 -03:00
  • 3b8a800cd2 refactor(search enchance): map over pubkeys instead of events P. Reis 2024-09-15 17:27:56 -03:00
  • d7ae3722c8 refactor: insert each event per iteration in for loop - db:populate-search P. Reis 2024-09-15 16:52:49 -03:00
  • f8902760ce Make the language index a compound index Alex Gleason 2024-09-15 13:37:23 -05:00
  • eede3909b1 Upgrade @nostrify/db to fix table joins Alex Gleason 2024-09-15 13:05:54 -05:00
  • c24d11c6f3 Support NIP-50 language extension Alex Gleason 2024-09-15 12:40:58 -05:00
  • f99ea7c33f refactor(getPubkeysBySearch): cast as string P. Reis 2024-09-13 18:57:47 -03:00
  • 197b2c8c8b refactor(populate search script): use store.req instead of streaming P. Reis 2024-09-13 18:49:20 -03:00
  • b3e56320a0 feat(accountSearchController): return accounts in autocomplete form P. Reis 2024-09-13 18:41:20 -03:00
  • 6387ee440c feat: return multiple accounts in searchController P. Reis 2024-09-13 16:36:01 -03:00
  • 69c2158131 refactor: return ordered accounts by similarity relevance in searchEvents() function P. Reis 2024-09-13 16:19:38 -03:00
  • be76197e3a refactor: remove handleAuthorSearch() function and put its logic inside parseMetadata() function P. Reis 2024-09-13 15:08:36 -03:00
  • 935cc7c5a5 refactor: remove NIP-50 search if looking for accounts, use same filter P. Reis 2024-09-13 14:33:34 -03:00
  • a974f4230d Merge branch 'main' into enchance-profile-search P. Reis 2024-09-13 10:34:45 -03:00
  • 24d909fd28 feat: create script to populate author_search table P. Reis 2024-09-13 10:34:15 -03:00
  • a6f1098bc6 test: getPubkeysBySearch() function P. Reis 2024-09-13 10:32:05 -03:00
  • e1cd1777e3 test: add author_search table in createTestDB to drop it after use P. Reis 2024-09-13 10:30:10 -03:00
  • 9d2667679f feat(pipeline.ts): create handleAuthorSearch() function P. Reis 2024-09-13 10:28:54 -03:00