Commit Graph
937 Commits
Author SHA1 Message Date
Athanasius 9be3cd82d8 Gateway: typing: parse_and_error_handle() 2022-08-18 15:17:57 +01:00
Athanasius 35b90de06d Gateway: typing: get_decompressed_message()
# Conflicts:
#	src/eddn/Gateway.py
2022-08-18 15:17:54 +01:00
Athanasius 74de8a07ee Gateway: Start adding types/checking
# Conflicts:
#	src/eddn/Gateway.py
2022-08-18 15:17:29 +01:00
Athanasius dbb3e7ce7d requirements-dev: types-pkg_resources 2022-08-18 15:16:58 +01:00
Athanasius a062d07799 requirements-dev: types-simplejson 2022-08-18 15:16:58 +01:00
Athanasius 24c80c3132 Gateway: misc formatting pass 2022-08-18 14:45:00 +01:00
Athanasius 785378a9bc Gateway: % -> f-string pass 2022-08-18 14:45:00 +01:00
Athanasius 048e908e09 Gateway: docstring pass 2022-08-18 14:45:00 +01:00
Athanasius 3b4fde42db Gateway: snake_case variables 2022-08-18 14:44:59 +01:00
Athanasius 123769f8d4 Gateway: More import fixup 2022-08-18 14:44:59 +01:00
Athanasius bf432a9708 Gateway: Remove un-used bottle imports 2022-08-18 14:44:59 +01:00
Athanasius 13765c70d5 monitor/eddn.js: PyCharm code cleanup 2022-08-18 14:44:59 +01:00
Athanasius b127c63887 Gateway: Proper import order 2022-08-18 14:44:49 +01:00
Athanasius ca3417c9c0 Gateway: Better top-level docstring 2022-08-18 14:43:16 +01:00
Athanasius fea561920a .pre-commit: No need for LANG section 2022-08-18 14:43:15 +01:00
Athanasius b93ee82c5f requirements: Updated for python 3.9.7 2022-08-18 14:43:15 +01:00
Athanasius 15e385287a Initial setup for proper development with linting etc 2022-08-18 14:43:01 +01:00
Athanasius 930632b0e9 README: Change Discord URL to channel-specific one. 2022-07-26 12:43:40 +01:00
Athanasius a7b96c3228 scripts/eddn errors: Use 'in' form for EVA variants 2022-06-24 14:52:43 +01:00
Athanasius 4da53bcc40 Merge branch 'develop' of github.com:EDCD/EDDN into develop 2022-06-24 14:48:48 +01:00
Athanasius 723e966b37 docs/README schemas: Be explicit about sub-second timestamp resolution 2022-06-24 14:48:11 +01:00
Athanasius 3fa5012139 scripts/eddn-errors: EDMC - Put back in trap for mystery disallowed 2022-06-20 09:56:40 +00:00
Athanasius 83a7d451ef scripts/eddn-errors: EDMC - two fsssignaldiscovered issues 2022-06-19 10:37:20 +00:00
Athanasius 159c02caf1 scripts/eddn-errors: Also ignore "EVA [Android]" 2022-06-19 10:31:19 +00:00
Athanasius 353c5a2381 scripts/eddn-errors: EDSM - Console version now 1.0.2 2022-06-19 10:26:31 +00:00
Athanasius bd7a0d6ab9 scripts/eddn-errors: EDDLite - remove traps 2022-06-19 10:23:37 +00:00
Athanasius e297f24c73 scripts/eddn-errors: EDD version now 2.2.0 2022-06-19 10:23:03 +00:00
Athanasius 75f744abe5 scripts/eddn-errors: EDD shipyard/outfitting trap removed 2022-06-19 10:22:22 +00:00
Athanasius 13215806e4 scripts/eddn-errors: EDD approachsettlement/_Localised trap removed 2022-06-19 10:21:41 +00:00
Athanasius 8e3e279592 scripts/eddn-errors: EDD approachsettlement/Latitude trap removed 2022-06-19 10:20:52 +00:00
Athanasius 4ceac7bc8b scripts/eddn-errors: Bump EDD to 15.0.4.0 2022-06-19 10:20:32 +00:00
Athanasius 651bf998a7 scripts/eddn-errors: Remove EDMC approachsetttlemtn/missing Latitude trap 2022-06-19 10:18:27 +00:00
Athanasius f6345b1705 eddn/report-errors: Remove other EDMC misc trap 2022-06-19 10:17:13 +00:00
Athanasius 66dfedd2af scripts/eddn-errors: Remove EDMC misc errors trap 2022-06-19 10:16:40 +00:00
Athanasius 81344cb67a scripts/eddn-errors: Remove EDMC codexentry trap 2022-06-19 10:16:04 +00:00
Athanasius ff83ede948 Gateway: Remove all form-encoded support
This causes issues, at the least, with compressed messages that 'look' like
they decompressed body is form-encoded.  18385 messages in the last month
rejected due to this.

