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

4469 Commits

Author SHA1 Message Date
Athanasius
8f9bfe9035
Pre-Release 5.3.0-beta7: Built on Ath's machine & maleware false positives Release/5.3.0-beta7 2022-02-05 09:33:08 +00:00
Athanasius
edf0393e88
Pre-Release 5.3.0-beta7: Some ChangeLog review/cleanup 2022-02-04 19:41:09 +00:00
Athanasius
b960195869
Pre-Release 5.3.0-beta7: ChangeLog pass
* Python 3.10 in more places.
* Re-ordered entries, both into 'Plugin Developers' section, and grouping
  for e.g. Inara, EDDN, "obvious users thing", "less obvious user things".
* Linked to issues where relevant.
2022-02-04 19:41:09 +00:00
Athanasius
5a31e5be55
Pre-Release 5.3.0-beta7: appversion and *first pass* ChangeLog 2022-02-04 19:41:09 +00:00
Athanasius
024d8747f9
Merge pull request #1436 from EDCD/dependabot/pip/develop/pytest-7.0.0
build(deps-dev): bump pytest from 6.2.5 to 7.0.0
2022-02-04 19:40:46 +00:00
Athanasius
1b6f77f18c
Merge pull request #1435 from EDCD/dependabot/github_actions/develop/actions/setup-python-2.3.2
build(deps): bump actions/setup-python from 2.3.1 to 2.3.2
2022-02-04 19:40:34 +00:00
dependabot[bot]
ef963fc949
build(deps-dev): bump pytest from 6.2.5 to 7.0.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.5 to 7.0.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/6.2.5...7.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-04 17:06:31 +00:00
dependabot[bot]
8af0f5598b
build(deps): bump actions/setup-python from 2.3.1 to 2.3.2
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.3.1...v2.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-04 17:06:20 +00:00
Athanasius
0d1daf3c1a
Merge pull request #1434 from EDCD/fix/1395/journal-engineer-mat-use
monitor: Fold 'EngineerCraft' to lower case in event_type comparison
2022-02-04 13:28:34 +00:00
Athanasius
f8e0fb3658
monitor: Fold 'EngineerCraft' to lower case in event_type comparison 2022-02-04 12:22:47 +00:00
Athanasius
636bcd65bb
Merge pull request #1432 from EDCD/fix/1403/eddn-upload-errors
eddn: Log if a 'location' event doesn't have SystemAddress
2022-02-04 12:08:09 +00:00
Athanasius
918272be3c
Merge pull request #1426 from EDCD/fix/1393/eddn-codexentry_empty-string
eddn: Address EDDN server complains about some codexentry messages
2022-02-03 17:52:09 +00:00
Athanasius
d83a1c514d
eddn: Log if a 'location' event doesn't have SystemAddress
It *really* shouldn't ever happen, and we'll want to see the full event
if it does somehow.
2022-02-03 15:33:34 +00:00
Athanasius
1bb48ed596
eddn/codexentry: Bail and show error if empty string in message 2022-02-03 13:59:52 +00:00
Athanasius
df797313ae
Merge pull request #1430 from EDCD/dependabot/pip/develop/grip-4.6.0
build(deps-dev): bump grip from 4.5.2 to 4.6.0
2022-02-02 17:11:34 +00:00
Athanasius
5551a72f47
Merge pull request #1429 from EDCD/dependabot/pip/develop/coverage-toml--6.3.1
build(deps-dev): bump coverage[toml] from 6.3 to 6.3.1
2022-02-02 17:10:20 +00:00
dependabot[bot]
19a7bf0bd1
build(deps-dev): bump grip from 4.5.2 to 4.6.0
Bumps [grip](https://github.com/joeyespo/grip) from 4.5.2 to 4.6.0.
- [Release notes](https://github.com/joeyespo/grip/releases)
- [Changelog](https://github.com/joeyespo/grip/blob/master/CHANGES.md)
- [Commits](https://github.com/joeyespo/grip/compare/v4.5.2...v4.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-02 17:06:17 +00:00
dependabot[bot]
ed4437b20b
build(deps-dev): bump coverage[toml] from 6.3 to 6.3.1
Bumps [coverage[toml]](https://github.com/nedbat/coveragepy) from 6.3 to 6.3.1.
- [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...6.3.1)

---
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-02 17:06:14 +00:00
Athanasius
45b78f55c4
eddn: say 'is falsey' in error messages as well 2022-02-01 18:05:28 +00:00
Athanasius
2bf70aae14
eddn: Be paranoid about this.status_body_name type and value
As it was we'd blindly set codexentry['BodyName'] from it if not None.
2022-02-01 16:59:44 +00:00
Athanasius
4fa64eec40
eddn: warnings improvements
* Log the type of unexpected values.
* Say 'falsey' not 'None' when we only `if not ...`
2022-02-01 16:43:19 +00:00
Athanasius
e2e34674c2
eddn: codexentry - add paranoia post-processing check of values 2022-02-01 16:22:59 +00:00
Athanasius
f144c199ae
eddn: Be paranoid about Status.json BodyName value 2022-02-01 16:22:59 +00:00
Athanasius
67019e91b2
eddn: Extra System (name) augmentation paranoia 2022-02-01 16:22:59 +00:00
Athanasius
87193b4a51
eddn: Be more paranoid about system name augmentation 2022-02-01 16:22:58 +00:00
Athanasius
8251c78b06
Merge pull request #1424 from EDCD/fix/1423/util-only-imported-in-eddn-plugin
Ensure `util/text.py` is included in Windows build/installer
2022-02-01 16:21:55 +00:00
Athanasius
b108456ae3
Contributing: Add new section about plugin-only imports 2022-02-01 15:26:10 +00:00
Athanasius
ac7cfb9b14
core plugins: Add big obvious comment about imports and windows installer 2022-02-01 14:45:30 +00:00
Athanasius
5aa7b98cf6
setup.py: Add util/ to win32 packages
Currently only `plugins/eddn.py` imports anything from `util/`, and as
the core plugins are dynamically loaded py2exe can't possibly know about this.
So we need to specify it explictly.

Tested with build and install, and also manually checking the resulting
library.zip:

```
0$ unzip -l library.zip | grep 'util/'
    10582  2022-02-01 14:12   urllib3/util/url.pyc
    11221  2022-02-01 14:12   urllib3/util/ssl_.pyc
     3367  2022-02-01 14:12   urllib3/util/connection.pyc
     1031  2022-02-01 14:12   urllib3/util/__init__.pyc
     1266  2022-02-01 14:12   urllib3/util/proxy.pyc
     3394  2022-02-01 14:12   urllib3/util/request.pyc
     8863  2022-02-01 14:12   urllib3/util/timeout.pyc
      986  2022-02-01 14:12   urllib3/util/queue.pyc
     7332  2022-02-01 14:12   urllib3/util/ssltransport.pyc
     1105  2022-02-01 14:12   util/text.pyc
     3015  2022-02-01 14:12   urllib3/util/wait.pyc
      110  2022-02-01 14:12   util/__init__.pyc
    15704  2022-02-01 14:12   urllib3/util/retry.pyc
     2279  2022-02-01 14:12   urllib3/util/response.pyc
```
2022-02-01 14:14:43 +00:00
Athanasius
1bca798fc6
python version: Some docs updates 2022-01-31 18:29:08 +00:00
Athanasius
2bce6f87ba
Merge pull request #1421 from EDCD/dependabot/pip/develop/types-requests-2.27.8
build(deps-dev): bump types-requests from 2.27.7 to 2.27.8
2022-01-31 17:34:37 +00:00
dependabot[bot]
c13d19d545
build(deps-dev): bump types-requests from 2.27.7 to 2.27.8
Bumps [types-requests](https://github.com/python/typeshed) from 2.27.7 to 2.27.8.
- [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-01-31 17:04:08 +00:00
Athanasius
d03c06b47f
appversion: Bump to 3.5.0-beta6 in develop for uniqueness 2022-01-31 16:35:41 +00:00
Athanasius
1fbc79d2c9
Merge pull request #1420 from EDCD/fix/config.py-in-subdir-now
docs: Pass for config.py -&gt; config/__init__.py and related changes
2022-01-31 16:14:28 +00:00
Athanasius
9af6474d3c
docs: Further config.py -> config tweaks 2022-01-31 15:45:40 +00:00
Athanasius
3e0c69be5e
docs: Pass for config.py -> config/__init__.py and related changes 2022-01-31 15:41:25 +00:00
Athanasius
d5fba46e75
Merge pull request #1419 from EDCD/enhancement/1255/inara-credits-delta-threshold
Inara: Change the way we determine if a credits delta is interesting
2022-01-31 15:28:14 +00:00
Athanasius
adb8055f08
Inara: Be paranoid in case of -ve credits balance 2022-01-31 15:22:36 +00:00
Athanasius
02dd800c57
Inara: Change the way we determine if a credits delta is interesting
Now based on the *minimum* of a fractional or absolute change.  See
<https://github.com/EDCD/EDMarketConnector/issues/1255> for discussion.
2022-01-31 14:50:12 +00:00
Athanasius
5f61f2ccc1
Merge pull request #1417 from EDCD/enhancement/add-editorconfig
Add .editorconfig and reference in Contributing.md
2022-01-27 18:04:33 +00:00
Athanasius
c6a52cb080
Merge pull request #1409 from A-UNDERSCORE-D/fix/1390/Ensure-we-handle-413-from-EDDN-properly
Compress outgoing EDDN data if its large
2022-01-27 17:54:32 +00:00
A_D
b180f34f16
fix bugs that were hidden 2022-01-27 19:52:51 +02:00
A_D
f4ba4775f2
pull decode/decompress out into its own function 2022-01-27 19:40:06 +02:00
Athanasius
32f98ea6de
.editorconfig: Fix the EOL comment 2022-01-27 17:01:49 +00:00
Athanasius
cdba879369
.editorconfig: Actually, we use crlf, with git converting 2022-01-27 16:37:20 +00:00
Athanasius
f36d45d4bc
Contributing: Add section on text formatting / .editorconfig 2022-01-27 16:36:41 +00:00
Athanasius
0d68c454a5
Add .editorconfig
* The settings are for all file types, we might have some exceptions, i.e.
  .xml files.
* This is based on what we've been doing all along.  Only the max line length
  has previously been codified in, e.g. pyproject.toml.  We've not even
  codified things like "4-space indentations, expanded from TABs" in
  Contributing.md.
2022-01-27 16:28:43 +00:00
A_D
17c886af84
fix log 2022-01-27 16:03:41 +02:00
A_D
38f35403c9
fix gzip support in debug_webserver 2022-01-27 16:02:06 +02:00
A_D
d6dcebf545
Remove unused import 2022-01-27 14:59:27 +02:00