Commit Graph

120 Commits

Author SHA1 Message Date
d1db65dc9c Fix typo when messages from players are written 2022-01-28 19:00:14 -05:00
51a07a1f0d Fix for server reporting updating when it's not 2022-01-27 22:29:18 -05:00
a1d5f9c084 Fix for server reporting updating when it's not 2022-01-27 22:27:24 -05:00
005ac1216e Add crash detection 2022-01-27 20:43:23 -05:00
e0ce1d118c Create pylintrc, code review pipeline & correct codebase errors
Fix uploads,
Only send server stats to user page when they have access to servers
2022-01-26 01:45:30 +00:00
5adfc613d8 Merge branch 'dev' of http://gitlab.com/crafty-controller/crafty-commander into dev 2022-01-21 23:09:04 -06:00
09aab2a250 Add path to server backup log notification
Adds the server path that is being passed to `shutil` to the log entry for backups to more easily identify cases where backups loops are occurring
2022-01-21 23:06:37 -06:00
e35a2b3753 Add refresh send for buttons to update after server start/stop. Refresh is only sent to clients with server access 2022-01-21 20:43:44 -05:00
b4bf125a0d Notifications are only visible to valid server users 2022-01-20 13:37:45 -05:00
2d169e8f97 Add terminal catches for server stop command and restart command in crafty's terminal 2022-01-18 15:42:26 -05:00
5087813900 add catch for restart command. Fix windows bug. 2022-01-18 14:43:22 -05:00
2f1b56121a fix windows path bug 2022-01-18 13:59:53 -05:00
bda81b8e20 Add delay on logs download start for on screen messages 2022-01-18 13:16:09 -05:00
ccc41b7419 fix bug where crash detection was still using schedule 2022-01-14 19:52:51 -05:00
2689a579a7 fix bug where transveral would be true every delete file due to typo 2022-01-14 16:06:02 -05:00
c736c2eec1 Fix for tzdata 2022-01-14 14:59:06 -05:00
210b831a47 remove schedule import from servers 2022-01-14 12:57:23 -05:00
ef4a31d1e8 Attempt fix for delayed start issues - was finally able to reproduce
Port feature from 3.4 added by Trevor (@uplusion23) for terminal history.
Add datatable to mobile version of tasks.
2022-01-14 02:35:26 -05:00
7981f90a77 Fix bug where backups would not run due to extraneous character in server init 2022-01-12 01:24:03 -05:00
e2f4a33380 Fix bug where servers would not auto start. 2022-01-11 18:30:06 -05:00
134a6431b8 Fix waiting start issue 2022-01-11 01:38:14 -05:00
73c6c1b871 Fix port reminder
Add Server time zone to details
2022-01-10 14:58:38 -05:00
3e90210f3b Remove port checker for a port reminder on first run
Add DB column to track a server's first run
Send port reminder for crafty on fresh install.
Remove http server message from startup/logs - don't want to promote that it's running.
2022-01-09 13:14:59 -05:00
7dd24b6b15 Improved File Loading, Fixed Port checking 2022-01-08 23:03:45 +00:00
cf1403a0ee Added better handling for non UTF-8 characters in output 2021-12-13 20:44:22 -06:00
c59b13bfde Fix port issue 2021-12-09 23:58:35 -05:00
bc164fef67 Add timeout to telnet. 2021-12-10 04:52:37 +00:00
635f671fd9 Move internet check to start after server has started. 2021-12-09 17:58:36 -05:00
12153b1207 Merge branch 'fix/exit-code-tweak' into 'dev'
removed old exit handling logic

See merge request crafty-controller/crafty-commander!109
2021-12-06 05:50:48 +00:00
b2dc1521d6 removed old exit handling logic 2021-12-05 23:01:44 -05:00
a19ba7dbb6 Backup Restore/Root Disable 2021-11-29 21:22:46 +00:00
4c6b459b43 Remove useless if in backups.i 2021-11-27 19:28:53 -05:00
bfe6cabd9e Fix bug where a false EULA on delay start would cause the user to never be able to start the server. 2021-11-27 18:43:14 -05:00
c7d3b3aa1c Fix update notifications. 2021-11-27 18:32:53 -05:00
12c4c9ec45 Fix bug where all server terminals would show updating. 2021-11-27 17:46:37 -05:00
1bf47b5c54 Rework server start to look for user_id and not user_lang. Gives acces to more user info.
Fixes websocket broadcast to only send broadcast to user who sent original request.
2021-11-27 17:10:43 -05:00
e21a019de4 Add better logging to falling back to default language on server start. 2021-11-27 12:53:29 -05:00
64c4df343a Fix autostart error with missing param.
Takes default lang for errors on auto start since there is no user language to choose from for an auto start error.
2021-11-27 12:01:55 -05:00
c811c568a5 Fix Merge issues 2021-11-23 17:16:33 -05:00
97ddc1b964 Merge branch 'pretzel-patches' into 'dev'
# Conflicts:
#   app/classes/shared/server.py
2021-11-23 22:12:06 +00:00
dc83dc8fc8 Add EULA confirm message on server startup if EULA is not found. 2021-11-23 16:11:23 -05:00
f20d41242d Adding Helpers for Path
Correcting a MVC update missing function
2021-11-21 11:52:29 +01:00
62cac66e8e revert readall change since it didn't work 2021-11-19 19:06:35 -06:00
5230a7ddc3 fix I/O thread read, fixed thread ident/pid 2021-11-19 18:31:33 -06:00
45e074ac4a Resolved thread leak, fixed non-Minecraft java terminate, renamed
threads
2021-11-19 18:14:32 -06:00
df398718f1 Fixes bug for backup loops on shutil. 2021-11-19 01:07:53 -05:00
64ec33ff52 Resolved subprocess issues with windows
- Repaired introduced bug where backslashes in the far path weren't
   handled properly
- Resolved latent subprocess issue where stdout would fail to send
  websocket notifications when a a windows \r\n was emitted
2021-11-14 18:17:23 -06:00
9720929e33 Resolved missing stdout when java process exits quickly 2021-11-06 12:06:26 -05:00
82f4661044 Fixed db_helper issue 2021-11-06 11:27:15 -05:00
1c9ffb2abc Merge branch 'dev' into 'subprocess'
# Conflicts:
#   app/classes/shared/helpers.py
#   app/classes/shared/server.py
#   app/classes/web/ajax_handler.py
2021-11-06 15:26:37 +00:00