454 Commits

Author SHA1 Message Date
clonedArtie
a1e61bab01
Odyssey and Horizons flags added 2021-05-12 16:33:39 +02:00
clonedArtie
878dbb7a99
Odyssey flag added 2021-05-12 16:32:51 +02:00
clonedArtie
629973b7d0
Odyssey flag added 2021-05-12 16:32:29 +02:00
clonedArtie
6a956f96f3
Odyssey flag added 2021-05-12 16:32:07 +02:00
AnthorNet
de70a4c188
Merge pull request #113 from vovchisko/fix/update-nodejs-example
fix / update NodeJS example
2021-04-10 08:37:26 +02:00
Vladimir Ishenko
3819620720 ignore .idea 2021-04-10 00:23:50 +03:00
Vladimir Ishenko
98a53e7660 refresh nodejs example 2021-04-10 00:23:40 +03:00
AnthorNet
d9b5586a4e
Merge pull request #108 from lexi-lambda/patch-1
Allow an empty commodities array in commodities/3
2020-11-26 15:16:28 +01:00
Alexis King
ab89a6e975
Allow an empty commodities array in commodities/3
closes #107
2020-09-28 14:25:53 -05:00
AnthorNet
e4bc72abe9 Remove GA 2020-07-06 14:24:09 +02:00
AnthorNet
2741cc1e0d
Merge pull request #98 from bgol/allowCobraMkIV
Add "allowCobraMkIV" boolean property to shipyard message
2020-07-05 20:01:00 +02:00
AnthorNet
0060259877
Merge pull request #99 from irtnog/master
Add simple Common Lisp example client
2020-07-05 20:00:16 +02:00
AnthorNet
9eb89d4ccd
Merge pull request #102 from rojosinalma/master
Added Ruby client example
2020-07-05 20:00:03 +02:00
AnthorNet
358ae77c8a
Merge pull request #101 from Fank/master
Added Go example
2020-07-05 19:59:42 +02:00
AnthorNet
da385b74b2
Merge pull request #104 from Athanasius/feature/103-frontend-dynamic-sort
Implement sorting on Softwares and Schemas tables
2020-07-05 19:59:29 +02:00
Athanasius
d7d441b9e2 Escape ' when setting data-name attributes.
* "Garud's Test" was tripping this up.
 * It's just for how the table rows get referred to, no impact on the
   highlight into the HighChart.
2020-07-05 15:15:04 +01:00
Athanasius
a2638caed2 Also apply "it's zero" background to jsgrid-alt-row 2020-06-26 14:41:25 +01:00
Athanasius
576fe7ec29 Silence console.log on softwaresJsGridDataController 2020-06-25 14:09:02 +01:00
Athanasius
cc68fbc644 Squashed commit of the following:
commit 84c75c17f76cff7e576402dd2a77eb52717e3758
Author: Athanasius <gitlab@miggy.org>
Date:   Wed Jun 24 20:00:58 2020 +0100

    Software jsGrid now uses cached data when sorting/drill changed

commit a9ed1d902c8301d62348eaa684eda5010a846ca1
Author: Athanasius <gitlab@miggy.org>
Date:   Wed Jun 24 16:49:47 2020 +0100

    Convert Schemas to jsGrid

commit 26fe4a7e0c997d71411d5159adafad24cff5dc74
Author: Athanasius <gitlab@miggy.org>
Date:   Wed Jun 24 16:20:57 2020 +0100

    Change schemas HTML to just div.tables

commit 45c86a901f8627a23f9b5c573b15c615cff40d8f
Author: Athanasius <gitlab@miggy.org>
Date:   Wed Jun 24 16:19:34 2020 +0100

    Remove defunct Uploaders section from index.html

commit 3680197f86c805a1472f2538f3135c8698201f4d
Author: Athanasius <gitlab@miggy.org>
Date:   Wed Jun 24 15:43:34 2020 +0100

    Style today/yesterday "0" as per boostrap td.warning

      The elements/classes/IDs are different so can't just have it use
    the actual bootstrap CSS.

commit ef855586305033854a3e74663f607c3ff68d3534
Author: Athanasius <gitlab@miggy.org>
Date:   Wed Jun 24 15:17:20 2020 +0100

    Sanitises producing the Softwares data array

      We were first making a dictionary only to immediately use it to make an
    array for jsgrid/highcharts to use, then never using the dictionary
    again.
      So, just generate the array to start with, no intermediate step.

      This also sanitised some of the variable names so it's more obvious
    what data they hold.

