Commit Graph

82 Commits

Author SHA1 Message Date
27d310e2de Declutter set()s 2022-05-16 00:55:22 +03:00
92c8fc04f3 Refactor to standardize class/variable naming 2022-04-14 03:10:25 +01:00
12b0f8326d Fix bug where no backup dir would exist on clone 2022-04-12 17:17:12 -04: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
f78d59fd34 Server jars/gravatar would stack with no internet 2022-03-27 18:09:49 -04: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
506129729e Update Translation
- Adding Translation for Credits Page
 - Adding detection support for webpage
2022-03-05 12:01:36 +01:00
19f8775b32 Fix traceback when importing regular server 2022-03-01 18:49:16 -05:00
c4f706d415 Rework of files handling and added exclusions selection for backups. 2022-03-01 01:02:30 +00:00
540584990e Inital bedrock support 2022-02-10 18:20:36 -05:00
5adc48c524 Merge branch 'pretzel-bedrock' into 'pretzel-fixes'
# Conflicts:
#   app/frontend/templates/server/bedrock_wizard.html
#   app/frontend/templates/server/wizard.html
2022-02-10 20:57:31 +00:00
b025899aee Inital bedrock support 2022-02-10 15:54:00 -05:00
c89609ae61 Inital bedrock support 2022-02-10 15:27:40 -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
6f860e967c final changes for windows path issues 2022-01-19 15:14:56 -05:00
a20f7c4acf Fix translation stuff
* Make fallback stuff work
* Use helper.get_setting('language') instead of hardcoded 'en_US'
* Fix status and public pages lang variables
* Fix and add some translations for fi_FI
2022-01-15 17:38:08 +02:00
93857f90db JWT login and multi API keys! 2022-01-15 02:23:50 +02:00
4d636cce1b add working zip import selection functionality 2022-01-09 22:49:03 -05:00
b815cf38a8 Zip import semi broken.
Need to figure out why temp dir is not being passed correctly
Need to make sure tempdir gets deleted.
2022-01-09 22:21:28 -05:00
f018267b62 Made server polls asynchronus, fix for serverjars 2021-12-16 21:07:36 -05:00
f20d41242d Adding Helpers for Path
Correcting a MVC update missing function
2021-11-21 11:52:29 +01:00
aeb6b774f4 Fixes tryexceptpass for helpers and panel handler. 2021-11-17 17:23:14 -05:00
327122348d Adds checkbox option for adding roles at server creation.
Fixes bug on Panel Config page where duplicate servers would be listed.
Changes the way "roles" are served to the page. Dictionary instead of model object.
2021-11-17 13:08:41 -05:00
917bd5e32d Working single role selection on server creation. 2021-11-17 01:17:36 -05:00
6984fe7abc Corrections on server creation 2021-10-09 10:59:54 +02:00
a074cb7e1d Correction for roles on server creation
Fix for superuser to be able to create a server
Don't create a role if the creator is a superuser
2021-10-09 10:32:52 +02:00
72a85d7e64 Adds user based languages
changes server creation so that it adds it to roles instead of creating one
Changes server creation so you cannot create a server without a role.
2021-09-29 19:32:21 -04:00
02358f189b Unique Name at Server Creation 2021-09-27 21:34:54 +02:00
600430547f server creation fix 2021-09-09 00:20:38 +02:00
70ca82a086 Rework architecture for better MVC 2021-09-09 00:01:10 +02:00
cb73540e65 Doing MVC on Crafty Permissions 2021-09-06 19:27:01 +02:00
397fbd5268 Adding Support For Server Creation Quantity Limit 2021-08-25 00:23:33 +02:00
bb1f43bc81 Adding Support for Crafty Permissions with limits 2021-08-24 23:07:00 +02:00
261c8665c8 Pretty Server Version Choice 2021-08-24 00:24:40 +02:00
1acb7827ae Reworking Functions After User_Servers Deletion 2021-08-22 18:50:30 +02:00
540cdf6149 Fixing Roles Permissions for Server Creation 2021-08-22 11:06:44 +02:00
0e7013f2bc Role Replication
Removing because Can give Role from an other Server to This Server
2021-08-21 16:46:50 +02:00
31436bdc62 Merge branch 'dev' into dev-Silversthorn 2021-08-21 16:44:02 +02:00
1150c98faf Made it so server is added to all user roles when created. 2021-08-21 10:30:37 -04:00
8b66fc3fc4 Adding permissions on role_servers with edit 2021-08-20 00:18:50 +02:00
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
9a2212e94e Merge branch 'lukas-features' into 'dev'
Lukas features

See merge request crafty-controller/crafty-commander!45
2021-08-18 16:29:36 +00:00
c3be92f1e8 Fixed showing all servers on new server creation
Removed extraneous variable definition for defined_servers, which caused all servers to appear in menu when creating a new server regardless of role
2021-08-09 22:20:18 -04:00
0689b735ff Fixed showing all servers on new server creation
Removed extraneous variable definition for defined_servers, which caused all servers to appear in menu when creating a new server regardless of role
2021-08-09 21:11:15 -05:00
67008f0e37 Fixed bug where if a user created a server they would not have access to it. 2021-08-06 12:49:07 -04:00
f5b6583dbf Remove unnecessary console.debug's 2021-07-30 19:27:48 +03:00
7acf095463 Make HTTP handler functions not return anything else than None to remove an error in the log. Also make users not log out when visiting a page on the public handler 2021-07-30 19:20:01 +03:00