Commit graph

  • 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
  • 57a16e7b78
    add std/fs dependency Siddharth Singh 2024-09-13 20:57:58 +05:30
  • 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
  • c03ea07dcb feat: create getPubkeysBySearch() function and use it inside searchEvents() function P. Reis 2024-09-13 10:27:12 -03:00
  • b5aefdd93e feat: add pg_trgm extension in PGlite constructor P. Reis 2024-09-13 10:24:33 -03:00
  • 8bc8712cf3 feat: create and add author_search interface to DittoTables P. Reis 2024-09-13 10:23:08 -03:00
  • 40c187680e feat: create author_search table P. Reis 2024-09-13 10:22:05 -03:00
  • 3f822ecb77
    tribes --> tribes-cli Siddharth Singh 2024-09-13 18:21:15 +05:30
  • b384fcf572
    Make EventsDB extend NPostgres Alex Gleason 2024-09-12 17:22:44 -05:00
  • 4955be4104 Merge branch 'stats-inflation' into 'main' Alex Gleason 2024-09-12 18:48:38 +00:00
  • 1732b69022
    Remove unused Storages.close method Alex Gleason 2024-09-12 13:39:02 -05:00
  • a0fd702e09
    Revert DittoPglite Alex Gleason 2024-09-12 13:38:00 -05:00
  • 8316762370
    Remove this DittoExit stuff (since I'm not convinced it's needed) Alex Gleason 2024-09-12 13:37:21 -05:00
  • b3cfd5e12c
    waitReady is not actually needed Alex Gleason 2024-09-12 13:17:21 -05:00
  • c50c63f954
    pipeline: purifyEvent before passing it to storage Alex Gleason 2024-09-12 13:10:36 -05:00
  • fc912f185e
    Gracefully start and exit the database Alex Gleason 2024-09-12 13:03:23 -05:00
  • d67f2a27ea
    stats: use the NPostgres transaction method to avoid transactions within transactions Alex Gleason 2024-09-12 11:30:57 -05:00
  • 55ee8eaf74
    Fix stat inflation Alex Gleason 2024-09-12 11:09:54 -05:00
  • 593cedba06
    grafana: add API endpoints row Alex Gleason 2024-09-11 21:34:16 -05:00
  • f7ee59146e
    Clean up config Alex Gleason 2024-09-11 18:30:23 -05:00
  • 20d1f885ac
    Upgrade gleasonator-policy in deno.lock Alex Gleason 2024-09-11 16:53:02 -05:00
  • b449b17fbe
    Add updated gleasonator-policy to deno.lock Alex Gleason 2024-09-11 16:11:09 -05:00
  • 6b66e61ee9
    PolicyWorker: mock Deno.env Alex Gleason 2024-09-11 14:34:41 -05:00
  • a1585d81aa Merge branch 'store-policy' into 'main' Alex Gleason 2024-09-11 19:21:11 +00:00
  • cae0f492f3
    Let PolicyWorker run in sandbox with store Alex Gleason 2024-09-11 14:04:11 -05:00
  • ebc0250d81
    DittoDB.getInstance() -> Storages.kysely() Alex Gleason 2024-09-11 13:23:06 -05:00
  • d2fb3fd253
    Make EventsDB not rely on Conf Alex Gleason 2024-09-11 13:06:20 -05:00
  • 624b6b278e Merge branch 'rm-sqlite' into 'main' Alex Gleason 2024-09-11 17:07:08 +00:00
  • fad40f1c30
    createTestDB: don't accept an arg Alex Gleason 2024-09-11 11:57:28 -05:00
  • f3ae200833
    Simplify database interfaces, make tests use pglite Alex Gleason 2024-09-11 11:48:31 -05:00
  • dc8d09a9da
    Remove SQLite support Alex Gleason 2024-09-11 11:08:33 -05:00
  • f76d0af16d
    Add TEST_DATABASE_URL env, change database defaults Alex Gleason 2024-09-11 10:28:06 -05:00
  • a888f43288 Merge branch 'pglite' into 'main' Alex Gleason 2024-09-10 21:12:47 +00:00
  • 25a8f27cb7
    ci: upgrade deno to v1.46.3 Alex Gleason 2024-09-10 16:01:13 -05:00
  • 6a14272184
    Make pglite work Alex Gleason 2024-09-10 15:59:15 -05:00
  • 9331ab4ac1
    grafana: add system usage, break up into rows Alex Gleason 2024-09-08 13:31:09 -05:00
  • ca1455c59a Merge branch 'render-unknown' into 'main' Alex Gleason 2024-09-08 14:08:37 +00:00
  • 2309fd72d1
    Don't limit statuses to kind 1 Alex Gleason 2024-09-08 09:05:23 -05:00
  • 8a94e8deb3
    grafana: fix db effort query Alex Gleason 2024-09-08 05:38:33 -05:00
  • 819957da49
    Upgrade kysely-pglite Alex Gleason 2024-09-07 20:56:50 -05:00
  • 69329674e1
    Add support for pglite Alex Gleason 2024-09-07 16:38:28 -05:00
  • 044708d49f Merge branch 'fetch-ua' into 'main' Alex Gleason 2024-09-07 18:12:33 +00:00
  • a19b7fbe9e
    Fetch link previews with facebookexternalhit instead of WhatsApp/2 by default, make it configurable Alex Gleason 2024-09-07 13:07:47 -05:00
  • 3af56995af Merge branch 'ansible' into 'main' Alex Gleason 2024-09-07 16:01:24 +00:00
  • 23f6038427
    Add ansible playbook to update multiple Ditto servers at once Alex Gleason 2024-09-07 10:54:48 -05:00
  • ac4a63bdcc
    deno task soapbox: don't prompt to overwrite Alex Gleason 2024-09-07 10:43:01 -05:00
  • fac484c651 Merge branch 'attachments-simplify' into 'main' Alex Gleason 2024-09-07 15:35:44 +00:00
  • 99a25e1e18
    media: fix setting description Alex Gleason 2024-09-07 10:32:14 -05:00
  • 8efd6fbb20
    Remove unattached_media table, replace with LRUCache, fix media upload order problem Alex Gleason 2024-09-07 10:24:56 -05:00
  • 85000cd00e Merge branch 'mention-link-fix' into 'main' Alex Gleason 2024-09-07 14:44:56 +00:00
  • ddba16551a
    Fix rendering mentions inside of URLs Alex Gleason 2024-09-07 09:41:29 -05:00
  • 1a98049ee8 Merge branch 'prom-metrics-best' into 'main' Alex Gleason 2024-09-07 14:15:07 +00:00
  • 537de85421
    Add grafana dashboard.json Alex Gleason 2024-09-07 09:02:14 -05:00
  • 4a578528f5
    Add back pool size gauge Alex Gleason 2024-09-07 09:00:18 -05:00
  • 5454942a2c
    Update Prometheus metrics to conform to best practices Alex Gleason 2024-09-07 08:52:02 -05:00
  • a7292b1b8d Merge branch 'fix-zap-notification' into 'main' Alex Gleason 2024-09-06 05:43:01 +00:00
  • a8900b3217 fix(zap notification): put kind 9735 in the first filter P. Reis 2024-09-05 18:43:02 -03:00
  • 4373a1eea9 Merge branch 'zap-notification' into 'main' Alex Gleason 2024-09-05 20:14:54 +00:00