Zedifus
7cc8503941
Merge branch 'dev' into enhancement/themes
2022-10-02 19:52:56 +01:00
Andrew
a5a81aa22a
Add themes to users page/base
2022-09-26 21:23:47 -04:00
Andrew
eaa68751b2
Fix type error on interval check.
2022-09-25 11:17:44 -04:00
amcmanu3
ff8ddb0f6e
Fix cron edit traceback.
...
Do not allow day to be greater than 30
2022-09-20 17:52:11 -04:00
Zedifus
2b36fbd448
Merge branch 'dev' into tweak/reaction-schedules
2022-09-19 22:50:55 +01:00
Zedifus
d3cfdd4a78
Merge branch 'dev' into bug/unloaded-server-config
2022-09-19 22:33:30 +01:00
Zedifus
518eb6af23
Merge branch 'dev' into bug/gravatar-fetch
2022-09-19 22:18:11 +01:00
Andrew
9ecf912a98
Make default option be selected option in edit
2022-09-16 13:15:07 -04:00
Andrew
a3c1d9e051
Fix typo in panel handler for unloaded config
2022-09-14 13:13:32 -04:00
Andrew
82c0452f55
Add pfp caching for users
2022-09-12 15:34:47 -04:00
amcmanu3
2b35da71fc
Fix logic with gravatar email
2022-09-09 15:04:45 -04:00
amcmanu3
375df0c27d
Only check for gravatar if internet
2022-09-09 15:00:08 -04:00
Andrew
df7d10886e
Fix & with bleach
2022-09-07 14:55:40 -04:00
amcmanu3
1b2fef06fb
Fix critical bug with unloaded servers
2022-09-05 23:15:07 -04:00
Zedifus
0bce6f432a
Merge branch 'dev' into enhancement/metrics-range
2022-09-04 21:25:45 +01:00
amcmanu3
e9c74be057
Add ability to change metrics scale
2022-09-04 16:21:33 -04:00
amcmanu3
b274f0d3b0
Remove update url from config
2022-08-31 19:36:43 -04:00
Andrew
0f820433f1
Remove log path from config for bedrock
2022-08-31 12:39:52 -04:00
Zedifus
fdb98cf1f8
Merge branch 'dev' into feature/pretzel-metrics-graph
2022-08-27 18:00:36 +01:00
Zedifus
b0b04a6495
Merge branch 'dev' into feature/pretzel-variable-shutdown-timeout
2022-08-27 17:50:50 +01:00
Zedifus
1b4777fbab
Merge branch 'dev' into feature/pretzel-users-roles-manager
2022-08-27 17:25:49 +01:00
Andrew
4225de55e8
Add server metrics graph
2022-08-21 17:04:23 -04:00
Andrew
44afc72d3a
Add variable shutdown timeouts
2022-08-21 12:41:28 -04:00
amcmanu3
02b6c3b545
Fix logical issues with panel handler
2022-08-20 20:58:46 -04:00
Andrew
0672b9378a
Add more secure logic to add/edit users
2022-08-20 18:51:35 -04:00
Andrew
cafa720bba
Fix server quotas. Removed un-used perms columns
2022-08-20 13:00:20 -04:00
Andrew
7a68e08a64
Working role manger super user
...
TODO: Remove maanger after user is deleted
2022-08-20 09:31:33 -04:00
Andrew
552a2e26c2
Working role managers.
...
TODO: Add super user select option
2022-08-20 08:49:38 -04:00
Andrew
bd64f0d2ae
Initial commit for role managers
2022-08-20 08:32:39 -04:00
amcmanu3
f75286e112
Fix logical issue in panel_handler
2022-08-19 15:14:42 -04:00
amcmanu3
c1d16522d0
Add manager field to users
2022-08-19 13:09:59 -04:00
amcmanu3
65c8ca680b
Add importing threading to jar servers.
...
Refactor "downloading" status
2022-08-17 14:48:05 -04:00
Zedifus
e2a4e096a2
Merge branch 'dev' into bug/backup-reload
2022-08-14 18:36:27 +01:00
Andrew
1545c1415c
Reload backup page on front end
2022-08-12 20:24:11 -04:00
Andrew
be7a816f78
Fix reaction tasks not firing
...
Fix delay not being accurate
2022-08-07 01:30:59 -04:00
Zedifus
c5d049830e
Merge branch 'dev' into bug/unloaded-servers
2022-08-06 01:10:16 +01:00
amcmanu3
5cbb8f7018
Fix broken unloaded servers
2022-08-05 20:04:34 -04:00
Zedifus
3e3c0ff946
Merge branch 'dev' into enhancement/pretzel-schedules
2022-08-06 00:20:31 +01:00
Zedifus
13a0500e86
Switch to v2 credits schema
2022-08-05 23:38:32 +01:00
amcmanu3
b039eec857
First commit for unloaded server. Working Frontend
2022-08-05 17:56:44 -04:00
amcmanu3
3c8614f378
Fix traceback when editing schedule
2022-08-05 16:01:26 -04:00
amcmanu3
75c8cdef53
Add names to schedules
2022-08-05 13:52:50 -04:00
Zedifus
390d995f53
Add flashing frontend notification
...
Co-authored-by: andrew.charles.mcmanus@gmail.com <andrew.charles.mcmanus@gmail.com>
2022-08-05 02:56:26 +01:00
Andrew
9616ffb0a1
Fix bug where SU status wouldn't stick on creation
...
Clean up SU user edit logic
2022-07-19 11:21:22 -04:00
amcmanu3
383194cf66
Fix servers being out of order on creation page.
2022-07-18 17:12:43 -04:00
Zedifus
523e51a0ae
Merge branch 'dev' into Fix-Pylint-no-self-use
2022-07-18 21:09:51 +01:00
Silversthorn
b6d6b9c0a4
Remove unused elements and move get_players to py file instead of html file
2022-07-17 10:57:25 +02:00
Silversthorn
ee2c2f8bb1
Better use of functions and objects
2022-07-16 10:06:49 +02:00
Silversthorn
9f30ca3931
Fix pylint no-self-use
2022-07-16 09:52:30 +02:00
Andrew
11260a34d6
Toggle Visible servers on status page
2022-07-14 18:26:42 -04:00
luukas
875767e16c
Merge branch 'dev' into feature/ajax-schedule-enabled
2022-07-13 15:48:09 +03:00
amcmanu3
a498ef8986
Check if username exists
2022-07-05 19:49:51 -04:00
luukas
147f178c87
Add a basic API for modifying schedules.
...
THIS IS VERY UNTESTED AND WILL BE EXPANDED TO FULL CRUD FOR SCHEDULES
2022-06-23 01:57:29 +03:00
amcmanu3
205bbf356f
Fix traceback on server schedule creation page
2022-06-21 18:40:16 -04:00
amcmanu3
d8d80bbb42
Remove bad check for backup path
2022-06-21 17:41:52 -04:00
amcmanu3
b725054dcd
Appease the linter
2022-06-21 17:36:50 -04:00
amcmanu3
97900cd283
Fix issue on path transversal backups linux
2022-06-21 17:35:34 -04:00
amcmanu3
fdfec80a39
Fix bug with sec logic
2022-06-21 17:14:35 -04:00
amcmanu3
950cbce27c
Fix java logic issue
2022-06-21 17:00:51 -04:00
Zedifus
ffba1fb438
Merge branch 'dev' into enhancement/backup-failure-alert
2022-06-21 21:34:51 +01:00
amcmanu3
d3b1095867
Disable backups directory from changing bad paths
2022-06-21 16:14:29 -04:00
amcmanu3
6c360d1ff1
Make backup failed alert
2022-06-21 15:59:08 -04:00
Zedifus
28e313ee1d
Revert back to 'Do not override' as default
2022-06-21 19:53:23 +01:00
Zedifus
7379545186
Strip empty entry in update-alternatives output
...
Catch ValueError on missing end quote in java execution command
2022-06-21 19:28:53 +01:00
Zedifus
176f5a4004
Add java selection POST
check
...
Protect against tampered post requests to front end
Co-authored-by: andrew.charles.mcmanus@gmail.com <andrew.charles.mcmanus@gmail.com>
2022-06-21 18:39:20 +01:00
amcmanu3
c4fb6482cc
Fix sec bug with server creation roles
...
Retain current java version in dropdown.
2022-06-21 01:18:19 -04:00
Zedifus
bad7a8d625
Merge branch 'dev' into feature/java-selection
2022-06-21 04:29:37 +01:00
Zedifus
69d1aa6c87
Appease linter
2022-06-21 03:31:40 +01:00
Zedifus
8e646df58c
Add Java detect for win, and hook up to front end
2022-06-20 23:44:33 +01:00
amcmanu3
32b3551108
Add java selection code to panel handler
2022-06-20 17:56:26 -04:00
amcmanu3
7670b91cc6
Add backup shutdown feature
...
Add backup notif for failed backup
2022-06-20 17:16:56 -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
Zedifus
b9a9007b4f
Merge branch 'dev' into tweak/front-end
2022-06-18 23:12:24 +01:00
Andrew
9569e760c9
Fix api key permission logic issue
2022-06-18 17:40:50 -04:00
xithical
464428ea7e
Remove erroneous print statements
2022-06-18 16:29:36 -05:00
xithical
8b6d70ba9a
Fix bug where non-superusers could not edit their own API keys
2022-06-18 16:27:06 -05:00
Andrew
31097da971
Fix type issue comparing
2022-06-18 17:06:44 -04:00
Andrew
a8cd982b96
Fix warning message
2022-06-18 17:03:44 -04:00
Andrew
37765dbebc
Fix general user can view any api-key page
2022-06-18 17:02:10 -04:00
Andrew
72f97e4ff0
Fix issue where any user could add/remove api keys
2022-06-18 16:55:39 -04:00
Andrew
fd0da1ef20
Fix any user can recieve all api keys
2022-06-18 16:20:57 -04:00
Andrew
e9bf2af83b
Add wiki iframe as requested.
2022-06-18 15:57:37 -04:00
Andrew
e435292a52
Fix blank server_detail page for general users
2022-06-17 00:58:18 -04:00
Iain Powrie
43906d531e
Merge branch 'bug/support_logs' into 'dev'
...
Bug/support logs
See merge request crafty-controller/crafty-4!354
2022-06-16 16:56:56 +00:00
amcmanu3
e3d289e6fd
Fix support logs download issues
2022-06-16 12:11:21 -04:00
amcmanu3
35518e960f
Fix username capital issues once and for all
2022-06-16 09:52:21 -04:00
amcmanu3
17ef71046c
Merge branch 'master' into dev
2022-06-14 15:49:32 -04:00
amcmanu3
50438c485b
Fix support log delete order.
...
Fix username uppercase.
2022-06-14 15:42:13 -04:00
luukas
e73dd682c8
Fix no-else-* QA warnings
2022-06-14 15:40:57 +03:00
amcmanu3
b3f167ab62
Add fallback for tz not being found
2022-06-13 14:29:25 -04:00
Andrew
25a1c67c26
Fix black formatting
2022-06-12 17:17:58 -04:00
Andrew
474597d16c
Add survery to admin first log
2022-06-12 17:03:42 -04:00
Silversthorn
a9cdd33c77
Fixing Pylint Errors
2022-06-12 18:30:39 +02:00
Silversthorn
007218111f
Should work now :)
2022-06-12 17:13:39 +02:00
amcmanu3
ddcd3dc5c3
Appease the linter
2022-06-11 17:46:36 -04:00
amcmanu3
e99cacfc53
Make call to controller and not stale object
2022-06-11 17:34:31 -04:00
Andrew
b793016c03
Redefine how servers are served to panel_handler
2022-06-02 07:34:17 -04:00
Andrew
273e2f465d
Only show authorized servers on role creation
2022-06-01 19:26:57 -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
8e0ccd4f94
Fix indexing for updates made on branch
2022-06-01 18:25:27 -04:00
Andrew
5d3badef2c
Cleanup temp dirs on support log creation
2022-06-01 17:54:58 -04:00
Silversthorn
f597a26e5b
Trying to fix stuff
2022-05-30 22:05:36 +02:00
Silversthorn
b0ea943992
Fixing lasts pylint warning
2022-05-30 19:32:11 +02: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
3b4253de9b
Fixing get_authorized_server
2022-05-26 23:19:59 +02:00
Silversthorn
99b28efd33
Merge branch 'dev' into dev-StatsDBImprovement
2022-05-26 15:39:52 +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
9ddcd13f2f
Fix W0611 & R1734 lint issues
2022-05-20 14:06:46 +03:00
luukas
bd4a35b418
Make role add and edit use API v2 internal APIs
2022-05-19 16:13:25 +03:00
amcmanu3
67e20302c9
Add get_perms_server back
2022-05-18 19:19:58 -04:00
Andrew
b7780682d5
Merge branch 'dev' into 'merge/api-v2'
...
# Conflicts:
# app/classes/controllers/crafty_perms_controller.py
2022-05-18 21:56:39 +00:00
luukas
6407900609
Merge branch 'dev' into experimental/lukas-cleanup
2022-05-19 00:52:59 +03:00
amcmanu3
bc6309c91b
Appease the linter
2022-05-18 16:56:54 -04:00
Andrew
ca73a5f60b
Merge branch 'dev' into 'experimental/feature/permission-matrix'
...
# Conflicts:
# app/classes/web/panel_handler.py
2022-05-18 20:47:43 +00:00
luukas
8b0da5da4c
Remove unnecessary prints or use logger.debug
2022-05-18 22:06:33 +03:00
amcmanu3
a833a29fb7
Allow super users to add roles/users
2022-05-18 14:35:51 -04:00
amcmanu3
12390306fd
Add permissions checks for quantity for users/role
...
Remove the ability to add quantities for general users.
2022-05-18 14:33:22 -04:00
amcmanu3
e3248e8657
Change cron validation to allow day abbreviations
2022-05-18 13:53:55 -04:00
luukas
8737c15fcf
Add a permission matrix to the role add and edit
2022-05-18 01:09:58 +03:00
luukas
5dfd1aae12
Make more places use the check_server_id function.
2022-05-17 20:52:32 +03:00
luukas
0115421243
Make queries narrower
2022-05-16 01:02:17 +03:00
luukas
27d310e2de
Declutter set()s
2022-05-16 00:55:22 +03:00
luukas
930c6936d9
Add more advanced role APIs
2022-05-10 02:08:49 +03:00
luukas
bf59e2de6c
Add and fix API v2 and db
...
* Add basic role routes
* Add API v2 404 handler
* Add API v2 home handler pointing to the wiki
* Add tons more todos
* Add get_*_columns and get_*_column functions for many db models
* Modify and add tons of model and controller functions
2022-05-08 00:07:55 +03:00
luukas
53459d83dc
Merge branch 'feature/api-v2' into merge/api-v2
2022-05-05 03:32:09 +03:00
luukas
1aa0d65cf7
Merge branch feature/external-frontend to feature/api-v2 without the frontend
2022-04-14 15:33:53 +03:00
Zedifus
92c8fc04f3
Refactor to standardize class/variable naming ✨
2022-04-14 03:10:25 +01:00
Andrew
bb2c1de418
Fix bug where general user could not create sch
2022-04-12 18:49:50 -04: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
amcmanu3
3b50130f40
Fix bug - non-super users could not create servers
2022-04-10 19:01:53 -04:00
Andrew
b1ed9ba2bd
Add API routes from 3.x
...
Enhance security for permissions on API requests
Fix bug where server permissions and crafty permissions were flipped upon making a new token
Fix bug where new secret key would be created every time Crafty was started.
Fix bug where DB locks will occur with concurrent writes to the DB.
2022-04-10 19:39:31 +00:00
amcmanu3
c7394ab77e
Add ability for users to disable hints
2022-04-02 21:25:26 -04:00
Andrew
f00830aeb5
Merge branch 'bug/general-user-gravatar' into 'dev'
...
Bug/general user gravatar
See merge request crafty-controller/crafty-commander!232
2022-04-02 01:11:01 +00:00
Andrew
8e704b61ca
Fix naming on super user variables
2022-04-01 18:09:55 -04:00
Andrew
1242b318c8
Fix bug - general user could not add gravatar
2022-04-01 18:04:42 -04:00
Andrew
f78d59fd34
Server jars/gravatar would stack with no internet
2022-03-27 18:09:49 -04: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
Andrew
ecc87a6137
Add context menu for iOS + Bug fix
2022-03-22 14:24:15 +00:00
Andrew
5682455bcc
Appease the linter
2022-03-20 12:39:57 -04:00
Andrew
d311ccbfa1
Remove print statement everytime a page loads
2022-03-20 07:05:11 -04: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
b5dac31ad5
Fix bug where you cannot create user without stack
2022-03-13 22:31:48 -04:00
Andrew
3a8174cc22
Add status bar for support log archive
2022-03-13 08:29:26 -04:00
Andrew
8858780d41
Move backups to ajax request
2022-03-11 00:18:22 -05:00
Zedifus
b306d1f313
Tidy imports & dep auto-installer
2022-03-08 04:40:44 +00:00