Commit graph

  • 113a41ee6c Typing Daniel Lugo 2021-10-17 11:38:07 -04:00
  • 74ebda03b2 Check existence of cert before providing to readfile() Daniel Lugo 2021-10-12 12:33:01 -04:00
  • bc13eed372 Permissive cors config Daniel Lugo 2021-10-10 22:11:41 -04:00
  • a5a1d144aa Add cors with wildcard origin Daniel Lugo 2021-10-10 16:06:14 -04:00
  • 49af555da3 Allow OPTIONS method for CORS preflight req Daniel Lugo 2021-10-10 15:58:31 -04:00
  • a0c778b9c3 Correct key semantics Daniel Lugo 2021-10-09 15:33:23 -04:00
  • e51bca7bf7 Provide key to axios's https config Daniel Lugo 2021-10-09 15:11:13 -04:00
  • e1bd05f7a5 Stuff for https Daniel Lugo 2021-10-09 09:34:34 -04:00
  • afbf7cb0d3 Optional accessor on this error Daniel Lugo 2021-10-09 15:02:29 -04:00
  • 3f89ec57ba Simplify Daniel Lugo 2021-10-08 14:57:47 -04:00
  • 62c833862b Use specialThen() here Daniel Lugo 2021-10-08 14:56:42 -04:00
  • 6aa0c2b959 Simpler types all around Daniel Lugo 2021-10-08 14:56:24 -04:00
  • 194f8465ec Do not use load() Daniel Lugo 2021-10-08 14:55:23 -04:00
  • beb722fb57 New gun does not expose text.random() Daniel Lugo 2021-10-05 14:36:25 -04:00
  • 22b77e0b2f An initial read forces gun to connect to peers Daniel Lugo 2021-10-05 11:55:25 -04:00
  • ac2ae7c2f8 Upgrade gun to latest master Daniel Lugo 2021-10-05 11:55:15 -04:00
  • b35f6fc549 Do not remove gun's logger Daniel Lugo 2021-10-05 11:49:06 -04:00
  • 5bf02cd8f0 Avoid sending messages out of the subp after kill Daniel Lugo 2021-09-23 21:53:55 -04:00
  • f3fead0559 Remove excessive log Daniel Lugo 2021-09-23 21:51:56 -04:00
  • 8a5235461d Remove mutex that was needed by jest Daniel Lugo 2021-09-23 21:46:41 -04:00
  • c89f3645d8 Remove jest leftovers Daniel Lugo 2021-09-23 21:37:31 -04:00
  • 4b839919fc Migrate to mocha Daniel Lugo 2021-09-23 21:21:56 -04:00
  • 7bde98e6a3 Foundations for switching to mocha for testing Daniel Lugo 2021-09-23 17:50:44 -04:00
  • 9d342a460c Test for reliably auth info across reforges Daniel Lugo 2021-09-23 16:35:30 -04:00
  • 596c7c8281 Correct property access Daniel Lugo 2021-09-23 11:55:35 -04:00
  • 0c5e13b303 Expose process counter in a better way Daniel Lugo 2021-09-23 11:17:14 -04:00
  • d0d6fea204 Expose forging mechanics Daniel Lugo 2021-09-23 11:15:01 -04:00
  • 09d96efee7 Only clear cached credentials if autoauth fails Daniel Lugo 2021-09-23 11:13:31 -04:00
  • 84ff20995b Authentication section in tests Daniel Lugo 2021-09-23 10:59:35 -04:00
  • 06d20f9c16 forge() should not be awaited Daniel Lugo 2021-09-23 10:09:44 -04:00
  • 2acb7bc379 Test for specialOn() Daniel Lugo 2021-09-22 17:52:29 -04:00
  • 762b704a5b Expose process counter Daniel Lugo 2021-09-22 17:52:21 -04:00
  • 9cf8dddf1a Better check Daniel Lugo 2021-09-22 17:52:09 -04:00
  • a21f949a79 Test for specialThen() Daniel Lugo 2021-09-22 10:38:45 -04:00
  • c992671356 Change test order, avoids undiagnosed race cond Daniel Lugo 2021-09-21 16:20:43 -04:00
  • 39f6ca8664 Correct method for test Daniel Lugo 2021-09-19 15:05:02 -04:00
  • 92429ecb1e Ignore empty object error acks ("{}") when put()ing Daniel Lugo 2021-09-19 12:11:56 -04:00
  • 1d67fb4f49 done() before release() Daniel Lugo 2021-09-18 08:17:18 -04:00
  • 89c206ff03 specialOnce() test foundations Daniel Lugo 2021-09-17 17:07:54 -04:00
  • 91e2ec08c5 Add a promisified put() to GunSmith Daniel Lugo 2021-09-17 16:15:43 -04:00
  • 4562b0d544 Remove debug log Daniel Lugo 2021-09-17 15:43:01 -04:00
  • 7536574ac0 expect.assertions() Daniel Lugo 2021-09-17 15:33:13 -04:00
  • b075c77d27 Correct test script Daniel Lugo 2021-09-17 15:32:53 -04:00
  • 1dc71d31c2 New lifecycle management for GunSmith Daniel Lugo 2021-09-17 14:50:12 -04:00
  • a41862c7b0 Wait for auth only when putting to user graph Daniel Lugo 2021-09-17 14:47:23 -04:00
  • 38e374c329 Wait for readyness before sending msg to subproc Daniel Lugo 2021-09-17 14:37:09 -04:00
  • 7c142aa4dd gun subprocess now checks its death Daniel Lugo 2021-09-16 17:11:16 -04:00
  • 6d2ebbcc36 Send reply to init Daniel Lugo 2021-09-16 17:10:20 -04:00
  • 1c16d44234 Decouple tests Daniel Lugo 2021-09-16 17:10:05 -04:00
  • 3f8faa4daa kill() method for trashing smith Daniel Lugo 2021-09-16 17:08:59 -04:00
  • b77ed72611 Better log Daniel Lugo 2021-09-16 17:08:41 -04:00
  • 5d8f9054f8 Wait for readyness before sending msg Daniel Lugo 2021-09-16 17:08:17 -04:00
  • ed3bab0f8e Better forge Daniel Lugo 2021-09-16 17:08:10 -04:00
  • 956fa6dcff Naming Daniel Lugo 2021-09-16 14:22:45 -04:00
  • b829f0dc98 Flush pending puths regardless of auth Daniel Lugo 2021-09-16 13:58:14 -04:00
  • 6d898baa2a Use winston over console.log Daniel Lugo 2021-09-16 12:24:15 -04:00
  • 03790b46b5 Actually pass through wait Daniel Lugo 2021-09-16 11:58:09 -04:00
  • dd79430e42 Simpler typings Daniel Lugo 2021-09-16 11:50:27 -04:00
  • 986e247c99 Ignore mac file Daniel Lugo 2021-09-16 11:14:48 -04:00
  • b3a9765b7b Better log Daniel Lugo 2021-09-16 11:14:25 -04:00
  • fc7e76036a Format Daniel Lugo 2021-09-15 20:48:54 -04:00
  • ce1a4e116f Greater waits for specialOnce() Daniel Lugo 2021-09-15 20:36:50 -04:00
  • d455b13dce Better log Daniel Lugo 2021-09-15 20:35:35 -04:00
  • 00affe6e15 Wire up Gun's logger to winston Daniel Lugo 2021-09-15 17:41:47 -04:00
  • 7af0ce5bfc Gunsmith restart stuff in separate methods, improve re-forge Daniel Lugo 2021-09-15 17:40:22 -04:00
  • 051d5aa5df Restart mechanics in GunSmith for once()s Daniel Lugo 2021-09-15 12:24:59 -04:00
  • 549f1ba4c4 Await for auth before putting, inside gunprocess Daniel Lugo 2021-09-15 12:15:18 -04:00
  • dc78fa0371 Better logging from subprocess, now uses winston Daniel Lugo 2021-09-15 12:14:59 -04:00
  • 64d3c8f969 Add word to dictionary Daniel Lugo 2021-09-15 12:12:10 -04:00
  • 18d60a6ea8 Use util from ./misc Daniel Lugo 2021-09-15 11:08:23 -04:00
  • 792c3e160e More utils in GunSmith/misc Daniel Lugo 2021-09-15 11:02:20 -04:00
  • 10d309a8d6 Better logging for connected peers Daniel Lugo 2021-09-14 13:29:28 -04:00
  • f98df77967 Test for then() Daniel Lugo 2021-09-14 12:48:18 -04:00
  • ae8f9c1aae Add word to dictionary Daniel Lugo 2021-09-14 12:43:40 -04:00
  • db6bb1becb Better auth test Daniel Lugo 2021-09-14 11:59:42 -04:00
  • e95b4154da Temporary dir for gun test data files Daniel Lugo 2021-09-14 11:59:06 -04:00
  • fa3d19f0e9 Add word to dictionary Daniel Lugo 2021-09-14 11:36:00 -04:00
  • d3ad3b47fb First few tests for gunsmith Daniel Lugo 2021-09-13 17:44:00 -04:00
  • 659588cf15 create() and leave() Daniel Lugo 2021-09-13 17:43:38 -04:00
  • f43748c96c Flush puts from last instance Daniel Lugo 2021-09-13 14:13:18 -04:00
  • 72e68d8462 Simplify type Daniel Lugo 2021-09-13 14:08:20 -04:00
  • fe0441e3b8 Multiput message interface Daniel Lugo 2021-09-13 14:07:36 -04:00
  • cbc89ece4d Utility for merging pending puts Daniel Lugo 2021-09-13 14:07:16 -04:00
  • dd1854dd9b Correct log Daniel Lugo 2021-09-13 12:28:28 -04:00
  • 40af396a6e Implement node._.get Daniel Lugo 2021-09-13 12:28:19 -04:00
  • 958c25cfba Sort out Gun.text.random() Daniel Lugo 2021-09-13 10:57:48 -04:00
  • c055c2fc03 Do not unnecessarily send whole ack Daniel Lugo 2021-09-13 10:21:18 -04:00
  • 773d6f5e22 Change name of puts procedure Daniel Lugo 2021-09-13 10:21:04 -04:00
  • 642d7592ac Correct set() behaviour (return new ref) Daniel Lugo 2021-09-13 09:45:10 -04:00
  • bd4b0f9736 Correct uuid import Daniel Lugo 2021-09-13 09:40:11 -04:00
  • cb2c24d9ed Add load() to subprocess Daniel Lugo 2021-09-13 09:32:52 -04:00
  • 5e7f025c1a Return empty pair if not authenticated Daniel Lugo 2021-09-13 06:20:56 -04:00
  • 6ec931e1fa Do not retry and wait, let GunSmith handle Daniel Lugo 2021-09-12 20:49:32 -04:00
  • 289fe1c918 Simplify using GunSmith's new processes Daniel Lugo 2021-09-12 20:46:45 -04:00
  • 6386cfb18b Use new typings Daniel Lugo 2021-09-12 20:32:35 -04:00
  • 58d7ba1237 Restore then() functionality Daniel Lugo 2021-09-12 17:51:02 -04:00
  • 70adbecc5a Simplify Daniel Lugo 2021-09-12 17:26:48 -04:00
  • 58c3c73497 Add set() functionality Daniel Lugo 2021-09-12 17:22:34 -04:00
  • 40db2cc97d Remove then() Daniel Lugo 2021-09-12 16:40:49 -04:00
  • 0f5565debf Load() functionality Daniel Lugo 2021-09-12 16:40:40 -04:00