Commit Graph

  • 9416b99397
    bumps websock to forked version 0.2.0 v0.5.0 nim-v1.6.x Eric 2024-10-30 18:21:42 +11:00
  • 7e8781ab1f
    fix chronos version Eric 2024-10-30 18:13:07 +11:00
  • aac72abd25
    bumps json_rpc to 0.5.0 with versioned deps chronos and websock Eric 2024-10-30 17:51:02 +11:00
  • 31af0f2bda
    v0.5.0 (#230) master Jacek Sieka 2024-10-29 10:07:21 +01:00
  • 98a5efba4d
    Various error handling and processing fixes (#228) Jacek Sieka 2024-10-22 21:58:46 +02:00
  • 0408795be9
    v0.4.4 (#227) andri lim 2024-10-15 16:59:34 +07:00
  • a222f44635
    fix stylecheck for UInt256 (#226) metagn 2024-10-10 14:57:04 +03:00
  • be16a6528a
    work around Nim 2.0.10 issue (#225) tersec 2024-10-04 03:50:33 +00:00
  • 9da5b609bf
    update ci.yml to test Nim 2.2; also test gcc-14 (#223) Miran 2024-09-11 12:36:14 +02:00
  • e27c10ad41
    Some minimal changes to be able to base the nimlangserver in json_rpc (#222) Juan M Gómez 2024-07-23 11:05:54 +01:00
  • 8e1cdb1823
    update ci.yml and be more explicit in .nimble (#221) Miran 2024-07-01 18:07:28 +02:00
  • f40a8ba5c8
    Add redefine pragma to inner template (#220) andri lim 2024-06-18 23:00:47 +07:00
  • ad8721e0f3
    Export errors for json-rpc clients (#218) Kim De Mey 2024-03-15 09:05:33 +01:00
  • a20ba207d2
    Introduce custom application error with optional data object (#216) Kim De Mey 2024-03-04 09:19:28 +01:00
  • 8682bb6c85
    align maximum body size between Websock and HTTP transports (#211) Etan Kissling 2024-02-20 14:34:20 +01:00
  • 9c65df3053
    Add build test with chronicles to json enabled (#215) andri lim 2024-02-19 13:47:40 +07:00
  • 514049a287
    Fix ws and socket client error handling and add test to #212 (#213) andri lim 2024-02-19 08:53:10 +07:00
  • 47cfc8916f
    Improve batch call example and wrapper comments (#214) andri lim 2024-02-19 08:52:10 +07:00
  • 171c747584
    avoid failing uninitialized Future (#212) Etan Kissling 2024-02-17 09:02:20 +01:00
  • a7e68ec059
    use non-EOL macOS version for GitHub Actions CI (#210) tersec 2024-02-16 17:36:52 +00:00
  • 20fb49fdd0
    test refc in CI in Nim 2.0 and later (#209) tersec 2024-02-14 02:28:29 +00:00
  • 583b89c264
    v0.4.2 jangko 2024-02-04 14:52:37 +07:00
  • 165e54133d
    Add framework to support more optional types (#206) andri lim 2024-02-02 14:14:37 +07:00
  • 2157e8980d
    Should compile if chronicles log turned on jangko 2024-01-31 16:46:44 +07:00
  • 95a6f550cd
    v0.4.0 jangko 2024-01-31 15:10:29 +07:00
  • 0b8cec3aa8
    Implement RPC batch call both in servers and clients jangko 2024-01-30 14:11:49 +07:00
  • 85d6a67fbc
    Move CancelledError handling to outer try/except of RpcWebsocketServer jangko 2024-01-29 10:40:40 +07:00
  • c5c40af304
    HttpAuthHook use async raises jangko 2024-01-27 18:00:02 +07:00
  • addfc322f5
    Revert "Fix CI badge url" jangko 2024-01-27 16:12:41 +07:00
  • bdc7f36f6d
    Upgrade github actions to v4 jangko 2024-01-27 14:49:42 +07:00
  • 169b0e7961
    Fix CI badge url jangko 2024-01-27 14:49:28 +07:00
  • 110c45a333
    http server better exception handling jangko 2024-01-27 14:47:24 +07:00
  • 9c2b36e636
    Use pragma push/pop pair to disable warning jangko 2024-01-27 14:39:41 +07:00
  • 9a34452e23
    Refactoring: extract rpc handler from HTTP and WebSocket server jangko 2024-01-25 19:41:56 +07:00
  • dad0255c71
    Client pass meaningful error to newFut when processMessage failed jangko 2024-01-23 12:10:33 +07:00
  • 26a6cb1790
    Client also handle error message if id is null (#196) andri lim 2024-01-21 12:06:18 +07:00
  • 8d79d52841
    Improve both client and server resilience against fields and elements with null value (#195) andri lim 2024-01-17 14:10:05 +07:00
  • b6d068f489
    Fix improper yield usage in json-rpc-websocketserver jangko 2024-01-15 10:59:16 +07:00
  • f90e946b6a
    Router.register should not raise exception jangko 2024-01-13 15:36:47 +07:00
  • 66208055bc
    Both http server and client now can handle chunked transfer jangko 2024-01-12 17:05:55 +07:00
  • 97d19b9583
    Add comments in wrapper generator jangko 2024-01-12 08:33:29 +07:00
  • a6475e49b2
    v0.3.0 jangko 2024-01-11 21:23:55 +07:00
  • ab3dd0009b
    RPC server handle null return value correctly jangko 2024-01-11 13:57:18 +07:00
  • 08ceae27e0
    Move errors module back to json_rpc folder jangko 2024-01-08 10:37:29 +07:00
  • c688889c85
    Fix example in the README.md jangko 2024-01-07 16:49:04 +07:00
  • 09d1281a62
    Add onProcessMessage hook to client jangko 2024-01-07 13:58:35 +07:00
  • 20b4c9a0fb
    Let the OS choose the port for tests jangko 2024-01-07 14:40:59 +07:00
  • 31b741720b
    Add test for createRpcSigsFromNim and createSingleRpcSig jangko 2024-01-04 20:36:43 +07:00
  • 2f6a605aa2
    Reenable test hhtps jangko 2024-01-04 11:53:15 +07:00
  • 834de413d9
    Rename jrpc_sys module back to jsonmarshal jangko 2024-01-04 11:40:22 +07:00
  • 014658d1e4
    Fix optional parameter parsing fails in rpc macro with generics jangko 2024-01-04 11:17:31 +07:00
  • f59e387da2
    Add example test case that currently fails the Option parsing kdeme 2023-04-27 13:33:50 +02:00
  • 76dd352ace
    Remove StringOfJson jangko 2024-01-04 07:49:19 +07:00
  • e0b077fea4
    Upgrade rpc router internals (#178) andri lim 2024-01-03 20:06:53 +07:00
  • c3769f9130
    Add copyright to source file jangko 2023-12-14 08:34:13 +07:00
  • 819b6fed37
    Use nim-json-serialization for RPCs (#172) coffeepots 2023-12-14 01:29:11 +00:00
  • 08d7fccfe2
    v0.2.0 jangko 2023-12-13 09:27:19 +07:00
  • 33360528d2
    fix improper yield usage (#175) Jacek Sieka 2023-12-13 03:21:50 +01:00
  • a8731e91bc
    Support decoding nil ref object jangko 2023-12-12 09:55:21 +07:00
  • 60c4c9b5f2
    improve RPC client logging (#171) Etan Kissling 2023-08-23 14:20:19 +02:00
  • b067143788
    fix ws server param type jangko 2023-08-15 13:49:31 +07:00
  • 26abc0e3d2
    fix router example jangko 2023-08-15 13:49:02 +07:00
  • 32200345f8
    use JsonNode.isNil rather than == nil to work around Nim issues (#167) tersec 2023-07-12 17:34:34 +00:00
  • 325dd4ec35
    test Nim 2.0 in CI (#166) tersec 2023-07-11 06:07:24 +00:00
  • 0bf2bcbe74
    httpserver.nim: adding 'Content-Type: application/json' header to the response (#165) Ivan Folgueira Bande 2023-06-15 11:11:26 +02:00
  • 4c31a8bd46
    Remove nimble.lock file to be able to run nimble test (#161) Kim De Mey 2023-06-07 02:57:37 -06:00
  • f79be14c99
    drop support for Nim v1.2/1.4 (#164) tersec 2023-05-25 09:16:08 +00:00
  • 172183e702
    Allow the user to specify HttpClientFlags when creating a HTTP client Zahary Karadjov 2023-05-05 02:25:36 +03:00
  • af12764436
    Fix Nim 1.6 regressions (#160) Shuu 2023-03-07 00:00:35 +09:00
  • 07e4705b1f
    The ErrorResponse exception now preserves information about the HTTP status code and reason Zahary Karadjov 2023-03-01 12:40:16 +02:00
  • 38950a786d
    reduce compiler warnings jangko 2023-02-22 09:59:21 +07:00
  • c0ecb42613
    normalise nimble, update ci, unittest2 (#158) Jacek Sieka 2022-12-02 13:17:27 +01:00
  • 4e9cc184ca
    Fix newRng usage (#157) Tanguy 2022-11-24 12:10:08 +01:00
  • 3defa1719d
    Update README.md Jacek Sieka 2022-11-24 12:09:06 +01:00
  • c3fa1a4f0f
    update requirements/usage Jacek Sieka 2022-11-24 12:08:27 +01:00
  • b4aff8fec5
    remove news support (#155) Jacek Sieka 2022-11-08 14:39:29 +01:00
  • e6810af618
    expose http server options (#154) Jacek Sieka 2022-10-25 18:48:44 +02:00
  • 64dbf122d7
    Add authhooks to proxy constructor (#153) KonradStaniec 2022-09-22 10:58:19 +02:00
  • 5fa7071d5b
    use object fromJson after creating ref object instance Jacek Sieka 2022-09-21 14:43:41 +02:00
  • 446b18819d
    do not disable TLS verification by default (#148) Etan Kissling 2022-09-16 21:38:56 +02:00
  • 7c80b75856
    fix enum parsing, work around potential nil dereference (#150) Jacek Sieka 2022-09-15 21:32:16 +02:00
  • 184984a4fd
    install openssl on macos for Nim devel jangko 2022-09-05 22:56:42 +07:00
  • c8cbe08de7 align nim-websock support with news Etan Kissling 2022-09-01 13:14:07 +02:00
  • 32ba2d16b9
    update from deprecated to supported Ubuntu and macOS GitHub Actions CI images (#144) tersec 2022-08-18 08:31:16 +00:00
  • 5ccdaed0ad
    add rng param to rpcWebsocketServer constructor jangko 2022-07-27 09:46:36 +07:00
  • 0ef05ae7f8
    update to supported macOS GitHub CI image (#142) tersec 2022-07-22 15:19:39 +00:00
  • 92bb86edf6
    update server transport section in README.md jangko 2022-07-19 09:49:43 +07:00
  • 0fee4be2cc
    implement hook to handle CORS and JWT auth jangko 2022-07-17 12:41:18 +07:00
  • 12e921c2ea
    Add setup files (#139) Ivan Yonchovski 2022-07-12 23:22:17 +03:00
  • d618b555e7
    Use news by default; websock has known issues Zahary Karadjov 2022-06-28 18:12:51 +03:00
  • f65218dd35
    move -d:nimRawSetjmp to config.nims (#137) Miran 2022-06-28 14:50:51 +02:00
  • 335f292a58
    Fix connection leaks in the HTTP client Zahary Karadjov 2022-04-10 21:48:46 +03:00
  • 2e3d22b9e2
    enable styleCheck:usages (#135) Jacek Sieka 2022-04-08 10:25:41 +02:00
  • b80313bfed
    Facilitate http code response on authentication failure (#134) Jordan Hrycaj 2022-04-07 08:34:10 +01:00
  • d4ae2328d4
    Add server Hook for authentication (#133) Jordan Hrycaj 2022-04-05 16:19:52 +01:00
  • 9e0a9496c5
    rm obsolete/unused/unmaintained CI AppVeyor and Travis scripts Dustin Brody 2022-03-31 12:00:38 +00:00
  • b4bab89abd
    fix invalid raises annotations (#132) Jacek Sieka 2022-03-21 15:19:49 +01:00
  • 3a9b77146a
    Merge pull request #131 from status-im/request-header-callback tersec 2022-03-14 07:59:42 +00:00
  • 2d0a417844
    no-op on nil Dustin Brody 2022-03-04 21:07:17 +00:00
  • b455958d8a
    request header callback Dustin Brody 2022-03-04 19:13:29 +00:00