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
307fd7dabf
Merge pull request #113 from bjarnemagnussen/master
...
cli: fixes testing for `ConnectionError` in `get_appointment`
2020-03-24 19:00:37 +01:00
Sergi Delgado Segura
7a3996e916
Merge branch 'master' into master
2020-03-24 18:31:54 +01:00
Sergi Delgado Segura
9056f95f5c
Merge pull request #115 from talaia-labs/commit-signing-contributing
...
Adds commit signing section on CONTRIBUTING
2020-03-24 18:29:44 +01:00
Sergi Delgado Segura
284c0314e7
Adds commit signing section on CONTRIBUTING
2020-03-24 18:26:39 +01:00
Bjarne Magnussen
8ef7b44fd0
cli: fixes testing for ConnectionError in get_appointment
2020-03-24 18:25:32 +01:00
Sergi Delgado Segura
8d2c17884a
Merge pull request #112 from talaia-labs/111-docs-typo
...
Fixes path typo on README
2020-03-24 09:41:05 +01:00
Sergi Delgado Segura
973b8e7d1d
close #111
2020-03-24 09:34:23 +01:00
Sergi Delgado Segura
541020dff7
Merge pull request #109 from talaia-labs/100-improve-config
...
Improves config file format
2020-03-23 17:39:45 +01:00
Sergi Delgado Segura
6096fe5dc5
Fixes config templates
...
Removes quotation marks ("") from strings in the template config files
2020-03-23 17:25:52 +01:00
Sergi Delgado Segura
d2fbcf61e3
Updates READMEs with the new config file apporach
2020-03-23 17:15:46 +01:00
Sergi Delgado Segura
d21e947e05
Moves cli show_usage to help.py
2020-03-23 17:15:46 +01:00
Sergi Delgado Segura
3c6f7cf15f
Adds teosd command line help
2020-03-23 17:15:46 +01:00
Sergi Delgado Segura
4071a689af
Updates e2e to match 635da6447d887d7df9387e1eda63eda2e9a7d577
2020-03-23 17:15:46 +01:00
Sergi Delgado Segura
f5edaf1bf0
Fixes default HOST to remove the schema from config
...
The schema now defaults to http if none is defined. Also improves some of the cli docstrings
2020-03-23 17:15:43 +01:00
Sergi Delgado Segura
02eefd5807
Moves extend paths from tools to ConfigLoader
2020-03-23 13:04:50 +01:00
Sergi Delgado Segura
e2ce7ae1a4
Adds missing ConfigLoader unit tests
2020-03-23 12:35:29 +01:00
Sergi Delgado Segura
bc9c1a37f2
Properly sets conf for e2e on bitcoin-cli
...
bitcoin-cli on e2e tests was getting the conf straight from the default, but on circle-cli it should be data from the conf file. Setting it right.
2020-03-23 12:06:49 +01:00
Sergi Delgado Segura
8316892ef2
Uses path.join for safely join paths on common/tools
2020-03-23 12:05:39 +01:00
Sergi Delgado Segura
d622827de8
Changes e2e teos config file format and updates circleci conf
2020-03-23 11:33:35 +01:00
Sergi Delgado Segura
09f32b09aa
Creates data_dir when generating keys if it does not exist
2020-03-23 11:16:49 +01:00
Sergi Delgado Segura
01ad0d4cdf
Adds some ConfigLoader unit tests
2020-03-23 11:16:32 +01:00
Sergi Delgado Segura
27e249e665
Adds missing try/catch when casting data from config file in ConfigLoader
2020-03-22 19:09:48 +01:00
Sergi Delgado Segura
e9f442d419
Refactors e2e tests to match the new config approach
2020-03-21 22:52:38 +01:00
Sergi Delgado Segura
6595c2d790
Avoids global variables in teosd for better testing
2020-03-21 22:52:16 +01:00
Sergi Delgado Segura
2587e25637
Adds cli unit tests
2020-03-21 22:13:33 +01:00
Sergi Delgado Segura
3d389a92ac
Refactors cli to use the new config approach. Adds template.conf
2020-03-21 22:13:22 +01:00
Sergi Delgado Segura
00a48ce6f5
Modifies ConfigParser so config file is passed as parameter (to be used by both teos and cli)
...
- Modifies ConfigParser
- Adapts __init__ and teosd at teos/
2020-03-21 22:02:46 +01:00
Sergi Delgado Segura
d860c9bca6
Refactor common/test_tools to remove the conf related functionality
2020-03-21 20:46:19 +01:00
Sergi Delgado Segura
cb79e51d09
Refactors the tests to match the new class definitions and config formats
2020-03-20 21:38:29 +01:00
Sergi Delgado Segura
b43731397c
Updates teos to work with the new conf file format and redefines how objects are built
...
Configuration parameters are now load from a .conf file (see template.conf as an example).
The code has 3 config levels: default (teos/__init__.py), config file (<data_dir>/teos.conf) and command line.
Most of the config parameters are only modificable trough the config file for now.
The priority order is: command line, config file, default.
Objects that need config parameters are now built in teosd instead of inside other classes. Therefore teosd acts like a factory and config parameters don't have to be passed around between objects. This also implies that a lot of the object creation logic has been changed.
This should simplify unit testing.
2020-03-20 21:38:28 +01:00
Sergi Delgado Segura
6499820540
Adds ConfigLoader to handle loading configurations parameters. Switches from conf.py to .conf files
2020-03-20 21:38:22 +01:00
Sergi Delgado Segura
a60bab5f5a
Merge pull request #106 from talaia-labs/fix-missing-sig-check
...
Adds missing inspector sig check from #103
2020-03-19 22:43:03 +01:00
Sergi Delgado Segura
045417aefc
Adds missing inspector sig check from #103
2020-03-19 22:31:00 +01:00
Sergi Delgado Segura
cf80579381
Merge pull request #105 from sr-gi/road-to-oss
...
Road to OSS
2020-03-18 20:17:28 +01:00
Sergi Delgado Segura
89708e86b3
Improves docs
2020-03-18 20:13:50 +01:00
Sergi Delgado Segura
9d08c10416
Updates README to improve the conf file wording
2020-03-18 18:41:19 +01:00
Sergi Delgado Segura
6e06c87cf5
Adds some notes on running bitcoind and how to change networks
2020-03-18 18:33:39 +01:00
Sergi Delgado Segura
6f8af947ae
Adds unhandled exception when not bneing able to connect to bitcoind
2020-03-18 18:33:39 +01:00
Sergi Delgado Segura
f5c7f23083
Makes sure cryptography dependency is at least 2.8
2020-03-18 18:33:39 +01:00
Sergi Delgado Segura
5ff33ad5cf
Gets rid of sample_confs and add defaults confs
2020-03-18 18:33:38 +01:00
Sergi Delgado Segura
685c81fa40
Updates repo name to not match server-side name. Updates INSTALL
2020-03-18 18:33:34 +01:00
Sergi Delgado Segura
b200968da9
Removes snap catching until a way of doing it is found.
...
Currently it fails on restoring the cache due to trying to resto /snap
2020-03-18 16:26:52 +01:00
Sergi Delgado Segura
8f3834ad90
Caps
2020-03-18 16:26:52 +01:00
Sergi Delgado Segura
6d6fa9f728
Update missing readmes and circleci
...
- Some apps intances were not removed
- requeriment paths were wrong in circleci and some apps path needed to be removed
2020-03-18 16:26:48 +01:00
Sergi Delgado Segura
90ec15923e
Move requeriments to root and creates readmes
2020-03-18 16:25:52 +01:00
Sergi Delgado Segura
5e5ff0278a
Removes apps folder
2020-03-18 12:09:58 +01:00