1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 09:10:35 +03:00

2857 Commits

Author SHA1 Message Date
Athanasius
50f9410c02 config: Add class member and methods for signalling/checking shutdown status 2021-04-01 14:45:48 +01:00
dependabot[bot]
a1423c7eba Bump safety from 1.10.1 to 1.10.2
Bumps [safety](https://github.com/pyupio/safety) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/pyupio/safety/releases)
- [Changelog](https://github.com/pyupio/safety/blob/master/HISTORY.rst)
- [Commits](https://github.com/pyupio/safety/compare/1.10.1...1.10.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 14:45:48 +01:00
A_D
0035f69c18 Missed one _str 2021-04-01 14:45:48 +01:00
A_D
00629b7420 use _str versions of paths for string ops 2021-04-01 14:45:48 +01:00
A_D
41f7391e42 Added _str properties for config Path variables 2021-04-01 14:45:48 +01:00
Athanasius
2319cbf404 Releasing.md: Document adding killswitches if needed. 2021-04-01 14:45:48 +01:00
A_D
b5a8c03980 Added missing whitespace 2021-04-01 14:45:48 +01:00
A_D
0fb5a3476a Removed prototyping code 2021-04-01 14:45:48 +01:00
A_D
4900361621 Set default killswitch URL to releases branch 2021-04-01 14:45:48 +01:00
A_D
cd67f12f22 Fixed eddn event specific killswitch 2021-04-01 14:45:48 +01:00
A_D
37a6b13d08 Updated wording for killswitch popup 2021-04-01 14:45:48 +01:00
A_D
b694bdc965 Added per-event killswitch 2021-04-01 14:45:48 +01:00
A_D
81e2cd2f92 Added warning popup on start
Popup shows on start when there are killswitches that match the current
version.
2021-04-01 14:45:48 +01:00
A_D
6374fbbeb8 Added event disabling
You can now disable specific event handlers in plugins
2021-04-01 14:45:47 +01:00
A_D
70087a27e4 Added total journal cutoff killswitches 2021-04-01 14:45:47 +01:00
A_D
6b75179199 switched to using SimpleSpec for constraints 2021-04-01 14:45:47 +01:00
A_D
8dca6783fc Fixed spelling, added utility methods 2021-04-01 14:45:47 +01:00
A_D
d5b62d957b Added support for comments in kill switches 2021-04-01 14:45:47 +01:00
A_D
f10cd9d70f Dont exit inara worker thread 2021-04-01 14:45:47 +01:00
A_D
10ca50bf5a Moved edsm killswitch check
It was causing exit hangs when edsm was disabled
2021-04-01 14:45:47 +01:00
A_D
98b27ee046 Fixed startup exception when unable to connect 2021-04-01 14:45:47 +01:00
A_D
2d127ae3d0 Added docs, fixed incorrect kill switch names 2021-04-01 14:45:47 +01:00
A_D
c96e59f7b3 Added fetch killswitch task on start 2021-04-01 14:45:47 +01:00
A_D
d81093760e Added hooks into killswitches in plugins 2021-04-01 14:45:47 +01:00
A_D
517a0e1f7c Added timeout to GET for killswitches 2021-04-01 14:45:47 +01:00
A_D
29adaa413b Added util method for URL -> KillSwitchSet 2021-04-01 14:45:47 +01:00
A_D
f7890a460b Added killswitch library
Killswitch exists to allow us to disable features causing issues in
specific versions remotely.

The system is designed to support plugins, where they can request their
own killswitch list by querying any web file that follows our format
(docs to be added), and using the returned KillSwitchSet to check for
disabled features.
2021-04-01 14:45:47 +01:00
A_D
4692a98f04 Removed warning from transparency slider 2021-04-01 14:45:47 +01:00
A_D
2a9ac882cd Added reset UI flag
Resets the ui theme to default and the transparency to default
2021-04-01 14:45:47 +01:00
A_D
0258d881ea Localised options 2021-04-01 14:45:47 +01:00
A_D
5235019d2a Added warning
Using transparency options on windows may cause unexpected behaviour
2021-04-01 14:45:47 +01:00
A_D
ed7d79c2f7 Added UI transparency option 2021-04-01 14:45:47 +01:00
A_D
281f66c7c1 Stringified plugin_dir for len check 2021-04-01 14:45:47 +01:00
A_D
965493ffed Silenced flake8 warning 2021-04-01 14:45:47 +01:00
A_D
2ff06c15ab Fix double quoted strings in workflow 2021-04-01 14:45:47 +01:00
Athanasius
b3b72a05a8 PLUGINS.md: Be explicit about why plugin_prefs(...) -> Optional[tk.Frame] 2021-04-01 14:45:47 +01:00
Athanasius
92d9185b43 EDMCLogging: Revert to Python 3.8+ walrus operator
* Re-order an import to make isort happy
* Mark caller_attributes() as ignoring C901 as well

# Conflicts:
#	EDMCLogging.py
2021-04-01 14:45:47 +01:00
Athanasius
903ec3d558 Added mention of deprecated methods
# Conflicts:
#	PLUGINS.md
2021-04-01 14:45:47 +01:00
A_D
6da85dc1e9 Fixed creating en.template.new as a dir 2021-04-01 14:45:47 +01:00
A_D
dbc357ebcd Dont overwrite template files when generating new ones 2021-04-01 14:45:47 +01:00
A_D
54c8558d35 Added comment to EDMarketConnectory.py
Covers the locale magic in l10n.py
2021-04-01 14:45:47 +01:00
A_D
db06bc82af Resolved PR comments 2021-04-01 14:45:47 +01:00
A_D
1a563653da Missed a place to use pathlib.Path() 2021-04-01 14:45:47 +01:00
A_D
63dd6418b9 removed unicode strings 2021-04-01 14:45:47 +01:00
A_D
7a7b5821df refactored trinary logic 2021-04-01 14:45:47 +01:00
A_D
b5282fc8ea Deprecated camelCase methods
Python prefers snake_case methods and camelCase classes. This replaces
some camelCase methods with snake_case variants, and has the original
names raise a DeprecationWarning before calling the snake_case versions
2021-04-01 14:45:47 +01:00
A_D
ac7a1fa63e Replaced codecs.open with builtin open
In py2, open() did not support encodings, in py3 it does
2021-04-01 14:45:47 +01:00
A_D
6687dcbfef Made respath use pathlib paths 2021-04-01 14:45:47 +01:00
A_D
e44039cfdd Replaced prints with logging 2021-04-01 14:45:47 +01:00
A_D
4ede555c13 Refactored return based logic
A good chunk of the logic in here was returning from branches but still
using else/elif/except branches to do an alternate behaviour.
2021-04-01 14:45:47 +01:00