291fbf2908
Use both Ship and GameMode fields of LoadGame event to detect CQC
...
And freeze update button when in CQC
2021-08-09 15:59:30 +03:00
27fe43bf8c
WIP: implement journal_entry_cqc()
...
journal_entry_cqc function in plugin's api allow plugins to recieve
journal events when player are in CQC
2021-08-09 04:37:23 +03:00
Athanasius
9a393af430
Merge pull request #1183 from A-UNDERSCORE-D/fix/1182/Option-to-hide-private-group-name
...
Add options to hide private group name and multicrew commander name from UI
2021-08-07 19:30:42 +01:00
A_D
a0c1854818
fixed letter transposition
...
I hate the word captain.
2021-08-07 20:20:48 +02:00
Athanasius
6e7ef6d80d
logging: Don't force DEBUG if not TRACE
...
This was overriding the user-configured log level for the plain log
output. The debug output still has DEBUG or TRACE as requested.
2021-08-06 09:06:54 +01:00
Athanasius
40b76d40cc
Add --trace-on ...
to activate specific trace logging
...
This is just the parsing and storage of the options for now.
2021-08-05 13:43:15 +01:00
A_D
b42fcf1d4f
added config option and prefs page
2021-06-28 10:28:56 +02:00
A_D
fe7b8dbc6c
Add config option for hiding current group/captian name
2021-06-28 08:45:29 +02:00
A_D
fe0e752c9b
Added support for arbitrary plugins for POST debug
...
This works by replacing --eddn-local with --debug-sender, and making the
webserver more generic. support has been added to EDSM, EDDN, and INARA.
2021-06-18 23:36:42 +02:00
A_D
4ef153b1b2
Added fake EDDN Listener
...
A simple HTTP handler has been added that will dump any and all POST
data it gets to EDMC's log.
Additionally, a new command line argument to switch EDMC to using this
as its EDDN target has been added.
2021-06-18 23:34:20 +02:00
Athanasius
713b6b753d
CAPI: Catch where we're CAPI-docked, but monitor.station is None
...
Docked at an EDO settlement means CAPI says we are, but we've forgotten
monitor.station because there's not enough Journal information and too
many corner cases to be *sure* of re-using old data.
2021-06-13 20:09:00 +01:00
Athanasius
88b56b6913
CAPI: Add logger.warning() for *why* we raise ServerLagging
2021-06-13 19:43:14 +01:00
Athanasius
a0b310f72e
Translations: Amalgamate some LANG comments & en.template updated
2021-06-13 15:49:09 +01:00
Athanasius
7a858b25d2
EDMarketConnector.py: Fix following-line LANG comment
2021-06-13 15:13:09 +01:00
Athanasius
cba3835698
EDMarketConnector: Split multi-_(...) line to separate ones for LANG comments
2021-06-13 14:57:14 +01:00
Athanasius
e736f30358
Merge pull request #1158 from EDCD/enhancement/l10n-add-missing-LANG-comments
...
Add all missing LANG comments
2021-06-13 13:48:34 +01:00
Athanasius
7552e93f07
EDMarketConnector: Final LANG comments
2021-06-13 12:59:50 +01:00
A_D
284064d6ed
Added CL arg to forget all frontier tokens
...
This is obviously quite annoying but should provide a magic fix to any
user with weird auth trouble (such as those seen by
EDCD/EDMarketConnector#1166 )
Closes EDCD/EDMarketConnector#890
2021-06-12 16:38:25 +02:00
A_D
09a0b70891
Switched logs to warning
2021-06-07 19:07:24 +02:00
A_D
c4e9767974
Don't spam a stacktrace on requests.ConnectionError
...
ConnectionErrors are expected and not something we can fix. The
exception handler that was catching these previously is a catchall
intended to stop EDMC as a whole from crashing from something
unexpected.
Closes #1082
2021-06-07 19:06:27 +02:00
Athanasius
efbc51c714
EDMarketConnector: Improve legacy LANG comments
2021-06-07 16:56:53 +01:00
Athanasius
631446f619
Translations: Final LANG comments
...
The script now outputs nothing about Unknown comments
2021-06-07 16:02:39 +01:00
Athanasius
2351ee0f02
EDMarketConnector: LANG comment pass
2021-06-07 15:32:52 +01:00
Athanasius
87ff0b08a1
Translations: Full phrase "Error: Check E:D journal file location"
2021-06-07 14:17:28 +01:00
A_D
2fb47377a3
Added comments
2021-06-07 12:43:22 +02:00
A_D
5bdbf334ae
Remove hack
2021-06-07 12:42:07 +02:00
Athanasius
5acb5e6140
EDMarketConnector: import update
needed for type checking
2021-06-05 09:20:17 +01:00
Athanasius
73ead7c4ef
Translations: Add generic 'Check', as in 'Check E:D journal file location'
2021-06-05 09:19:47 +01:00
A_D
fe90f1f0b3
Cleaned up imports, removed incase imports
...
closes EDCD/EDMarketConnector#569
2021-05-28 14:46:51 +02:00
Athanasius
c48fe4cdfb
Suits: Set edmcName in CurrentSuit from CAPI, and ensure displayed
2021-05-27 17:28:52 +01:00
Athanasius
dba3fba8e3
Suits: Fully implement mapping to sane (English only for now) names
2021-05-25 15:24:21 +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
8b3094dd6b
SuitLoadout: Now showing Suit UI if set
2021-05-20 11:09:32 +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
10d6c432a4
Append " (beta)" to Cmdr name when appropriate
...
Closes #1021
2021-05-02 10:31:57 +01:00
Athanasius
316201eb77
systray: Disable whilst we figure out py2exe packaging issue
2021-05-01 19:32:53 +01:00
Athanasius
c867d4c282
CAPI: Don't auto-update on Taxi Docked
, but do on Disembark
in-station
...
Closes #1016
2021-05-01 10:14:35 +01:00
Sayak Mukhopadhyay
a52472d6e0
Fix for tray icon not stopping on app stop when minimize to tray option is disabled
2021-04-26 19:18:47 +05:30
Sayak Mukhopadhyay
fc83dcf090
Added annotations for systray
2021-04-26 16:05:40 +05:30
Sayak Mukhopadhyay
b377199119
Changed logic to handle minimize too system tray
2021-04-26 15:36:43 +05:30
Sayak Mukhopadhyay
2dddf02f9b
Comments to describe the hack
2021-04-26 14:40:11 +05:30
Sayak Mukhopadhyay
fa58d2f0c2
Added windows OS checks
2021-04-26 14:23:08 +05:30
Sayak Mukhopadhyay
6c0437642e
Formatting fixes
2021-04-26 14:03:22 +05:30
Sayak Mukhopadhyay
ecf16762d0
Fixed linting issues with EDMarketConnector.py
2021-04-26 13:37:27 +05:30
Sayak Mukhopadhyay
df31aed6c5
Added appearance config option and implementation for minimize to tray on close functionality
2021-04-26 01:22:01 +05:30
A_D
6f86e173cd
indexed sparse list rather than guessing
2021-04-16 17:41:31 +02:00
A_D
98c946fa31
CAPI loadouts changed from dict to list
2021-04-16 17:11:05 +02:00
Athanasius
53f8209820
Move AppWindow.dump_capi_data() to be in companion.Session instead
...
It's writing CAPI data to a file, so it should be in companion.py.
Also:
* Use companion.CAPIData as type, not a Mapping.
2021-04-15 16:56:03 +01:00
Athanasius
bb90d0fb59
Suits: If user switches to an unknown loadout, say so
2021-04-13 16:56:48 +01:00
Athanasius
c28dd8c55d
Suits: Set/update suit text as necessary.
...
* After any Journal event we might as well set it.
* Attempt to update on a `SwitchSuitLoadout` event, assuming the new
slot is one we heard about in the last CAPI data.
2021-04-13 16:48:16 +01:00