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

148 Commits

Author SHA1 Message Date
Jonathan Harris
d4ffdab30c UTF-8 encode json POST data 2018-01-02 16:35:07 +00:00
Jonathan Harris
105f44e6ca Tidy 2018-01-02 16:35:07 +00:00
Jonathan Harris
b28355d182 Merge EDSM-NET/master
Squashed commit of the following:

commit a13a5c431396a131aad21927f2b4cc43b948d417
Author: AnthorNet <anthor.net@gmail.com>
Date:   Sun Dec 17 16:51:58 2017 +0100

    Ready for testing

commit 3e5915075b20e824580e5c3d879bce467dcb8b8d
Author: AnthorNet <anthor.net@gmail.com>
Date:   Sat Dec 16 21:47:22 2017 +0100

    Fix message json encoding

commit 868030578422f9c8568d5ba21d6f3aa132c01232
Author: AnthorNet <anthor.net@gmail.com>
Date:   Sat Dec 16 17:54:10 2017 +0100

    Fix double Dict conversion

commit 7693031f6f09c7119c51f91abbed7241e5ad6a1c
Author: AnthorNet <anthor.net@gmail.com>
Date:   Sat Dec 16 17:31:19 2017 +0100

    Fix transient state format

commit 54c96e31774ba5bfa2d19ac45b07d355dbefe46b
Author: AnthorNet <anthor.net@gmail.com>
Date:   Sat Dec 16 17:25:02 2017 +0100

    Fix calling discarded event callback

commit 24d006947f3bbb6607f893042d783c9232402c28
Author: AnthorNet <anthor.net@gmail.com>
Date:   Fri Dec 15 15:11:28 2017 +0100

    Retry Discarded Event list if empty

commit 4defedba965489d2d0c009189a193f9ecabc84fd
Author: AnthorNet <anthor.net@gmail.com>
Date:   Fri Dec 15 14:43:28 2017 +0100

    Prepare API migration
2018-01-02 16:35:06 +00:00
Jonathan Harris
036b651980 Only try login if output requested 2018-01-02 16:16:44 +00:00
Jonathan Harris
f65d2623ac Send ShutDown event on game close 2017-11-26 14:25:38 +00:00
Jonathan Harris
ac37c81792 Log individual event errors and warnings, and display errors 2017-11-22 17:44:07 +00:00
Jonathan Harris
db2e9b156a Don't cancel unsent events when re-logging
Fixes #266
2017-11-19 11:51:21 +00:00
Jonathan Harris
b860b85d91 Handle selling ship on ShipyardSwap 2017-11-14 10:49:01 +00:00
Jonathan Harris
e059f3c354 Send fleet and credits immediately after startup 2017-11-12 15:50:14 +00:00
Jonathan Harris
ab7850bb2d Add Inara plugin 2017-11-12 04:04:52 +00:00
Jonathan Harris
26d0a585ea Send fleet details 2017-11-12 03:52:17 +00:00
Jonathan Harris
3645d821dc Fix for in-system jump after undocking 2017-11-10 17:01:06 +00:00
Jonathan Harris
b4760d4649 Fixes for Interdiction 2017-11-10 17:00:14 +00:00
Jonathan Harris
6445b6f8c8 Correctly handle death by station 2017-11-10 00:37:22 +00:00
Jonathan Harris
9e10ccfa00 Send combat events 2017-11-09 20:11:05 +00:00
Jonathan Harris
d886f148f7 Send basic info after changing API key 2017-11-08 17:58:33 +00:00
Jonathan Harris
bc929f7a33 Send new permits 2017-11-07 15:37:55 +00:00
Jonathan Harris
b62eb7e5e4 Send credits after a significant change 2017-11-07 14:44:05 +00:00
Jonathan Harris
7939ddf542 Send Community Goal info to Inara 2017-11-07 11:19:49 +00:00
Jonathan Harris
e9c15ccbc8 Don't send event on Undocked, wait for next FSD or in-system jump 2017-11-07 01:22:46 +00:00
Jonathan Harris
1d3c44d953 Send Mission events to Inara 2017-11-07 01:22:46 +00:00
Jonathan Harris
de1197fd1b Try logging in after changing API key 2017-11-07 00:38:34 +00:00
Jonathan Harris
ad9885db98 Send unset events on exit or on switching Cmdr 2017-11-07 00:38:34 +00:00
Jonathan Harris
526c790d29 Send credits and assets to Inara 2017-11-06 16:32:08 +00:00
Jonathan Harris
85cae73529 Add support for syncing with Inara 2017-11-06 00:37:35 +00:00
Jonathan Harris
4a2269ddab Send ship cargo and fuel capacity to EDSM 2017-10-17 00:21:36 +01:00
Jonathan Harris
698b37b7bd Update eddb database 2017-10-17 00:21:35 +01:00
Jonathan Harris
a738343c92 Use POST instead of GET
Fixes #251
2017-10-13 17:19:15 +02:00
Jonathan Harris
2ff75b9da9 ShipID can be zero
Ref 65970de
2017-09-05 15:58:08 +01:00
Jonathan Harris
0555f628ab Tidy 2017-08-14 22:59:52 +01:00
Jonathan Harris
965c6c9afb Communicate with EDSM asynchronously 2017-08-14 16:04:33 +01:00
Jonathan Harris
ff54bd56fd Send cargo to EDSM 2017-08-10 18:25:41 +01:00
Jonathan Harris
abd2f7f0fc Fix input field editability 2017-07-31 23:15:30 +01:00
Jonathan Harris
70362d91a8 Fix for first run 2017-07-31 00:04:40 +01:00
Jonathan Harris
274867ca67 url parameter no longer mandatory for HyperlinkLabel 2017-07-29 15:36:44 +01:00
Jonathan Harris
e810b87dd4 Switch EDSM integration to a plugin 2017-07-29 15:36:44 +01:00
Jonathan Harris
60ad3b4c09 Inform plugins of Cmdr and Beta status
Notify plugins when Cmdr or Beta status changes while the preferences dialog
is open.

