1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 09:32:23 +03:00

271 Commits

Author SHA1 Message Date
Jonathan Harris
159bf95b77 All executable files invoked with #!/usr/bin/env python3 2019-09-30 02:50:52 +01:00
Jonathan Harris
ca814758bd Change ttk import for consistency 2019-09-30 02:50:52 +01:00
Athanasius
5c6a711367 exe: Removes the previous un-setting of TCL_LIBRARY
This is what was causing py2exe 0.9.3.2's fix for 'import tkinter' to
then fail on .exe run due to unset TCL_LIBRARY.
2019-09-26 11:45:24 +01:00
Athanasius
b0abc3f865 Revert "Switches to .format() for startup code."
This reverts commit 11194c1374e4e325b523e6a348503dd0bc0d1a6b.
2019-09-26 11:40:42 +01:00
Athanasius
0b842f6dff EDMarketConnector.py: De-future 2019-09-26 11:40:42 +01:00
Athanasius
c2605c3a91 Switches to .format() for startup code. 2019-09-26 11:40:42 +01:00
Athanasius
c932bee929 Fixes __debug__ dump/ file writing.
Similarly to the 'Save Raw Data' fix in 9ccca42b31102fd713b26a7a8223472d364772ab
2019-09-26 11:40:42 +01:00
Athanasius
07c52ee9ab Fixes File > 'Save Raw Data'
Another str versus bytes issue.  We *do* need the .encode('utf-8') in
this case, else it will assume Windows cp1252 encoding which then can't
encode some characters.  So we switch to binary file mode instead.
2019-09-26 11:40:42 +01:00
Athanasius
a4e95d6ac4 Applies "log to file" necessary fix, whether we're forcing it or not. 2019-09-26 11:40:42 +01:00
Athanasius
a62c101056 Fixes str/bytes issues on "Last updated at" UI update 2019-09-26 11:40:41 +01:00
Athanasius
218c068ee5 Running EDMarketConnector.py 'works'.
First pass utilising 'futurize' to do most of the work.

  There's an issue with ur'\"' in l10n.py which I'm not sure how to
properly fix.

  This now has errors when hitting the 'Update' button.
2019-09-26 11:40:38 +01:00
Lysergia
7b291ede3d Set the WM_CLASS Name of the Root Window (#430)
This allows manipulation of the main window by window managers & desktop
environments.
2019-07-21 01:46:00 +01:00
Jonathan Harris
539d252213 Fix for running from arbitrary directory on Linux
Fixes #420
2019-05-26 11:07:29 +01:00
Jonathan Harris
126f51b1d2 Drop "imaging-tk" requirement
Fixes #418
2019-05-21 17:04:14 +02:00
Jonathan Harris
2a557fd37c Drop "keyring" requirement
Ref #418
2019-05-21 16:15:03 +02:00
Jonathan Harris
1ac76d11db Suppress cAPI queries if waiting for Auth callback 2019-04-26 18:10:42 +01:00
Jonathan Harris
70ec257934 Wait til log set up before installing translations 2019-04-09 10:10:33 -07:00
Jonathan Harris
19ccfaf481 Wait for other instance to be responsive before forwarding auth 2019-02-19 18:14:16 +00:00
Jonathan Harris
04ee40ee26 Handle browser invoking the app directly rather than via ShellExecute
Partially addresses #403
2019-02-19 02:53:17 +00:00
Jonathan Harris
8838dde116 More robust handling of cAPI server errors 2019-01-18 13:21:51 +00:00
Jonathan Harris
d8b2cb361b Don't start handlers before main window created 2019-01-15 00:00:46 +00:00
Jonathan Harris
fd492cdf94 Support authentication when running from source
Fixes #395
2019-01-14 21:33:41 +00:00
Jonathan Harris
efdade508d Indicate successful authentication
Fixes #389
2019-01-10 00:01:03 +00:00
Jonathan Harris
5c8f97a8dd Fix for hang on failed authentication through Steam
Fixes #376 & #377
2019-01-03 16:01:44 +00:00
Jonathan Harris
1ae89de163 Fix token expiry handling 2018-12-31 12:35:25 +00:00
Jonathan Harris
0630ff6710 Force re-authentication if credentials entered for wrong Cmdr 2018-12-30 20:09:15 +00:00
Jonathan Harris
687957b775 Add privacy policy 2018-12-28 03:33:07 +00:00
Jonathan Harris
f17f5d3f25 PKCE OAuth2 access to cAPI 2018-12-28 03:32:26 +00:00
Jonathan Harris
cc4390de49 Switch EDDN integration to a plugin 2018-11-18 01:52:05 +00:00
Jonathan Harris
e93265c87a Don't send "ActiveFine" with EDDN Docked messages 2018-11-04 13:10:25 +00:00
Jonathan Harris
10b36aa60b Don't send faction reputation with EDDN Location and FSDJump messages 2018-11-03 10:37:01 +00:00
Jonathan Harris
1578c3aa14 Tidy *_Localised filter 2018-08-01 00:32:08 +01:00
Jonathan Harris
374db3dd6e Also strip *_Localised keys from lists in Journal events 2018-07-31 00:15:35 +01:00
Jonathan Harris
9f776d5a20 Add separators between plugins in main window 2018-06-13 18:02:29 -05:00
Jonathan Harris
8efc32a9d7 Make plugin's main-window frame/widget fill the available space 2018-05-16 14:37:38 -07:00
Jonathan Harris
a442d2cd14 Extend localisation support to plugins 2018-05-12 20:50:45 +01:00
Jonathan Harris
6c254f4bcd Get timestamp for cAPI-derived data from cAPI server
Fixes #318
2018-04-25 00:43:32 +01:00
Jonathan Harris
3a3827f168 Make system and station links unclickable if URL not available 2018-04-04 19:34:35 +01:00
Jonathan Harris
0eaa61bdd9 Make system and station info websites configurable 2018-04-03 01:03:07 +01:00
Jonathan Harris
b45d745ff1 Don't display 'Solo' mode in main window
For streamers.
2018-04-02 12:15:15 +01:00
Jonathan Harris
781d9a17ef Prevent duplicate preferences or verification dialogs 2018-03-11 22:51:09 +00:00
Jonathan Harris
6237066af6 Don't wait for Journal thread on exit
since can cause deadlock.
Fixes #295
2018-03-11 19:55:49 +00:00
Jonathan Harris
2900ea80a3 Strip *_Localised subkeys from EDDN messages 2018-03-11 17:53:30 +00:00
Jonathan Harris
b3f6751a5b Handle empty shipyard at stations under repair
Fixes #296
2018-03-09 14:51:00 +00:00
Jonathan Harris
239c7872f5 Strip "Wanted" field from EDDN messages 2018-03-09 14:19:35 +00:00
Jonathan Harris
47e92cf881 Switch "Ship loadout" output format to Loadout event 2018-03-03 04:18:59 +00:00
Jonathan Harris
94e9ff64cc Add SystemAddress to EDDN journal/Scan messages 2018-02-27 22:59:06 +00:00
Jonathan Harris
88f323d36e Switch EDShipyard import to Loadout event 2018-02-18 02:38:30 +00:00
Jonathan Harris
75edff5fc3 Rename plugin callback to dashboard_entry 2018-01-30 00:11:49 +00:00
Jonathan Harris
a081b6b637 Monitor player status, and call new "status" plugin callback 2018-01-29 01:36:14 +00:00