208 Commits

Author SHA1 Message Date
AnthorNet
583e291143 Fix logFile date not updating
- Fix logFile name
- Add inline example in log
2015-04-27 17:19:48 +02:00
James Muscat
bf952a736a Merge pull request #7 from AnthorNet/master
Add PHP Client/Publisher
2015-04-24 16:53:37 +01:00
AnthorNet
0d805340f7 Revert "Use stdClass instead of arrays"
This reverts commit 8600488c6ce77feae168d0972b70f3c2d691d0a5.
2015-04-24 16:03:33 +02:00
AnthorNet
8600488c6c Use stdClass instead of arrays 2015-04-24 16:00:45 +02:00
James Muscat
9a5a496c1a We don't want to alert() here! 2015-04-24 14:40:11 +01:00
AnthorNet
0a5f7b3d1e Made PHP client logs prettier ! 2015-04-24 12:07:39 +02:00
James Muscat
8328b1f167 "localhost" shouldn't be an option here... 2015-04-23 18:09:11 +01:00
James Muscat
cc7a92770e Bump version number. 2015-04-23 18:04:10 +01:00
James Muscat
52e4f78ffb Display new stats on the status page. 2015-04-23 18:03:47 +01:00
AnthorNet
ec0692ae7f Fix inverted $temp/$array 2015-04-23 17:17:41 +02:00
AnthorNet
43898373f0 Fix missing message key 2015-04-23 16:46:09 +02:00
AnthorNet
ce69c21f29 Added RegulatedNoise in authorized sample list 2015-04-23 16:19:06 +02:00
AnthorNet
515392626e Added PHP Client 2015-04-23 15:38:47 +02:00
James Muscat
976454c358 Extra stats: uptime and EDDN version. 2015-04-23 09:57:51 +01:00
AnthorNet
de78a388c0 Added commodity-v1 publish function 2015-04-22 17:02:45 +02:00
AnthorNet
335af9ceb8 Fix incomplete example 2015-04-22 16:58:50 +02:00
AnthorNet
41012f9a99 Fix indentation 2015-04-22 16:56:34 +02:00
AnthorNet
3addc7cd55 Add PHP Publisher for commodity-v2 2015-04-22 16:46:23 +02:00
James Muscat
13e5cb4360 Merge pull request #6 from AnthorNet/master
Default gateway settings now include a /test variant of v2 commodity schema.
2015-04-22 15:38:05 +01:00
AnthorNet
67163c8bed Add test to commodity schema v2 2015-04-22 15:36:04 +02:00
AnthorNet
2bcab6f658 Fix extra whitespace 2015-04-22 15:20:06 +02:00
James Muscat
0539895060 Merge pull request #5 from AnthorNet/examples
Examples
2015-04-16 10:07:19 +01:00
AnthorNet
5b2b2138a4 Moved Client.py to examples 2015-04-16 10:01:43 +02:00
AnthorNet
fd9e596552 Added examples JSON for both schemas 2015-04-16 09:50:57 +02:00
James Muscat
e36245c21d Minor indentation fix. 2015-04-15 18:08:41 +01:00
James Muscat
e3d37d30cb Merge pull request #4 from AnthorNet/master
Added minLength to prevent empty properties
2015-04-15 17:50:57 +01:00
James Muscat
088eabe3e0 Separate update timestamps for each set of data. 2015-04-15 17:49:58 +01:00
AnthorNet
3c91042e34 Revert "Add null option to levelType enum"
This reverts commit 6b7096f6f7df092ea3a075e8e0b99094b1303834.
2015-04-15 18:41:14 +02:00
AnthorNet
baef8fa055 Merge branch 'jamesremuscat/master' 2015-04-15 18:32:14 +02:00
AnthorNet
6b7096f6f7 Add null option to levelType enum
Eg, when supply or demand is 0, level should be null.
2015-04-15 18:29:30 +02:00
James Muscat
c58f693105 Indentation fix. 2015-04-15 17:15:53 +01:00
James Muscat
c7ccf1b2c8 Initial values should be '-' not '0' since the latter implies bad
things.
2015-04-15 17:15:31 +01:00
James Muscat
bbdd6c7320 Wording fix. 2015-04-15 17:08:37 +01:00
James Muscat
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.
2015-04-15 17:08:18 +01:00
James Muscat
cd4f1d69c6 Be consistent in function definition approach. 2015-04-15 16:59:56 +01:00
James Muscat
2691ed7a81 Colourise data if it's zero. 2015-04-15 16:09:07 +01:00
James Muscat
034c8fc4cc A simple status page using the stats output by Gateway and Relay. 2015-04-15 15:19:18 +01:00
James Muscat
1d270c112f Merge remote-tracking branch 'origin/master' 2015-04-15 15:02:37 +01:00
James Muscat
72cacba69d Bump version number. v0.2.1 2015-04-15 15:02:00 +01:00
James Muscat
3fc16cbb0a Set CORS header to allow status page to read these values. 2015-04-15 15:00:39 +01:00
AnthorNet
198031d740 Added minLength to prevent empty properties 2015-04-15 14:54:21 +02:00
James Muscat
73ff535bb8 Merge pull request #3 from AnthorNet/master
- Refactoring of schema
2015-04-15 12:23:41 +01:00
AnthorNet
fa9f06b9c4 Revert Commodity name validation 2015-04-15 12:18:58 +02:00
AnthorNet
fd496a0e29 Update commoditiesName description
- Update commoditiesName description.
- Some refactoring
2015-04-15 10:08:11 +02:00
AnthorNet
bf7e64e97a Refactoring and Validation
- Removed useless "additionalProperties"
- Ensure validation of commodities name
- Refactored formating for readability
2015-04-15 09:54:08 +02:00
James Muscat
beb003ba2e We have a dependency on argparse now. 2015-04-15 00:44:18 +01:00
James Muscat
5bd5b001d8 Draft v2.0 schema provided by AnthorNet. 2015-04-14 23:54:46 +01:00
James Muscat
e5af51d29b Some schema validators object to these IDs. They don't actually do
anything, so just get rid of them.
2015-04-14 23:42:51 +01:00
James Muscat
4c314a9b9b Keep track of how many messages fail gateway validation. 2015-04-14 17:06:26 +01:00
James Muscat
02f1ebc307 Unused import. 2015-04-14 16:39:09 +01:00