Commit Graph
3666 Commits
Author SHA1 Message Date
A_D 6a296d4920 fixed inara per-event killswitch doing nothing 2021-07-03 15:48:25 +02:00
A_D 1e691d306e Added support for resupply event
its a reskinned backpack, so thats how its being handled
2021-07-03 13:22:39 +02:00
A_D d63b6ad782 removed suits["slots"] (for now) 2021-07-01 12:47:07 +02:00
A_D 67df2efc8a DRY-ed setting version info
Also removed some uneeded type ignores
2021-07-01 12:27:15 +02:00
A_D e11193110f removed dashboard import 2021-06-30 14:26:45 +02:00
A_D 1a3dad34b7 Add support for SuitLoadout related added info
This is mostly classes and mods for weapons, and classes for suits. I
did not do any updating passed what we already did, I simply added the
fields where needed.

This means that if our tracking is incorrect it will still be incorrect,
but full on tracking will wait for OO based state storage to prevent
whoopsies and other silliness.
2021-06-30 14:23:25 +02:00
A_D aa4e17c846 Add support for new fields on LoadGame
These are the same as the ones on FileHeader, but it wont hurt to update
them here anyway, if they exist. Likely they wont have changed, but just
in case
2021-06-30 14:07:16 +02:00
Athanasius c0f0e3bc62 Python: Bump version to 3.9.6 2021-06-28 22:11:13 +01:00
Athanasius 85814f5523 Merge pull request #1184 from EDCD/dependabot/pip/develop/watchdog-2.1.3
build(deps): bump watchdog from 2.1.2 to 2.1.3
2021-06-28 18:07:04 +01:00
dependabot[bot] 474bf016f8 build(deps): bump watchdog from 2.1.2 to 2.1.3
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases)
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst)
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v2.1.2...v2.1.3)