Display a note on the Credentials tab when Cmdr is not set. Addresses #224
2017-07-29 15:36:43 +01:00
Jonathan Harris
fe0835be10 Switch eddb integration to a plugin 2017-07-29 14:42:00 +01:00
Jonathan Harris
084128e797 Add support for internal plugins
Settings tab shows current plugins.
2017-07-29 14:41:59 +01:00
Jonathan Harris
9c6b9e71f7 Share monitor state with plugins 2017-03-01 01:25:51 +00:00
Jonathan Harris
3ad8322e70 Plugin enhancements
- New callback notify_prefs_changed
- Plugin can set settings tab name
- Plugin can return a pair of widgets for display in main window - typically (label, status)
2016-11-14 02:07:18 +00:00
Jonathan Harris
4583f0e316 Monitor the journal file and send events to EDDN
Sends 'FSDJump', 'Docked' and 'Scan' events in draft
http://schemas.elite-markets.net/eddn/journal/1 format.
2016-09-16 17:47:53 +01:00
Jonathan Harris
c5e50240b0
Get system coordinates from 1.6/2.1 netlog 2016-06-04 02:42:57 +01:00
Jonathan Harris
fb7b0401fa
Document how to make plugins work with dark theme 2016-06-03 23:48:38 +01:00
Jonathan Harris
a337319475 Update plugin docs and exmaple.
Use nb or ttk widgets as appropriate for correct look-and-feel.
Print messages to stderr so they appear when the plugin is loaded by the
packaged Windows exe.
Do something with the example's main window widget.
2016-01-09 18:27:03 +00:00
Jonathan Harris
b3d585693e Load plugins from outside the source tree.
So that plugins work with the packaged app on Windows and Mac.
2016-01-09 18:27:02 +00:00
Ian Norton
b0f73b8390 fix ordering of plugin supplied app widgets 2016-01-09 18:27:02 +00:00
Ian Norton
477e60a64f plugin support for EDMC 2016-01-09 18:27:01 +00:00