Sergi Delgado Segura
7c5d65b378
Merge pull request #132 from talaia-labs/131-host-port-cofig
...
Adds API HOST and PORT as configurable parameters
2020-04-20 17:24:29 +02:00
Sergi Delgado Segura
e4cd453860
Fixes test_appointment_malformed_penalty
2020-04-20 17:21:58 +02:00
Sergi Delgado Segura
472efd847b
Typos
2020-04-20 17:01:55 +02:00
Sergi Delgado Segura
79231c6b38
Fixes wrong param name
2020-04-20 17:01:55 +02:00
Sergi Delgado Segura
bed21e9625
Adds API HOST and PORT as configurable parameters.
...
Uses API_BIND/API_PORT for the server and API_CONNECT/API_PORT for the user, for consistency.
2020-04-20 17:01:55 +02:00
Sergi Delgado Segura
2be433d589
Refactors cli to avoid multi-type returns (normal return + None). Adds exceptions for errors.
2020-04-20 17:00:49 +02:00
Sergi Delgado Segura
7c38122588
Merge pull request #133 from talaia-labs/121-refactor-cli
...
Polishes cli
2020-04-20 16:10:31 +02:00
Sergi Delgado Segura
7b4ea313c6
Adds register docs and removes API readme
...
The TEOS-API README is no longer needed after open-sourcing the server
2020-04-20 16:06:42 +02:00
Sergi Delgado Segura
4a65b2524b
Refactors cli to avoid multi-type returns (normal return + None). Adds exceptions for errors.
2020-04-20 16:06:38 +02:00
Sergi Delgado Segura
e2ae29b4fe
Merge pull request #123 from talaia-labs/117-last-block-on-restart
...
Stores last block on db on fresh bootstrap for Watcher and Responder
2020-04-20 15:11:54 +02:00
Sergi Delgado Segura
c165318940
Merge branch 'master' into 117-last-block-on-restart
2020-04-20 14:16:20 +02:00
Sergi Delgado Segura
f472d6ccc2
Merge pull request #119 from orbitalturtle/cli_get_all_appointments
...
Add get_all_appointments cli command
2020-04-20 14:15:31 +02:00
Sergi Delgado Segura
5f7eb9df10
Minor fixes
2020-04-20 13:58:09 +02:00
Sergi Delgado Segura
2c0c1e4c42
Merge branch 'master' into cli_get_all_appointments
2020-04-20 13:27:46 +02:00
Turtle
ad078cf3af
Test get_all_appointments e2e
2020-04-17 15:29:01 -04:00
Turtle
b6b95a9821
Add get_all_appointments cli command
2020-04-17 15:17:11 -04:00
Sergi Delgado Segura
52cbd73859
Merge pull request #122 from talaia-labs/116-openssl-python-dependencies
...
Defines minimal version of both openssl and python3 in DEPENDENCIES.
2020-04-10 11:33:35 +02:00
Sergi Delgado Segura
75060717fc
Merge branch 'master' into 116-openssl-python-dependencies
2020-04-10 11:30:34 +02:00
a7a6e1a879
Merge pull request #2 from talaia-labs/131-host-port-cofig
...
131 host port cofig
2020-04-09 08:48:26 +02:00
38bcce9362
pr conflict resolving
2020-04-09 08:48:02 +02:00
e77f7ea200
update
2020-04-09 08:46:28 +02:00
ef83b8a3ef
Merge pull request #1 from talaia-labs/master
...
updating master
2020-04-09 07:01:39 +02:00
Sergi Delgado Segura
62edf51dbd
Adds API HOST and PORT as configurable parameters. Renames them to API_CONNECT and API_PORT for consistency.
2020-04-07 12:29:51 +02:00
Sergi Delgado Segura
630c3f6e0c
Fixes last known block initialization on Watcher
2020-04-07 11:40:44 +02:00
Sergi Delgado Segura
75eebf80cd
Adds last_known_block to Watcher and stores last block on db on fresh bootstrap Watcher and Responder
2020-04-07 11:40:44 +02:00
Sergi Delgado Segura
8991f71148
Merge pull request #124 from talaia-labs/17-gatekeep-api
...
Adds user authentication
2020-04-07 11:33:11 +02:00
4bd1e9c65e
updates
2020-04-06 08:46:25 +02:00
cafe282db5
0.0.0.0 bind for teos
2020-04-05 17:18:01 +02:00
102b89cb9d
updating readme and target change
2020-04-05 15:26:54 +02:00
3ab4e57f4d
Dockerfile and entrypoint
2020-04-05 15:17:16 +02:00
Sergi Delgado Segura
b4a453c8de
Adds register docs and removes API readme
...
The TEOS-API README is no longer needed after open-sourcing the server
2020-04-04 13:09:19 +02:00
Sergi Delgado Segura
c74f6a49af
Refactors cli to avoid multi-type returns (normal return + None). Adds exceptions for errors.
2020-04-03 21:57:38 +02:00
Sergi Delgado Segura
f350182012
sign_recoverable can raise a ValueError, handling it.
2020-04-03 21:56:42 +02:00
Sergi Delgado Segura
dcb221ea36
Adds missing cli register test
2020-04-03 20:57:01 +02:00
Sergi Delgado Segura
10e856ae74
Fixes typos according to the review
2020-04-03 16:38:46 +02:00
Sergi Delgado Segura
fe73ee7298
Fixes comments, docstrings and some renamings
2020-04-02 15:20:09 +02:00
Sergi Delgado Segura
39f2628b79
Fixes docs and adds register help
2020-04-02 15:15:45 +02:00
Sergi Delgado Segura
099ec5d1ce
PEP8 fixes
2020-04-02 10:02:50 +02:00
Sergi Delgado Segura
b93aa64827
Patches unchanged variable after renaming in 3e32d8a85e
2020-04-02 10:02:11 +02:00
Sergi Delgado Segura
7abb4ada00
Updates AppoitmentDBM unit tests and adds UserDBM's
2020-04-01 21:30:34 +02:00
Sergi Delgado Segura
9a29e59781
Adds additional checks to DBManagers (Appointments and Users)
2020-04-01 21:30:18 +02:00
Sergi Delgado Segura
f31f356a1a
Adapts tests to use userDB and registered_users content as dict
2020-04-01 18:27:27 +02:00
Sergi Delgado Segura
3009bb83ba
Addaps api and daemon to use userDB
2020-04-01 18:26:36 +02:00
Sergi Delgado Segura
a46bab6b20
Adds user database and modifies registered_user content to be a dict instead of an int
...
Future additional data may be stored, so it's better if we store it as something that can hold it
2020-04-01 18:25:14 +02:00
Sergi Delgado Segura
4a3f4bc522
Addapts tests to match 7031b552f7. Improves DBManager tests.
2020-04-01 17:19:41 +02:00
Sergi Delgado Segura
7031b552f7
Splits DBManager in parent and child classes so a UserDBManager can be implemented
...
- DBManager preserves the basic methods, while the appointment related ones have been moved to AppointmentDBM.
- AppointmentDBM handles json loads and dumps for appointments and trackers, so the corresponding methods can be removed from their classes.
- Updates docs.
2020-04-01 17:18:37 +02:00
Sergi Delgado Segura
0e392d1f2a
Cryptographer.sigrec_decode assumed signatures where properly encoded.
...
- Fixes a bug in sigrec_decode where the decoding function assumend that the first by was formatted as 31 + SigRec. Non properly encoded signatures made the function to crash due to an overflow (int_to_bytes(x) for negative x)
2020-04-01 17:04:33 +02:00
Sergi Delgado Segura
2d67fe8638
rpc_passwd -> rpc_password. The former can be confusing since the bitcoind parameter is rpcpassword. Avoiding that.
2020-04-01 11:14:20 +02:00
Sergi Delgado Segura
18e9a0fe5f
Removes 2kib restriction from readmes
2020-03-31 17:51:19 +02:00
Sergi Delgado Segura
94be7acceb
Defines minimal version of both openssl and python3 in DEPENDENCIES. Close #116 .
2020-03-31 17:47:07 +02:00