Commit Graph

  • a1b0236c0a Adds new Responder tests Sergi Delgado Segura 2020-04-20 12:44:00 +02:00
  • 6ef6e68e18 Adds Responder.get_summary. Fixes bug on Responder.get_expired_trackers Sergi Delgado Segura 2020-04-20 12:42:31 +02:00
  • 797cb9786e Adds new gatekeeper tests Sergi Delgado Segura 2020-04-19 19:35:05 +02:00
  • 66dce42526 Adds get_summary to extended appointment Sergi Delgado Segura 2020-04-19 19:33:29 +02:00
  • 2e6095971d Improves docstrings Sergi Delgado Segura 2020-04-17 18:03:12 +02:00
  • eea12a695e Improves API returns for 404 and extends tests to cover it Sergi Delgado Segura 2020-04-17 18:01:15 +02:00
  • eb8ffb4916 Adaps unit tests. Speeds up tests by removing unnecesary sleeps Sergi Delgado Segura 2020-04-16 19:05:07 +02:00
  • 8fad4d79cc Small fixes and docs Sergi Delgado Segura 2020-04-16 19:04:16 +02:00
  • a9b255e267 Removes gatekeeper from API Sergi Delgado Segura 2020-04-16 10:49:45 +02:00
  • 8e3caadc5c Adds ExtendedAppointent unit tests and simplifies Appointment's Sergi Delgado Segura 2020-04-15 15:44:31 +02:00
  • 4e1c3e83cf Removes start/end_time from plugin Sergi Delgado Segura 2020-04-15 13:34:52 +02:00
  • 3f15459f2c Creates ExtendedAppointment as an appointment with user information Sergi Delgado Segura 2020-04-14 20:55:44 +02:00
  • 86e97e37bf Removes start/end time from appointment Sergi Delgado Segura 2020-04-14 16:53:35 +02:00
  • 9cbd9ed18a Adds end time to the user (subscription) information. It will replace the appointment one. Sergi Delgado Segura 2020-04-14 16:41:15 +02:00
  • 32dd5cfc3f Refactors cli to avoid multi-type returns (normal return + None). Adds exceptions for errors. Sergi Delgado Segura 2020-04-03 21:57:38 +02:00
  • 1ec69e8703 Stops plugin if towers db cannot be accessed Sergi Delgado Segura 2020-04-10 17:15:06 +02:00
  • 96d98a3546 compressed_pk -> user_id and logs id on bootstrap Sergi Delgado Segura 2020-04-10 17:02:51 +02:00
  • 08c66b6d42 Fixes error logging Sergi Delgado Segura 2020-04-10 16:39:26 +02:00
  • 5c35ff1249 Fixes tests Sergi Delgado Segura 2020-04-10 16:31:10 +02:00
  • a1a87ba9da Can't -> cannot Sergi Delgado Segura 2020-04-10 16:30:13 +02:00
  • a427b12799 Updates cli unit tests Sergi Delgado Segura 2020-04-10 13:32:11 +02:00
  • 9afd5b1970 Gets rid of cli_pk file Sergi Delgado Segura 2020-04-10 13:31:57 +02:00
  • 2242e780dd Fixes log level and register command Sergi Delgado Segura 2020-04-09 18:00:00 +02:00
  • 6b025a2d9c Improves add_appointment method. Has some pending fixmes Sergi Delgado Segura 2020-04-09 17:58:09 +02:00
  • 08701f0fee Refactors Cryptographer to remove logs and avoid multi return types Sergi Delgado Segura 2020-04-09 17:57:40 +02:00
  • b4ea005f55 Adds parse methods for add_appointment Sergi Delgado Segura 2020-04-09 17:55:08 +02:00
  • 71507d4c32 Gets rid of blob classes. Close #66 Sergi Delgado Segura 2020-04-09 17:54:05 +02:00
  • 80e72f089d Splits exceptions in common + client Sergi Delgado Segura 2020-04-09 17:49:46 +02:00
  • b3841c1da6 Updates defaults names Sergi Delgado Segura 2020-04-09 17:48:07 +02:00
  • ed8ff228d8 First commands with basic structure. Sergi Delgado Segura 2020-04-09 17:45:34 +02:00
  • b5c587b7c5 Merge pull request #136 from talaia-labs/121-refactor-cli Sergi Delgado Segura 2020-04-20 17:29:38 +02:00
  • 018852f829 Merge branch 'master' into 121-refactor-cli Sergi Delgado Segura 2020-04-20 17:28:44 +02:00
  • 7c5d65b378 Merge pull request #132 from talaia-labs/131-host-port-cofig Sergi Delgado Segura 2020-04-20 17:24:29 +02:00
  • e4cd453860 Fixes test_appointment_malformed_penalty Sergi Delgado Segura 2020-04-20 17:21:58 +02:00
  • 472efd847b Typos Sergi Delgado Segura 2020-04-09 17:15:24 +02:00
  • 79231c6b38 Fixes wrong param name Sergi Delgado Segura 2020-04-09 17:15:06 +02:00
  • bed21e9625 Adds API HOST and PORT as configurable parameters. Sergi Delgado Segura 2020-04-07 12:10:49 +02:00
  • 2be433d589 Refactors cli to avoid multi-type returns (normal return + None). Adds exceptions for errors. Sergi Delgado Segura 2020-04-03 21:57:38 +02:00
  • 7c38122588 Merge pull request #133 from talaia-labs/121-refactor-cli Sergi Delgado Segura 2020-04-20 16:10:31 +02:00
  • 7b4ea313c6 Adds register docs and removes API readme Sergi Delgado Segura 2020-04-04 13:09:19 +02:00
  • 4a65b2524b Refactors cli to avoid multi-type returns (normal return + None). Adds exceptions for errors. Sergi Delgado Segura 2020-04-03 21:57:38 +02:00
  • e2ae29b4fe Merge pull request #123 from talaia-labs/117-last-block-on-restart Sergi Delgado Segura 2020-04-20 15:11:54 +02:00
  • c165318940 Merge branch 'master' into 117-last-block-on-restart Sergi Delgado Segura 2020-04-20 14:16:20 +02:00
  • f472d6ccc2 Merge pull request #119 from orbitalturtle/cli_get_all_appointments Sergi Delgado Segura 2020-04-20 14:15:31 +02:00
  • 5f7eb9df10 Minor fixes Sergi Delgado Segura 2020-04-20 13:58:09 +02:00
  • 2c0c1e4c42 Merge branch 'master' into cli_get_all_appointments Sergi Delgado Segura 2020-04-20 13:27:46 +02:00
  • ad078cf3af Test get_all_appointments e2e Turtle 2020-04-06 01:20:30 -04:00
  • b6b95a9821 Add get_all_appointments cli command Turtle 2020-03-28 18:48:45 -04:00
  • 52cbd73859 Merge pull request #122 from talaia-labs/116-openssl-python-dependencies Sergi Delgado Segura 2020-04-10 11:33:35 +02:00
  • 75060717fc Merge branch 'master' into 116-openssl-python-dependencies Sergi Delgado Segura 2020-04-10 11:30:34 +02:00
  • a7a6e1a879 Merge pull request #2 from talaia-labs/131-host-port-cofig Aljaz Ceru 2020-04-09 08:48:26 +02:00
  • 38bcce9362 pr conflict resolving Aljaz Ceru 2020-04-09 08:48:02 +02:00
  • e77f7ea200 update Aljaz Ceru 2020-04-09 08:46:28 +02:00
  • ef83b8a3ef Merge pull request #1 from talaia-labs/master Aljaz Ceru 2020-04-09 07:01:39 +02:00
  • 62edf51dbd Adds API HOST and PORT as configurable parameters. Renames them to API_CONNECT and API_PORT for consistency. Sergi Delgado Segura 2020-04-07 12:10:49 +02:00
  • 630c3f6e0c Fixes last known block initialization on Watcher Sergi Delgado Segura 2020-04-02 09:57:09 +02:00
  • 75eebf80cd Adds last_known_block to Watcher and stores last block on db on fresh bootstrap Watcher and Responder Sergi Delgado Segura 2020-04-01 10:56:59 +02:00
  • 8991f71148 Merge pull request #124 from talaia-labs/17-gatekeep-api Sergi Delgado Segura 2020-04-07 11:33:11 +02:00
  • 4bd1e9c65e updates Aljaz Ceru 2020-04-06 08:46:25 +02:00
  • cafe282db5 0.0.0.0 bind for teos Aljaz Ceru 2020-04-05 17:18:01 +02:00
  • 102b89cb9d updating readme and target change Aljaz Ceru 2020-04-05 15:26:54 +02:00
  • 3ab4e57f4d Dockerfile and entrypoint dockerfile Aljaz Ceru 2020-04-05 15:17:16 +02:00
  • b4a453c8de Adds register docs and removes API readme Sergi Delgado Segura 2020-04-04 13:09:19 +02:00
  • c74f6a49af Refactors cli to avoid multi-type returns (normal return + None). Adds exceptions for errors. 121-refactor-cli Sergi Delgado Segura 2020-04-03 21:57:38 +02:00
  • f350182012 sign_recoverable can raise a ValueError, handling it. 17-gatekeep-api Sergi Delgado Segura 2020-04-03 21:56:42 +02:00
  • dcb221ea36 Adds missing cli register test Sergi Delgado Segura 2020-04-03 20:57:01 +02:00
  • 10e856ae74 Fixes typos according to the review Sergi Delgado Segura 2020-04-03 16:38:46 +02:00
  • fe73ee7298 Fixes comments, docstrings and some renamings Sergi Delgado Segura 2020-04-02 15:20:04 +02:00
  • 39f2628b79 Fixes docs and adds register help Sergi Delgado Segura 2020-04-02 15:15:34 +02:00
  • 099ec5d1ce PEP8 fixes Sergi Delgado Segura 2020-04-02 10:02:50 +02:00
  • b93aa64827 Patches unchanged variable after renaming in 3e32d8a85e Sergi Delgado Segura 2020-04-02 10:02:11 +02:00
  • 0498c51ec5 Fixes last known block initialization on Watcher 117-last-block-on-restart Sergi Delgado Segura 2020-04-02 09:57:09 +02:00
  • 7abb4ada00 Updates AppoitmentDBM unit tests and adds UserDBM's Sergi Delgado Segura 2020-04-01 21:30:34 +02:00
  • 9a29e59781 Adds additional checks to DBManagers (Appointments and Users) Sergi Delgado Segura 2020-04-01 21:30:12 +02:00
  • f31f356a1a Adapts tests to use userDB and registered_users content as dict Sergi Delgado Segura 2020-04-01 18:27:27 +02:00
  • 3009bb83ba Addaps api and daemon to use userDB Sergi Delgado Segura 2020-04-01 18:26:36 +02:00
  • a46bab6b20 Adds user database and modifies registered_user content to be a dict instead of an int Sergi Delgado Segura 2020-04-01 18:25:14 +02:00
  • 4a3f4bc522 Addapts tests to match 7031b552f7. Improves DBManager tests. Sergi Delgado Segura 2020-04-01 17:19:41 +02:00
  • 7031b552f7 Splits DBManager in parent and child classes so a UserDBManager can be implemented Sergi Delgado Segura 2020-04-01 17:13:20 +02:00
  • 0e392d1f2a Cryptographer.sigrec_decode assumed signatures where properly encoded. Sergi Delgado Segura 2020-04-01 17:04:33 +02:00
  • 2d67fe8638 rpc_passwd -> rpc_password. The former can be confusing since the bitcoind parameter is rpcpassword. Avoiding that. Sergi Delgado Segura 2020-04-01 11:14:20 +02:00
  • be39855d7f Adds last_known_block to Watcher and stores last block on db on fresh bootstrap Watcher and Responder Sergi Delgado Segura 2020-04-01 10:56:59 +02:00
  • 18e9a0fe5f Removes 2kib restriction from readmes Sergi Delgado Segura 2020-03-31 17:51:19 +02:00
  • 94be7acceb Defines minimal version of both openssl and python3 in DEPENDENCIES. Close #116. 116-openssl-python-dependencies Sergi Delgado Segura 2020-03-31 17:17:19 +02:00
  • 0364dba5ca Fixes e2e tests to match the user authentication apporach Sergi Delgado Segura 2020-03-31 16:56:52 +02:00
  • bf0ae36940 Removes old commented code Sergi Delgado Segura 2020-03-31 16:55:40 +02:00
  • 3e32d8a85e Fixes typo in variable and inconsistent return type Sergi Delgado Segura 2020-03-31 16:54:52 +02:00
  • 502f507b21 Adds missing size field in Builder when loading data from the database Sergi Delgado Segura 2020-03-31 15:00:30 +02:00
  • b56123055d Adds flake8 and fixes style issues Sergi Delgado Segura 2020-03-31 11:57:25 +02:00
  • 03c8ad8c87 Improves API testing. Mocks data moving from Watcher/Responder instead of running them in the background. Closes #77. Sergi Delgado Segura 2020-03-31 11:07:01 +02:00
  • 31a25f3f60 Adds unit tests for register, and adaps existing tests to match the changes in the commands Sergi Delgado Segura 2020-03-30 22:24:20 +02:00
  • f8cc099696 Adds register command to cli, modifies get_appointment to work with POST, refactors cli to improve modularity and cleaning the code Sergi Delgado Segura 2020-03-30 22:20:01 +02:00
  • 746a78542f Adds missing tests to API and improves API testing by properly mocking the requests. Closes #77 Sergi Delgado Segura 2020-03-30 22:16:39 +02:00
  • 354724075e Moves route assignment to API constructor so it can be properly tested Sergi Delgado Segura 2020-03-30 22:14:10 +02:00
  • 9ecf98e0c5 Adds tests for appointments updates of different sizes Sergi Delgado Segura 2020-03-30 17:57:47 +02:00
  • c9b3bb625f Fixes slots difference calculation Sergi Delgado Segura 2020-03-30 17:56:47 +02:00
  • 93a389508e Adds checks of decreasing slots for added appointments Sergi Delgado Segura 2020-03-30 16:35:45 +02:00
  • f55e37b0fc Adds unit test for watcher.get_appointment_summary Sergi Delgado Segura 2020-03-30 16:19:04 +02:00
  • 495ea3800e Fixes get_appointment response structure: {"locator": l, "status": s, "data": appointment_data} Sergi Delgado Segura 2020-03-30 16:05:13 +02:00
  • 709a40dc64 Fixes gatekeeper and common/tools tests according to 33966e59e1 Sergi Delgado Segura 2020-03-30 13:08:14 +02:00