1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-23 12:20:30 +03:00

2737 Commits

Author SHA1 Message Date
A_D
48427a770d Updated monitor to support '' configured journal dir 2021-04-01 14:45:46 +01:00
A_D
d95db448e8 Fixed getint not passing default arg 2021-04-01 14:45:46 +01:00
A_D
59c14e6046 Suppressed exceptions in EDMarketConnector.py 2021-04-01 14:45:46 +01:00
A_D
87df8d8ab8 suppressed exceptions in migration code 2021-04-01 14:45:46 +01:00
A_D
a6f3d4a382 Added optional exception handler 2021-04-01 14:45:46 +01:00
A_D
42a0c058ea Fixed bool usage 2021-04-01 14:45:46 +01:00
A_D
fad193eff1 Added clarifying comment 2021-04-01 14:45:46 +01:00
A_D
e50c1ec936 Defaults on get_ functions now require kwargs 2021-04-01 14:45:46 +01:00
A_D
a1576e9979 Fixed missing default keyword arg 2021-04-01 14:45:46 +01:00
A_D
bfe114ba10 Removed extranious parens 2021-04-01 14:45:46 +01:00
A_D
a68468d7ce Updated wording in plugins docs 2021-04-01 14:45:46 +01:00
A_D
278480b99f replaced ors with defaults in config usage 2021-04-01 14:45:46 +01:00
A_D
f76e5d331e Removed cast calls 2021-04-01 14:45:46 +01:00
A_D
dc793e62c4 Updated plugin docs with new config info 2021-04-01 14:45:46 +01:00
Athanasius
fd51ee5d05 Updated EDMarketConnector.py to new config
# Conflicts:
#	EDMarketConnector.py
2021-04-01 14:45:46 +01:00
Athanasius
25852997c5 Updated all source to use new config methods
# Conflicts:
#	monitor.py
2021-04-01 14:45:46 +01:00
A_D
a9c705c0cf Removed Optionals from method definitions
It makes typing far easier
2021-04-01 14:45:46 +01:00
A_D
8a81caeb8b Ensured that we save and reload the config 2021-04-01 14:45:46 +01:00
A_D
7135c3be9c Missing newline 2021-04-01 14:45:46 +01:00
A_D
18f4e49406 Final type annotations 2021-04-01 14:45:46 +01:00
A_D
e84373822c Finished docstrings 2021-04-01 14:45:46 +01:00
A_D
640bda0d0e Disabled mypy in old_config 2021-04-01 14:45:46 +01:00
A_D
9fd1da1819 Added space workaround to test_list 2021-04-01 14:45:46 +01:00
A_D
f8bc7290fe Made sure we dont test with big ints on windows 2021-04-01 14:45:46 +01:00
A_D
a85a3d356a Added warning on windows for large ints 2021-04-01 14:45:46 +01:00
A_D
2de8967424 Delete keys only once unless on linux 2021-04-01 14:45:46 +01:00
A_D
0ca9e81eca Final fixups for WinConfig
Added delete method
Fixed missing sub_key arg to CreateKeyEx
2021-04-01 14:45:45 +01:00
A_D
dcd142af15 Added configuration for tests 2021-04-01 14:45:45 +01:00
A_D
9c3de53a3b Added config tests 2021-04-01 14:45:45 +01:00
A_D
c72c1be4da Added testing libraries 2021-04-01 14:45:45 +01:00
A_D
bb431b83c1 Added bool support to MacConfig 2021-04-01 14:45:45 +01:00
A_D
9e1bb0a2a2 Added bool support to WinConfig 2021-04-01 14:45:45 +01:00
A_D
82fc4b56f7 Added bool to valid set args 2021-04-01 14:45:45 +01:00
A_D
63c3c55b9b Cleaned up windows imports 2021-04-01 14:45:45 +01:00
A_D
a5140f0be2 Replaced getenv with os.getenv 2021-04-01 14:45:45 +01:00
A_D
0e339111f1 Made sure to grab the correct dir for paths on windows 2021-04-01 14:45:45 +01:00
Athanasius
b3cc94031b Removed old config code
# Conflicts:
#	config.py
2021-04-01 14:45:45 +01:00
A_D
4eaf7175a0 Reimplemented string escaping on LinuxConfig 2021-04-01 14:45:45 +01:00
A_D
3e1a3aaf9c Added bool support to LinuxConfig 2021-04-01 14:45:45 +01:00
A_D
55585342e1 Added disable bool for winsparkle checks 2021-04-01 14:45:45 +01:00
A_D
7f53230a95 Cleaned up imports 2021-04-01 14:45:45 +01:00
A_D
54023725e9 Made sure to catch exceptions in get()
The various get_* functions vary in implementation, but some raise a
ValueError when they are used with a key of the wrong type. This catches
that ValueError when hunting for a valid type.
2021-04-01 14:45:45 +01:00
A_D
36f80d6b15 Updated docstrings, added bool support 2021-04-01 14:45:45 +01:00
A_D
0367dd8ba0 Added legacy password subsystem to AbstractConfig 2021-04-01 14:45:45 +01:00
A_D
e3807648f7 Added linux AbstractConfig implementation 2021-04-01 14:45:45 +01:00
A_D
482c502f52 Added darwin config implementation 2021-04-01 14:45:45 +01:00
A_D
6b464432bf Simplified __get_registry logic. Added Docstrings 2021-04-01 14:45:45 +01:00
A_D
6a159c0a25 Added Abstract config class
The abstract class will be implemented by per-platform subclasses, which
will be set as the singleton at the end of development.
2021-04-01 14:45:45 +01:00
A_D
8104359a72 Resolved mypy windll errors 2021-04-01 14:45:45 +01:00
A_D
bbcf5c9daa Removed unknown error log, added defaults 2021-04-01 14:45:45 +01:00