commit d5be067bb3bbe8837909e437f6ed099c65f66be7
Author: Athanasius <gitlab@miggy.org>
Date:   Tue Jun 23 20:10:20 2020 +0100

    Set padding on td elements to get size correct

      No need for that 37px line-height, it was a consequence of this
    padding on non-jsgrid table cells.

commit 109540131361cb6b44f55c506d913da6d43f3af2
Author: Athanasius <gitlab@miggy.org>
Date:   Tue Jun 23 19:58:32 2020 +0100

    Clicking back out of Software drilldown working

      * Also fixes CSS so all jsgrid rows are that 37px height.

commit f4c27fb53b33c3c28b7ad60b8e908a5dc330cce5
Author: Athanasius <gitlab@miggy.org>
Date:   Tue Jun 23 19:39:02 2020 +0100

    'side square' colouring on sorts and drilldown

commit 6c79f4b92bf1f9c73f760588e78ff874db2254a6
Author: Athanasius <gitlab@miggy.org>
Date:   Tue Jun 23 18:43:53 2020 +0100

    Drilldown *in* for Software -> Versions now works

commit 353b379d5a49aab826908f2c95f758d5fdd0114e
Author: Athanasius <gitlab@miggy.org>
Date:   Tue Jun 23 17:56:54 2020 +0100

    Starts work on displaying software -> version table drilldowns

      if/else in place, and the else handling the software*names*/totals
    table still works.

commit fe2f6f0e73787512c8b5ca511871792a393894ce
Author: Athanasius <gitlab@miggy.org>
Date:   Tue Jun 23 16:58:32 2020 +0100

    Sort order on different column is now the same as on previous column

      If we start on Today/Ascending then:

    	Yesterday -> Yesterday/Asc
    	Total     -> Total/Asc
    	Total     -> Total/Desc
    	Today     -> Today/Desc
    	Today     -> Today/Asc
    	Yesterday -> Yesterday/Asc
    	Total     -> Total/Asc
    	Total     -> Total/Desc

    i.e. it takes a second click on a column to change to the opposite sort
    order, not always defaulting to 'Asc' when you change column.

commit 9c471d2cebb5e26bca64f968b6846279fb488d84
Author: Athanasius <gitlab@miggy.org>
Date:   Tue Jun 23 16:37:26 2020 +0100

    Now changing the pie chart depending on current sort column

commit c1f07a38700860a859647cd563f0133965d9068d
Author: Athanasius <gitlab@miggy.org>
Date:   Tue Jun 23 12:24:33 2020 +0100

    Remember prior 'softwares' sort and re-apply for new data

      This defaults on first load as per:

    	var softwaresSort = ...

commit fa560cadd754fd5a934b9c926befe4d40651aa61
Author: Athanasius <gitlab@miggy.org>
Date:   Tue Jun 23 08:42:44 2020 +0100

    Sane initial sorting, and some cleanup.

     * We can specify a sort column and order, no need for the 'reverse'
       hack, which is just going to confuse users and doesn't cause initial
       sorting anyway.
     * The softwaresTotal list can just be an Array, and then actually
       matches what we were doing with jsGridSoftwareByName[] anyway, so
       just use it.

commit 05cc80d09b8107b94313481d20fdf3a94bd71b7a
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 21:53:59 2020 +0100

    Documents the data, and why it's in different formats

commit b567a1b452a5685fe296c9d8a3eb7aaae35d291f
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 21:43:30 2020 +0100

    Remove the long-since defunct dataUploaders bits

commit 282dd9df4d5200a3cc59e21005275440e1550464
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 21:41:13 2020 +0100

    Moving closer to understanding the data.

      * We'll now use an id'd div to put in a jsGrid set of divs per:
      	1) The totals per software
    	2) Each software's versions counts

    Currently this is working to display the software name totals, and
    attempts to add the per-software version-counts tables, but treats the
    data incorrectly.

commit 5bcf4fb0a23315f2d3029f0f328a5c7a4a8bdf1a
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 21:40:24 2020 +0100

    div for software tables needs an id, not a class.

      We want to put one div inside it per overal softwares and then one per
    specific software.

