1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

4494 Commits

Author SHA1 Message Date
Athanasius
9f08b003c5
monitor: __navroute_retry(): be less noisy
No need to log at INFO for the retry counts, as this appears to be working,
make it DEBUG instead.

This was making the EDMC.py output needlessly noisy.
2022-03-18 09:51:35 +00:00
Athanasius
c89548c2ba
monitor: journal_newest_filename(): Check for None directory
os.listdir(None) operates on '.', which is wrong in this context, so be
sure to avoid that.
2022-03-18 09:49:02 +00:00
Athanasius
4b12a6c484
monitor: Properly type new_journal_file
Python was guessing and not allowing 'None', which it will be at shutdown
if this code triggers.
2022-03-18 09:46:35 +00:00
Athanasius
43bae13418
EDMC.py: Use monitor.journal_newest_filename() 2022-03-18 09:42:04 +00:00
Athanasius
a8e534c5ae
Merge branch 'develop' of https://github.com/EDCD/EDMarketConnector into develop 2022-03-16 17:09:02 +00:00
Athanasius
aa90bb8cda
Merge pull request #1510 from EDCD/dependabot/pip/develop/setuptools-60.10.0
build(deps-dev): bump setuptools from 60.9.3 to 60.10.0
2022-03-16 17:08:55 +00:00
Athanasius
c1a4bb50ff
Merge pull request #1509 from EDCD/dependabot/pip/develop/types-requests-2.27.13
build(deps-dev): bump types-requests from 2.27.12 to 2.27.13
2022-03-16 17:08:43 +00:00
dependabot[bot]
221d15e54f
build(deps-dev): bump setuptools from 60.9.3 to 60.10.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 60.9.3 to 60.10.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v60.9.3...v60.10.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 17:07:55 +00:00
dependabot[bot]
f81ddddeed
build(deps-dev): bump types-requests from 2.27.12 to 2.27.13
Bumps [types-requests](https://github.com/python/typeshed) from 2.27.12 to 2.27.13.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-16 17:07:42 +00:00
Athanasius
66f09bdad2
python: Bump up to v3.10.3 2022-03-16 16:56:55 +00:00
Athanasius
47f237dc06
Merge pull request #1507 from EDCD/dependabot/pip/develop/mypy-0.941
build(deps-dev): bump mypy from 0.931 to 0.941
2022-03-15 19:11:45 +00:00
Athanasius
6a282c5212
Merge pull request #1501 from EDCD/dependabot/pip/develop/pytest-7.1.0
build(deps-dev): bump pytest from 7.0.1 to 7.1.0
2022-03-15 19:11:36 +00:00
Athanasius
37b30e5263
Merge pull request #1500 from EDCD/dependabot/pip/develop/types-requests-2.27.12
build(deps-dev): bump types-requests from 2.27.11 to 2.27.12
2022-03-15 19:11:26 +00:00
dependabot[bot]
1c197a34b9
build(deps-dev): bump mypy from 0.931 to 0.941
Bumps [mypy](https://github.com/python/mypy) from 0.931 to 0.941.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.931...v0.941)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-15 17:05:23 +00:00
Athanasius
ea716f4062
develop: post-release version bump to 5.3.4-beta0 2022-03-15 16:47:41 +00:00
Athanasius
8104a71ead
Release 5.3.3: appversion & changelog Release/5.3.3 2022-03-15 16:20:33 +00:00
Athanasius
dcf842a19e
Merge pull request #1505 from EDCD/fix/1504/finding-latest-journal-file
Fix 'newest journal file' determination for Odyssey Update 11
2022-03-15 16:15:44 +00:00
Athanasius
04930c59ac
monitor: Properly determine *newest* Journal file
Using os.path.getctime for the order, not the filename.  This addresses the
changed Journal filenames in Odyssey Update 11, whilst keeping compatibility
with the Horizons Update 11 old-name-style filenames.
2022-03-15 16:08:18 +00:00
Athanasius
0ffff544f7
develop: post-release version bump to 5.3.3-beta0 2022-03-15 14:15:00 +00:00
Athanasius
3f9f140058
Merge branch 'release-5.3.2' into stable 2022-03-15 14:10:48 +00:00
Athanasius
b60130266e
Release 5.3.2: appversion & changelog Release/5.3.2 2022-03-15 13:58:38 +00:00
Athanasius
e17a40aaff
monitor: Change Journal file regex, because Frontier are being a PITA
They've changed it to an ISO8601 style full date/time now.  But the Odyssey
client still uses the old format.
2022-03-15 13:56:48 +00:00
dependabot[bot]
aaa9bc7ebf
build(deps-dev): bump pytest from 7.0.1 to 7.1.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.1 to 7.1.0.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.0.1...7.1.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 17:05:00 +00:00
dependabot[bot]
0d18d02a22
build(deps-dev): bump types-requests from 2.27.11 to 2.27.12
Bumps [types-requests](https://github.com/python/typeshed) from 2.27.11 to 2.27.12.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 17:04:54 +00:00
Athanasius
248a34d24c
Merge pull request #1495 from EDCD/dependabot/github_actions/develop/actions/checkout-3
build(deps): bump actions/checkout from 2.4.0 to 3
2022-03-02 21:49:46 +00:00
Athanasius
c115853773
Merge pull request #1493 from EDCD/dependabot/github_actions/develop/actions/setup-python-3
build(deps): bump actions/setup-python from 2.3.2 to 3
2022-03-02 21:49:39 +00:00
dependabot[bot]
4ea1609f36
build(deps): bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 17:04:05 +00:00
dependabot[bot]
918d924612
build(deps): bump actions/setup-python from 2.3.2 to 3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.3.2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.3.2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 17:05:03 +00:00
Athanasius
b859c8a311
Merge pull request #1491 from EDCD/dependabot/pip/develop/flake8-annotations-coverage-0.0.6
build(deps-dev): bump flake8-annotations-coverage from 0.0.5 to 0.0.6
2022-02-25 18:52:25 +00:00
dependabot[bot]
49721e6e94
build(deps-dev): bump flake8-annotations-coverage from 0.0.5 to 0.0.6
Bumps [flake8-annotations-coverage](https://github.com/best-doctor/flake8-annotations-coverage) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/best-doctor/flake8-annotations-coverage/releases)
- [Commits](https://github.com/best-doctor/flake8-annotations-coverage/compare/v0.0.5...v0.0.6)

---
updated-dependencies:
- dependency-name: flake8-annotations-coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 17:04:24 +00:00
Athanasius
af10243a01
Merge pull request #1489 from EDCD/dependabot/pip/develop/types-requests-2.27.11
build(deps-dev): bump types-requests from 2.27.10 to 2.27.11
2022-02-22 17:05:21 +00:00
dependabot[bot]
d4c6f4bfd6
build(deps-dev): bump types-requests from 2.27.10 to 2.27.11
Bumps [types-requests](https://github.com/python/typeshed) from 2.27.10 to 2.27.11.
- [Release notes](https://github.com/python/typeshed/releases)
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-requests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 17:04:00 +00:00
Athanasius
da02606a93
Merge pull request #1486 from EDCD/dependabot/pip/develop/coverage-toml--6.3.2
build(deps-dev): bump coverage[toml] from 6.3.1 to 6.3.2
2022-02-21 17:06:29 +00:00
dependabot[bot]
992c293d64
build(deps-dev): bump coverage[toml] from 6.3.1 to 6.3.2
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy) from 6.3.1 to 6.3.2.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/6.3.1...6.3.2)

---
updated-dependencies:
- dependency-name: coverage[toml]
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 17:05:02 +00:00
Athanasius
1dc9f5b0bc
Merge branch 'release-5.3.1' 2022-02-21 12:37:10 +00:00
Athanasius
d8c58e2fd9
develop: post-release version bump 2022-02-21 12:36:42 +00:00
Athanasius
24e8912756
Release 5.3.1: appversion and ChangeLog Release/5.3.1 2022-02-21 12:26:42 +00:00
Athanasius
210012a4a6
Merge pull request #1483 from EDCD/fix/1481/codexentry-can-have-empty-string-nearestdestination
EDDN: codexentry/1: Tighten up 'empty string' checks
2022-02-21 11:44:20 +00:00
Athanasius
d5d2577019
Merge pull request #1484 from EDCD/fix/1482/approachsettlement-before-login-location
EDDN: approachsettlement/1: Bail if no System (name) yet
2022-02-21 11:41:55 +00:00
Athanasius
562a224857
EDDN: approachsettlement/1: Bail if no System (name) yet
* A login-time `ApproachSettlement` happens before `Location`, if
  appropriate.
* Also add a future comment about FSSSignalDiscovered, for if EDDN ever adds
  the schema.
2022-02-20 19:44:53 +00:00
Athanasius
6f8847e3e1
EDDN: approachsettlement/1: Don't claim entry_augment_system_data() as only for us 2022-02-20 19:30:45 +00:00
Athanasius
de69b95b8a
EDDN: codexentry/1: Tighten up 'empty string' checks
It turns out some of the other strings, that do not have minLength=1 in the
schema, can be empty and that's OK.   i.e. NearestDestination.

So, let's only check for the actual minLength=1 things.  Which is a few
top-level key:values, and then the contents of the Traits array.
2022-02-20 19:18:34 +00:00
Athanasius
e998d05d51
Merge pull request #1480 from EDCD/fix/1479/theme-catch-widget-issues
Attempt to prevent plugin widget issues from bringing down whole UI
2022-02-20 19:10:21 +00:00
Athanasius
520ff5868f
theme.py: Apply .configure() paranoia on button enter/leave 2022-02-20 19:05:41 +00:00
Athanasius
17530c2d2b
theme.py: Log widget if exception is thrown 2022-02-19 11:48:27 +00:00
Athanasius
10977ccb07
Prevent plugin widget code issues from breaking theme changes
This adds a try/except around a bunch of .configure() calls on widgets.
Yes, sure, this could then leave the widget in question in a broken state,
but at least our entire UI won't fall flat on its face.
2022-02-19 11:15:06 +00:00
Athanasius
6a9645d43a
Merge pull request #1477 from EDCD/fix/1476/approachsettlement-check-for-latlng
EDDN: Handle ApproachSettlement missing planetary coords
2022-02-19 10:44:48 +00:00
Athanasius
dbe30264ec
Merge pull request #1478 from EDCD/dependabot/pip/develop/setuptools-60.9.3
build(deps-dev): bump setuptools from 60.9.2 to 60.9.3
2022-02-18 17:45:16 +00:00
dependabot[bot]
0844b3f8e6
build(deps-dev): bump setuptools from 60.9.2 to 60.9.3
Bumps [setuptools](https://github.com/pypa/setuptools) from 60.9.2 to 60.9.3.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v60.9.2...v60.9.3)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-18 17:04:14 +00:00
Athanasius
e51aba1cc3
EDDN: Handle ApproachSettlement missing planetary coords 2022-02-18 15:23:27 +00:00