Athanasius
fa869c6478
schemas: Update horizons/odyssey descriptins in schema template
2022-01-29 16:47:58 +00:00
Athanasius
5fe2642d03
schemas: First cut of newjournalevent-README.md template
2022-01-29 16:45:11 +00:00
Athanasius
099eb72e73
schemas/README: Update horizons/odyssey flag section
...
* Re-confirmed what is in the `LoadGame` event for all 3 possible circumstances.
* Emphasised that the `Fileheader`->`Odyssey` value is different in nature.
2022-01-29 16:29:17 +00:00
Athanasius
eac3e1af4b
schemas: Add a 'new journal event schema' template
...
Hopefully the "not actually valid in JSON" comments make it obvious both what needs
to be edited, and that they all need removing.
2022-01-29 15:47:17 +00:00
Athanasius
989b997d15
schemas: Skeleton journal event template
2022-01-28 18:34:00 +00:00
Athanasius
6eb81e4461
schemas/README: Make some lists actual numbered lists
...
This is to aid with e.g. "point 2 in "Contents of message" when referring to
this documentation.
2022-01-28 18:16:17 +00:00
Athanasius
8648718f38
schemas/Docs: Mostly capitalising 'Schema'
...
* Treat 'Schema', when referring to an EDDN schema, as a proper noun.
* Additional minor grammar improvements for clarity.
2022-01-28 18:00:49 +00:00
Athanasius
60ed98c19c
schemas/README: Fix 'ouy' typo
2022-01-28 17:55:35 +00:00
Athanasius
62969a2cbb
schemas/README: Journal-sourced messages MUST have event
in new schemas
...
This would be a 100% MUST, but we have live schemas not mandating it.
2022-01-28 17:54:47 +00:00
Athanasius
42d21111c3
schemas/README: Linkify to endpoint listing on mention of beta/dev services
2022-01-28 17:52:42 +00:00
Athanasius
180fe9ec94
docs/Contributing: Minor rewording for better grammar
2022-01-28 17:51:32 +00:00
Athanasius
0e791c53b4
docs/Contributing: Keep "must be valid JSON" etc in one place
2022-01-28 17:43:30 +00:00
Athanasius
43ea088f7a
docs/Contributing: 'bried' typo
2022-01-28 17:37:52 +00:00
Athanasius
779fa75b1e
docs/Contributing: Branches, Code Changes, Fix/Enhancement, and more
2022-01-28 17:36:30 +00:00
Athanasius
f1d8a509ca
docs/Contributing: Require test files for new schemas
...
* Let's have examples in the scripts/testing/gatewat-response directory.
* Actually you usually don't actually need to actually use the word actually.
2022-01-28 17:36:30 +00:00
Athanasius
4239729632
docs/Contributing: Further Schema/README requirements
2022-01-28 17:36:30 +00:00
Athanasius
f8f7b58607
docs/Contributing: Start work on specific Schema/README requirements
2022-01-28 17:36:29 +00:00
Athanasius
f0e14f5e03
README: List the three services that EDCD *might* be providing
...
Only Live is guaranteed to be available.
2022-01-28 17:36:29 +00:00
Athanasius
4aadbeb146
schemas/README: If using compression, set Content-Type correctly
2022-01-28 17:36:29 +00:00
Athanasius
e50b57a538
docs/Contributing: Adding 'new schema' guidelines
2022-01-28 17:36:23 +00:00
Athanasius
a0da58d35f
Merge pull request #174 from EDCD/FSSAllBodiesFoundFromDevelop
...
Add FSSAllBodiesFound
2022-01-28 17:30:08 +00:00
Athanasius
8db880f95d
schemas/FSSAllBodiesFound: Don't list in outdated schemas
2022-01-28 17:29:11 +00:00
Athanasius
de33e4460c
Schemas/FSSAllBodiesFound: Make 'event' required
2022-01-28 17:29:11 +00:00
robbyxp1
d4e7409ae0
Add to settings.py the fssallbodiesfound schemas
2022-01-28 17:29:11 +00:00
robbyxp1
b6d25ccebc
Added back in the event key
2022-01-28 17:28:13 +00:00
robbyxp1
b323460bf8
Add FSSAllBodiesFound
2022-01-28 17:28:13 +00:00
Athanasius
578d185072
Merge pull request #175 from EDCD/ApproachSettlement
...
Add Approachsettlement
2022-01-28 17:23:54 +00:00
Athanasius
1678c467d7
scripts/testing: Various additional inputs to test-sender
2022-01-28 15:14:00 +00:00
robbyxp1
3690aab87e
Fix another typo in ApproachSettlement event tag
2022-01-28 15:10:36 +00:00
robbyxp1
5ff342cc8b
Add event to required list
2022-01-28 13:52:20 +00:00
robbyxp1
87a81aaa37
Fix comma typo in ApproachSettlement JSON and fix readme
2022-01-28 13:47:01 +00:00
Athanasius
7543b04c17
Merge pull request #177 from EDCD/enhancement/add-editorconfig
...
Add .editorconfig to enforce some standards & begin docs/Contributing.md
2022-01-28 12:12:21 +00:00
robbyxp1
3b7c002b51
Add schema to settings
2022-01-28 08:14:45 +00:00
Athanasius
8ac2ac8ac6
Start a docs/Contributing.md
...
* Call out the .editorconfig file
2022-01-27 18:23:28 +00:00
Athanasius
eba946bf99
Add .editorconfig to enforce some standards
2022-01-27 18:22:07 +00:00
robbyxp1
e85e3d4b85
Fix tab issue, add description
2022-01-27 13:09:50 +00:00
Athanasius
5c5ce32d09
schemas/README: Preserve Journal event key:value, even if redundant
2022-01-27 12:31:48 +00:00
robbyxp1
42742ae9e6
Add back in event after discussion
2022-01-27 11:30:57 +00:00
robbyxp1
4f3225c3af
Add Approachsettlement
2022-01-27 11:10:59 +00:00
Athanasius
a8f657c2d6
schemas/README: bottle body size limit *is* affected by compression
...
I explicitly tested this with a 50KiB limit on beta EDDN service:
1. 49973 byte message does make it through, in plain text.
2. 51312 byte message, no compression, 413.
3. Same message, with gzip compression, 200
4. The 149242 byte file I based those extra ones on also makes it
through when compressed.
Indeed the Gateway logging cites the compressed-body size. `bottle`
isn't looking at the message and magically decompressing it in order to
check plain-text size.
2022-01-21 09:43:55 +00:00
Athanasius
853c309df0
schemas/README: Give examples of LoadGame
for Horizons
/Odyssey
flags
2022-01-20 11:40:41 +00:00
Athanasius
7819eff826
schemas/README: Give some hints about odyssey/horizons flags
2022-01-20 11:32:08 +00:00
Athanasius
8d5b03915b
Gateway: Log where upload data is form-encoded
...
We suspect no-one is actually using this possible form of upload, and
ideally would remove the code for it entirely. First we need to log any
uploaders that do use this form to be sure.
2022-01-18 15:53:06 +00:00
Athanasius
4ae424f887
Merge pull request #169 from EDCD/enhancement/CL-arg-loglevel
...
Support `--loglevel <level>` CL arg in all entry point scripts
2022-01-18 15:38:24 +00:00
Athanasius
8f7910a5d9
Bouncer: Support --loglevel <level>
CL arg
...
This also aligns the general logger setup with the other scripts
2022-01-18 15:22:02 +00:00
Athanasius
6986af7ca0
Settings.py: Remove import argparse
...
CL arg parsing is done in main scripts now.
2022-01-18 15:17:45 +00:00
Athanasius
fe214583aa
Relay: Support --loglevel <level>
fully
...
There's no real logging in Relay yet, but this makes it support
switching level anyway.
2022-01-18 15:16:32 +00:00
Athanasius
86b283f920
Monitor.py: Minimal changes to allow --loglevel <level>
...
The CL arg won't actually *do* anything yet, because this script doesn't
actually have a logger set up at all. But we need to fake this else
eddn.conf.Settings.loadConfig() won't be called correctly or work.
2022-01-18 15:09:56 +00:00
Athanasius
fb3c0348ad
Gateway: Support --loglevel <level>
CL arg
...
NB: This required changes to src/eddn/conf/Settings.py as well, which
means other scripts, e.g. Monitor.py, will also need changing.
2022-01-18 15:02:38 +00:00
Athanasius
872c65c280
setup.py: Do *not* install eddn-logs-archive script
...
This should be done manually, so as to be using the correct version from
the correct branch on the live service.
2022-01-18 14:16:45 +00:00