1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 09:10:35 +03:00

3310 Commits

Author SHA1 Message Date
Athanasius
7b67ac4118 Translations: Updated with latest OneSky 2021-05-12 14:10:15 +01:00
Athanasius
7f45953012 plugins/station: *Do* set station from BodyType/Body always
The 'if not this.station' was early paranoia when first getting things
working with Odyssey.  It prevents a relog from Horizons (i.e. different
location) from correctly picking up an Odyssey login station when
on-foot in concourse.

Also, EDSM was defaulting wrongly for this.station_marketid.  Not that
the plugin even *uses* that at this time.
2021-05-12 10:56:43 +01:00
Athanasius
b3495df1b6 PLUGINS: Tweak config.appversion section 2021-05-12 09:53:44 +01:00
Athanasius
c2f4e4fbda ChangeLog: Document back/forwards compatible config.appversion 2021-05-12 09:36:00 +01:00
Athanasius
00f4e00dc8 ChangeLog: Inform general users about potential plugin issues. 2021-05-12 08:46:01 +01:00
Athanasius
34e75d8fa1 Merge branch 'develop' of https://github.com/EDCD/EDMarketConnector into develop 2021-05-12 08:45:53 +01:00
Athanasius
6d6ff00490 ChangeLog: Be explicit about the steps for config update. 2021-05-12 08:17:31 +01:00
Athanasius
ba7099eecf
Merge pull request #1051 from EDCD/dependabot/github_actions/develop/actions/checkout-2.3.4
build(deps): bump actions/checkout from 2 to 2.3.4
2021-05-12 08:13:58 +01:00
dependabot[bot]
735f1bb846
build(deps): bump actions/checkout from 2 to 2.3.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [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...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 07:13:48 +00:00
Athanasius
ab5ff34748
Merge pull request #1052 from EDCD/dependabot/github_actions/develop/actions/setup-python-2.2.2
build(deps): bump actions/setup-python from 2 to 2.2.2
2021-05-12 08:13:10 +01:00
dependabot[bot]
d02ede356e
build(deps): bump actions/setup-python from 2 to 2.2.2
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 2.2.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v2.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 05:16:52 +00:00
Athanasius
04b29928ed ChangeLog: Better config forwards-compatibility 2021-05-11 22:47:21 +01:00
Athanasius
41adf596ce PLUGINS/config: Better forwards-compatibility example 2021-05-11 22:46:39 +01:00
Athanasius
b8a9ec1303 ChangeLog: Cite the 'good' config forwards-compatibility for plugins 2021-05-11 21:50:58 +01:00
Athanasius
682c48e5ac PLUGINS: Document better config forwards compatibility code 2021-05-11 21:48:03 +01:00
Athanasius
e5bbf73acb docs/plugintest: Example of forwards-compatible config functions 2021-05-11 21:46:14 +01:00
Athanasius
1b7f5e2b06 PLUGINS.md: Document config methods workaround for <5.0.0 2021-05-11 08:32:07 +01:00
Athanasius
b0a2a058cc
Merge pull request #1047 from EDCD/dependabot/pip/develop/watchdog-2.1.1
build(deps): bump watchdog from 2.1.0 to 2.1.1
2021-05-11 08:24:55 +01:00
Athanasius
6f0962b167
Merge pull request #1048 from EDCD/dependabot/pip/develop/flake8-comprehensions-3.5.0
build(deps-dev): bump flake8-comprehensions from 3.4.0 to 3.5.0
2021-05-11 08:24:37 +01:00
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
dependabot[bot]
4149bebe14
build(deps): bump watchdog from 2.1.0 to 2.1.1
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.1.0 to 2.1.1.
- [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.0...v2.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 05:19:29 +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