Commit Graph
3376 Commits
Author SHA1 Message Date
Athanasius 43d261f290 CreateSuitLoadout: 4.0.0.101 example comment 2021-05-21 12:14:18 +01:00
Athanasius f923ef64ca Suits: Refactor 'SuitLoadout' to also be used in 'SwitchSuitLoadout' 2021-05-21 12:08:22 +01:00
Athanasius 3a92ff9f96 SwitchSuitLoadout: Example from 4.0.0.101 added in comments 2021-05-21 11:42:59 +01:00
Athanasius 0219098d05 UI Suit: Keep line hidden if Odyssey not detected
Else we'll show the line with '<Unknown>' always in Horizons
2021-05-21 11:42:03 +01:00
Athanasius 5e0bcb29a9 Merge pull request #1084 from EDCD/fix/1078/odyssey-partial-engineerprogress-event
EngineerProgress: Extra validation paranoia
2021-05-21 11:01:26 +01:00
Athanasius bd56948f7d Merge pull request #1086 from EDCD/enhancement/1083/edsm-backpack
Fix BackPack event support to actually work.
2021-05-21 11:00:07 +01:00
Athanasius f6e23476ff Merge pull request #1091 from A-UNDERSCORE-D/fix/1079-suit-upgrade-costs
Update credits on UpgradeSuit
2021-05-21 10:56:31 +01:00
Athanasius 6ad7093d7e Merge pull request #1092 from A-UNDERSCORE-D/fix/1073-show-dirty-wdir-git
Show whether or not the git wdir is dirty in version
2021-05-21 10:55:41 +01:00
A_D 924221f063 Show whether or not the git wdir is dirty in version
Closes #1073
2021-05-21 08:39:13 +02:00
A_D be100d97de Update credits on SuitUpdate
Closes #1079
2021-05-21 08:24:00 +02:00
Athanasius e5909e9024 EDSM: Use loaded BackPack data, not the empty event. 2021-05-20 18:26:51 +01:00
Athanasius 143a205fb9 Backpack: event name is CamelCase, stored in monitor.state, doc
* Surprise!  The new event is `BackPack`, not `Backpack`, although the
  filename *is* `Backpack.json`.
* Store the loaded JSON dict in `monitor.state['BackpackJSON']`.  That
  `p` is lower case to match with the filename, not the event name.
* Document this in PLUGINS.md.

Unless EDSM is telling us to discard this we should now be sending it.
2021-05-20 18:13:51 +01:00
Athanasius 278a78c09a plugins/inara: Don't try to send None-system location
I'm not sure normal use can cause this, but it's an easy obvious check.
2021-05-20 17:34:09 +01:00
Athanasius 2184afba9b EngineerProgress: Rank/RankProgress is complicated.
And, yes, flake8 checks, validating these events *is* complex.
2021-05-20 15:51:28 +01:00
Athanasius a82099fe53 EngineerProgress: Don't need f=, just f here. 2021-05-20 15:38:06 +01:00
Athanasius e650308e3d EngineerProgress: Extra validation paranoia
This is an example of just how icky it gets validating an event by hand.

Technically we need a function, many would probably be lengthier and
more complex than this one, for **every   single   journal   event
  type**.