No actually valid form-encoded messages in that time frame.
2022-06-16 13:27:11 +01:00
Athanasius a6fa60431a Merge pull request #191 from EDCD/enhancement/152/schema-fsssignaldiscovered
schemas/fsssignaldiscovered: Rework based on in-game findings
2022-06-15 14:08:30 +01:00
Athanasius 56b4e20238 Settings.py: Add missing / for fsssignaldiscovered/1 schema 2022-06-15 14:03:02 +01:00
Athanasius 5d945297e1 schemas/fsssignaldiscovered: timestamp required per signal 2022-06-15 12:42:53 +01:00
Athanasius 3dbfd18188 schemas/fsssignaldiscovered: Rework for per-signal timestamp & misc. clarifications
* Per-signal `timestamp` due to the nature of USS signals.
* Keeping `message`->`timestamp` so any Listener relying on it being there
  isn't tripped up (it's present in all other schemas).
* Specifiy that each `signals` member should have `event` key/value pair
  removed.
* Mandate removal of `SystemAddress` from each `signals` member.
* Receivers: Only `horizons` and `odyssey` augmentations are optional.
* Updated examples for these changes.
2022-06-15 11:52:25 +01:00
Athanasius d33c752c36 schemas/fsssignaldiscovered: README: Remove timestamp/SystemAddress from each signal 2022-06-14 14:03:49 +01:00
Athanasius 86f56eaac2 schemas/fsssignaldiscovered README: Reworked for changed schema
* Purely event-based batching, no timer.
* Outline Horizons/Odyssey differences.
* Point out that USS are manually scanned, so different in time nature.
* StarSystem renamed from systemName.
* StarSystem and StarPos now mandatory.
2022-06-14 14:01:36 +01:00
Athanasius 329d59831f schemas/fsssignaldiscovered: Rework based on in-game findings
1. Unix, not DOS, line-endings.
2. `message`->`timestamp` instead of per signal.
3. `message`->`SystemAddress` instead of per signal.
4. `StarSystem` and `StarPos` augmentations now mandatory.
2022-06-14 13:59:13 +01:00
Athanasius 04c3d4f270 Merge pull request #154 from norohind/feature/152/FSSSignalDiscovered
FSSSignalDiscovered event support
2022-06-14 13:18:06 +01:00
norohind 732de9bdd6 FSSSignalDiscovered doc 2022-06-13 22:40:08 +03:00
norohind fb9904306b FSSSignalDiscovered doc: add examples 2022-06-13 22:40:08 +03:00
norohind 03caeaa20c FSSSignalDiscovered: initial documentation 2022-06-13 22:40:05 +03:00
norohind 6dbc9e392a FSSSignalDiscovered: don't pass $USS_Type_MissionTarget; USS_Type 2022-06-13 22:36:12 +03:00
norohind 5386ed2c64 FSSSignalDiscovered: add properties 2022-06-13 22:36:12 +03:00
norohind 036e918fe9 FSSSignalDiscovered: optional systemName and StarPos 2022-06-13 22:36:12 +03:00