Commit Graph
726 Commits
Author SHA1 Message Date
David Sangrey 110f9efd07 [#635] Properly Convert Message
Message should have been updated for the new format. It got missed here.
2024-03-04 18:37:00 -05:00
David Sangrey 727b8e5413 Merge pull request #2165 from HullSeals/enhancement/2163/update-inara-to-use-isthargoid-flag
[2163] Update Inara plugin to better handle Thargoid Combat events
2024-03-04 18:04:15 -05:00
Phoebe 99daff1295 Flake8 2024-02-25 20:45:59 +01:00
Phoebe 249f89f0fe Add checks to `Died` event 2024-02-25 19:46:49 +01:00
Phoebe 68a2767c39 Match remaining parts of `EscapeInterdiction` 2024-02-25 19:14:08 +01:00
Phoebe a45527e104 Check for `EscapeInterdiction` events as well
Also rewrites the ``EscapeInterdiction`` path to match the other Interdiction paths.
2024-02-25 15:32:44 +01:00
Phoebe af3b9d250a Check for and use `isThargoid` flag
- Check and use ``isThargoid`` flag for Interdiction events.
- Also updates the Paranoia check to also work in case of missing and not just empty parameter.
2024-02-25 15:20:14 +01: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
David Sangrey 4a4010ad7b [#2157] Add Station and Docking Information When Available 2024-02-09 13:32:59 -05:00
David Sangrey f318b3256b [662] Apply Rate Limit 2024-01-04 19:17:21 -05:00
David Sangrey 7cac00b2e8 [635] Remove Ordered Dict 2024-01-03 23:55:12 -05:00
David Sangrey b7633fa6e3 Handover a number of Lists to Tuples
Tuples are (slightly) more efficient for comparing if x in y. Not that it'll really matter at this scale, but it's technically better and simple to implement.

Applying to all files except theme.py, because theme.py is scary.
2023-12-27 00:29:35 -05:00
David Sangrey 21268d5f19 [Minor] Correct Spelling of Spansh 2023-12-07 11:55:07 -05:00
David Sangrey c511b51003 [Translations] Update Translation Template 2023-12-06 17:41:22 -05:00
David Sangrey e2285729df Merge pull request #2086 from GLWine/develop
Fixed translation hook in EDSM.py and Inara.py
2023-12-06 17:17:39 -05:00
David Sangrey 173c32f314 [Minor] Update Code Checks 2023-12-06 17:15:46 -05:00
David Sangrey 170b86b5dc [2051] Remove More Old Types 2023-11-30 21:45:04 -05:00
Phoebe ed163ddb61 [Minor] Typos and mypy 2023-11-17 22:40:08 +01:00
Phoebe 71ff00ce58 [1490] Adds spansh as a URL provider
- Adds a spansh plugin as a URL provider for systems and stations.
- Adds plugin path to build.py.
- Updates a comment in the EDSM plugin.
2023-11-17 16:05:27 -05:00
David Sangrey a169fb5a18 [Minor] Suppress Errant MyPy Error 2023-11-17 10:54:00 -05:00
David Sangrey 6c06600f21 Merge pull request #2096 from HullSeals/fix/2088/fix-and-standardize-UI
Fix and standardize Settings UI
2023-11-16 21:42:41 -05: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 fc9775b910 [Minor] flake8 2023-11-17 01:57:13 +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 93619e4565 [2051] Fix Localized Strings 2023-11-16 18:18:10 -05:00
Phoebe 07ae14be5a [2088] fix UI bugs, introduce standard
- Fixes #2088 and #2089.
- Adds usage of ``row=`` for ``.grid()`` for all config entries in included plugins.
- Changes all config pages to start at row 0.
- Starts introducing a standard for config panel layouts.
2023-11-16 22:21:57 +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
Giampiero 98e9765391 Fixed translation hook line 355
Corrected the text of code line 355;
The text text="Show API Key" cannot be translated as indicated, so I rewrote it as text=_('Show API Key').
2023-10-31 01:31:29 +01:00
Giampiero b0ae7f140c Fixed translation hook line 295
Corrected the text of code line 295;
The text text="Show API Key" cannot be translated as indicated, so I rewrote it as text=_('Show API Key').
2023-10-31 01:23:59 +01:00
David Sangrey 2c803d7f4c [2051] Core Plugin Audit
Broken out of #2068
2023-10-19 17:44:33 -04:00
Philipp Trulson 02f62b8ee6 Fix Inara URLs for station & system search 2023-09-18 22:48:00 +02:00
David Sangrey db73b9d775 #2047 Suppress Inaccurate MyPy 2023-08-03 17:33:23 -04:00
David Sangrey d88bd70055 #2047 Mask API Keys in Default Plugins 2023-08-03 16:32:59 -04:00
David Sangrey 247d632cc6 #2040 First Pass - Update Build System 2023-07-26 22:49:03 -04:00
David Sangrey 86d4d89b94 #2031 Remove EDDB and Bump Version 2023-07-22 09:39:05 -04:00
Athanasius 3fb372fb11 EDSM: Remove actually un-necessary, and bug-inducing "not None" checks
I would have added these during a mypy cleanup, but it turns out they're both
not necessary *and* it actually prevents the EDSM Settings tab from properly
populating.
2023-01-22 13:09:34 +00:00
Athanasius dbb471f2c2 eddn/tracking: Add BodyType to tracking UI
This helps demonstrate that a 'spurious' Station BodyName/ID is actually OK,
because BodyType makes it clear.
2023-01-16 19:32:44 +00:00
Athanasius 46fd129d3e eddn: Expand the tracking UI for all system, body & station location data
* Also renamed This.systemaddress to this.system_address, which impacted
  misc. other lines of code.
2023-01-16 18:10:57 +00:00
Athanasius b5bb9657d8 eddn: Move tracking_ui_update() nearer top of journal_entry()
With the tracking now being in monitor.py this needs to be ASAP after the
local copies of the tracking have been updated.

Below the possible `this.status_body_name` blanking, in case that's hit.
2023-01-15 21:54:02 +00:00
Athanasius 7b62fa1125 plugins/inara: Use state[...] values for system/station
* Also renamed system -> system_name & station -> station_name
2023-01-11 19:44:47 +00:00
Athanasius c396a253f8 plugins/edsm: Use state[...] values for system/station
* Also renamed system -> system_name and station -> station_name
2023-01-11 19:44:46 +00:00
Athanasius 31e8d0372d monitor/tracking: Move .station_marketid to state['MarketID']
1. plugins/eddb.py uses this for MarketID-based station URLs.

* So do the 'rename'.
* Remove EDDB tracking in favour of this.
* Update PLUGINS.md
2023-01-11 19:44:44 +00:00
Athanasius 2a8dd14e24 tracking/stationname; Minor fixups
* Missed a some `self.station` in monitor.py
* Fixed EDDB system *and* station link setting.  Brainfart had mixed them
  together in last commit.
2023-01-11 19:44:43 +00:00
Athanasius dde0cf876c monitor/tracking: Move .station to state['StationName']
1. EDDB tracks this.

* So move monitor.station to monitor.state['StationName'].
* PLUGINS.md updated to cite this.
2023-01-11 19:44:41 +00:00
Athanasius df5eb5b270 monitor/tracking: Switch .systempopulation to state['SystemPopulation']
1. EDDB plugin tracked this for keeping the Station link text up to date.

* So moved it to monitor.state['SystemPopulation'].
* PLUGINS.md updated to cite this.
* PLUGINS.md also updated to note state entries that are set to None if
  remote multi-crew is detected.
2023-01-11 19:44:14 +00:00
Athanasius dbad45cf3b EDDB: Use only state['SystemName'] for this.system_name tracking 2023-01-11 19:44:13 +00:00
Athanasius 86e81adb3d EDDB: Rename this.system to this.system_name 2023-01-11 19:44:12 +00:00