Commit Graph

  • 2e66af26db feat: create updateZapSplitsController P. Reis 2024-07-21 19:21:33 -03:00
  • 2fe9b9f98d feat: get zap splits and return it in api/v1/instance endpoint P. Reis 2024-07-21 19:22:15 -03:00
  • 98dfd8f4b8 Merge branch 'update-postgres-js' into 'main' Alex Gleason 2024-07-20 22:04:27 +00:00
  • 2acfcb3951 update lock file Siddharth Singh 2024-07-21 03:23:15 +05:30
  • b3dba0f793 update pinned version of postgres.js Siddharth Singh 2024-07-21 03:19:05 +05:30
  • 4304715c1e pool: skip event verification Alex Gleason 2024-07-20 13:38:56 -05:00
  • 9cb85e42d2 Merge branch 'use-npool-nostrify' into 'main' Alex Gleason 2024-07-20 18:33:32 +00:00
  • 8768bb1bad Merge remote-tracking branch 'origin/main' into use-npool-nostrify Alex Gleason 2024-07-20 13:31:05 -05:00
  • 1f9896bdbf test: getZapSplits function return empty object P. Reis 2024-07-19 19:30:31 -03:00
  • 09eb444c9b test: update so getZapSplits function returns undefined P. Reis 2024-07-19 19:19:35 -03:00
  • beee0e76e7 refactor: allow to return undefined in getZapSplits function P. Reis 2024-07-19 19:19:04 -03:00
  • 3bc3e7675d test: getZapSplits function P. Reis 2024-07-19 17:35:34 -03:00
  • 76a591ab6d feat: create getZapSplits function P. Reis 2024-07-19 17:20:31 -03:00
  • 0c9e3e2b47 test(utils.ts): isObjectEmpty function P. Reis 2024-07-19 16:27:10 -03:00
  • c17db58448 feat(utils.ts): create isObjectEmpty function P. Reis 2024-07-19 16:26:50 -03:00
  • cc6441d239 refactor(utils.ts): remove unused imports P. Reis 2024-07-19 15:22:35 -03:00
  • c2225da8dd test(utls.ts): add more cases, isNumberFrom1To100 function P. Reis 2024-07-19 13:34:45 -03:00
  • 11809637ee test(utils.ts): isNumberFrom1To100 function P. Reis 2024-07-19 13:21:17 -03:00
  • dcec2ecdd0 feat: create isNumberFrom1To100 function P. Reis 2024-07-19 13:19:04 -03:00
  • 8c19c5ba09 Merge branch 'stable-sort' into 'main' Alex Gleason 2024-07-19 03:49:06 +00:00
  • 8ec5feae13 Sort events by id after created_at Alex Gleason 2024-07-18 22:48:11 -05:00
  • 13f0d3f49e Upgrade Nostrify to v0.26.2 Alex Gleason 2024-07-18 22:01:16 -05:00
  • 7793db3e2c Upgrade Nostrify to v0.26.1 Alex Gleason 2024-07-17 23:13:04 -05:00
  • b18d326f5d Merge branch 'revert-bf9b816e' into 'main' Alex Gleason 2024-07-18 04:11:50 +00:00
  • 2d239fcaec Revert "Merge branch 'tag-perf' into 'main'" Alex Gleason 2024-07-18 04:11:04 +00:00
  • bf9b816e0b Merge branch 'tag-perf' into 'main' Alex Gleason 2024-07-18 03:33:03 +00:00
  • ff8d7ef9d4 EventsDB: normalizeFilters before expanding tag queries Alex Gleason 2024-07-17 20:04:19 -05:00
  • 0f5c28deeb EventsDB: query tags by converting to ids filter Alex Gleason 2024-07-17 19:58:12 -05:00
  • 31e5b89750 refactor: delete pool-store.ts file P. Reis 2024-07-17 11:40:50 -03:00
  • bccf33f80a feat(storages): remove PoolStore, use NPool P. Reis 2024-07-17 11:42:13 -03:00
  • e01e0049e3 fix: purify event before publishing to other relays P. Reis 2024-07-17 11:40:08 -03:00
  • f4f0c5fb86 fix(storages): publish to write relays only as well P. Reis 2024-07-17 11:00:49 -03:00
  • f5ee5ea6a3 test(RelayError): code coverage 100.00% P. Reis 2024-07-17 10:53:31 -03:00
  • 85a6089e36 test(outbox): coverage 100% P. Reis 2024-07-17 10:37:04 -03:00
  • 4d4273832a fixture: add kind 10002 P. Reis 2024-07-17 10:38:25 -03:00
  • cc51917d61 fix(outbox): remove comment, use author pubkey P. Reis 2024-07-17 10:37:54 -03:00
  • eebc3e5c61 Merge branch 'update-dependencies' into 'main' Alex Gleason 2024-07-16 19:29:23 +00:00
  • aec2cd3b9f chore: update dependencies P. Reis 2024-07-16 16:26:22 -03:00
  • 842b527273 test: update to use kysely-postgres-js P. Reis 2024-07-16 14:47:14 -03:00
  • 8afc3bca3d refactor: order of imports P. Reis 2024-07-16 14:06:32 -03:00
  • cf4ee051db Merge branch 'main' into search-nip05-enhance-and-postgres-support-testing P. Reis 2024-07-16 13:58:47 -03:00
  • d32cccd70e Merge branch 'coverage-support' into 'main' Alex Gleason 2024-07-16 16:19:08 +00:00
  • 00f09e1846 Merge branch 'use-postgres-js' into 'main' Alex Gleason 2024-07-16 14:27:46 +00:00
  • c2f578a2bb DittoPostgres: handle pool not being opened yet Alex Gleason 2024-07-16 09:26:49 -05:00
  • e208d7ef56 Merge remote-tracking branch 'origin/main' into use-postgres-js Alex Gleason 2024-07-15 21:35:29 -05:00
  • 3aa8266bbe use idle count to get avl connections Siddharth Singh 2024-07-16 07:35:45 +05:30
  • 53343ba349 messing with conn stats Siddharth Singh 2024-07-16 07:33:02 +05:30
  • b45eab64b5 ci: add code coverage P. Reis 2024-07-15 19:05:28 -03:00
  • 6fe034d55a Bump version to v1.1.0 Alex Gleason 2024-07-15 08:11:25 -05:00
  • 404306f203 change to connection-stats branch Siddharth Singh 2024-07-15 14:23:23 +05:30
  • c2026a340a Update CHANGELOG Alex Gleason 2024-07-14 15:59:02 -05:00
  • 4fa5517c58 Merge branch 'tweak-timeouts' into 'main' Alex Gleason 2024-07-14 15:11:43 +00:00
  • a49e56f2a0 Increase default database timeouts Alex Gleason 2024-07-14 10:10:26 -05:00
  • aac6505bf5 Merge branch 'deno-v1.45.2' into 'main' Alex Gleason 2024-07-13 20:51:30 +00:00
  • 46c3e52b98 Upgrade Deno to v1.45.2 Alex Gleason 2024-07-13 15:49:19 -05:00
  • 39fdbc1acb Delete scavenger.test.ts Alex Gleason 2024-07-12 14:01:21 -05:00
  • d6b49b169d Merge branch 'timeouts-conf' into 'main' Alex Gleason 2024-07-12 18:53:07 +00:00
  • 96fe8920cd Make database timeouts configurable Alex Gleason 2024-07-12 13:47:29 -05:00
  • c2b13b1a63 Add a ts-ignore instead of as any Alex Gleason 2024-07-11 17:22:03 -05:00
  • cd961dad86 delay -> sleep, style tweaks Alex Gleason 2024-07-11 17:19:47 -05:00
  • 9584638d5c Merge remote-tracking branch 'origin/main' into use-postgres-js Alex Gleason 2024-07-11 17:16:11 -05:00
  • d0d385682d Merge branch 'ws-limit' into 'main' Alex Gleason 2024-07-11 22:11:56 +00:00
  • 5c6479b3fe Rate-limit messages to the relay Alex Gleason 2024-07-11 17:10:05 -05:00
  • 92061c267e Merge remote-tracking branch 'origin/main' into ws-limit Alex Gleason 2024-07-11 17:02:00 -05:00
  • c4b35d11c8 Merge branch 'deno-v1.45.0' into 'main' Alex Gleason 2024-07-11 21:56:48 +00:00
  • 6245200e21 Upgrade Deno to v1.45.0 Alex Gleason 2024-07-11 16:55:02 -05:00
  • b3067e64ee Merge branch 'e-tags' into 'main' Alex Gleason 2024-07-06 23:25:41 +00:00
  • fa53dd7f8d createStatusController: add relay hints Fixes https://github.com/nostrability/nostrability/issues/52 Alex Gleason 2024-07-07 00:23:00 +01:00
  • ed067e541e Merge branch 'improve-errors' into 'main' Alex Gleason 2024-07-06 22:03:54 +00:00
  • 842adfd72b Improve signer timeout errors Alex Gleason 2024-07-06 22:59:18 +01:00
  • 155ca77074 Merge branch 'fix-not-being-able-to-post' into 'main' Alex Gleason 2024-07-06 19:52:33 +00:00
  • 2167106577 Fix not being able to post Alex Gleason 2024-07-06 20:35:12 +01:00
  • 36b9aae1ab switch to postgres.js available-connections branch temporarily Siddharth Singh 2024-07-06 20:07:02 +05:30
  • 71bdfea317 refactor: get database dialect from Conf.db.dialect P. Reis 2024-07-06 11:11:41 -03:00
  • 102398967e fix type stuff Siddharth Singh 2024-07-06 18:18:38 +05:30
  • 3495092eff add poolsize and availableconnections metrics back Siddharth Singh 2024-07-06 18:15:21 +05:30
  • a804608afb Merge branch 'main' into 'use-postgres-js' Siddharth Singh 2024-07-06 12:03:21 +00:00
  • 5412d2a07b fix(EventsDB): also add a split only by '@' at symbol P. Reis 2024-07-05 20:43:13 -03:00
  • 92231dc452 test: query by NIP-05 P. Reis 2024-07-05 20:42:11 -03:00
  • 01966496c1 feat: print which dialect is being used when calling createTestDB P. Reis 2024-07-05 18:43:52 -03:00
  • 13d346afbd refactor: remove console.log P. Reis 2024-07-05 18:43:14 -03:00
  • 1b3082cd22 build: set ALLOW_TO_USE_DATABASE_URL in postgres ci P. Reis 2024-07-05 18:34:28 -03:00
  • fed0c70f69 feat: only run tests with Postgres if ALLOW_TO_USE_DATABASE_URL is set to true P. Reis 2024-07-05 18:33:29 -03:00
  • 7e965f4ade refactor(test.ts): explain why set DATABASE_URL to sqlite://:memory: P. Reis 2024-07-05 17:59:12 -03:00
  • 1af229da45 build(gitlab-ci): use deno task test in postgres ci P. Reis 2024-07-05 17:52:13 -03:00
  • 34bbf6e39a test(pipeline): refactor to use createTestDB instead of getTestDB P. Reis 2024-07-05 17:48:34 -03:00
  • f380120cd3 test: refactor to use createTestDB instead of getTestDB P. Reis 2024-07-05 17:48:06 -03:00
  • d18796956b test(hydrate): refactor to only use sqlite P. Reis 2024-07-05 17:43:47 -03:00
  • 85fd7909e6 feat: add optional kysely in HydrateOpts interface P. Reis 2024-07-05 17:42:19 -03:00
  • 8e1826020c test(EventsDB): remove createDB function P. Reis 2024-07-05 17:35:25 -03:00
  • 2154cf011b test: create createTestDB function, supports both Sqlite and Postgres P. Reis 2024-07-05 17:26:27 -03:00
  • 12b2032d87 refactor(EventsDB.test): add one blank line between functions P. Reis 2024-07-04 22:50:12 -03:00
  • a9f79176a2 test: support sqlite and postgres P. Reis 2024-07-04 22:43:56 -03:00
  • a9afe03a37 Merge branch 'metrics-resp' into 'main' Alex Gleason 2024-07-04 23:11:12 +00:00
  • 96a8ccb2e6 HTTP Response metrics Alex Gleason 2024-07-05 00:00:57 +01:00
  • d4713cae01 Move errorHandler to a separate file Alex Gleason 2024-07-04 23:53:20 +01:00
  • 8923a5ee55 Merge branch 'eventsdb-no-ephemeral' into 'main' Alex Gleason 2024-07-04 22:40:17 +00:00
  • 193dd1a011 EventsDB: remove queries for ephemeral kinds Alex Gleason 2024-07-04 23:38:16 +01:00
  • cbb48867c1 test: attempt to use Postgres P. Reis 2024-07-04 18:13:31 -03:00
  • d8247dc76a build: remove DATABASE_URL in test script P. Reis 2024-07-04 18:08:03 -03:00