Zedifus
2b7f14ec3c
Merge branch 'dev' into tweak/master-server-dir-config
2023-02-16 23:39:33 +00:00
Zedifus
34f1acd3e2
Appease black
2023-02-16 23:29:06 +00:00
Andrew
e52294dbb3
Appease the linter
2023-02-15 18:40:20 -05:00
Andrew
491415c7fa
Re-black codebase with new standard
2023-02-15 18:01:21 -05:00
amcmanu3
b3fba650e7
Put try catch around move block
...
Reset run command, executable, log path if abs
2023-02-13 13:05:54 -05:00
amcmanu3
b4e47151ce
We'll wtol the path coming in
2023-02-13 11:48:06 -05:00
amcmanu3
43c11f80b8
Appease the linter
2023-01-30 19:11:37 -05:00
amcmanu3
e43c63a8b7
Fix db not found issue
...
Add page feedback.
2023-01-30 18:31:46 -05:00
amcmanu3
863ded782a
Add move servers dir functionality
2023-01-30 15:23:10 -05:00
amcmanu3
3a763178d7
Merge branch 'dev' into tweak/master-server-dir-config
2023-01-30 12:14:58 -05:00
amcmanu3
3f3595acb4
Sort config.json in alphabetical order
2023-01-29 18:21:04 -05:00
Zedifus
aa2ba4f8cf
Merge branch 'dev' into refactor/config-json
2023-01-29 20:00:09 +00:00
amcmanu3
8ee274a927
Remove config.json from repo.
...
Remove version checking.
Move master config to helpers.
Add config.json when not found on start.
2023-01-29 14:54:25 -05:00
Andrew
8a5cc6d1e6
Set up back end for master server dir
2023-01-26 19:21:39 -05:00
amcmanu3
dfa2f5fb1e
Remove antequeted code after moving from db
2023-01-19 11:28:00 -05:00
Andrew
985178b993
Update zip import status
2023-01-02 14:26:42 -05:00
Andrew
3ab57f116c
Merge branch 'dev' into 'refactor/config-json'
...
# Conflicts:
# app/classes/shared/helpers.py
2022-12-19 22:13:10 +00:00
Zedifus
4543fcd03f
Merge branch 'dev' into feature/custom-login-background
2022-11-30 21:08:53 +00:00
Andrew
ad4603aafb
Add automated forge server creation installs
2022-11-19 13:45:18 -05:00
amcmanu3
bf0255a26b
Add custom login image feature
2022-11-09 14:13:35 -05:00
Zedifus
48b8b9d084
Merge branch 'dev' into refactor/config-json
2022-10-23 21:30:41 +01:00
Andrew
c2f5daf8e9
Remove feature for modded servers
2022-10-20 15:05:58 -04:00
Andrew
2d5d263852
Automatically set update url for server creation
2022-10-20 14:58:43 -04:00
Andrew
51f507c4f8
Add comments
2022-10-13 12:25:29 -07:00
Andrew
3f2e50a5dd
Add config compare to not overwrite user changes
2022-10-13 12:17:31 -07:00
Andrew
2e212cc788
Add port constraint for all server creation & api
2022-10-04 15:55:52 -04:00
amcmanu3
a07eb58db7
Add bedrock server creation
2022-08-31 19:45:19 -04:00
Zedifus
51d123e9eb
Merge branch 'dev' into tweak/support-logs-zip-comment
2022-08-27 19:00:38 +01:00
Zedifus
1b4777fbab
Merge branch 'dev' into feature/pretzel-users-roles-manager
2022-08-27 17:25:49 +01:00
Andrew
3c14d0f2ee
Appease the linter
2022-08-27 10:44:34 -04:00
Zedifus
7d801ac216
Add date and time to log archive
2022-08-26 16:23:08 +01:00
Zedifus
b8b61649b7
Tidy support string creation and include as comment
2022-08-26 15:57:35 +01:00
Andrew
cafa720bba
Fix server quotas. Removed un-used perms columns
2022-08-20 13:00:20 -04:00
amcmanu3
b10523ae0a
Add import status to working bedrock
2022-08-17 19:07:56 -04:00
amcmanu3
504ffd57f6
Working zip imports
2022-08-17 18:14:16 -04:00
amcmanu3
b5420c083e
Starting zip imports
2022-08-17 17:41:44 -04:00
amcmanu3
eea5e329af
Refactor and add import_helpers.
...
Working jar imports
2022-08-17 17:22:03 -04:00
amcmanu3
65c8ca680b
Add importing threading to jar servers.
...
Refactor "downloading" status
2022-08-17 14:48:05 -04:00
amcmanu3
5cbb8f7018
Fix broken unloaded servers
2022-08-05 20:04:34 -04:00
Andrew
d1bdb6198b
Fix server creation with serverjars API
...
By accident this adds some modded support.
TODO: Cleanup javascript in wizard.
Fix naming on selects in wizard
2022-08-02 21:08:53 -04:00
Zedifus
31fe66776c
Merge branch 'dev' into incident/log-file-issues
2022-07-18 22:03:03 +01:00
amcmanu3
f265b070c0
Fix log file path issue for support log/log delete
2022-07-18 14:55:12 -04:00
Andrew
31ee894603
Add platform & crafty version info to support logs
2022-07-17 16:37:10 -04:00
amcmanu3
f1d11bfb0d
Remove tempdir from packaging logs.
2022-07-05 21:35:43 -04:00
amcmanu3
ea24215e21
Remove default backup dir location
2022-07-05 14:55:17 -04:00
amcmanu3
70dfc28574
Fix unable to restore backup on external meduim
2022-07-05 14:45:13 -04:00
Andrew
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
amcmanu3
e3d289e6fd
Fix support logs download issues
2022-06-16 12:11:21 -04:00
luukas
e009ff9819
Use relative paths for the jarfile and logs
2022-06-16 02:10:26 +03:00
amcmanu3
50438c485b
Fix support log delete order.
...
Fix username uppercase.
2022-06-14 15:42:13 -04:00
amcmanu3
b3f167ab62
Add fallback for tz not being found
2022-06-13 14:29:25 -04:00
Andrew
474597d16c
Add survery to admin first log
2022-06-12 17:03:42 -04:00
Iain Powrie
18ab2cd76d
Drop to less permissive mask for bedrock imports
...
`Owner` of the file (which should be us) can r-w-e
`Group` of the file can r-w
`World` can do nothing.
Sticky bit is still set.
2022-06-03 11:42:20 +00:00
Andrew
98b364cd3e
Fix support logs validation
2022-06-02 08:57:36 -04:00
Andrew
fae4ff12ea
Fix general user support logs
2022-06-02 08:23:18 -04:00
Andrew
50872e2bb5
Remove active tasks when server is deleted
2022-06-02 07:34:34 -04:00
Andrew
ec730a1694
Merge branch 'bug/pretzel-support-log-temp-cleanup' into 'dev'
...
Cleanup temp dirs on support log creation
See merge request crafty-controller/crafty-4!286
2022-06-01 22:33:52 +00:00
Andrew
ea2dd5b78f
Add self to parameters for non-static function
2022-06-01 18:31:31 -04:00
Andrew
5d3badef2c
Cleanup temp dirs on support log creation
2022-06-01 17:54:58 -04:00
Silversthorn
8f5c688b72
Fixing Pylint issues
2022-05-30 19:28:39 +02:00
Silversthorn
37bda32164
Fixing moved functions calls
2022-05-30 07:36:25 +02:00
Silversthorn
99b28efd33
Merge branch 'dev' into dev-StatsDBImprovement
2022-05-26 15:39:52 +02:00
Silversthorn
2b484d5a07
fixing download jar
2022-05-26 15:20:21 +02:00
Silversthorn
8423cc24c1
I'm breaking/fixing stuff
2022-05-26 14:50:20 +02:00
luukas
0d62223982
Merge branch 'dev' into bugfix/api-v2-bugfixes
2022-05-23 20:20:49 +03:00
luukas
02f5318f76
Merge branch 'dev' into merge/pretzel-lukas-cleanup-nosquash
2022-05-20 22:04:41 +03:00
luukas
dba3fafa87
Use shorthand for Controller.check_system_user
...
This reduced the code from 4 lines to 1 line.
The code
if <condition>:
return True
else:
return False
can be shortened to
return <condition>
2022-05-20 13:31:30 +03:00
luukas
48948423c9
Fix various things in create_api_server
2022-05-20 01:33:02 +03:00
luukas
7a7c7501e6
Use relative path for latest.log
2022-05-19 17:27:36 +03:00
luukas
559a345f25
Merge branch 'dev' into merge/api-v2
2022-05-18 01:49:19 +03:00
luukas
821ed7ef5d
Make get_server_obj raise an error
...
Reason being: There is nothing that checks if it returns False
2022-05-17 21:43:15 +03:00
Andrew
490fc86d4e
Cleanup server schedule on delete
2022-05-15 14:00:24 -05:00
Andrew
e161e2cf0b
Add cleanup method for server stats on delete
2022-05-15 13:28:02 -05:00
luukas
930c6936d9
Add more advanced role APIs
2022-05-10 02:08:49 +03:00
luukas
721c9cfe12
Add the server creation endpoint
2022-05-05 14:02:23 +03:00
Andrew
77bbde149a
Fix fresh install side effects from DB rework
2022-04-17 13:27:00 -04:00
Zedifus
92c8fc04f3
Refactor to standardize class/variable naming ✨
2022-04-14 03:10:25 +01:00
Andrew
64d2e5fedd
Appease the linter
2022-04-12 19:54:35 -04:00
Andrew
705da450e7
Fix bug where roles could not be deleted.
2022-04-12 17:58:59 -04:00
computergeek125
d417950eae
fix fstrings, refactored console to static
2022-04-11 20:34:46 -05:00
Zedifus
19f2429a4c
Fix formatting to comply with ⬛ Black
2022-04-11 11:08:36 +01:00
computergeek125
42ca4bb973
Refactored the yes to not pass objects in import
...
Merge Conflicts ᴙ Us
2022-04-11 00:23:55 -05:00
Zedifus
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
Zedifus
e06fe8a52a
⬛ Black codebase
...
Apply black formatting to codebase
2022-03-23 02:50:12 +00:00
amcmanu3
0f27b2df91
Fix error where user could not create server
...
Fix error where user could not create support files
2022-03-14 17:39:19 -04:00
Andrew
d4a1efba78
Appease the linter
2022-03-13 09:26:38 -04:00
Andrew
3a8174cc22
Add status bar for support log archive
2022-03-13 08:29:26 -04:00
Zedifus
b306d1f313
Tidy imports & dep auto-installer
2022-03-08 04:40:44 +00:00
amcmanu3
9520858c22
Fix backup restore
2022-03-07 21:36:23 -05:00
Andrew
d73316119b
Add server download status indicator
2022-03-04 00:36:36 +00:00
Iain Powrie
8da2bcae17
Merge branch 'devops/userns-rootless-container' into 'dev'
...
Convert container to run as non-root
See merge request crafty-controller/crafty-commander!172
2022-03-02 19:47:41 +00:00
Andrew
6cf778f068
appease the linter
2022-03-02 13:07:00 -05:00
Andrew
61ac97c02e
Add unexecuted clear. Add option to compress backups
2022-03-02 12:55:49 -05:00
Zedifus
69e85faa1a
Merge branch 'dev' into devops/userns-rootless-container
...
[RESOLVED CONFLICTS]
2022-03-02 16:58:48 +00:00
Zedifus
8f0ac0d025
Fix permissions setting on bedrock imports
...
This is not an issue on java as we dont need the execute perm on .jar's
Requires to be prefix'd octal intager for mask not decimal
2022-03-02 16:22:53 +00:00
amcmanu3
e99f06ba9f
remove print statement
2022-03-01 19:57:02 -05:00
Andrew
00db762c51
Add check in server import so we don't stack if jar doesn't exist.
2022-03-01 19:29:08 -05:00
Andrew
c8c1f301c0
Fix server importing for bedrock that's not a zip
2022-03-01 18:31:38 -05:00
Andrew
5d6ada23a4
Fix visual file loading order. Fix zip imports where directories were not being copied
2022-03-01 16:54:06 -05:00
xithical
c4f706d415
Rework of files handling and added exclusions selection for backups.
2022-03-01 01:02:30 +00:00