Commit Graph

74 Commits

Author SHA1 Message Date
Andrew
37ccc447c4 Fix backup config bug 2022-01-29 16:37:00 -05:00
Andrew
005ac1216e Add crash detection 2022-01-27 20:43:23 -05:00
Andrew
85eef71b9e Add max player/total player to stats keeping on dashboard 2022-01-27 18:16:27 -05:00
Andrew
32852c00b9 Fix bug with motd crashing stats 2022-01-25 21:40:34 -05:00
Iain Powrie
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
Silversthorn
bae08d05d9 Merge branch 'dev' into dev_websocket_server_status 2022-01-21 23:54:59 +01:00
Silversthorn
92a65ad7f1 Adding Websocket for server details
Adding Starting status on languages files
Removing all useless refresh things
2022-01-21 23:50:04 +01:00
Silversthorn
b385d1add3 Add Update Dashboard by websocket 2022-01-19 22:45:52 +01:00
Silversthorn
97cad998e8 Using Wabsocket for refreshing Status Page 2022-01-19 21:34:59 +01:00
Andrew
e7f51ce65a refine APScheduler cron triggers 2022-01-19 14:43:34 -05:00
Andrew
cebb25b5e9 add try execpt around task scheduling. Fix edit task bug. Fix permission issue after JWT merge 2022-01-19 13:07:26 -05:00
Andrew
5087813900 add catch for restart command. Fix windows bug. 2022-01-18 14:43:22 -05:00
Andrew
2f1b56121a fix windows path bug 2022-01-18 13:59:53 -05:00
Andrew
0d3fc43931 Remove schedules from DB when deleting a server.
Add better messaging for support log prep.
Add english translation for notify.
Chnage dep to 4.0 for tzlocal
2022-01-14 23:53:44 -05:00
Andrew
c736c2eec1 Fix for tzdata 2022-01-14 14:59:06 -05:00
Andrew
362f16fec4 Fix sorting on schedules
Fix deleting scheduled tasks that are disabled.
2022-01-13 00:30:35 -05:00
Andrew
70ae81ecc9 setup logging for schedules in schedule.log 2022-01-12 17:29:45 -05:00
Andrew
a4071a3962 Add logging when loading schedules 2022-01-12 16:09:38 -05:00
Andrew
3acc89c0eb Remove depreciated scheduler from tasks 2022-01-11 21:56:37 -05:00
Andrew
5fc2f06274 Fix bug with re-enabling a task 2022-01-11 19:30:00 -05:00
Andrew
47b48c3ee4 Fix translations in schedules 2022-01-11 18:51:07 -05:00
Andrew
e2f4a33380 Fix bug where servers would not auto start. 2022-01-11 18:30:06 -05:00
Andrew
8edec0357a remove scheduler import 2022-01-11 17:47:37 -05:00
Andrew
b9cf5fdbf9 Fix so bad cron characters will not destroy DB. 2022-01-11 17:41:46 -05:00
Andrew
51fcb2adc3 Add working schedules.
Add ability to edit schedules.
Add new pages for task creation/edit.
2022-01-11 17:24:05 -05:00
Andrew
5e7d0d64bd Cron tasks working.
Starting to rearrange front end for better UX
2022-01-11 12:17:57 -05:00
Andrew
4f55ffed0f Add single execution to scheduled tasks. 2022-01-11 01:29:27 -05:00
Andrew
14ae7c9a46 Add working schedules.
Do not use advanced cron scheduling yet.
Ability to add/delete scheduled jobs.
2022-01-11 00:26:33 -05:00
Andrew
139b506554 Inital APScheduler code for integration with our SQLite DB in progress. Adding commands works with start/stop/restart 2022-01-10 20:11:52 -05:00
Andrew
07d7c7ae60 Remove extraneous print statements. 2021-12-21 15:52:48 -05:00
Andrew
b4f247bb95 Add final fixes for system user and automated backups 2021-12-20 22:34:20 -05:00
Andrew
bc164fef67 Add timeout to telnet. 2021-12-10 04:52:37 +00:00
Andrew
8999a9a5c3 Fix bug where terminal will not exit 2021-12-09 18:35:00 -05:00
Quentin
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
Quentin B
b2dc1521d6 removed old exit handling logic 2021-12-05 23:01:44 -05:00
Andrew
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
Andrew
e21a019de4 Add better logging to falling back to default language on server start. 2021-11-27 12:53:29 -05:00
Andrew
315cd6909c Fixes update bug where 2 parameters were given when update only expected one.
Adds "Access to All servers" for exec_super_user.

Will need to add translation support for accessto all servers message.
2021-11-20 12:25:14 -05:00
Andrew
65a9c54f72 Fixes DB corruption when saving backup config. 2021-11-18 23:44:29 -05:00
Andrew
606d0ac74b Allows translation on start error messages. 2021-09-29 21:53:14 -04:00
Silversthorn
70ca82a086 Rework architecture for better MVC 2021-09-09 00:01:10 +02:00
Andrew
00422f24cd Moved delete server to ajax call instead of a task. 2021-08-18 18:50:53 -04:00
Andrew
0ab8f11a60 Merge branch 'dev' into 'pretzel'
# Conflicts:
#   app/classes/shared/server.py
#   app/classes/web/panel_handler.py
#   main.py
2021-08-18 16:34:41 +00:00
luukas
d1f582edfe Full release on stdout fix!
Basically I ditch the ANSI codes and use the old highlighting system.
2021-08-11 23:29:31 +03:00
luukas
4bac56e84a Use stdout for virtual terminal. WebSockets seem to be "laggy". 2021-08-10 23:17:56 +03:00
Andrew
8db46d6ab6 Added option to remove server files on delete.
Added confirmation for server delete.
2021-08-09 20:48:22 -04:00
luukas
f5b6583dbf Remove unnecessary console.debug's 2021-07-30 19:27:48 +03:00
Andrew McManus
3d979ffed3 Merge branch 'pretzel_update' into 'pretzel'
Added update button and bug fixes

See merge request crafty-controller/crafty-commander!31
2021-07-30 14:59:16 +00:00
Andrew McManus
9cb46a86fb Added executable updater 2021-07-24 21:09:39 -04:00
luukas
9049e44803 Fix logging on import errors 2021-04-17 23:34:13 +03:00