---
updated-dependencies:
- dependency-name: watchdog
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 17:04:33 +00:00
Athanasius 025676aa8c Merge pull request #1180 from EDCD/dependabot/pip/develop/mypy-0.910
build(deps-dev): bump mypy from 0.902 to 0.910
2021-06-23 19:30:32 +01:00
dependabot[bot] f6aa950911 build(deps-dev): bump mypy from 0.902 to 0.910
Bumps [mypy](https://github.com/python/mypy) from 0.902 to 0.910.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](https://github.com/python/mypy/compare/v0.902...v0.910)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 17:03:06 +00:00
Athanasius 71a926457e Merge pull request #1178 from EDCD/dependabot/pip/develop/types-requests-2.25.0
build(deps-dev): bump types-requests from 0.1.12 to 2.25.0
2021-06-21 18:43:50 +01:00
Athanasius 2c729bf1be Merge pull request #1177 from EDCD/dependabot/pip/develop/isort-5.9.1
build(deps-dev): bump isort from 5.8.0 to 5.9.1
2021-06-21 18:42:41 +01:00
dependabot[bot] d9061fda7d build(deps-dev): bump types-requests from 0.1.12 to 2.25.0
Bumps [types-requests](https://github.com/python/typeshed) from 0.1.12 to 2.25.0.
- [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-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 17:03:37 +00:00
dependabot[bot] 58ce8f0249 build(deps-dev): bump isort from 5.8.0 to 5.9.1
Bumps [isort](https://github.com/pycqa/isort) from 5.8.0 to 5.9.1.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.8.0...5.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 17:03:32 +00:00
Athanasius 0ecbca2594 Merge pull request #1093 from A-UNDERSCORE-D/enhancement/1064-fake-eddn-listener
Added debugging tools for POST based data senders
2021-06-20 18:02:48 +01:00
A_D 2e5e55af9a Applied requested changes 2021-06-20 17:44:29 +02:00
Athanasius 7761a35ccb Merge branch 'fix/bug-report-fixes' into develop 2021-06-20 11:14:57 +01:00
norohind 54ca3637ed Minor fixes in bug_report.md 2021-06-19 19:13:43 +05:00
Athanasius 9c95a11b8f protocol.py: Fix minor typo in logging 2021-06-19 14:04:43 +01:00
A_D f609545fdc Updated plugin docs 2021-06-18 23:36:45 +02:00
A_D 6c140abe97 Fixed import ordering 2021-06-18 23:36:45 +02:00
A_D fe0e752c9b Added support for arbitrary plugins for POST debug
This works by replacing --eddn-local with --debug-sender, and making the
webserver more generic. support has been added to EDSM, EDDN, and INARA.
2021-06-18 23:36:42 +02:00
A_D 57d7889da9 Sorted imports 2021-06-18 23:34:26 +02:00
A_D 9c6577750e Sorted imports 2021-06-18 23:34:26 +02:00
A_D 520d80775d Output to a file instead of stdout 2021-06-18 23:34:26 +02:00
A_D 4ef153b1b2 Added fake EDDN Listener
A simple HTTP handler has been added that will dump any and all POST
data it gets to EDMC's log.

Additionally, a new command line argument to switch EDMC to using this
as its EDDN target has been added.
2021-06-18 23:34:20 +02:00
Athanasius 108205458b Merge pull request #1174 from EDCD/fix/1087-caseless-journal-event
Made most event lookups case insensitive
2021-06-18 19:40:55 +01:00
Athanasius 9280b902d1 monitor: Use original event type string for keying into monitor.state 2021-06-18 14:09:19 +01:00
Athanasius c6a42a3877 monitor: entry_type lower-case pass & one note to fix
* This is after rebase on `develop`, so some 'new' events needed
  lowering.
* But there's one instance of entry_type being used as a key into
  monitor.state, so will need to rework that.
2021-06-18 14:06:49 +01:00
A_D 6de13b9c4d Re-cased mistakenly lowered field 2021-06-18 13:56:45 +01:00
Athanasius 6ad22541fe Made most event lookups case insensitive
Slightly more than `s/((el)?if event_type (in|==) \(?('(?:.*[A-Z].*).*')\)?:)$/\L$1`.

Closes #1087
2021-06-18 10:42:13 +01:00
Athanasius d823082a51 Merge pull request #1172 from EDCD/dependabot/pip/develop/types-requests-0.1.12
build(deps-dev): bump types-requests from 0.1.11 to 0.1.12
2021-06-17 18:05:27 +01:00
dependabot[bot] 54e703bb29 build(deps-dev): bump types-requests from 0.1.11 to 0.1.12
Bumps [types-requests](https://github.com/python/typeshed) from 0.1.11 to 0.1.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>
2021-06-17 17:03:10 +00:00
Athanasius 63dd73512e Merge pull request #1171 from EDCD/dependabot/pip/develop/types-requests-0.1.11
build(deps-dev): bump types-requests from 0.1.9 to 0.1.11
2021-06-14 08:54:02 +01:00
dependabot[bot] 58f562dbc1 build(deps-dev): bump types-requests from 0.1.9 to 0.1.11
Bumps [types-requests](https://github.com/python/typeshed) from 0.1.9 to 0.1.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>
2021-06-14 06:48:13 +00:00
Athanasius c98d94e582 Merge pull request #1170 from EDCD/fix/1166/frontier-lagging-at-edo-settlement
CAPI: Properly catch "CAPI says docked at EDO settlement, but we forgot where"
2021-06-13 22:39:10 +01:00
Athanasius 713b6b753d CAPI: Catch where we're CAPI-docked, but monitor.station is None
Docked at an EDO settlement means CAPI says we are, but we've forgotten
monitor.station because there's not enough Journal information and too
many corner cases to be *sure* of re-using old data.
2021-06-13 20:09:00 +01:00
Athanasius 88b56b6913 CAPI: Add logger.warning() for *why* we raise ServerLagging 2021-06-13 19:43:14 +01:00
Athanasius a0b310f72e Translations: Amalgamate some LANG comments & en.template updated 2021-06-13 15:49:09 +01:00
Athanasius 4106cd9679 Merge pull request #1169 from EDCD/fix/l10n-script-wrong-comment-line
LANG comments: Fix script for all situations
2021-06-13 15:23:08 +01:00
Athanasius e584c13e8d l10n script: remove extraneous "and not out" from conditionals
Left over from when trying to fix the old loop.
2021-06-13 15:20:41 +01:00
Athanasius 5dee9d2cff l10n script: Use different regex for 'above' comments
This allows us to only consider an 'above' comment if its a standalone
one.  Meaning there can't possibly be a `_(...)` call on its line, with
it intended for that call, not the one on this line.
2021-06-13 15:13:36 +01:00
Athanasius 7a858b25d2 EDMarketConnector.py: Fix following-line LANG comment 2021-06-13 15:13:09 +01:00
Athanasius 4f481cc703 l10n script: TODO: issue with LANG above *for* above, not current 2021-06-13 15:02:50 +01:00
Athanasius 83f3f09882 companion: Tweak LANG comment for 'CAPI disagreed with Journal game location'
'Journal location' is ambiguous, potentially referring to where on-disk
the files are.
2021-06-13 14:59:35 +01:00
Athanasius e1e09aebad l10n script: Attempt to always use correct LANG comment
There was an issue where consecutive lines, each with a LANG comment,
caused the next line to use the 'above' line's comment.
2021-06-13 14:58:42 +01:00
Athanasius cba3835698 EDMarketConnector: Split multi-_(...) line to separate ones for LANG comments 2021-06-13 14:57:14 +01:00
Athanasius b6f3713531 Translations: Updated en.template with new LANG-comment based comments 2021-06-13 14:03:05 +01:00