Athanasius
6d9942ece0
Switch bottle to using an 'app' instance.
...
This fixes the problem I was having (on two separate machines, Debian
stretch and Debian buster) with the Gateway not actually sending
messages out port 8500 to the Relay and Monitor.
Something about the '@thing' syntax, or using bare 'run()' must be
interfering with zmq.green. The latter ends up thinking there are no
active/matching sockets to send to[0], despite the sockets definitely
being there (complete with TCP 3-way handshake visible on tcpdump
output).
With the problem:
* no network traffic was observed on port 8500.
* A test sender.send(...) just before the bottle run() call
*did* send the message. A similar test at the start of the
@post('/upload/') function did not succeed.
[0] - I ended up putting debug prints in both python-zmq and the zeromq
'libzmq' libraries, building the Debian packages and installing those
versions. I also ended up using 'gdb' on the process. The end result
of this was to find that the _matching variable (a count of matching
sockets I think) was empty deep in libzmq, when it should be counting
sockets to send to.
This was specifically in zeromq3-4.3.1/src/dist.cpp, in the
void zmq::dist_t::distribute (msg_t *msg_) function. The immediate:
if (_matching == 0) {
test was true. I didn't manage to track down which bit of libzmq code
should have been setting _matching before I 'recursed back up' the call
chain to investigate other things.
2019-10-05 11:23:41 +01:00
AnthorNet
d7e723ab6c
Add SQL schema
2019-10-03 14:55:34 +02:00
AnthorNet
f91e20099a
Smaller prevention for SAASignalsFound _Localised
2019-10-03 08:37:26 +02:00
AnthorNet
8024de7887
Prevent _Localised from SAASignalsFound
2019-10-02 12:56:15 +02:00
AnthorNet
9cdc384b5e
Merge pull request #96 from EDSM-NET/dependabot/npm_and_yarn/examples/NodeJS/tar-fs-1.16.3
...
Bump tar-fs from 1.15.2 to 1.16.3 in /examples/NodeJS
2019-10-02 10:11:49 +02:00
dependabot[bot]
c86c2d00e8
Bump tar-fs from 1.15.2 to 1.16.3 in /examples/NodeJS
...
Bumps [tar-fs](https://github.com/mafintosh/tar-fs ) from 1.15.2 to 1.16.3.
- [Release notes](https://github.com/mafintosh/tar-fs/releases )
- [Commits](https://github.com/mafintosh/tar-fs/compare/v1.15.2...v1.16.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-10-02 08:10:51 +00:00
AnthorNet
a27319e327
Merge pull request #86 from Thurion/master
...
Changed output to JSON format (use double quotes)
2019-10-02 10:10:44 +02:00
AnthorNet
3eed3bc4d8
Add SAASignalsFound
2019-10-02 10:09:13 +02:00
AnthorNet
a253a76b46
Merge pull request #91 from Marginal/factions_localised
...
Extend ban on ..._Localised properties to Factions, Materials & StationEconomies lists
2019-10-02 10:03:55 +02:00
AnthorNet
b21bdf76e5
Merge pull request #90 from Marginal/tidy
...
Remove redundant editing of journal faction info and clean up duplicate detection code
2019-04-29 15:32:55 +02:00
AnthorNet
9484f4646a
Fix for UTF8 uploader
2019-04-29 15:31:10 +02:00
Jonathan Harris
839a68f31d
Also disallow _Localised properties in Materials & StationEconomies
2019-02-10 22:36:56 +00:00
AnthorNet
52a7061d8f
Merge pull request #93 from DarkWanderer/type-correction
...
Use correct type validation for MarketId/SystemAddress
2019-02-09 13:25:58 +01:00
AnthorNet
6d50d4c7b6
Merge pull request #92 from DarkWanderer/outfitting-case
...
Made outfitting schema tolerant to data from outfitting.json
2019-02-09 13:25:36 +01:00
DarkWanderer
6a47163c3e
Use correct type validation for MarketId/SystemAddress
2019-02-07 21:49:59 +03:00
DarkWanderer
bfb8e44764
Made outfitting schema tolerant to data from outfitting.json
2019-02-07 21:46:05 +03:00
AnthorNet
1150a72b47
Remove uploader from monitor
2019-01-12 10:22:39 +01:00
Jonathan Harris
7f35b0ba28
Also disallow "..._Localised" properties in "Factions" list
2019-01-08 19:59:22 +00:00
Jonathan Harris
be7fcc2c05
Remove redundant cleanup of journal faction info
...
Clean up duplicate detection code
2019-01-08 18:58:41 +00:00
AnthorNet
2e1881fdcc
Merge pull request #89 from Marginal/SystemAddress
...
Make SystemAddress mandatory
2019-01-08 11:51:55 +01:00
Jonathan Harris
96d84628b6
Make SystemAddress mandatory
2019-01-08 10:35:24 +00:00
AnthorNet
601eca69b0
Merge pull request #88 from Marginal/horizons
...
Add "horizons" boolean property and make "marketId" mandatory
2019-01-08 08:43:57 +01:00
Jonathan Harris
3f3e199cd4
Add "horizons" boolean property
...
And make "marketId" mandatory
2019-01-07 22:36:00 +00:00
Sebastian Bauer
5951a6f962
Changed output to JSON format (use double quotes)
2018-12-29 19:05:29 +01:00
AnthorNet
7b4abf66a0
Add some monitoring to EDDN status
2018-12-14 21:36:18 +01:00
AnthorNet
b0a7d7ffb0
Remove uploaders from the nav also
2018-12-14 12:09:57 +01:00
AnthorNet
7b45a4ce78
Also comment in monitor
2018-12-14 12:08:05 +01:00
AnthorNet
83d6942fe8
Comment Uploaders from status
2018-12-14 12:06:31 +01:00
AnthorNet
42127cb43a
Try High Water Mark on Relay
2018-12-14 11:58:38 +01:00
AnthorNet
e4c3e61b0f
Also remove DistanceFromArrivalLS
2018-12-13 13:47:51 +01:00
AnthorNet
b5eb8bc2ce
Avoid duplicate scan messages after SAAScanComplete
2018-12-13 13:40:25 +01:00
AnthorNet
a54b0bd04e
Remove duplicate timestamp to avoid close messages to pass
2018-12-13 09:01:01 +01:00
AnthorNet
193b90fcaf
Fix v3 example
2018-11-23 10:20:40 +01:00
AnthorNet
eb137fbcba
Update examples
2018-11-23 08:58:09 +01:00
Jonathan Harris
e86a5257ee
Also disallow faction squadron status
2018-11-22 09:40:26 +00:00
Jonathan Harris
701b5f912d
Disallow "ActiveFine" and "Wanted" in Journal schema
2018-11-04 13:07:18 +00:00
AnthorNet
a733ff22ed
Fix MyReputation deletion
2018-11-02 12:30:07 +01:00
Jonathan Harris
bd7c45cdbf
Disallow faction reputation in Journal schema
2018-10-31 08:18:23 +00:00
AnthorNet
a8bf0b2f0b
Do not send faction reputation to listeners
2018-10-30 20:11:57 +01:00
AnthorNet
f183391402
Update SQLLite query to MySQL
2018-10-23 11:44:11 +02:00
AnthorNet
5b74875630
Migrate SQLLite to MySQL
2018-10-23 09:58:21 +02:00
AnthorNet
3c01bdc402
Create LICENSE
2018-03-12 15:07:50 +01:00
AnthorNet
fd818da8cd
Merge pull request #76 from inorton/further-randomise-uploader
...
Ensure that the uploaderID value is always unique for each uploader
2018-03-09 11:06:49 +01:00
Ian Norton
d74505fe35
Ensure that the uploaderID value is always unique for each uploader but is also unpredictable.
...
Also ensure that the unique uploaderID for each uploader changes every 12 hours
2018-03-07 22:52:55 +00:00
AnthorNet
ccf11c9df6
Merge pull request #75 from EDSM-NET/Add-marketId
...
Add marketId to cAPI schemas
2018-02-28 14:00:28 +01:00
AnthorNet
ac00af5e27
Update shipyard-v2.0.json
2018-02-28 13:59:18 +01:00
AnthorNet
cac1d2c7af
Update blackmarket-v1.0.json
2018-02-28 13:58:54 +01:00
AnthorNet
288a6347fd
Update outfitting-v2.0.json
2018-02-28 13:58:38 +01:00
AnthorNet
3aa7b7348f
Update commodity-v3.0.json
2018-02-28 13:58:07 +01:00
AnthorNet
910e8a347b
Merge pull request #74 from Marginal/master
...
Add SystemAddress property for Scan events
2018-02-28 09:19:49 +01:00