Sergi Delgado Segura
f0150ce585
Removes hash/cipher configuration and changes AESGCM128 for CHACHA20POLY1305
...
Updates tests accordingly
2019-12-04 17:46:07 +01:00
Sergi Delgado Segura
c679d59451
Merge branch '59-uncovered-tests'
2019-12-04 14:41:24 +01:00
Sergi Delgado Segura
c663fab788
Return non found if the locator does not fit the proper format
2019-12-04 13:27:06 +01:00
Turtle
7713a3cd47
Server validates appointment signature upon reception
2019-11-26 23:21:07 -05:00
Sergi Delgado Segura
3a1bf0cc8a
Updates API to use DB on get methods
2019-11-14 17:38:26 +00:00
Sergi Delgado Segura
20f296c9d4
Reformats code to match code guidelines
2019-11-07 15:47:35 +00:00
Sergi Delgado Segura
f61474216c
Fixes and tests updates
...
Updates tests so they run with the db_manager and fixes some bugs introduced in d7d42c9.
2019-10-28 14:49:40 -07:00
Sergi Delgado Segura
a0538739d2
Starts data persistence integration
...
The difference between master and the old data-persistence branch was huge, seems more effective to manually cherry pick the changes and integrate them
2019-10-28 14:38:50 -07:00
Salvatore Ingala
b633c89724
Several fixes from PR review
2019-10-23 22:33:34 +08:00
Salvatore Ingala
cd2f3610f9
Merge branch 'testing' into 13-appointment-signature
2019-10-23 09:19:44 +08:00
Sergi Delgado Segura
af0e9c81b5
Adds some missing tests
2019-10-22 16:38:28 +01:00
Salvatore Ingala
9b1af92fc3
Minor fixes
2019-10-22 18:59:27 +08:00
Salvatore Ingala
cbcff453b1
Remove unused import
2019-10-22 14:37:28 +08:00
Salvatore Ingala
8b46c2f496
Merge branch 'testing' into 13-appointment-signature
2019-10-22 12:14:02 +08:00
Sergi Delgado Segura
e5013d5bca
Dissables Flask logging
2019-10-21 16:53:29 +01:00
Salvatore Ingala
50d53e0960
Converted response format of add_appointment to json
2019-10-18 10:22:04 +08:00
Sergi Delgado Segura
c09becd7fa
Fixes to_dict/to_json for and some fixes
2019-10-17 19:11:32 +01:00
Salvatore Ingala
7c1d8b69c7
Changed to_json to to_dict in Appointment and Job; added to_json to Appointment to actually return a string
2019-10-17 09:59:34 +08:00
Salvatore Ingala
99db9a29ad
Added signatures to appointment
2019-10-17 09:59:29 +08:00
Salvatore Ingala
9f25ef8603
Fixes from PR review
2019-10-10 18:22:33 +07:00
Salvatore Ingala
aea1d1f1e0
Fixes from PR review
2019-10-10 11:07:58 +07:00
Salvatore Ingala
dee93e5c62
Moved StructuredMessage and Logger to separate file; refactored pisa-cli logging using new format
2019-10-10 09:59:11 +07:00
Salvatore Ingala
bae9b6b913
Added Logger class; refactored logging accordingly
2019-10-10 09:59:10 +07:00
Salvatore Ingala
2a5dd48950
PEP8 linting
2019-10-10 09:58:27 +07:00
Salvatore Ingala
ed0cb4f632
Changed log format to JSON; fixed missing return value in get_potential_matches
2019-10-10 09:58:27 +07:00
Sergi Delgado Segura
e81ccd39a1
Adds API unit tests and modifies bitcoin_sim to be fixture compatible
...
- Adds unit tests for API
- Updates API to let BlockProcessor deal with block block related JSON-RPC
- Fixes BlockProcessor get_potential_matches return
- Makes bitcoin_sim runnable via function (instead of a main runnable script) to work with pytests fixture
- <3 Fixture
2019-10-08 18:55:27 +01:00
Sergi Delgado Segura
d2a07d6519
More clean up
2019-10-07 15:36:58 +01:00
Sergi Delgado Segura
e9832e4408
More clean up
2019-10-03 11:47:07 +01:00
Sergi Delgado Segura
93e23e769f
Code clean up
...
Deletes debug/logging pair. Defines logging and bitcoin_cli as system-wide variables
2019-10-02 17:03:43 +01:00
Sergi Delgado Segura
ebac9b003e
Updates api to match the net internal data structures
2019-08-26 16:26:53 +02:00
Sergi Delgado Segura
69e361f46e
Updates response code when appointment is valid but rejected
2019-08-12 14:03:58 +01:00
Sergi Delgado Segura
0978d0bf9e
Adds a bunch of comments related to the open issues. Clear old comments.
2019-08-12 14:02:41 +01:00
Sergi Delgado Segura
1cde4a2a11
refactors project structure
2019-08-12 13:24:04 +01:00