Commit Graph

  • a3012d341b log stuff Siddharth Singh 2024-08-05 21:32:44 +05:30
  • 9175596d5f use nip27 replacer instead of janky regex Siddharth Singh 2024-08-05 20:24:03 +05:30
  • e4f24c3b26 format Siddharth Singh 2024-08-05 20:18:49 +05:30
  • 7c56b9dad8 use stickynotes, move storages.db to inside buildTemplateOpts Siddharth Singh 2024-08-05 20:18:16 +05:30
  • 85b54e81be ignore OG metadata errors Siddharth Singh 2024-08-05 20:14:43 +05:30
  • 2ad81d3fbf sort imports Siddharth Singh 2024-08-05 20:07:08 +05:30
  • 33da9a41b2 rewrite metadata generation Siddharth Singh 2024-08-05 20:04:26 +05:30
  • 5785f07052 tpl --> metadataView Siddharth Singh 2024-08-05 20:02:03 +05:30
  • c7e5aed679 move parseAndVerifyNip05 to utils/nip05 Siddharth Singh 2024-08-05 18:12:53 +05:30
  • 29d7495c39 add site property to OpenGraphTemplateOpts Siddharth Singh 2024-08-05 15:43:56 +05:30
  • 7e2217ccd8 use entities escape instead of shitty custom one Siddharth Singh 2024-08-05 15:42:32 +05:30
  • 0706f53b9f sort imports by path Siddharth Singh 2024-08-05 15:18:17 +05:30
  • c863655b4d sort imports by path Siddharth Singh 2024-08-05 15:15:48 +05:30
  • c0a6d48d55 rename OG_META_PLACEHOLDER --> META_PLACEHOLDER Siddharth Singh 2024-08-05 15:14:51 +05:30
  • 2cafc2014f remove cf from lockfile Siddharth Singh 2024-08-05 15:13:09 +05:30
  • 4c83d6d1b2 Do frontendController like I want to Alex Gleason 2024-08-04 13:26:05 -05:00
  • 95ef308d0e fix typo in nip05 cleaner regex Siddharth Singh 2024-08-04 12:25:30 +05:30
  • 8b8a801da8 handle underscores in nip05 correctly Siddharth Singh 2024-08-04 12:21:31 +05:30
  • b95e31cd5d rework kind 0 handling Siddharth Singh 2024-08-04 12:07:24 +05:30
  • 6aa49c12e1 steal html util from campfire, remove external dependency on cf Siddharth Singh 2024-08-04 11:10:33 +05:30
  • 77d73c47ee move a bunch of utils to their own file Siddharth Singh 2024-08-04 11:07:29 +05:30
  • 435ca60b0d update todo Siddharth Singh 2024-08-04 05:52:51 +05:30
  • 7aaa1bc030 generate metadata for bech32 encoded entities Siddharth Singh 2024-08-04 05:52:24 +05:30
  • 80f8932513 send profile pictures where possible Siddharth Singh 2024-08-04 04:54:50 +05:30
  • 8c9facdad7 remove unnecessary logs and use nip05s if avl Siddharth Singh 2024-08-04 04:49:24 +05:30
  • baa6e318f3 remove premature optimization in serveStaticWithOG Siddharth Singh 2024-08-04 04:43:47 +05:30
  • 5ee0c1e852 opengraphMiddleware.ts --> serveStaticWithOG.ts Siddharth Singh 2024-08-04 04:36:36 +05:30
  • b8eb549190 opengraphFrontendController --> serveStaticWithOG Siddharth Singh 2024-08-04 04:35:56 +05:30
  • 4e522bd90f always use summary type for twitter Siddharth Singh 2024-08-04 03:35:04 +05:30
  • 2382503785 flip the orders? Siddharth Singh 2024-08-04 03:20:57 +05:30
  • a530313d15 update todo Siddharth Singh 2024-08-04 03:15:04 +05:30
  • 7889ee5db4 first version of opengraph functionality Siddharth Singh 2024-08-04 03:06:53 +05:30
  • 950adb25c6 Fix relay connections metrics Alex Gleason 2024-08-03 08:18:53 -05:00
  • 5ac1abdf69 Merge branch 'fix-documentation' into 'main' Alex Gleason 2024-08-03 00:35:14 +00:00
  • 84c56282ac docs/fix: rename db:import to nostr:pull P. Reis 2024-08-02 21:19:52 -03:00
  • 3e6f4bb256 Merge branch 'db-export' into 'main' Alex Gleason 2024-08-02 22:00:15 +00:00
  • ba3f816955 Add db:import task Alex Gleason 2024-08-02 16:54:35 -05:00
  • 6277b8ab0f refactor: remove zap split from instance V1 endpoint P. Reis 2024-08-02 18:47:59 -03:00
  • baa00e45a6 feat: create getZapSplitsController P. Reis 2024-08-02 18:47:21 -03:00
  • 3bec54ee76 Let SQLite transfer asyncIterables Alex Gleason 2024-08-02 16:45:41 -05:00
  • 9543049419 Add db:export command Alex Gleason 2024-08-02 16:31:39 -05:00
  • 44a61c4a52 Rework migrations logging Alex Gleason 2024-08-02 16:31:06 -05:00
  • 975294b8a4 Merge branch 'firehose-concurrency' into 'main' Alex Gleason 2024-08-01 17:07:08 +00:00
  • b05bf37cb3 Limit firehose concurrency Alex Gleason 2024-08-01 11:49:11 -05:00
  • b47c53038f Merge branch 'in-any' into 'main' Alex Gleason 2024-07-31 20:08:09 +00:00
  • 49bf38d27b Fix kysely dependency version mismatch Alex Gleason 2024-07-31 14:59:42 -05:00
  • d73370cc68 Convert IN operators to = ANY() operators on Postgres Alex Gleason 2024-07-31 12:52:03 -05:00
  • 7860dd2a0c Merge branch 'policy-metrics' into 'main' Alex Gleason 2024-07-30 20:56:09 +00:00
  • 8960bdcca9 Add Policy metrics Alex Gleason 2024-07-30 15:47:55 -05:00
  • 9b521e9f36 metricsMiddleware: add comments Alex Gleason 2024-07-30 14:37:28 -05:00
  • 24d6ae0ce9 Update gleasonator policy in deno.lock Alex Gleason 2024-07-30 14:37:15 -05:00
  • caaababbab Upgrade Nostrify to v0.28.0 Alex Gleason 2024-07-30 00:01:21 -05:00
  • 67f65b4826 Merge branch 'context' into 'main' Alex Gleason 2024-07-30 04:46:31 +00:00
  • a8e81e304e context: reverse descendants Alex Gleason 2024-07-29 23:43:04 -05:00
  • edc4607c8d Improve performance of /context endpoint Alex Gleason 2024-07-29 23:40:08 -05:00
  • ce18cb928a KyselyLogger: also log errors Alex Gleason 2024-07-29 21:19:44 -05:00
  • c54d801dd0 Merge branch 'tag-queries' into 'main' Alex Gleason 2024-07-29 21:50:40 +00:00
  • 18e446bd05 Delete zap split tests Alex Gleason 2024-07-29 16:46:27 -05:00
  • a0952bc4c1 zap-split.test: use using Alex Gleason 2024-07-29 16:42:18 -05:00
  • 37f229408c Seed zap splits when Storages.db is first accessed Alex Gleason 2024-07-29 15:59:29 -05:00
  • 31f5254fb3 Clear timeouts in tag queries migration Alex Gleason 2024-07-29 15:37:45 -05:00
  • 48a4e30e38 trends: read directly from the tags table instead of doing an inner join on events Alex Gleason 2024-07-29 15:33:16 -05:00
  • ece18c9bd8 Add tags table migration Alex Gleason 2024-07-29 15:09:36 -05:00
  • df9ae26a3a Upgrade Nostrify to v0.27.0 Alex Gleason 2024-07-29 14:18:46 -05:00
  • 51bdd977e1 Merge remote-tracking branch 'origin/main' into tag-queries Alex Gleason 2024-07-29 14:14:35 -05:00
  • ac15aa431b Merge branch 'postgres-support-testing' into 'main' Alex Gleason 2024-07-29 01:15:17 +00:00
  • a271340ffc test: use postgres in hydrate.test.ts P. Reis 2024-07-26 19:01:18 -03:00
  • 9c02a2d555 refactor: remove nip05 enhancement and tests P. Reis 2024-07-26 18:49:31 -03:00
  • 6551f0c677 Merge branch 'main' into postgres-support-testing Update local branch to latest. This branch has the NIP-05 but it will be overriden P. Reis 2024-07-26 18:32:30 -03:00
  • 58df902a7b Merge branch 'fix-startup' into 'main' Alex Gleason 2024-07-25 19:41:47 +00:00
  • dc94d21374 fix(app.ts): import startup.ts file P. Reis 2024-07-25 15:44:05 -03:00
  • 24b950ebd2 Merge branch 'add-zap-tag' into 'main' Alex Gleason 2024-07-25 18:12:57 +00:00
  • e458608e38 refactor: rename createZapSplitsIfNotExists to seedZapSplits P. Reis 2024-07-25 15:10:54 -03:00
  • 882f8009dc refactor: rename isNumberFrom1To100 to percentageSchema P. Reis 2024-07-25 15:06:50 -03:00
  • f3d521356d refactor: get rid of isObjectEmpty function P. Reis 2024-07-25 14:52:52 -03:00
  • 541b5b1c39 refactor: imports in alphabetical order P. Reis 2024-07-25 14:52:03 -03:00
  • f94ae7606c refactor: change zapSplitSchema to z.record()) P. Reis 2024-07-25 11:11:44 -03:00
  • 75e9837c09 Upgrade Nostrify to v0.27.0-rc.4 Alex Gleason 2024-07-24 13:59:21 -05:00
  • 85806f7ea8 refactor: use object fields instead of tuple in zapSplitSchema P. Reis 2024-07-24 11:14:42 -03:00
  • 961da0f52c refactor: change error message in updateZapSplitsController & deleteZapSplitsController P. Reis 2024-07-24 10:56:12 -03:00
  • ddd1972c83 refactor(app.ts): move cron function and startFirehose function to startup.ts P. Reis 2024-07-24 10:55:30 -03:00
  • 23bb24929c refactor: remove zap split creation from instanceV1Controller endpoint P. Reis 2024-07-24 10:54:56 -03:00
  • 1698c1b19b feat: create startup file P. Reis 2024-07-24 10:54:20 -03:00
  • 86874e3a08 feat: create createZapSplitsIfNotExists() function P. Reis 2024-07-24 10:53:32 -03:00
  • 2b8009d840 trends: catch initial queries Alex Gleason 2024-07-23 23:06:00 -05:00
  • 7949c95f77 try-catch trending tags cron Alex Gleason 2024-07-23 22:32:16 -05:00
  • 5ebde99320 trends: Deno.cron try/catch Alex Gleason 2024-07-23 22:19:10 -05:00
  • 64eeee5ff7 Upgrade Nostrify to v0.27.0-rc.3 Alex Gleason 2024-07-23 22:09:51 -05:00
  • 0e43d1e8a7 refactor: add zap tag with new data structure P. Reis 2024-07-23 22:40:38 -03:00
  • c49460e37d refactor(instance.ts): use new zap_split data structure in ditto hard coded pubkey P. Reis 2024-07-23 20:41:02 -03:00
  • 75ad25ccac test(zap-split): update to be in accord with new data structure P. Reis 2024-07-23 20:39:51 -03:00
  • 2ebaee8807 refactor: change DittoZapSplits data structure to use object fields instead of array P. Reis 2024-07-23 20:39:23 -03:00
  • 7cdfb67b99 refactor: rename officialDittoAccountPubkey to dittoPubkey & officialDittoAccountMsg to dittoMsg P. Reis 2024-07-23 20:25:02 -03:00
  • a0c952b9b9 refactor: do not use isObjectEmpty function in if condition, zap tag P. Reis 2024-07-23 20:15:44 -03:00
  • de32930c44 refactor: use exclamation mark (bang) instead of 'as string' cast P. Reis 2024-07-23 18:26:06 -03:00
  • 80e14c65c0 refactor: rename zap_split.ts to zap-split.ts, rename tests as well P. Reis 2024-07-23 18:14:22 -03:00
  • ff35357121 Upgrade Nostrify to v0.27.0-rc.2 Alex Gleason 2024-07-23 15:13:02 -05:00
  • e400641757 Improve performance of tag queries Alex Gleason 2024-07-23 10:29:45 -05:00
  • 5a5e8b7c5d feat(createStatusController): add 'zap' tag to event P. Reis 2024-07-21 20:11:26 -03:00
  • 449a3497ba feat: create deleteZapSplitsController P. Reis 2024-07-21 19:40:55 -03:00