Commit Graph

  • 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
  • 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
  • 486dff83b9 fix: pass parameters params in ditto:zap notification P. Reis 2024-09-03 22:23:15 -03:00
  • 6d9d2fd42a fix: get event id from max_id sometimes the 'max_id' format can come as ${created_at}-${id} so if that's the case, we split by the - (minus) character P. Reis 2024-09-03 22:22:17 -03:00
  • 3fa97c0533 Merge branch 'fix-streaming-self' into 'main' Alex Gleason 2024-09-02 23:11:41 +00:00
  • 7c319c6ff0 streaming: don't notify self of own post Alex Gleason 2024-09-03 00:58:35 +02:00
  • e40201ffb5 Merge branch 'clean-error-types' into 'main' Alex Gleason 2024-09-02 22:56:32 +00:00
  • 1777224f97 refactor: rename clean:type-errors to clean:deps P. Reis 2024-09-02 10:00:23 -03:00
  • 8e8f8767b4 Merge branch 'main' into zap-notification P. Reis 2024-09-02 09:54:45 -03:00
  • 96e99f38c4 feat(views): render and return zap notification P. Reis 2024-09-02 09:53:33 -03:00
  • 729471d692 feat(notifications api): implement zap notification calls database for zap events P. Reis 2024-09-02 09:52:34 -03:00
  • b909f4e355 Merge branch 'store-alt-text' into 'main' Alex Gleason 2024-09-01 20:10:31 +00:00
  • b271ecc801 Merge branch 'fix-nostrpull-duplicate-events' into 'main' Alex Gleason 2024-09-01 13:56:56 +00:00
  • e7f5535bd2 handle event insertion errors with warning Siddharth Singh 2024-09-01 19:15:22 +05:30
  • 8e53da7980 feat: add clean type errors task P. Reis 2024-08-29 10:22:24 -03:00
  • 0b6ca9dfea Hide non-profile nostr URIs from text Alex Gleason 2024-08-28 21:24:50 +02:00
  • ba77787767 Test and fix parsing of URLs Alex Gleason 2024-08-28 21:19:07 +02:00
  • 7a2a8bd4f5 Wrap URL in a try-catch Alex Gleason 2024-08-28 21:15:43 +02:00
  • 043e579c10 Merge branch 'fix-url' into 'main' Alex Gleason 2024-08-28 19:07:37 +00:00
  • a63b838195 Fix parsing of regular URLs Alex Gleason 2024-08-28 20:59:38 +02:00
  • cde70e4c8f Merge branch 'fix-apostrophe-issue' into 'main' Alex Gleason 2024-08-28 17:49:26 +00:00
  • f9d1eed4dd Remove unnecessary escape characters Alex Gleason 2024-08-28 19:46:19 +02:00
  • c2ea4cbfd5 Fix parsing bech32 with apostrophe Alex Gleason 2024-08-28 19:33:22 +02:00
  • 8d8211de09 Fixed apostrophe issue danidfra 2024-08-28 14:01:26 -03:00
  • a505372bd1 Merge branch 'resp-method' into 'main' Alex Gleason 2024-08-28 12:44:05 +00:00
  • f730771d72 metrics: track response method Alex Gleason 2024-08-28 14:40:45 +02:00
  • 0d44932a04 Merge branch 'message-zap-split' into 'main' Alex Gleason 2024-08-27 22:04:05 +00:00
  • 7d9f874cdf feat: implement fifth parameter in zap tag P. Reis 2024-08-27 17:52:51 -03:00
  • 4b416e3c66 Merge branch 'update-nostrify' into 'main' Alex Gleason 2024-08-27 18:32:09 +00:00
  • f96fca835b chore: update nostrify to 0.30.1 other dependencies such as hono were automatically updated as well P. Reis 2024-08-27 13:40:24 -03:00
  • e286ecc47d Merge branch 'db-export-filters' into 'main' Alex Gleason 2024-08-26 22:14:23 +00:00
  • 14a0f38e29 Merge branch 'update-deno-dom' into 'main' Alex Gleason 2024-08-26 18:34:38 +00:00
  • 980e904ea7 Update deno-dom danidfra 2024-08-26 15:31:03 -03:00
  • 1a38061b34 mediaDescriptionUpdateSchema --> mediaUpdateSchema Siddharth Singh 2024-08-25 19:48:04 +05:30
  • 7e711aa8a8 updateMediaDescriptionController --> updateMediaController Siddharth Singh 2024-08-25 19:43:28 +05:30
  • 125dfb54f3 Add tests for db:export filters Siddharth Singh 2024-08-25 19:41:35 +05:30
  • f8fae52d5e fix bug in alt text tagging Siddharth Singh 2024-08-25 19:13:31 +05:30
  • 1e8aeee5a6 nginx: let ditto serve the favicon Alex Gleason 2024-08-25 15:49:43 +03:00
  • 1f04a7fcdf remove debug console.logs Siddharth Singh 2024-08-25 17:20:25 +05:30
  • cf4dc8627b remove unnecessary coalescing Siddharth Singh 2024-08-25 16:25:36 +05:30
  • 6ff90d63bb implement PUT /api/v1/media/:id Siddharth Singh 2024-08-25 16:23:25 +05:30
  • fb199123be first working version Siddharth Singh 2024-08-24 22:56:35 +05:30
  • 9298bf6608 first commit (nonfunctional) Siddharth S Singh 2024-08-23 16:25:34 +05:30
  • 8adc87f1d9 Merge branch 'fe-routes' into 'main' Alex Gleason 2024-08-20 01:17:30 +00:00
  • eb3b442dd4 Add more known frontend routes Alex Gleason 2024-08-19 20:13:59 -05:00
  • 8702d1ec07 Merge branch 'favicon' into 'main' Alex Gleason 2024-08-17 14:30:36 +00:00
  • 8370b250a2 Add a signal to renderAccount Alex Gleason 2024-08-17 09:25:48 -05:00
  • e539a29775 Fetch favicon from NIP-05 domain Alex Gleason 2024-08-17 09:21:12 -05:00