1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 17:12:21 +03:00

2869 Commits

Author SHA1 Message Date
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
dependabot[bot]
3d19d26edd Bump safety from 1.9.0 to 1.10.0
Bumps [safety](https://github.com/pyupio/safety) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/pyupio/safety/releases)
- [Changelog](https://github.com/pyupio/safety/blob/master/HISTORY.rst)
- [Commits](https://github.com/pyupio/safety/compare/1.9.0...1.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:45 +01:00
dependabot[bot]
4a9fe077f9 Bump flake8-comprehensions from 3.3.0 to 3.3.1
Bumps [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/adamchainz/flake8-comprehensions/releases)
- [Changelog](https://github.com/adamchainz/flake8-comprehensions/blob/master/HISTORY.rst)
- [Commits](https://github.com/adamchainz/flake8-comprehensions/compare/3.3.0...3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:45 +01:00
A_D
c2faad1eb7 Removed uneeded whitespace 2021-04-01 14:45:45 +01:00
A_D
1c80578fef Fixed backwards pip install command 2021-04-01 14:45:45 +01:00
Athanasius
c69cc77682 Added auto-annotation to both checks
This works based on telling github how to understand the flake8 output

# Conflicts:
#	.github/workflows/push-checks.yml
2021-04-01 14:45:45 +01:00
Athanasius
7e094df6c4 Switch to Python 3.8.6 for windows builds on GitHub 2021-04-01 14:45:45 +01:00
A_D
d847fb8bc1 Removed appcast, only upload msi installer 2021-04-01 14:45:45 +01:00
dependabot[bot]
7bdbcd5538 Bump certifi from 2020.11.8 to 2020.12.5
Bumps [certifi](https://github.com/certifi/python-certifi) from 2020.11.8 to 2020.12.5.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2020.11.08...2020.12.05)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:45 +01:00
dependabot[bot]
8bc119c834 Bump flake8-json from 19.8.0 to 20.12.1
Bumps [flake8-json](https://gitlab.com/pycqa/flake8-json) from 19.8.0 to 20.12.1.
- [Release notes](https://gitlab.com/pycqa/flake8-json/tags)
- [Commits](https://gitlab.com/pycqa/flake8-json/compare/19.8.0...20.12.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:45 +01:00
dependabot[bot]
80ac14756d Bump py2exe from 0.10.0.2 to 0.10.1.0
Bumps [py2exe](https://github.com/py2exe/py2exe) from 0.10.0.2 to 0.10.1.0.
- [Release notes](https://github.com/py2exe/py2exe/releases)
- [Changelog](https://github.com/py2exe/py2exe/blob/master/ChangeLog)
- [Commits](https://github.com/py2exe/py2exe/compare/v0.10.0.2...v0.10.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:45 +01:00
dependabot[bot]
3e96184ba5 Bump certifi from 2020.6.20 to 2020.11.8
Bumps [certifi](https://github.com/certifi/python-certifi) from 2020.6.20 to 2020.11.8.
- [Release notes](https://github.com/certifi/python-certifi/releases)
- [Commits](https://github.com/certifi/python-certifi/compare/2020.06.20...2020.11.08)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:45 +01:00
Athanasius
cb678522d7 Releasing: py2exe via pip / requirements-dev.txt now. 2021-04-01 14:45:45 +01:00
Athanasius
0f3ba584e9 requirements: py2exe now available from pypi, so no need for VCS 2021-04-01 14:45:45 +01:00
dependabot[bot]
bdb3387df3 Bump flake8-comprehensions from 3.2.3 to 3.3.0
Bumps [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions) from 3.2.3 to 3.3.0.
- [Release notes](https://github.com/adamchainz/flake8-comprehensions/releases)
- [Changelog](https://github.com/adamchainz/flake8-comprehensions/blob/master/HISTORY.rst)
- [Commits](https://github.com/adamchainz/flake8-comprehensions/compare/3.2.3...3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:45 +01:00
Athanasius
df238c3e95 Bump py2exe to 0.10.0.2
NB: Possibly due to the git tag form I had to

'pip install --user --upgrade -r requirements-dev.txt`

to get it to upgrade.
2021-04-01 14:45:45 +01:00
Athanasius
6ec24157f2 CAPIData: Only call self.check_modules_ships() if lastStarport present
* The companion Session.query is called for *all* CAPI endpoints and
  only the /profile one will return lastStartport data, which is where
  ships/modules are if present, so only do these checks if we see
  lastStarport.
2021-04-01 14:45:45 +01:00
Athanasius
bd670b7ff1 Updated plugins to expect that CAPI data is safe
# Conflicts:
#	plugins/eddn.py
2021-04-01 14:45:45 +01:00
A_D
fbd924d5aa Added CAPIData class
Currently it is simply a dict subclass that does some of the cleanup
required to make everything happy. In future it will be changed to be a
NamedTuple or similar that can be typed
2021-04-01 14:45:44 +01:00