1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 01:00:42 +03:00

1179 Commits

Author SHA1 Message Date
Athanasius
a2fbf88e21 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
2020-06-21 16:23:00 +01:00
Athanasius
8237a94f72 Fixes __debug__ dump/ file writing.
Similarly to the 'Save Raw Data' fix in 9ccca42b31102fd713b26a7a8223472d364772ab
2020-06-21 16:23:00 +01:00
Athanasius
a56c48437b 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.
2020-06-21 16:23:00 +01:00
Athanasius
753fdedbdf 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
2020-06-21 16:23:00 +01:00
Athanasius
1fbdfcc113 Applies "log to file" necessary fix, whether we're forcing it or not. 2020-06-21 16:23:00 +01:00
Athanasius
0d893c1c56 Gets plugins/edsy.py working. The usual string vs. bytes shenanigans. 2020-06-21 16:23:00 +01:00
Athanasius
5079f8fdc6 Fixes registry browser lookup, and confirms EDDB system/station lookups work 2020-06-21 16:23:00 +01:00
Athanasius
ce460712e2 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.
2020-06-21 16:23:00 +01:00
Athanasius
bebc3648b8 plugins/inara.py: No need for encode('utf-8') 2020-06-21 16:23:00 +01:00
Athanasius
0f38e3e824 Removes un-necessary encode('utf-8') 2020-06-21 16:23:00 +01:00
Athanasius
fd4acae9a5 plugins/eddn.py: encode() un-necessary 2020-06-21 16:23:00 +01:00
Athanasius
e73db981a8 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.
2020-06-21 16:23:00 +01:00
Athanasius
e7545e174f Use .items() instead of .iteritems() 2020-06-21 16:23:00 +01:00
Athanasius
662d35f0bb Fixes str/bytes issues on "Last updated at" UI update 2020-06-21 16:23:00 +01:00
Athanasius
ee588e2f1f Fixes generation of market CSV files 2020-06-21 16:23:00 +01:00
Athanasius
a25d22123b Fixes do_GET()'s use of .write() 2020-06-21 16:23:00 +01:00
Athanasius
d00472c2cd Fixes Frontier oAuth2 initiation 2020-06-21 16:23:00 +01:00
Athanasius
90b05d22c5 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.
2020-06-21 16:23:00 +01:00
Athanasius
d0ae621387 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.
2020-06-21 16:23:00 +01:00
Athanasius
a8631e5bb8 Gives up and uses full URL for python3 branch 2020-06-20 12:20:32 +01:00
Athanasius
8262a2afba Attempts to fix the 'python3' branch URL in migration guide 2020-06-20 12:18:58 +01:00
Athanasius
7ed7f904a8 Adds an edited version of python3/PLUGINS.md#Migration for master branch
We need this in master so that the forthcoming Python 2.7 version that
detects plugins that aren't ready for migration can provide a link to
information about migrating.  In the future the 'python3' branch might
have been removed.
2020-06-19 19:28:01 +01:00
Athanasius
bb9385422d
Merge pull request #479 from VAKazakov/patch-1
Fixing reputation values error on Inara
2020-06-18 17:18:40 +01:00
Athanasius
53bbeca12b Merge branch 'releases'
Release 3.44 just made as pre-release, soon to be live.
2020-06-17 18:15:33 +01:00
Athanasius
a5edde146e docs: RELEASING.md: Various changes after confirming releasing works.
* Outline the `release-XYZ` > `releases` workflow.
 * Expanded on exact git CLI commands to use in some stages.
2020-06-17 18:04:25 +01:00
Athanasius
cc9779f4c2 Changes additional copyright from 'Athanasius' to 'EDCD'.
Spansh confirmed this was OK on EDCD Discord.
rel-344
2020-06-17 17:14:34 +01:00
Athanasius
b0b0d8c41b edmarketconnector.xml: Updates MacOS title to reference 3.44 2020-06-17 17:10:30 +01:00
Athanasius
48181e5f46 edmarketconnector.xml: Ensure 3.44 changelog is complete.
* Copied the Windows one to the MacOS section, and added some emphasis.
  * URL-ised the reference to the README.md.
