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

61 Commits

Author SHA1 Message Date
Jonathan Harris
7d1fa33aa0 Try to send any unsent events on closing 2018-01-27 17:51:00 +00:00
Jonathan Harris
80d1b0760c Track system and station URLs 2018-01-27 17:51:00 +00:00
Jonathan Harris
bca3d63ffe Check that EDShipyard and Coriolis links shouldn't be discarded 2018-01-27 17:51:00 +00:00
Jonathan Harris
e31b4f36e2 Send location to Inara at startup 2018-01-13 11:01:48 +00:00
Jonathan Harris
e2161cd108 Get system status from results of StartUp pseudo-event
Fixes #277
2018-01-07 19:04:53 +00:00
Jonathan Harris
8083b1978d Send _systemCoordinates with every event 2018-01-07 18:42:24 +00:00
Jonathan Harris
7d022016fe Don't send ship info to EDSM if EDSM sync not requested or on a crew
Fixes #280
2018-01-07 18:39:14 +00:00
Jonathan Harris
ba4809942a Treat return code 5xx as successfully sent 2018-01-03 17:54:30 +00:00
Jonathan Harris
61aab83244 Send shipID with EDShipyard and Coriolis links 2018-01-03 17:43:33 +00:00
Jonathan Harris
17c24fee81 Batch CommunityGoal events 2018-01-02 18:50:45 +00:00
Jonathan Harris
720a83db36 Send EDShipyard and Coriolis links 2018-01-02 17:16:43 +00:00
Jonathan Harris
b8eb9f979d Synthesise Cargo and Materials events on LoadGame 2018-01-02 16:48:42 +00:00
Jonathan Harris
07c0f6bb31 Batch startup events and retry on failure 2018-01-02 16:48:42 +00:00
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