1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-22 03:40:46 +03:00

1145 Commits

Author SHA1 Message Date
Athanasius
89df69601d TODO: 'Hotkey' setting works.
Tested with:

  	NumPad 5 (revealed s/unichr/chr/ issue)
	F1
	Ctrl+Shift+F1
	Shift+Ins
	Shift+Del
2019-09-26 11:40:42 +01:00
Athanasius
5caf861172 Fixes Trade Dangerous .prices export.
Confirmed by Snake Man on EDCD Discordin #edmc

Snake Man : looks ok I guess (never done much of these manual imports)

	python3 trade.py import ../Daurtu.Panshin.Terminal.2019-09-12T12.29.27.prices
	NOTE: Import complete: 93 updated items over 1 stations in 1 systems

Snake Man : trade.py market -vv daurtu/panshin command looks fine too. and trade.py run --cap 500 --cr 20m --ly 12 --fr daurtu/pans gives trading results, looks good indeed
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
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
a4e95d6ac4 Applies "log to file" necessary fix, whether we're forcing it or not. 2019-09-26 11:40:42 +01:00
Athanasius
7be0c76986 Gets plugins/edsy.py working. The usual string vs. bytes shenanigans. 2019-09-26 11:40:42 +01:00
Athanasius
14d6d353a8 Fixes registry browser lookup, and confirms EDDB system/station lookups work 2019-09-26 11:40:42 +01:00
Athanasius
2756ea3f39 Ensure we definitely can add mandatory fields to EDDN messages
This came to light due to python3 not liking try['StarPos'] =
list(this.coordinates) if this.coordinates was None.  As the comment
says these three fields are mandatory, ensure we can actually set them
appropriately, and display an error if not.
2019-09-26 11:40:41 +01:00
Athanasius
a07f502f09 plugins/inara.py: No need for encode('utf-8') 2019-09-26 11:40:41 +01:00
Athanasius
c3620b932b Removes un-necessary encode('utf-8') 2019-09-26 11:40:41 +01:00
Athanasius
1a518e366a plugins/eddn.py: encode() un-necessary 2019-09-26 11:40:41 +01:00
Athanasius
1cedfaf759 Fixes EDDN sending to be working.
NB: Due to, I assume, EDDN relay de-duplication of messages, it's been
difficult to 100% test this.  No errors thrown, and stock/release EDMC
also doesn't result in a new message arriving at my EDDN consumer.
2019-09-26 11:40:41 +01:00
Athanasius
e2be3b98e6 Use .items() instead of .iteritems() 2019-09-26 11:40:41 +01:00
Athanasius
a62c101056 Fixes str/bytes issues on "Last updated at" UI update 2019-09-26 11:40:41 +01:00
Athanasius
08e5b6ff6a Fixes generation of market CSV files 2019-09-26 11:40:41 +01:00
Athanasius
3117f7ca3e Fixes do_GET()'s use of .write() 2019-09-26 11:40:41 +01:00
Athanasius
457c533980 Fixes Frontier oAuth2 initiation 2019-09-26 11:40:41 +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
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
Jonathan Harris
c5df83eb32 Update translations 2019-09-26 00:15:00 +01:00
Jonathan Harris
d64889c819 Release 3.43 rel-343 2019-09-24 22:49:03 +01:00
Jonathan Harris
b81c4cf6c5 More control over widget colors
Documented mechanism to apply theme to dynamically created widgets.
Allow widgets to override theme colors. Fixes #444
2019-09-24 00:08:46 +01:00
Jonathan Harris
630da89831 Increase transparent theme font size
Fixes #416
2019-09-22 18:52:07 +01:00
Jonathan Harris
a31ecc9618 Fix for invoking npm on Windows
Fixes #454
2019-09-22 15:51:22 +01:00
Jonathan Harris
edefca8307 Add 3.5 commodity and modules 2019-09-21 18:28:28 +01:00
Jonathan Harris
bf40b98819 Handle inability to get system language
Fixes #451
2019-09-21 18:11:22 +01:00
Jonathan Harris
e9c53b73f9 Fix Krait Phantom Bulkead Masses 2019-09-21 16:42:19 +01:00
Jonathan Harris
c6385d7463 Ignore voicepacks in outfitting
Fixes #452
2019-09-21 16:08:24 +01:00
Athanasius
ac03fc583e Updates "EDMC.py -p <cmdr name>" for multi-account support. (#450) 2019-09-18 15:24:07 +01:00
Jonathan Harris
4125ac6b90 Workaround for Int_DroneControl_ResourceSiphon 2019-09-15 01:14:29 +01:00
Jonathan Harris
7fe08f61b3 Handle non-ASCII station names 2019-09-14 20:02:54 +01:00
Jonathan Harris
09de1adc91 Make replay file line-buffered (#448)
Squashed commit of the following:

commit d42bb0add648ba52e56dd03a48ef9e1d09fdbda0
Author: Jonathan Harris <jonathan@marginal.org.uk>
Date:   Fri Sep 13 19:36:14 2019 +0100

    Use line buffering when creating replay file.

commit 1b6e499e2c306b66708a9fd210d1db1771c4c78f
Author: Athanasius <github@miggy.org>
Date:   Thu Sep 12 17:30:59 2019 +0100

    Use line buffering for replay file.

      By default it takes a lot of data being written to the file for it to
    be flushed.  Or exiting EDMC.  So, let's reduce the chances of data
    loss.
2019-09-13 19:46:20 +01:00
Jonathan Harris
02d4da30d5 Don't give error if system coordinates unknown
Fixes #446
2019-09-13 19:46:05 +01:00
Athanasius
59b738fbf0 eddn cmdr_data not actually checking 'send to EDDN' option. (#445) 2019-09-13 19:45:20 +01:00
Jonathan Harris
86cd6c0f2c Document Journal location under Wine 2019-08-18 05:38:10 +01:00
Jonathan Harris
610f689504 Document Arch Linux 2019-08-17 18:41:49 +01:00
Jonathan Harris
f19fde1f77 Tidy 2019-08-14 18:37:08 +01:00
Jonathan Harris
17dc663cea Document Linux Steam Play and Wine setup
Fixes #437
2019-08-14 18:28:32 +01:00
Jonathan Harris
f6a8e67e90 Add more dashboard flags 2019-08-09 20:04:22 +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
d8b5884b05 Notify plugins of Inara ship, system and station IDs
Fixes #425
2019-07-06 15:28:48 +01:00
Jonathan Harris
cd73383986 Release 3.42 rel-342 2019-06-19 12:25:10 +01:00
Jonathan Harris
169c8e09b4 Run from source without obtaining a CLIENT_ID 2019-06-19 12:24:22 +01:00
Jonathan Harris
a6ce9edc1d Fix running under Wine 2019-06-19 12:09:26 +01:00
Jonathan Harris
de9760c4d2 Update EDSY URL 2019-06-19 09:31:48 +01:00
Jonathan Harris
c5d2df3e28 Add masses for advanced multi-cannon 2019-06-19 09:31:20 +01:00
Jonathan Harris
365fe448da Add advanced multi-cannon from "Bridging the Gap" 2019-06-01 19:25:10 +01:00
Jonathan Harris
2dd6c4d008 Support not always on top with dark theme on Linux
Fixes #421
2019-05-28 00:06:33 +01:00
Jonathan Harris
f8a3942df2 Fix for boolean config values on Linux 2019-05-28 00:00:56 +01:00