498f6e5845
Merge branch 'dev' into feature/snapshot-backups
2025-05-06 12:48:11 -04:00
221453b5b6
Restructure Bedrock ping to be more durable with better errors
2025-02-09 12:26:35 -06:00
9e5abe8014
Refactor helpers to own directory
2024-08-11 13:31:55 -04:00
45c3f73eca
Revert "Revert "Merge branch 'dev' into 'master'""
...
This reverts the 4.4.1 release revert commit 29ce7a2cde
.
2024-08-06 20:45:00 +01:00
29ce7a2cde
Revert "Merge branch 'dev' into 'master'"
...
This reverts merge request !783
2024-07-29 21:49:44 +00:00
46f27a35b6
Fix cpu_freq call on obscure systems
2024-05-02 13:17:28 +00:00
6d938cabc8
Set some stats logging to debug
...
Add stop server logging
2023-10-04 12:45:23 -04:00
c5bb1f42e2
Add try/except around disk data
2023-03-18 15:27:08 -04:00
70ceb1a4e7
Merge branch 'dev' into bugfix/world-size-calc
2023-02-18 09:50:16 -05:00
491415c7fa
Re-black codebase with new standard
2023-02-15 18:01:21 -05:00
14a2f28818
Another refactor
2023-02-05 13:07:18 -05:00
fa9be860bd
Move raknet icon failure to a debug log
2023-01-20 17:42:39 -05:00
76cedc9392
Fix stats error on mac M1 chips
2022-12-19 11:54:24 -05:00
28b321f100
Fix import order
...
I have needs
2022-07-18 21:43:13 +01:00
4a2e5d1558
Merge branch 'dev' into tweak/remove_prop_requirement
2022-07-18 21:42:14 +01:00
44f3b903d4
Merge branch 'dev' into Fix-Pylint-no-self-use
2022-07-18 21:09:26 +01:00
2ddc1e7c96
Remove server.props requirement
2022-07-16 19:05:00 -04:00
9f30ca3931
Fix pylint no-self-use
2022-07-16 09:52:30 +02:00
4f7e1bfa24
Check for None when getting the CPU frequency data
...
Default to -1 when an error occurs
2022-07-06 19:00:17 +03:00
6f80b3e5c1
Fix bug with bool obj on server start
2022-07-05 15:24:19 -04:00
4bfbf9ea47
Merge branch 'dev' into bug/ping-data
2022-06-21 04:09:35 +01:00
7d286e60e0
Backup/Config.json rework for API key hardening
...
See merge request crafty-controller/crafty-4!369
2022-06-20 19:26:21 +00:00
ccfbad91d1
Check if ping result is boolean
2022-06-19 23:07:48 -04:00
478dfdc6ef
Fix -1 showing on dashboard when offline
2022-06-18 17:18:21 -04:00
abc34ef2b6
Add better error logging for statistic collection
2022-06-17 16:19:37 +03:00
5f8dbd4dc7
Fix C0113 & Exempting R0201 Line as self required.
2022-06-15 04:27:27 +01:00
e73dd682c8
Fix no-else-* QA warnings
2022-06-14 15:40:57 +03:00
b0e356f999
Fix host stats error messages
2022-05-28 19:43:37 +03:00
0df5fedf2b
Add try-excepts for host stats
2022-05-28 19:32:54 +03:00
d1beb2f125
Redirect stderr to null during psutil's import.
...
On some systems /proc might be unavailable and psutil would freak out
printing several exceptions to stderr but strangely not raising the
exceptions for upper scope to handle
2022-05-28 19:00:25 +03:00
83018c6860
Calculate the min stats date with timedelta
...
This is more correct than just using days.
I've also tested this working in a completely separate Peewee project.
2022-05-25 16:14:42 +03:00
a937a94ac8
Use a better variable name for stat disappear date
...
* Rename occurences of `last_week` with `minimum_to_exist`
2022-05-25 14:49:17 +03:00
f82241f728
Fix circular import and linting for stats.py
2022-05-20 23:33:42 +03:00
c1ebb16dff
Add typings to minecraft/stats.py
2022-05-20 22:05:37 +03:00
16bbac7fd6
Moving Server Stats DB to Server Folder
2022-04-28 22:40:15 +02:00
92c8fc04f3
Refactor to standardize class/variable naming ✨
2022-04-14 03:10:25 +01:00
d417950eae
fix fstrings, refactored console to static
2022-04-11 20:34:46 -05:00
19f2429a4c
Fix formatting to comply with ⬛ Black
2022-04-11 11:08:36 +01:00
42ca4bb973
Refactored the yes to not pass objects in import
...
Merge Conflicts ᴙ Us
2022-04-11 00:23:55 -05:00
2a512d7273
Fix files to conform with new ⚫ Black pylintrc
...
Mostly just breaking up strings and comments into new lines
Some strings dont require 'f' but keeping in for readability
with the rest of the concatinated string
2022-03-23 06:06:13 +00:00
e06fe8a52a
⬛ Black codebase
...
Apply black formatting to codebase
2022-03-23 02:50:12 +00:00
b306d1f313
Tidy imports & dep auto-installer
2022-03-08 04:40:44 +00:00
843c16bbd7
Fixing icon bug
2022-03-04 21:09:13 +01:00
ab7889914f
Bug fixes to ensure player stats display correctly
...
Add sync indicator to dashboard
2022-03-03 19:41:30 -05:00
d016e0a59a
Broke Things
2022-03-03 22:01:12 +01:00
7707940743
Appease the linter
2022-03-02 10:36:24 -05:00
c8267bee80
Catch key error players for stats - silently log it. Fix for human readable file size
2022-03-01 22:30:53 -05:00
983022c5bb
make file size calc more efficient
2022-03-01 22:14:50 -05:00
322134506b
Remove minecraft specific naming/stats
2022-03-01 21:43:36 -05:00
c8c1f301c0
Fix server importing for bedrock that's not a zip
2022-03-01 18:31:38 -05:00