912 Commits

Author SHA1 Message Date
Athanasius
e5fe4da978 Settings.loadConfig() got renamed to load_config() 2022-03-12 10:58:42 +00:00
Athanasius
be6fe8b419 Settings: flake8 and mypy passes
Yes, we want to keep the extra-spaces formatting, but that means
noqa'ing E221.
2022-03-12 10:56:39 +00:00
Athanasius
03c7f6c96b Version: Bump to 2.0-alph0 for this python3 work 2022-03-12 10:55:00 +00:00
Athanasius
b876fec22c Relay: Full flake8/mypy pass 2022-03-12 10:54:57 +00:00
Athanasius
1c245735fd Monitor: Make EnableCors.apply() static 2022-03-12 10:52:25 +00:00
Athanasius
0400854390 Monitor: types pass 2022-03-12 10:52:22 +00:00
Athanasius
c0af9b1a97 Monitor: docstring'd 2022-03-12 10:51:56 +00:00
Athanasius
5cb2dbed92 Monitor: Initial flake8 pass 2022-03-12 10:51:17 +00:00
Athanasius
fee5279c12 Gateway: Make the CORS apply() static
Quietens a PyCharm warning
2022-03-12 10:49:53 +00:00
Athanasius
dcce3bdc86 Gateway: Minor renames to make PyCharm not gripe
These are related to local variables shadowing globals.
2022-03-12 10:49:53 +00:00
Athanasius
18d4f13139 Gateway: typing: main() 2022-03-12 10:49:53 +00:00
Athanasius
db7dcb489f Gateway: typing: stats() 2022-03-12 10:49:53 +00:00
Athanasius
820abea797 Gateway: typing: health_check() 2022-03-12 10:49:53 +00:00
Athanasius
d0f2d6a5bc Gateway: typing: upload() 2022-03-12 10:49:51 +00:00
Athanasius
d327dea943 Gateway: typing: parse_and_error_handle() 2022-03-12 10:49:10 +00:00
Athanasius
2e64ac2e9b Gateway: typing: get_decompressed_message() 2022-03-12 10:49:10 +00:00
Athanasius
2a2017ed51 Gateway: Start adding types/checking 2022-03-12 10:49:08 +00:00
Athanasius
a41650865b requirements-dev: types-pkg_resources 2022-03-12 10:47:34 +00:00
Athanasius
08897785b9 requirements-dev: types-simplejson 2022-03-12 10:47:33 +00:00
Athanasius
e3b4148eba Gateway: parse_qs is in urllib.parse now 2022-03-12 10:47:33 +00:00
Athanasius
daa1ae0ac1 Gateway: misc formatting pass 2022-03-12 10:47:33 +00:00
Athanasius
14a857a416 Gateway: % -> f-string pass 2022-03-12 10:47:31 +00:00
Athanasius
b0a5122b8c Gateway: docstring pass 2022-03-12 10:42:48 +00:00
Athanasius
96975df9fa Gateway: snake_case variables 2022-03-12 10:41:58 +00:00
Athanasius
22a5aa8db0 Gateway: More import fixup 2022-03-12 10:40:05 +00:00
Athanasius
46dec75082 Gateway: Remove un-used bottle imports 2022-03-12 10:39:27 +00:00
Athanasius
9b7d531641 monitor/eddn.js: PyCharm code cleanup 2022-03-12 10:38:49 +00:00
Athanasius
3f4ce7786b Gateway: Proper import order 2022-03-12 10:38:38 +00:00
Athanasius
0182980136 Gateway: Better top-level docstring 2022-03-12 10:34:50 +00:00
Athanasius
ccee6f8b63 .pre-commit: No need for LANG section 2022-03-12 10:34:50 +00:00
Athanasius
1176f967d9 requirements: Updated for python 3.9.7 2022-03-12 10:34:50 +00:00
Athanasius
3fd062a5fb Initial setup for proper development with linting etc 2022-03-12 10:34:50 +00:00
Athanasius
26dac58ceb eddn-report-log-errors: Some EDD 15.0.0.0 reported issues 2022-03-12 08:32:57 +00:00
Athanasius
1d15c546a8 scripts/eddn-report: Add Moonlight/1.3.4/Scan case 2022-02-27 18:58:32 +00:00
Athanasius
7b3dc68ad4 Merge branch 'develop' of github.com:EDCD/EDDN into develop 2022-02-27 18:37:02 +00:00
Athanasius
78c71ce3ee
Merge pull request #183 from jcjveraa/develop
Add a very simple Java subscription example with JeroMQ 0.52
2022-02-27 18:29:30 +00:00
JelleV
aeeab4f4d2 Update SimpleJavaEDDNSubscribe.java 2022-02-27 17:42:59 +01:00
JelleV
47091574a3 A simple Java subscribe example with jermq 2022-02-27 17:41:35 +01:00
Athanasius
6607e3eb45 scripts/eddn-report-log-errors: EDSM/1.0.3: Materials as dict 2022-02-22 15:43:59 +00:00
Athanasius
2b141bf8ac scripts/eddn-report-log-errors: New 'EDSM'/1.0.3/journal/Scan error
* Also corrects the conditionals to both skip this and always log
  anything else.
2022-02-21 10:15:53 +00:00
Athanasius
a93c342550 scripts/eddn-report-log-errors: Ensure only 'known' things aren't printed
* Bump EDMC version to 5.3.0
* Use matching *for* known things and `pass`, and ensure there's an
  "else print" everywhere to catch unknown things.
2022-02-20 10:55:42 +00:00
Athanasius
b38659a6f8 Merge branch 'develop' of github.com:EDCD/EDDN into develop 2022-02-20 08:30:56 +00:00
Athanasius
dfead5b2ab scripts/eddn-report-log-errors: Don't print for 'old' G19s Companion 2022-02-20 08:30:05 +00:00
Athanasius
42866fdda9
approachesettlement/1: Add no-MarketID samples for testing 2022-02-19 11:38:56 +00:00
Athanasius
77a2d41d96
approachsettlement/1: Allow MarketID to be optional & document why 2022-02-19 11:29:19 +00:00
Athanasius
8c2a5dca6f scripts/eddn-report-log-errors: Use fileinput & update for latest
* Use fileinput, makes it easy to use '-' as 'stdin please'.
* EDDLite 2.0.0.0: Bad date-time
* EDMC >= 5.2.4: approachsettelement/1 issues
2022-02-18 18:07:14 +00:00
Athanasius
05d5d0215a scripts/eddn-report-log-errors: Use a semantic_version comparison
Hardcoding to only **equal** to 'current known latest version' requires
maintenance on any new release of a Sender.  So leverage
`semantic_version.Version.coerce('<version>')` instead so we catch "this
or later versions".
2022-02-17 11:06:01 +00:00
Athanasius
ad9503d37b scripts/testing: journal Location samples 2022-02-15 11:57:30 +00:00
Athanasius
60dcfd00e5 Merge branch 'enhancement/180-script-apache-rate' into develop 2022-02-15 11:57:18 +00:00
Athanasius
2b653733d2 scripts/apache-log-rate: Bug fix & misc.
* Comparison had an off-by one, accidentally including "second before"
  still.
* Print out compiled regex for matching apache lines, in case of custom
  request text usage.
* Output the timestamp at the end of the largest window.  This enables
  easy checking of logs for possible anomalies around then.
* Comment about how apache logs *aren't* actually strictly in
  time-order, but we assume they are.
2022-02-10 19:25:53 +00:00