Commit Graph

  • 11d09b76df
    test: Bring the MockSHSSocket testing class in line with the secret-handshake library main Gergely Polonkai 2023-11-19 07:41:48 +01:00
  • 377368509e
    build(typing): Add stricter type hinting to LocalMessage’s feed and previous attribute Gergely Polonkai 2023-11-19 07:30:31 +01:00
  • 59c99097a2
    refactor: Use SHSDuplexStream.close instead of disconnect Gergely Polonkai 2023-11-13 13:14:25 +01:00
  • c2fffafa4e
    feat: Create the PSHandler type Gergely Polonkai 2023-11-18 07:09:19 +01:00
  • 55abb6e341
    ci: Enable (almost) all PyLint messages Gergely Polonkai 2023-11-18 07:14:19 +01:00
  • 526117ae18
    chore: Remove useless PyLint suppressions Gergely Polonkai 2023-11-18 07:12:26 +01:00
  • d6881cd8d5
    feat: Process boolean True responses over Packet Stream Gergely Polonkai 2023-11-18 07:06:10 +01:00
  • 9b54ea6cec
    chore: Remove unnecessary return type markup Gergely Polonkai 2023-11-18 07:03:02 +01:00
  • df8c79514a
    chore: Remove a useless super().__init__() call from PSStreamHandler Gergely Polonkai 2023-11-02 10:50:42 +01:00
  • 0c17410e18
    style: Styling i forgot to commit earlier Gergely Polonkai 2023-11-18 06:50:51 +01:00
  • a85fce7e3f
    test: Fix test_packet_stream.py so there are no coverage issues in it Gergely Polonkai 2023-11-16 10:50:05 +01:00
  • 9e4a254127
    test: Fully cover feed/models.py with tests Gergely Polonkai 2023-11-13 13:14:25 +01:00
  • 1c1e57d868
    ci: Add and configure mypy, and make it happy Gergely Polonkai 2023-11-01 07:22:29 +01:00
  • f2a54b5ce6
    chore: Get rid of all __await__ methods Gergely Polonkai 2023-11-16 05:40:08 +01:00
  • b30603a190
    feat: Make it possible to load SSB secrets from a non-default file Gergely Polonkai 2023-11-13 05:34:32 +01:00
  • c588967c11 build: Remove async_generator as a dependency Gergely Polonkai 2023-11-01 06:03:06 +01:00
  • 01e8de96b2
    fix: Check for empty messages before checking its properties in MuxRPCAPI Gergely Polonkai 2023-11-02 06:15:17 +01:00
  • 6ddb8bc8d3
    test: Add tests for feed utils Gergely Polonkai 2023-11-14 18:47:17 +01:00
  • 69433cab86
    refactor: Change MuxRPC.__await__ MuxRPC.process_messages Gergely Polonkai 2023-11-13 13:18:12 +01:00
  • 3b2c5cc792 test: Let mocker.path.object figure out the mock type to use in packet stream tests Gergely Polonkai 2023-11-14 13:05:09 +01:00
  • d51f27d883
    ci: Add and configure PyLint, and make it happy Gergely Polonkai 2023-11-01 06:03:06 +01:00
  • e0cd456e77
    chore: Remove the unused decorated function in MuxRPCAPI.define Gergely Polonkai 2023-11-02 09:01:01 +01:00
  • 8f5d355ea0
    ci: Update and configure isort, and make it happy Gergely Polonkai 2023-11-14 05:00:03 +01:00
  • d1a0510734
    ci: Use black instead of flake8 Gergely Polonkai 2023-11-01 05:04:43 +01:00
  • 50442c56fe
    chore: Make the project REUSE compatible Gergely Polonkai 2023-11-13 13:34:43 +01:00
  • f6e58b7682
    ci: Add and configure mypy, and make it happy dev Gergely Polonkai 2023-11-01 07:22:29 +01:00
  • 5aa4f16a5a
    ci: Mypy stage 2 (bad) Gergely Polonkai 2023-11-02 10:50:42 +01:00
  • e5e364b97a
    ci: Add and configure mypy, and make it happy Gergely Polonkai 2023-11-01 07:22:29 +01:00
  • 9ca68307f0
    fix: Make MuxRPCAPI.__await__ a sync method Gergely Polonkai 2023-11-02 09:48:37 +01:00
  • 740762b149
    chore: Remove the unused decorated function in MuxRPCAPI.define Gergely Polonkai 2023-11-02 09:01:01 +01:00
  • ebcc94516c
    ci: Add and configure isort, and make it happy Gergely Polonkai 2023-11-01 07:16:17 +01:00
  • 9bf9352bfc
    fix: Check for empty messages before checking its properties in MuxRPCAPI Gergely Polonkai 2023-11-02 06:15:17 +01:00
  • 3aa2794b92
    ci: Add and configure PyLint, and make it happy Gergely Polonkai 2023-11-01 05:57:08 +01:00
  • b30aa39d6b
    ci: Use black instead of flake8 Gergely Polonkai 2023-11-01 05:04:43 +01:00
  • 160ca7109e
    build: Remove async_generator as a dependency Gergely Polonkai 2023-11-01 06:03:06 +01:00
  • 9aa3389902
    build: Use secret-handshake from Git Gergely Polonkai 2023-11-01 06:09:13 +01:00
  • 90526a04f2
    ci: Add and configure pre-commit and commitizen Gergely Polonkai 2023-11-01 04:22:59 +01:00
  • d626b30923
    test: Move test files to a separate tests directory Gergely Polonkai 2023-11-01 12:13:17 +01:00
  • ad7e00ef98
    build: Upgrade PyYAML to 6.0.1 Gergely Polonkai 2023-11-01 06:42:38 +01:00
  • c66e3c3ee9
    ci: Upgrade pytest to the latest version Gergely Polonkai 2023-11-01 06:22:15 +01:00
  • f4335cc4aa
    build: Move to Poetry Gergely Polonkai 2023-10-31 15:36:17 +01:00
  • 88a3311919
    chore: Remove Travis CI config Gergely Polonkai 2023-10-31 15:08:27 +01:00
  • 975467030a Event.wait() is async, and must be awaited Ryan Flynn 2018-10-25 12:39:39 -04:00
  • 77d1477106 Use a blob I can retrieve. Pedro Ferreira 2019-06-14 22:02:45 +02:00
  • 166914144d Verify the hash of the fetched blob Cheng Guo 2018-05-09 21:18:44 +02:00
  • b26b56632f Fixed a bug which causes problem when RPC body size is bigger than 4096 Cheng Guo 2018-05-06 14:55:00 +02:00
  • 734fe59663 Improve OSX config Pedro Ferreira 2019-06-14 21:43:33 +02:00
  • 3ce46291b3 Bugfix for handling a RPC goodbye header Cheng Guo 2018-05-15 21:40:42 +02:00
  • 5af5df69d0 Run TravisCI on OSX Ryan Flynn 2018-10-25 13:19:36 -04:00
  • d9ef4735f7 python 3.7 and after does not work on trusty; try on osx instead, see if it works Ryan Flynn 2018-10-25 13:10:46 -04:00
  • 5d137da5c3 Specify pynacl==1.1.2 Christian Bundy 2019-06-14 20:43:42 +02:00
  • 28096f0f8a Use latest Python versions Pedro Ferreira 2019-06-12 21:11:41 +02:00
  • 8e4228ede1 Specify default Loader Pedro Ferreira 2019-06-12 21:09:48 +02:00
  • b4a3d0cda6 Update dependencies Pedro Ferreira 2019-06-12 21:06:56 +02:00
  • aab2ac18b3 fix test_server and reorganize requirements files Cléber Zavadniak 2018-04-19 23:00:22 -03:00
  • dc1389d634 Adapt code to match secret_handshake changes Pedro Ferreira 2018-02-04 22:18:36 +01:00
  • d6a1ac792c Use proper timestamp instead of OS-dependent Pedro Ferreira 2018-02-04 22:17:38 +01:00
  • 797315e967 Add some additional coverage Pedro Ferreira 2017-08-06 12:16:22 +02:00
  • 73dccb8b15 Extract out stream() method Pedro Ferreira 2017-08-05 20:01:17 +02:00
  • a5ce920440 Revert "Remove pytest-cov flag" Pedro Ferreira 2017-08-05 19:49:50 +02:00
  • 778f74200a Tests for remote feeds Pedro Ferreira 2017-08-05 19:32:01 +02:00
  • e2ec8313dc Refactor feed code Pedro Ferreira 2017-08-05 18:21:14 +02:00
  • 837fd5e38b Add __init__.py which is apparently needed Pedro Ferreira 2017-08-05 12:48:51 +02:00
  • 297b1268b0 Remove pytest-cov flag Pedro Ferreira 2017-08-05 12:47:07 +02:00
  • ee68cd125b Add load_ssb_secret() to utils Pedro Ferreira 2017-08-05 12:24:46 +02:00
  • fcb5981611 Add README badges, bump version Pedro Ferreira 2017-08-01 22:45:54 +02:00
  • 9fc910c37d Python 3.5 compatibility Pedro Ferreira 2017-08-01 22:34:06 +02:00
  • ad8d1b89ae Missing dependency: pytest-mock Pedro Ferreira 2017-08-01 22:33:03 +02:00
  • 8427c188ee Several fixes in packet_stream tests Pedro Ferreira 2017-08-01 22:32:23 +02:00
  • 36d8a13ff3 Add simplejson to dependencies Pedro Ferreira 2017-08-01 21:36:39 +02:00
  • aa5b7b7070 Set version 0.1.0.dev1 Pedro Ferreira 2017-08-01 21:26:59 +02:00
  • 33067864dc Add dependency on secret-handshake Pedro Ferreira 2017-08-01 20:09:26 +02:00
  • 6e9dfe5842 Hide .coverage Pedro Ferreira 2017-08-01 20:09:10 +02:00
  • 7651dc535c Add .travis.yml Pedro Ferreira 2017-08-01 19:40:53 +02:00
  • ad604315ad Add pytest.ini (coverage etc...) Pedro Ferreira 2017-08-01 19:39:15 +02:00
  • fc67995e6b Move test_*.py to examples dir Pedro Ferreira 2017-08-01 19:38:53 +02:00
  • 38ab943fc7 Improve test_client.py Pedro Ferreira 2017-08-01 19:38:04 +02:00
  • 5c7888e006 Use async connect(...) Pedro Ferreira 2017-08-01 19:32:36 +02:00
  • 679cfb3fa1 Add test for on_connect Pedro Ferreira 2017-07-31 23:53:08 +02:00
  • 00fc46890e Add logging to test_server, fix it Pedro Ferreira 2017-07-31 23:17:59 +02:00
  • 14291ed863 Add some additional packet_stream tests Pedro Ferreira 2017-07-31 23:17:32 +02:00
  • 3a0ad1b3ff Fix test_feed Pedro Ferreira 2017-07-31 23:16:20 +02:00
  • f2f4a829d2 Allow low level transport class to be overridden Pedro Ferreira 2017-07-31 23:15:52 +02:00
  • 7b2ca4b606 Update .gitignore Pedro Ferreira 2017-07-30 22:43:49 +02:00
  • f25a9868a2 Add setup.py Pedro Ferreira 2017-07-30 22:37:34 +02:00
  • e6b91af497 Added first packet_stream tests Pedro Ferreira 2017-07-30 22:29:43 +02:00
  • 69394936ee Make read(...) clearer and easier to manage Pedro Ferreira 2017-07-30 22:28:42 +02:00
  • 3d652d11cd Properly handle MuxRPC errors Pedro Ferreira 2017-07-30 14:08:18 +02:00
  • dda0b488c6 Handle split packets properly Pedro Ferreira 2017-07-30 11:51:11 +02:00
  • ae5b99acfa Rename module Pedro Ferreira 2017-07-30 11:49:09 +02:00
  • 02f50239fc Apparently working sink handler Pedro Ferreira 2017-07-30 10:52:04 +02:00
  • e2e893018b Working examples for duplex, requests, source Pedro Ferreira 2017-07-30 10:14:26 +02:00
  • ecb67ebcf4 Partially working implementation (yay!) Pedro Ferreira 2017-07-29 11:54:03 +02:00
  • 21af5fba09 Extract secret-handshake into separate lib Pedro Ferreira 2017-06-05 00:27:44 +02:00
  • 761b503c95 Add MIT license and AUTHORS file Pedro Ferreira 2017-06-02 20:22:26 +02:00
  • e8aff7adf5 Add README.md Pedro Ferreira 2017-06-02 20:15:26 +02:00
  • fe95688f9d First partially working implementation Pedro Ferreira 2017-05-25 12:47:01 +02:00