2020-06-17 17:08:11 +01:00
Athanasius
4ee1510862 Updates build config for EDCD, tweaked copyright, and latest WiX
* Change instances of 'Marginal' to 'EDCD'.  Including github URLs.
  * Update SDKPATH and WIXPATH to the latest versions.
  * Removes un-necessary attempt at including VCredist file.  This isn't
    needed on any Windows 10 version that is vaguely current (tested on
    1909).
  * Adds the following to the EDMarketConnector.wxs <Product Id ...>
    section so that any new version definitely replaces any older one:

    	InstallScope="perMachine"

    without this it defaults to a per-user install, and you end up with
    the prior Marginal-era EDMC allegedly still installed as well, even
    though they're installed into the same path.
    See commit 1beca864d362625f983cc9465125124ffada4ae2 in the python3
    branch.
  * Appends ", 2020 Athanasius" to the copyright notices in setup.py.
    This will likely change to ", 2020 EDCD" pending EDCD Council
    approval.
2020-06-17 16:42:17 +01:00
Athanasius
f52d4a5e75 Updates various github URLs to EDCD, not Marginal, ones. 2020-06-17 16:41:25 +01:00
Athanasius
e3d5acc27f Initial commits before release 3.4.4.0
This is a little messy due to the need to bootstrap the edmarketconnector.xml
file into the 'releases' branch.
2020-06-17 15:28:59 +01:00
Athanasius
141609e7fb docs: RELEASING.md: github adds the Source Code files itself 2020-06-17 00:15:17 +01:00
Athanasius
381c039a31 docs: RELEASING.md: Mostly have the actual release procedure documented now.
There's a 'TODO' for generating the zip and tar.gz source files.
2020-06-17 00:15:17 +01:00
Athanasius
ade048d1fc docs: RELEASING.md: How to update edmarketconnector.xml 2020-06-17 00:15:17 +01:00
Athanasius
4459e19b47 docs: RELEASING.md: Clarify the py2exe version requirements.
0.9.3.2 will work, due to a hack in setup.py.

 0.9.4.0 is pre-release and works with or without that hack.
2020-06-17 00:15:17 +01:00
Athanasius
e008986490 docs: RELEASING.md: site-packages corrected.
This had been listing importlib_metadata, and its dependency zipp,
because it's a dependency of newer 'keyring'.   As we're hard-coding an
older 'keyring' without that dependency we don't need to list them here.
2020-06-17 00:15:17 +01:00
Athanasius
69b585ac1d docs: RELEASING.md: Reminder to check the .exe and .msi actually work. 2020-06-17 00:15:17 +01:00
Athanasius
806bea5b5c docs: RELEASING.md: Expand on how to run the py2exe command 2020-06-17 00:15:17 +01:00
Athanasius
4c7cc84a8b docs: RELEASING.md: Move site-packages list to after python/py2exe 2020-06-17 00:15:17 +01:00
Athanasius
38fc256cb0 docs: RELEASING.md: Document specific versions of site-packages modules 2020-06-17 00:15:17 +01:00
Athanasius
6d138dddd4 docs: RELEASING.md: It works with Python 3.7.7 2020-06-17 00:15:17 +01:00
Athanasius
5d8e0e4c5a docs: RELEASING.md update for checking later versions
* WiX Toolset 3.11.2
 * WinSparkle 0.7.0

NB: There's a need for a specific/older version of two python modules:
certifi and keyring, else running EDMarketConnector.exe doesn't work.
2020-06-17 00:15:17 +01:00
Athanasius
ba0fbd3ef3 docs: RELEASING.md fuilly fleshed out.
Unless I'm mistaken about the source of some necessary software/files,
or someone can only find a later/different version of them, this should
now serve as an easy guide to making EDMC releases.
2020-06-17 00:15:17 +01:00
Athanasius
d385a3c362 Initial empty RELEASING.md 2020-06-17 00:15:17 +01:00
Athanasius
0f154415ac README.md: Notice added about change of maintainer. 2020-06-16 22:22:59 +01:00
VAKazakov
994624d83b
changing division by int to float, as suggested 2020-03-05 11:52:34 +03:00
VAKazakov
1984e25e50
Fixing reputation values error
"Inara setCommanderReputationMinorFaction, The reputation value exceeds the valid range"
2020-03-04 22:43:47 +03:00
Jonathan Harris
f514ed7a64 Fix Detailed Surface Scanner rating 2019-12-01 18:41:14 +00:00
Jonathan Harris
416545d0ab Update Polish translation 2019-11-04 12:27:48 +00:00
Jonathan Harris
838ad16ac5 Add Agronomic Treatment introduced for an community goal 2019-10-27 15:36:24 +00:00