commit 90e1a34d4cda8e960dcd13b1f7000af8904a614e
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 18:16:56 2020 +0100

    Main Software table and pie chart rendering correctly

     * Having to force the row line-height to what FF ends up with in the
       old code, which is ~37px, not the ~20px specified.
     * Applying data-name to the .square elements so as to then later set
       their background colour.  Can't do this as they're created as the
       data isn't yet in place to lookup the colour.
     * Removes the commented out old version of all that code, as it's now
       jsgrid-ised in that rowRenderer.

commit dfd2d09513fb4dafe1bc4ec0e3a9fb32ba7518c1
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 17:41:08 2020 +0100

    Fix rendering of custom rowRenderer Software rows

     * As jsGrid adds its own table there's no need to have our own, just
       use the .table-responsive div
     * Use a rowRenderer function based on the existing code to make the row
     * But that means needing to ensure the <td> styling manually, as jsgrid
       does one table for its header and another for the data.  It would
       apply the configured styling to botj, but with the custom rowRenderer
       that doesn't happen.

commit 70bb2e822e4e5d8253f308b4c862127126731637
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 16:55:20 2020 +0100

    Enable the Software main pie chart to actually render

      * The code to add the data points to it initially had been commented
        out.
      * That 'sort the data' also is the only thing populating
        softwaresTotal.

commit 61e1a17a1fba63cdcc7ce016b304c39670d90a11
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 16:04:51 2020 +0100

    CSS: Prevent jsGrid tables from showing un-necessary scrollbars

commit 1109bf57122428b6603fcea9836f0b95c36ee31b
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 15:49:26 2020 +0100

    Placeholder to implement clicking into drilldowns

      For now I want to just get the generation of drilldowns converted to
    jsGrid.  Then I'll look into hooking up clicking the softwareName
    causing switching to displaying its drilldown.

commit 87b78c98a0f59f10010c29abc3ee40f1ca3536e1
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 14:54:30 2020 +0100

    Numeric sorting now DESC first-click

commit 571a058a3fa3658ef4b7c4f3f40beab37585eb33
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 14:13:56 2020 +0100

    More progress.  Headings, comma-formatted numbers, widths...

      * Column added for the high-chart colours, not yet implemented fully.
        This will rely on implementing a custom jsGrid field.
      * comma-separated thousands formatting on the numbers.
      * Some width settings to match the pre-jsGrid layout.

commit a73f069d014c9ff5ea98158afe4ea993f2109a2c
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 12:52:12 2020 +0100

    Replace Software table with sortable jsgrid

    This is very rough and ready, but works:

      * Defaults to no sort
      * Sort will initially be ascending, we want descending
      * All the old styling is lost
      * Not yet handling click-through to per-softwareName version tables

commit 2afb5f435617ed4fec9771a0f5e95ceef5fdd671
Author: Athanasius <gitlab@miggy.org>
Date:   Mon Jun 22 12:51:52 2020 +0100

    Include jsgrid css and js
2020-06-25 14:00:55 +01:00
Rojo
6ea46b4603
Added Ruby client example 2020-06-11 17:13:13 +02:00
Florian Kinder
4f58f2b3a2 Added Go example 2020-05-05 14:00:08 +02:00
AnthorNet
f03a0857cf
Merge pull request #100 from bgol/fleet-carrier
Added 'CarrierJump' event
2020-04-13 10:02:56 +02:00
Bernd Gollesch
ca3e764016 Added 'CarrierJump' event 2020-04-12 15:33:20 +02:00
Matthew X. Economou
6f00524348 Add simple Common Lisp example client
Hacking isn't about why.  It's about why not!  So why not connect to
EDDN from your favorite Lisp implementation?  This works identically
to the JavaScript example.
2020-01-11 12:27:10 -05:00
Bernd Gollesch
8276805865 Add "allowCobraMkIV" boolean property 2019-11-20 19:05:03 +01:00
Bernd Gollesch
f99cff327e corrected alignment 2019-11-20 19:02:38 +01:00
AnthorNet
754e74c7c3
Merge pull request #97 from Athanasius/bottle-app
Switch bottle to using an 'app' instance.
2019-10-09 15:19:56 +02:00
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