Commit Graph
48 Commits
Author SHA1 Message Date
David Sangrey 10dbee2bb8 Silence Flake8 2026-05-30 12:24:11 -04:00
David Sangrey 1425432abd [#2615] Prevent Linux NONE Toml Config Crash 2026-05-28 21:37:05 -04:00
Michael K Williams e9d288daca Add CAPI sync hook for Coriolis CMDR ship detection
Add cmdr_data() hook and _build_loadout_from_capi() to the coriolis
plugin. This sends the current ship loadout to the Coriolis CMDR API
whenever EDMC fetches fresh data from Frontier's CAPI (on docking and
manual sync button press).

This is the primary mechanism for detecting ship changes after a
ShipyardSwap, because the Loadout journal event may not be forwarded
to plugins by EDMC after a catch-up replay.

Also:
- Remove unused json import
- Extract _handle_ship_event and _handle_module_event helpers to
  reduce journal_entry complexity below flake8 threshold (C901)
- Add datetime import for CAPI timestamp generation
2026-04-30 16:24:20 +01:00
Alex Williams c25283eff9 Adding to the coriolis 'core' plugin, the ability to add an API key for cmdr.coriolis.io and when added, the ability to send material, ship and module data to cmdr.coriolis.io with the users consent. 2026-04-11 13:56:24 +01:00
David Sangrey beb68efae8 [2568] Fix Ships JSON Typo 2025-12-25 01:36:24 -05:00
David Sangrey 2041b3d3d3 [Minor] Update Type Hints and Alias Usages 2025-12-01 22:04:28 -05:00
David Sangrey 26f06b7bf0 [#2406] Consolidate Modules 2025-04-13 13:42:06 -04:00
David Sangrey 080d9f98f2 [1812] Handover Translations 2024-04-22 17:33:28 -04:00
David Sangrey dd5e3812a7 [2186] Refine macOS to preserve ContextMenu 2024-04-13 14:44:44 -04:00
David Sangrey d9c7a79155 [Minor] Update Type Hintings
No Content Changes, Shuts Up MyPy
2024-04-06 16:59:49 -04:00
David Sangrey ae74d949a8 [Nit] Indentation, Yay! 2024-03-27 21:24:11 -04:00
David Sangrey c1b8533cb4 [2186] Simplify myNB Files 2024-03-27 21:22:35 -04:00
Phoebe 57a1f1cdd9 Flake8 the third 2024-02-19 23:42:39 +01:00
Phoebe e322dedba7 Flake8 fix the second 2024-02-19 23:30:16 +01:00
Phoebe 51fea68909 [Minor] Flake8 and mypy 2024-02-19 23:23:56 +01:00
Phoebe dbdc8e47f2 #1181 Keep Coriolis URL Selection
fix/1181/coriolis-overrides-change-when-switching-languages
2024-02-19 23:18:39 +01:00
Phoebe a3c1763f4a [2095] Standardize horizontal Padding
- Standardizes horizontal Padding.
- Fixes further padding issues.
- Part of #2095
2023-11-17 03:05:42 +01:00
Phoebe 8063cf099b [2095] Standardize vertical Padding
- Standardizes vertical Padding.
- Fixes issues with the disabled and outdated Plugin list.
- Part of #2095
2023-11-17 01:39:52 +01:00
David Sangrey 070a3989a0 [2051] Prevent Typing Reversion
Thanks to @norohind for catching this one! I'm not up to date on my PEP585.
2023-11-10 11:33:04 -05:00
David Sangrey 2c803d7f4c [2051] Core Plugin Audit
Broken out of #2068
2023-10-19 17:44:33 -04:00
David Sangrey 247d632cc6 #2040 First Pass - Update Build System 2023-07-26 22:49:03 -04:00
Athanasius ca233a40a8 plugins/coriolis: Minor type fixes. 2022-12-23 14:47:22 +00:00
Athanasius 868c1d8e57 docs: Fix up references to setup.py to be to Build-exe-and-msi.py 2022-12-20 16:51:58 +00:00
Athanasius ac7cfb9b14 core plugins: Add big obvious comment about imports and windows installer 2022-02-01 14:45:30 +00:00
Athanasius 5ad3ec8d8f plugins/coriolis: LANG comments added 2021-06-13 13:10:14 +01:00
Athanasius a412ec1382 plugins/coriolis.py: LANG comment pass 2021-06-07 15:35:24 +01:00
Athanasius 09da4576bf plugins/coriolis: Correct case of translated string 2021-06-05 08:54:55 +01:00
A_D 2dd80e8314 Set dropdown default to currently selected option 2021-05-28 13:09:42 +02:00
A_D 4c658577f4 Forgot to re-localise when reading from conf 2021-05-28 13:05:49 +02:00
A_D 82c5292d0a Fixed formatting 2021-05-28 12:11:51 +02:00
A_D d8d90f14c0 Fixed _ being redefined 2021-05-28 12:06:57 +02:00
A_D 9edc86c2d8 Fixed auto switching between localised and unlocalised 2021-05-28 11:57:16 +02:00
A_D 37b37eae56 Fixed localisation 2021-05-28 11:51:14 +02:00
A_D ebb5ac49bc Added reset buttons for links 2021-05-28 11:51:14 +02:00
A_D d0272fd298 Fixed 'default' vs 'auto' 2021-05-28 11:51:14 +02:00
A_D 10de03298b added selector for alpha/beta/auto URL targeting
closes EDCD/EDMarketConnector#823
2021-05-28 11:51:13 +02:00
A_D be6e9e6b4e Added support for choosing coriolis URL
Closes EDCD/EDMarketConnector#491
2021-05-28 11:51:10 +02:00
A_D 87df8d8ab8 suppressed exceptions in migration code 2021-04-01 14:45:46 +01:00
Athanasius 25852997c5 Updated all source to use new config methods
# Conflicts:
#	monitor.py
2021-04-01 14:45:46 +01:00
A_D 5aaf88b281 fix quoting style 2020-07-26 23:08:47 +01:00
A_D 87b7f639bb cleanup coriolis.py 2020-07-26 23:08:47 +01:00
Jonathan Harris e192c2ca2e Plugin migration 2019-10-02 03:01:08 +01:00
Athanasius f1462ef151 Fixes plugins/coriolis.py to appear in settings, and confirms click-through works
*) Code and imports brought in line with edsy plugin
  *) 'Coriolis' now appears in Settings > Configuration > Shipyard
    dropdown
  *) Confirmed that with this active a valid build opens on coriolis.io
2019-09-26 11:40:42 +01:00
Athanasius 9910024004 Now runs without console errors so far as pressing 'Update' is concerned.
There's an error on the console about an iterator when doing so
though.
2019-09-26 11:40:41 +01:00
Jonathan Harris 7e8457f74c Send Coriolis links to https://coriolis.io/
To migrate saved builds see https://youtu.be/4SvnLcefhtI
2018-08-07 14:46:01 +01:00
Jonathan Harris f203b8bc7e Export ship loadout to Coriolis in Journal Loadout format 2018-04-16 01:21:55 +01:00
Jonathan Harris 37ec61a28d Fix for setting Coriolis link on cAPI Update 2018-04-03 14:41:27 +01:00
Jonathan Harris 0eaa61bdd9 Make system and station info websites configurable 2018-04-03 01:03:07 +01:00