1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 15:27:14 +03:00

41 Commits

Author SHA1 Message Date
David Sangrey
7d3d09f60b
[#2324] Update Watchdog 2025-01-06 15:42:55 -05:00
David Sangrey
fe8818d187
[2114] Apply PathLib Handover 2024-06-10 17:21:06 -04:00
David Sangrey
1800f8f0b1
[2186] Remove Some Comments 2024-03-27 22:17:21 -04:00
David Sangrey
27093d8862
[2186] Main, Dashboard, Prefs 2024-03-27 19:26:25 -04:00
David Sangrey
4dd83f5fa4
[2051] And a few more, with timezones 2023-11-17 19:44:36 -05:00
David Sangrey
45a38ccdaa
[2051] Dashboard, Killswitch, l10n 2023-11-17 19:21:48 -05:00
David Sangrey
bd822f76bd
#2031 Remove Invalid Type Hint
Also updates Observer type hints based on https://github.com/gorakhargosh/watchdog/issues/982
2023-07-22 22:10:41 -04:00
David Sangrey
8763e9f5db
#2032 Suppress some Type Hint Errors 2023-07-22 22:02:35 -04:00
David Sangrey
779318d86b
#2031 Revert Potential Bad Change 2023-07-22 21:04:03 -04:00
David Sangrey
3563084f67
#2031 Remove more references to EDDB 2023-07-22 20:54:32 -04:00
Athanasius
d40bb4f09c
dashboard: Minor process() type fix 2022-12-23 14:47:05 +00:00
A_D
bff6175ee7
Update to use sys.platform over platform 2022-01-26 18:51:49 +02:00
A_D
efebdfdfed Ensured that emitter is always bound, even if None 2021-04-12 08:31:48 +01:00
Athanasius
4d9e8e3f30 dashboard: Convert open(pathlib) to pathlib.open() 2021-04-12 08:31:48 +01:00
Athanasius
04506899cc dashboard.py: mypy lints
Despite it being unused I restored the `logfile` argument to
`Dashboard.process()`.  It's set in a call to it.  Further investigation
if/when we do a proper code cleanup.
2021-04-12 08:31:48 +01:00
Athanasius
e67e0a03fa dashboard.py: Fix flake8 lints 2021-04-12 08:31:48 +01:00
A_D
051245cf90 Renamed various config values to be backwards compatible 2021-04-01 14:45:48 +01:00
Athanasius
a8aab186bf config: Update some 'callers' of config.shutting_down for it being a property 2021-04-01 14:45:48 +01:00
Athanasius
608a336bb3 dashboard: Bail early from process() if in shutdown
# Conflicts:
#	dashboard.py
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
e3def21683 Made sure to handle an empty journal dir in the config 2021-04-01 14:45:46 +01:00
A_D
278480b99f replaced ors with defaults in config usage 2021-04-01 14:45:46 +01:00
Athanasius
25852997c5 Updated all source to use new config methods
# Conflicts:
#	monitor.py
2021-04-01 14:45:46 +01:00
Athanasius
9f45960fe3 dashboard: Reinstate "from calendar import timegm"
This was inadvertently removed in 102fe809783141394ee31a30158c5ed81ea4d996
2021-04-01 14:45:44 +01:00
Athanasius
404f1fa641 dashboard: No need for except var if unused. 2021-04-01 14:45:44 +01:00
Athanasius
abfde73362 dashboard, hotkey, protocol: Use EDMCLogging.get_main_logger()
It does the EDMC/EDMarketConnector check.
2021-04-01 14:45:44 +01:00
Athanasius
c47688227b dashboard: Detailed logging Dashboard.start()
# Conflicts:
#	dashboard.py
2021-04-01 14:45:44 +01:00
Athanasius
137c66048a dashboard: Remove print_exc use (logger.exception instead)
# Conflicts:
#	dashboard.py
2021-04-01 14:45:44 +01:00
Athanasius
fd19ac337a dashboard: Detailed logging Dashboard .stop() & .close()
# Conflicts:
#	dashboard.py
2021-04-01 14:45:44 +01:00
Athanasius
462cd25312 config: Make config.shutting_down() a property, and change 'callers' 2021-01-11 16:54:09 +00:00
Athanasius
cb9bd30a05 dashboard: Bail early from process() if in shutdown 2021-01-11 16:41:36 +00:00
Athanasius
81974f66ec monitor/dashboard: move away from if __debug__
This includes changing one print_exc() to logger.exception()
2021-01-08 14:56:22 +00:00
Athanasius
9bfe7134a9 Need to int() a division if passing where an int is required 2019-09-26 11:40:42 +01:00
Athanasius
6b75fdb34c dashboard.py: Missed de-future'ing old_div 2019-09-26 11:40:42 +01:00
Athanasius
b64d59c2e5 dashboard.py: De-future 2019-09-26 11:40:42 +01:00
Athanasius
218c068ee5 Running EDMarketConnector.py 'works'.
First pass utilising 'futurize' to do most of the work.

  There's an issue with ur'\"' in l10n.py which I'm not sure how to
properly fix.

  This now has errors when hitting the 'Update' button.
2019-09-26 11:40:38 +01:00
Jonathan Harris
a442d2cd14 Extend localisation support to plugins 2018-05-12 20:50:45 +01:00
Jonathan Harris
daf53de57d Avoid spurious errors in debug log when polling 2018-03-04 18:14:01 +00:00
Jonathan Harris
a14ce6b89f Poll for dashboard on macOS
since can't have two watchdof observers on one directory.
2018-02-28 18:24:36 +00:00
Jonathan Harris
1a2b16a7b3 Handle transitory files 2018-02-10 16:43:08 +00:00
Jonathan Harris
75edff5fc3 Rename plugin callback to dashboard_entry 2018-01-30 00:11:49 +00:00