2021-05-20 15:28:52 +01:00
Athanasius 0b9991b092 Merge pull request #1071 from EDCD/enhancement/odyssey-launch-journal-v31
Adjust Odyssey support re: Journal v31
2021-05-20 14:42:30 +01:00
Athanasius 35a0edde58 Use pass for "no code intended"
`...` is better suited to "under construction, more to come".
2021-05-20 11:28:15 +01:00
Athanasius 0fd2264d53 UseConsumable: Rely on BackpackChange instead, to avoid double-accounting 2021-05-20 11:26:04 +01:00
Athanasius 8b3094dd6b SuitLoadout: Now showing Suit UI if set 2021-05-20 11:09:32 +01:00
Athanasius 652fecc3e8 SuitLoadout: Attempt to get all state set correctly.
I think this is now correct, but not yet triggering the unhide of the
'Suit' UI line, will check that next.
2021-05-20 10:51:49 +01:00
Athanasius 94d16df3c1 Merge pull request #1075 from A-UNDERSCORE-D/fix/unset-shipyard-provider-false
Fixed showing unset shipyard provider as False
2021-05-20 09:58:51 +01:00
Athanasius a9aad9db10 Merge pull request #1081 from EDCD/dependabot/pip/develop/watchdog-2.1.2
build(deps): bump watchdog from 2.1.1 to 2.1.2
2021-05-20 06:56:40 +01:00
dependabot[bot] 5a929b4c0b build(deps): bump watchdog from 2.1.1 to 2.1.2
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 2.1.1 to 2.1.2.
- [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.1...v2.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-20 05:39:22 +00:00
Athanasius 29c8739432 Merge pull request #1077 from EDCD/fix/market-export-csv-filename
Fix market CSV output filenames format
2021-05-19 18:29:15 +01:00
Athanasius ea1882d312 loadout.py: Pre-empt the 'dangling commas' brainfart when this gets refactored/cleaned 2021-05-19 18:12:45 +01:00
Athanasius af2effb317 td.py: Pre-empty the 'dangling commas' brainfart when this gets refactored/cleaned 2021-05-19 18:06:02 +01:00
Athanasius d58eea293f Merge pull request #1072 from EDCD/enhancement/plugin-external-modules
PLUGINS.md: Document packaging extra modules
2021-05-19 17:59:29 +01:00
A_D ecd6518730 Fixed showing unset shipyard provider as False
The code around the dropdown menu in prefs for shipyard providers was a
bit too clever for its own good.

This brings it in line with the behaviour of the other two
2021-05-19 18:19:57 +02:00
Athanasius 56f016604c Fix market CSV output filenames format
I must have had a brainfart when refactoring this, leaving the trailing
commas when I split this out into multi-statement rather than one big
f-string.
2021-05-19 00:00:54 +01:00
Athanasius 9c4058da60 PLUGINS.md: Actually have something in Avoiding pitfalls about dir name 2021-05-18 23:21:05 +01:00
Athanasius 6448d03ab3 PLUGINS.md: Document packaging extra modules 2021-05-18 23:18:30 +01:00
Athanasius eeed2cf7af Initial attempt at SuitLoadout event support
Need to see examples to be sure.
2021-05-18 22:42:27 +01:00
Athanasius a50ed31450 Add note about maybe not wanting to use UseConsumable to track Backpack
*Hopefully* `BackpackChange` will be 100% reliable in place of this.
Test once live Odyssey is available!
2021-05-18 22:42:27 +01:00
Athanasius bcbf37599e Odyssey Backpack: Add support for v31 Backpack and BackpackChange
Leaving the, meant to be defunct, `BackPackMaterials` code in for now,
as it's only one extra conditional that will never be stepped into if
the event never happens.

Yes, Frontier now uses 'Backpack' not 'BackPack', but we've already
published our plugin API as using the CamelCase version, so not changing
the monitor.state key.
2021-05-18 22:42:27 +01:00
Athanasius 58619a499f edmc_data: Add Jounal v31 extra Flags2 values 2021-05-18 22:42:27 +01:00
Athanasius eed09cfc4b ChangeLog: Duplicate "Windows 7 no worky now" at the top
Having it only in the 5.0.0 section is going to be less and less visible
to people who might not install every version.
2021-05-18 22:40:51 +01:00
Athanasius 6ada384d1d Changelog: 5.0.1 changelog isn't in the past, 5.0.0 one is Release/5.0.1 2021-05-17 18:39:38 +01:00
Athanasius 0c0ab41afc ChangeLog: We, can, punctuate, grammarlililililily 2021-05-17 17:46:51 +01:00
Athanasius 9bc6063c78 Translations: Latest versions from OneSky 2021-05-17 17:29:51 +01:00
Athanasius 20446508f9 Changelog: Grammar/punctuation tweak 2021-05-17 17:27:08 +01:00
Athanasius 9cabade53e Changelog: Define policy for -beta and -rc killswitches. 2021-05-17 17:26:17 +01:00
Athanasius 3b926d3959 docs/Releasing: Latest tested Python is 3.9.5 2021-05-17 15:23:20 +01:00
Athanasius f987208a39 Release 5.0.1: appversion and changelog 2021-05-17 15:14:56 +01:00
Athanasius d850fa050e PLUGINS.md: Document Horizons and Odyssey state booleans 2021-05-17 14:53:36 +01:00
Athanasius a22d0708b2 Remove deprecated systems.p and stations.p files 2021-05-17 13:12:40 +01:00
Athanasius f8e562eed2 PLUGINS.md: Do NOT tempt devs into using monitor.state directly. 2021-05-17 13:03:10 +01:00
Athanasius 1bc1a4f1b9 CAPI: Changed "CAPI down" message to be specific
The old "Error: Frontier server is down" can easily be confused as "game
servers are down".  The new version calls out the CAPI specifically.

Closes #585
2021-05-17 12:10:08 +01:00
Athanasius 389a781de3 translations: Also edsm killswitch phrase 2021-05-17 10:21:39 +01:00
Athanasius b862f6b00a Translations: Add killswitch 'disabled' messages. 2021-05-17 10:18:04 +01:00