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

3290 Commits

Author SHA1 Message Date
dependabot[bot]
7a3cda6761
build(deps-dev): bump flake8-comprehensions from 3.4.0 to 3.5.0
Bumps [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/adamchainz/flake8-comprehensions/releases)
- [Changelog](https://github.com/adamchainz/flake8-comprehensions/blob/main/HISTORY.rst)
- [Commits](https://github.com/adamchainz/flake8-comprehensions/compare/3.4.0...3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 05:19:40 +00:00
Athanasius
29e72031d3
Merge pull request #1046 from EDCD/enhancement/logging-class-def-frame
EDMCLogging: No fn.__qualname__ ?  Just use `name`.
2021-05-10 15:38:37 +01:00
Athanasius
bf54af7211 Lint new EDMCLogging test 2021-05-10 15:34:49 +01:00
Athanasius
4db6542269 EDMCLogging: No fn.__qualname__ ? Just use name. 2021-05-10 15:22:56 +01:00
Athanasius
f9f2c2a09c
Merge pull request #1045 from A-UNDERSCORE-D/fix/1044-qualname-may-not-exist
Fix classvar logging errors
2021-05-10 15:02:47 +01:00
A_D
71f2246cf4
Missed an import 2021-05-10 15:34:02 +02:00
A_D
5fea307fd7
Fixed quotes 2021-05-10 15:30:47 +02:00
A_D
36ccead469
added test for classvar logging 2021-05-10 15:29:04 +02:00
A_D
92e580e0c7
Fixed error when logging out of a class var
This also adds an insane amount of paranoia around getting SOMETHING
dumped when an exception happens.

Fixes #1044
2021-05-10 15:28:26 +02:00
Athanasius
71e3f8d2b3
Merge pull request #1043 from EDCD/dependabot/pip/develop/flake8-3.9.2
build(deps-dev): bump flake8 from 3.9.1 to 3.9.2
2021-05-10 08:22:41 +01:00
dependabot[bot]
8abaa2674a
build(deps-dev): bump flake8 from 3.9.1 to 3.9.2
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.9.1 to 3.9.2.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.9.1...3.9.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 07:15:42 +00:00
Athanasius
63a0456a9f PLUGINS.md: Fix Flags to reference edmc_data, not plug. 2021-05-09 10:32:58 +01:00
Athanasius
316bbba99d edmc_data: Add Status.json flags2 constants 2021-05-09 10:29:50 +01:00
Athanasius
1f3d800c68
Merge pull request #1040 from EDCD/fix/1038-credits-events-paranoia
Credits: Be paranoid about all related Journal events
2021-05-08 19:39:26 +01:00
Athanasius
aaf1fda1a1 Credits: Be paranoid about all related Journal events
MissionCompleted doesn't contain 'Reward' if you pick an option without
a credits amount (rather than being there but with zero value).

Let's not wait to find out about other exceptions, just utilise
entry.get(<field>, 0) on them all.
2021-05-08 19:25:38 +01:00
Athanasius
2d42334755 ChangeLog: Misc tweaks:
* () on `station_url` (and tweak earlier grammar).
* Missing full stop.
* Mention SRV as "not on foot" as well.
* Suits/Loadouts use CAPI key names, nor Journal ones.
* Link to issue about Odyssey CAPI data['commander']['docked'] always
  being true if not on foot.
Release/5.0.0-rc1
2021-05-08 10:32:47 +01:00
Athanasius
d7c63c35c3 ChangeLog: Linkify python 3.9.x not supporting Windows 7. 2021-05-08 10:10:22 +01:00
Athanasius
b1dc984e32 ChangeLog: wiki entry, not page & linkify plugin available imports 2021-05-07 20:48:06 +01:00
Athanasius
7b8ba8a5a6 ChangeLog: Leading blurb on Odyssey section 2021-05-07 20:12:21 +01:00
Athanasius
3e7ffaacf5 ChangeLog: Cleanup up Odyssey section & misc tweaks. 2021-05-07 20:09:56 +01:00
Athanasius
3e65fbaa5b ChangeLog: Merged all 5.0.0-beta entries for a -rc1 version 2021-05-07 19:58:32 +01:00
Athanasius
bbd1d7a52b Pre-Release 5.0.0-rc1 appversion 2021-05-07 19:58:16 +01:00
Athanasius
d7a533a333
Merge pull request #1035 from A-UNDERSCORE-D/fix/linux-assumes-config
Ensure that Section exists on linuxconf
2021-05-07 13:45:15 +01:00
A_D
d3ffe6f0d9
Removed useless check, added doc comments 2021-05-07 14:27:32 +02:00
A_D
985794fbcb
Ensure that Section exists on linuxconf
When starting EDMC for the first time, linuxconf creates the required
file automatically but does _not_ create our config section. This causes
a keyerror on any access to config.

Simple solution, test that the section exists, if it doesnt, create it
(and backup any existing file beforehand)
2021-05-07 12:58:10 +02:00
Athanasius
d475d3194f PLUGINS.md: Document extra python modules we package for plugins use. 2021-05-06 11:09:49 +01:00
Athanasius
6cf1a30482 Pre-Release 5.0.0-beta8: appversion and changelog Release/5.0.0-beta8 2021-05-06 08:51:59 +01:00
Athanasius
55fa06dd73 systray: Remove another bit of code.
If a user had enabled the 'Minimize to systray' option then this would
cause the window to disappear on minimise, with no way to get it back.
2021-05-05 21:21:20 +01:00
Athanasius
346e4902f0
Merge pull request #1029 from EDCD/fix/odyssey-alpha4-Docked
Address taxi different Docked event.
2021-05-05 12:27:10 +01:00
Athanasius
f1ca2b8283 Separate 'Docked' processing to own conditional.
A taxi 'Docked' event has much less data than an own-ship one.  Rather
than put tortured conditionals into the
Location/FSDJump/CarrierJump/Docked conditional I've split Docked into
its own.

There should always be one of the other events to set things like
SystemAddress before a 'Docked' event, so limiting the new conditional
to setting/changing only the station-related state variables.
2021-05-05 12:20:24 +01:00
Athanasius
b3032c4c95
Merge pull request #1028 from EDCD/enhancement/odyssey-dropshipdeploy
Set OnFoot for DropshipDeploy, but ignore BookDropship
2021-05-05 12:19:53 +01:00
Athanasius
692856bbe1 Disembark: Use the alpha4-new flag to detect if on-station 2021-05-05 11:42:29 +01:00
Athanasius
5f29c866e7 Dropship: Set OnFoot for DropshipDeploy, but ignore BookDropship
See the comment added to BookDropship code for why we're ignoring it.
2021-05-05 11:34:10 +01:00
Athanasius
dfb85bae17 .python_version -> 3.9.5 2021-05-05 10:50:51 +01:00
Athanasius
ea2c59041c Update GH windows build to use Python 3.9.5 2021-05-05 10:45:45 +01:00
Athanasius
63dc0e2840
Merge pull request #1027 from EDCD/fix/1026/module-moving-costs
Be paranoid about presence of 'Cost' on some Journal events
2021-05-05 10:44:25 +01:00
Athanasius
543e0477c2 Don't assume ModuleRetrieve/Store have a Cost.
The Journal doc says they do, but one report of ModuleRetrieve saying it
doesn't, and ModuleStore does say "Cost (if any)".
2021-05-05 10:01:07 +01:00
Athanasius
5bd0680631
Merge pull request #1025 from EDCD/dependabot/pip/develop/pytest-6.2.4
build(deps-dev): bump pytest from 6.2.3 to 6.2.4
2021-05-05 08:18:54 +01:00
Athanasius
a5adbd89f1
Merge pull request #1024 from EDCD/dependabot/pip/develop/watchdog-2.1.0
build(deps): bump watchdog from 2.0.3 to 2.1.0
2021-05-05 08:18:34 +01:00
dependabot[bot]
60b84b340c
build(deps-dev): bump pytest from 6.2.3 to 6.2.4
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.3 to 6.2.4.
- [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.3...6.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 05:54:45 +00:00
dependabot[bot]
a66f3b24a5
build(deps): bump watchdog from 2.0.3 to 2.1.0
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.0.3 to 2.1.0.
- [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.0.3...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 05:54:38 +00:00
Athanasius
310b2785f1
Merge pull request #1022 from EDCD/dependabot/pip/develop/autopep8-1.5.7
build(deps-dev): bump autopep8 from 1.5.6 to 1.5.7
2021-05-03 08:20:24 +01:00
dependabot[bot]
22116d4687
build(deps-dev): bump autopep8 from 1.5.6 to 1.5.7
Bumps [autopep8](https://github.com/hhatto/autopep8) from 1.5.6 to 1.5.7.
- [Release notes](https://github.com/hhatto/autopep8/releases)
- [Commits](https://github.com/hhatto/autopep8/compare/v1.5.6...v1.5.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 07:01:27 +00:00
Athanasius
10d6c432a4 Append " (beta)" to Cmdr name when appropriate
Closes #1021
2021-05-02 10:31:57 +01:00
Athanasius
818bb56032 requirements: comment out infi.systray for now Release/5.0.0-beta7 2021-05-01 19:37:38 +01:00
Athanasius
86e6362b88 Changelog: Remove systray entry 2021-05-01 19:33:23 +01:00
Athanasius
316201eb77 systray: Disable whilst we figure out py2exe packaging issue 2021-05-01 19:32:53 +01:00
Athanasius
09cbf1225d Update translations 2021-05-01 17:58:08 +01:00
Athanasius
f9db23e25d Pre-Release 5.0.0-beta7: appversion and changelog 2021-05-01 17:56:13 +01:00
Athanasius
d95fa5424e
Merge pull request #1017 from EDCD/enhancement/odyssey-alpha4-fixes
Misc fixes for Odyssey
2021-05-01 16:54:24 +01:00