Commit Graph

2656 Commits (d1aabfcb09bfa4fa507746a1b0fab157fdea0893)

Author SHA1 Message Date
Kieran Prasch d1aabfcb09
Add blockchain entities job (with PR #562 in mind) 2018-12-03 14:42:48 -08:00
Kieran Prasch 3bb0c11e94
Glob CI tests into parallel builds 2018-12-03 14:42:48 -08:00
Kieran Prasch da414db282
Add Coveralls build steps to test jobs 2018-12-03 14:42:48 -08:00
Kieran Prasch b6d58b11e5
Experiment with a dedicated coveralls build; Use pipenv envvar API and circleCI contexts. 2018-12-03 14:42:48 -08:00
Kieran Prasch 99025fa284
Adds pip install build step in CI workflow. 2018-12-03 14:42:48 -08:00
Kieran Prasch 0835794df9
Try on some coveralls 2018-12-03 14:42:48 -08:00
David Núñez 6de99512eb
Merge pull request #521 from tuxxy/fourth-annual-updated-revoke
Implement Revoke
2018-12-03 23:23:53 +01:00
tuxxy a457385b5b Add status code in RuntimeError 2018-12-03 15:16:38 -07:00
tuxxy 2358e29de3 Set allow_missing to n - revocation_threshold 2018-12-03 14:35:31 -07:00
Tux aea5ebe0ea
Remove unused import 2018-11-30 15:29:28 -07:00
tuxxy 398d854f7f Add revocation integration test (thanks @cyngusv) to test_bob_joins_policy_and_retreives 2018-11-30 13:18:13 -07:00
tuxxy fec5935fd0 Add typehint for the revoke method 2018-11-29 13:51:00 -07:00
tuxxy 01336137a1 Add Revocation docstring 2018-11-29 13:47:18 -07:00
tuxxy ce05b9706d Add logging when revoking 2018-11-28 16:46:29 -07:00
Tux 17c2a5749d
Merge pull request #575 from KPrasch/freeze
Dependency version freeze; Pipenv lock, legacy pip requirements.
2018-11-28 15:01:25 -07:00
David Núñez 92dc863f0e
Pin Umbral 0.1.1.a3
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
2018-11-28 10:40:17 -08:00
Kieran Prasch e81500ef77
Dependency version freeze; Pipenv lock, legacy pip requirements. 2018-11-27 15:58:19 -08:00
tuxxy 0c474883f0 Make failed_revocations a dict with node_id as key 2018-11-26 12:13:32 -07:00
tuxxy 78358767c3 Cleanup middleware logic 2018-11-21 12:41:50 -07:00
tuxxy a2c9a55a73 Change add_receipt -> add_confirmation 2018-11-21 12:10:45 -07:00
tuxxy da7ca8d13e Move Revocation to its own class 2018-11-21 12:07:13 -07:00
K Prasch 17839b93f5
Merge pull request #559 from jMyles/learning-loop
State tracking across network
2018-11-19 19:22:10 -08:00
K Prasch 9c85f54466
Merge pull request #561 from KPrasch/timber
--debug flag and file logging observer
2018-11-19 19:21:28 -08:00
jMyles 7738ca4ab7 I got nothin'. Let's just pretend this never happened. 2018-11-19 19:02:14 -08:00
tuxxy db96bb13c0 Return a tuple of (Revocaton, None) when revoke_arrangement returns 404 2018-11-19 16:44:38 -07:00
tuxxy a12c9b1134 Use DELETE method for RESTful call to revoke_arrangement 2018-11-19 16:44:38 -07:00
tuxxy c130df05f3 Add test_revocation 2018-11-19 16:44:38 -07:00
tuxxy 0ddfa230de Refactor to use new RevocationKit 2018-11-19 16:44:38 -07:00
tuxxy 88054ecc8f Remove RevocationNotice and refactor RevocationKit to use a namedtuple for revocations 2018-11-19 16:44:38 -07:00
tuxxy 57db0e8639 Test alice_can_grant_and_revoke and add revoke_arrangement to MockRestMiddleware 2018-11-19 16:44:38 -07:00
tuxxy 8a55832bc7 Fill in revoke method on characters.lawful.Alice 2018-11-19 16:44:38 -07:00
tuxxy dfbbc2b9c0 Add revoke_arrangement to RestMiddleware 2018-11-19 16:44:38 -07:00
tuxxy 0a70345777 Add revoke_policy endpoint to network.server 2018-11-19 16:44:38 -07:00
Tux 27438d80cd
Merge pull request #565 from cygnusv/pinipon
Refactor node storages backend tests; Accomodate pytest>4
2018-11-19 16:42:26 -07:00
Kieran Prasch 704f41a744 Refactor node storages backend tests; Accomodate pytest>4 2018-11-19 23:53:44 +01:00
K Prasch 210168298c Merge pull request #564 from cygnusv/pinipon
Pin umbral==0.1.1a3 before new API-breaking release
2018-11-19 14:13:07 -08:00
David Núñez fe22af19fd Pin umbral==0.1.1a3 before new API-breaking release 2018-11-19 22:10:29 +01:00
Evalovelac3 f44f18a306
Merge pull request #556 from EvaLovlac3/openssl_err
capture openssl internal error for scyrpt
2018-11-19 09:25:00 -07:00
Kieran Prasch 844c2a4674 Refactor node storages backend tests; Accomodate pytest>4 2018-11-16 14:26:31 -08:00
jMyles 72c2b47222 Let's allow FleetStateTracker to be checked for addresses, not just VerifiableNodes. 2018-11-16 14:16:55 -08:00
jMyles fea6b6a258 Tests now reflect state changes. 2018-11-16 10:26:29 -08:00
jMyles 9f842473bb Putting new state metadata on template. 2018-11-16 10:26:29 -08:00
jMyles f25679523d Track states of teacher nodes. 2018-11-16 10:24:26 -08:00
jMyles 117c70eb26 FleetState is now FleetStateTracker; FleetState is a smaller idea communicated by a NamedTuple. We now track previous states. 2018-11-16 10:24:26 -08:00
jMyles 458b999ddd Moved away from treating known_nodes as a dict throughout. 2018-11-16 10:24:26 -08:00
jMyles fba0d2a99d Sometimes you just want the addresses in the fleet. 2018-11-16 10:24:26 -08:00
jMyles 7caee0dc91 Gonna need __len__ and __eq__ for state. 2018-11-16 10:24:26 -08:00
jMyles 71bbc2772c Nodes can directly iterate and introspect known_nodes now. 2018-11-16 10:24:26 -08:00
jMyles 7525cfa8a8 Filling out the dunders on FleetState. 2018-11-16 10:24:26 -08:00
jMyles 78aeee44c5 Actually, we can just go straight to learning from the teacher now. Fixes #557. 2018-11-16 10:24:26 -08:00