Commit Graph
6677 Commits
Author SHA1 Message Date
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 afa99d76a6 Release 5.0.1: appcast 2021-05-17 19:00:37 +01:00
Athanasius 9113b67639 Merge branch 'stable' into releases 2021-05-17 18:56:06 +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
Athanasius 14578e0cf5 Merge pull request #1067 from EDCD/dependabot/pip/develop/pytest-cov-2.12.0
build(deps-dev): bump pytest-cov from 2.11.1 to 2.12.0
2021-05-17 08:12:11 +01:00
dependabot[bot] a31f53e74b build(deps-dev): bump pytest-cov from 2.11.1 to 2.12.0
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 2.11.1 to 2.12.0.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v2.11.1...v2.12.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 06:33:10 +00:00
A_D e68494035e Sorted imports 2021-05-17 08:25:13 +02:00
A_D 9d68938293 Added the ability to copy individual entries from status
Currently no method for entire pages.

closes #1060
2021-05-17 08:22:35 +02:00
Athanasius cba2f32cef plugins/eddn: export_journal_entry didn't have is_odyssey arg added 2021-05-15 08:17:58 +01:00
Athanasius 1c327e2cee Merge pull request #1055 from EDCD/enhancement/1054/eddn-odyssey-flag
plugins/eddn: Send bool 'odyssey' in all event messages.
2021-05-15 08:17:18 +01:00
Athanasius b444647c4a PLUGINS: Explicitly outline how to be informed of all releases. 2021-05-12 22:47:36 +01:00
Athanasius 58c740bc6c plugins/eddn: Set odyssey flag in extra messages
1. journal outfitting
2. journal shipyard
3. journal commodities

As these are sourced from the additional .json files via a load over
`entry` contents we need to re-set `entry['odyssey']` and then make sure
we use it.
2021-05-12 18:18:41 +01:00
Athanasius 86a17e5e4c plugins/eddn: Utilise this.odyssey to augment CAPI-sourced messages
NB: Currently EDDN gateway doesn't have the updated schemas, so the
export_commodities() throws an exception and thus neither outfitting or
shipyard exports are even attempted.
2021-05-12 17:55:20 +01:00
Athanasius 286060a796 monitor: Add state flag 'Odyssey' for if LoadGame states we're running under Odyssey 2021-05-12 17:54:39 +01:00
Athanasius 8dfd638f28 plugins/eddn: Store Odyssey boolean in This state.
This is so we can access it in cmdr_data() as well.
2021-05-12 17:29:15 +01:00
Athanasius 97a6d07c51 plugins/eddn: Send bool 'odyssey' in all event messages.
This is so listeners can make decision on if/how/when to store data that
might be from base/horizons or Odyssey.
2021-05-12 17:14:58 +01:00
Athanasius af80d39442 5.0.0: appcast
NB: Windows section culled down to only this release.
2021-05-12 16:57:10 +01:00
Athanasius 02fe3c8ee7 Merge branch 'stable' into releases 2021-05-12 16:51:58 +01:00
Athanasius beef67dd34 img/: Add annotated UI image (well, labelled). 2021-05-12 16:09:55 +01:00
Athanasius e73b193219 Add Odyssey example UI image. 2021-05-12 15:52:32 +01:00
Athanasius c6712a7860 ChangeLog: beta/rc testers *might* need to manuall uninstall first. Release/5.0.0 2021-05-12 14:53:00 +01:00
Athanasius 08499625f5 5.0.0: Include --reset-ui .bat, and mention killswitches docs 2021-05-12 14:41:06 +01:00
Athanasius 6c590b0c39 Release 5.0.0: appversion and ChangeLog 2021-05-12 14:19:33 +01:00
Athanasius d68d56050a coriolis-data: Fresh pull, script caused no change to {ships,modules}.p 2021-05-12 14:11:15 +01:00
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