Commit Graph

  • c1350bf32e Fix Array to String conversion error AnthorNet 2015-05-04 10:50:38 +02:00
  • 3875a01a2e Add simple and complete client to PHP AnthorNet 2015-05-04 10:24:52 +02:00
  • 81dd04eae3 Merge remote-tracking branch 'origin/Python-Client' AnthorNet 2015-05-04 10:17:26 +02:00
  • 50e24a6df1 Merge 557b70d81ba22385cfd12d8b517c2466c58867ec into 592084973f53ecf898a5d541bee28a17b9fc0f05 AnthorNet 2015-05-04 08:12:39 +00:00
  • 557b70d81b Add simple and complete example to Python AnthorNet 2015-05-04 10:12:10 +02:00
  • c8bba2b880 Tally software+version. James Muscat 2015-05-01 12:45:08 +01:00
  • d12dd9c00a Add uploadID in verbose logs AnthorNet 2015-04-29 16:29:11 +02:00
  • 04700c1441 Fix empty log lines on verbose AnthorNet 2015-04-29 16:19:36 +02:00
  • 8f0d063e79 Add debug mode AnthorNet 2015-04-29 16:15:19 +02:00
  • 66aec3a231 Fix network error on console AnthorNet 2015-04-29 15:04:16 +02:00
  • 8d150171e1 Update clients so both versions have same output AnthorNet 2015-04-29 14:22:26 +02:00
  • 341266357f Add client.bat AnthorNet 2015-04-29 08:52:10 +02:00
  • 09e57b885a Merge 583e29114395052883a505cffa0cd348bf26087f into 592084973f53ecf898a5d541bee28a17b9fc0f05 AnthorNet 2015-04-28 19:10:20 +00:00
  • 592084973f Tally each type of message we see, so we can track use of new schemas as they get deployed. James Muscat 2015-04-28 12:13:33 +01:00
  • 583e291143 Fix logFile date not updating AnthorNet 2015-04-27 17:19:48 +02:00
  • bf952a736a Merge pull request #7 from AnthorNet/master James Muscat 2015-04-24 16:53:37 +01:00
  • 0d805340f7 Revert "Use stdClass instead of arrays" AnthorNet 2015-04-24 16:03:33 +02:00
  • 8600488c6c Use stdClass instead of arrays AnthorNet 2015-04-24 16:00:45 +02:00
  • 9a5a496c1a We don't want to alert() here! James Muscat 2015-04-24 14:40:11 +01:00
  • 0a5f7b3d1e Made PHP client logs prettier ! AnthorNet 2015-04-24 12:07:39 +02:00
  • 8328b1f167 "localhost" shouldn't be an option here... James Muscat 2015-04-23 18:09:11 +01:00
  • cc7a92770e Bump version number. James Muscat 2015-04-23 18:04:10 +01:00
  • 52e4f78ffb Display new stats on the status page. James Muscat 2015-04-23 18:03:47 +01:00
  • ec0692ae7f Fix inverted $temp/$array AnthorNet 2015-04-23 17:17:41 +02:00
  • 43898373f0 Fix missing message key AnthorNet 2015-04-23 16:46:09 +02:00
  • ce69c21f29 Added RegulatedNoise in authorized sample list AnthorNet 2015-04-23 16:19:06 +02:00
  • 515392626e Added PHP Client AnthorNet 2015-04-23 15:38:47 +02:00
  • 976454c358 Extra stats: uptime and EDDN version. James Muscat 2015-04-23 09:57:51 +01:00
  • de78a388c0 Added commodity-v1 publish function AnthorNet 2015-04-22 17:02:45 +02:00
  • 335af9ceb8 Fix incomplete example AnthorNet 2015-04-22 16:58:50 +02:00
  • 41012f9a99 Fix indentation AnthorNet 2015-04-22 16:56:34 +02:00
  • 3addc7cd55 Add PHP Publisher for commodity-v2 AnthorNet 2015-04-22 16:46:23 +02:00
  • 13e5cb4360 Merge pull request #6 from AnthorNet/master James Muscat 2015-04-22 15:38:05 +01:00
  • 67163c8bed Add test to commodity schema v2 AnthorNet 2015-04-22 15:36:04 +02:00
  • 2bcab6f658 Fix extra whitespace AnthorNet 2015-04-22 15:20:06 +02:00
  • 0539895060 Merge pull request #5 from AnthorNet/examples James Muscat 2015-04-16 10:07:19 +01:00
  • 5b2b2138a4 Moved Client.py to examples AnthorNet 2015-04-16 10:01:43 +02:00
  • fd9e596552 Added examples JSON for both schemas AnthorNet 2015-04-16 09:50:57 +02:00
  • e36245c21d Minor indentation fix. James Muscat 2015-04-15 18:08:41 +01:00
  • e3d37d30cb Merge pull request #4 from AnthorNet/master James Muscat 2015-04-15 17:50:57 +01:00
  • 088eabe3e0 Separate update timestamps for each set of data. James Muscat 2015-04-15 17:49:58 +01:00
  • 3c91042e34 Revert "Add null option to levelType enum" AnthorNet 2015-04-15 18:41:14 +02:00
  • baef8fa055 Merge branch 'jamesremuscat/master' AnthorNet 2015-04-15 18:32:14 +02:00
  • 6b7096f6f7 Add null option to levelType enum AnthorNet 2015-04-15 18:29:30 +02:00
  • c58f693105 Indentation fix. James Muscat 2015-04-15 17:15:53 +01:00
  • c7ccf1b2c8 Initial values should be '-' not '0' since the latter implies bad things. James Muscat 2015-04-15 17:15:31 +01:00
  • bbdd6c7320 Wording fix. James Muscat 2015-04-15 17:08:37 +01:00
  • 4e57495348 Allow selection from all our gateways and relays. We currently only have one of each, but it makes the point that we can deal with more. James Muscat 2015-04-15 17:08:18 +01:00
  • cd4f1d69c6 Be consistent in function definition approach. James Muscat 2015-04-15 16:59:56 +01:00
  • 2691ed7a81 Colourise data if it's zero. James Muscat 2015-04-15 16:09:07 +01:00
  • 034c8fc4cc A simple status page using the stats output by Gateway and Relay. James Muscat 2015-04-15 15:19:18 +01:00
  • 1d270c112f Merge remote-tracking branch 'origin/master' James Muscat 2015-04-15 15:02:37 +01:00
  • 72cacba69d Bump version number. v0.2.1 James Muscat 2015-04-15 15:02:00 +01:00
  • 3fc16cbb0a Set CORS header to allow status page to read these values. James Muscat 2015-04-15 15:00:39 +01:00
  • 198031d740 Added minLength to prevent empty properties AnthorNet 2015-04-15 14:54:21 +02:00
  • 73ff535bb8 Merge pull request #3 from AnthorNet/master James Muscat 2015-04-15 12:23:41 +01:00
  • fa9f06b9c4 Revert Commodity name validation AnthorNet 2015-04-15 12:18:58 +02:00
  • fd496a0e29 Update commoditiesName description AnthorNet 2015-04-15 10:08:11 +02:00
  • bf7e64e97a Refactoring and Validation AnthorNet 2015-04-15 09:54:08 +02:00
  • beb003ba2e We have a dependency on argparse now. James Muscat 2015-04-15 00:44:18 +01:00
  • 5bd5b001d8 Draft v2.0 schema provided by AnthorNet. James Muscat 2015-04-14 23:54:46 +01:00
  • e5af51d29b Some schema validators object to these IDs. They don't actually do anything, so just get rid of them. James Muscat 2015-04-14 23:42:51 +01:00
  • 4c314a9b9b Keep track of how many messages fail gateway validation. James Muscat 2015-04-14 17:06:26 +01:00
  • 02f1ebc307 Unused import. James Muscat 2015-04-14 16:39:09 +01:00
  • ddd81574ed Allow configuration of gateway HTTP port rather than hardcoding. James Muscat 2015-04-14 16:38:56 +01:00
  • 46292e3c30 Don't corrupt the commandline unless we're asked to. James Muscat 2015-04-14 14:30:26 +01:00
  • 43ff4cda3a Move version number out of init file to its own file (consistent with other projects). James Muscat 2015-04-14 13:58:33 +01:00
  • 1f3de2474c First pass at getting test framework up and running. James Muscat 2015-04-14 13:36:23 +01:00
  • ec3987ad17 Correctly figure out enough of Python's internals for this to work. James Muscat 2015-04-14 01:03:07 +01:00
  • d71469c10f This is slightly horrid, but parse the commandline in Settings to determine if we need to override our configuration. James Muscat 2015-04-14 00:55:31 +01:00
  • f178fec08d Allow overriding settings with config file. James Muscat 2015-04-14 00:37:11 +01:00
  • da426c1d89 Encapsulate settings as a class. Make a singleton available. James Muscat 2015-04-14 00:30:22 +01:00
  • 074f24bc52 Whoops, accidentally changed this. James Muscat 2015-04-13 18:33:19 +01:00
  • 7d7f977cea Rip out the old method of collecting stats in favour of the generic way. James Muscat 2015-04-13 18:32:32 +01:00
  • 384a4f40fe ...except that tally should require the lock. James Muscat 2015-04-13 18:28:50 +01:00
  • 4bab5e3606 Let the StatsCollector collect arbitrary stats. James Muscat 2015-04-13 18:26:04 +01:00
  • bd0afbc0c8 Actually count the right numbers, in the right order, and limit range properly. James Muscat 2015-04-13 18:14:39 +01:00
  • 7c146a14c4 Factor out common code into StatsCollector. James Muscat 2015-04-13 18:04:33 +01:00
  • 95e83333d7 Add a StatsCollector to the Relay too. James Muscat 2015-04-13 18:00:24 +01:00
  • fce10cdaa6 Simple stat collector, to better monitor gateway throughput and health. James Muscat 2015-04-09 00:35:27 +01:00
  • 5d3551d705 These were just prototypes; no need to keep them around. James Muscat 2015-04-04 01:10:45 +01:00
  • 639703f8c9 Avoid deprecated access to BaseException.message. James Muscat 2015-04-04 01:02:18 +01:00
  • ad3684d532 Add init script for eddn-gateway. James Muscat 2015-04-04 00:52:02 +01:00
  • a0337cccdf Bump version number. James Muscat 2015-04-04 00:45:33 +01:00
  • c2109d2866 pep8 fix. James Muscat 2015-04-04 00:38:11 +01:00
  • 1c72ff0e76 Also generate relay script. James Muscat 2015-04-04 00:37:18 +01:00
  • 4f4ee10a98 Kill off dead code. James Muscat 2015-04-04 00:33:56 +01:00
  • 608ff49723 Build an egg, and create an eddn-gateway script. James Muscat 2015-04-04 00:31:17 +01:00
  • 2bddaec99b Expose version in settings. James Muscat 2015-04-04 00:13:59 +01:00
  • c4f9d7df27 pep8 fix. James Muscat 2015-04-04 00:06:25 +01:00
  • a20da1d04e Default to listening on all network interfaces. James Muscat 2015-04-04 00:00:23 +01:00
  • e8a2e8dc63 Always use UTC for the GatewayTimestamp. James Muscat 2015-01-12 13:15:20 +00:00
  • 960179f073 Be honest about the existence of the gatewayTimestamp property. James Muscat 2014-12-18 16:55:48 +00:00
  • 3336105f54 buyPrice can be null (e.g. station has no stock to sell you); in those situations it makes sense to omit it. James Muscat 2014-12-18 15:01:06 +00:00
  • cee1900e88 By popular request, add optional supply/demand properties; clarify what the sell and buy prices are; give timestamp a format restriction. James Muscat 2014-12-18 14:47:36 +00:00
  • 2074e3435f Client should connect to relay not gateway. James Muscat 2014-12-18 13:04:52 +00:00
  • ddeca9f00c Add uploader key to header section if we have a salt. James Muscat 2014-12-18 13:04:15 +00:00
  • 1b71ceda27 Didn't mean to commit that test value... James Muscat 2014-12-18 13:03:54 +00:00
  • 3e3a13caaa Allow a test message with the same validation as a 'real' commodity message. James Muscat 2014-12-18 13:03:11 +00:00
  • d4e51775d3 Typo James Muscat 2014-12-17 19:52:25 +00:00