Commit Graph

211 Commits

Author SHA1 Message Date
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
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
a6e99347af Format the cert gen helper
Use black to format this function and appease lint.

We should really use black on the full project
2022-03-15 18:47:49 +00:00
83c692beb5 pylint happy !! 2022-03-15 19:17:20 +01:00
2f89c3a93d It was a comma !!! 2022-03-15 18:12:56 +00:00
7e6d34de0f 2nd Try 2022-03-15 07:43:36 +00:00
466d71db36 Try to be cool with pylint (resolving Major issue ?) 2022-03-15 07:32:08 +00:00
62244637bb Adding Subject Alt Names in certificate 2022-03-14 20:30:24 +01:00
d4a1efba78 Appease the linter 2022-03-13 09:26:38 -04:00
6e4435c86f Add Full support for backup status 2022-03-13 06:36:44 -04:00
33cad6afa8 Add percentage to backups page
Helper designed to be used for support logs as well.
2022-03-11 00:19:05 -05:00
319e06cd10 Add backend percentage to backups 2022-03-09 23:45:49 -05:00
affcc14245 Fix circular imports
I'm a silly
2022-03-08 05:44:26 +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
55852de3d9 Fix cursor showing as text highlight not hand 2022-03-04 17:58:18 -05:00
61ac97c02e Add unexecuted clear. Add option to compress backups 2022-03-02 12:55:49 -05:00
826d4d081f Improve session.lock checking. 2022-03-02 09:48:03 -05:00
5d6ada23a4 Fix visual file loading order. Fix zip imports where directories were not being copied 2022-03-01 16:54:06 -05:00
c4f706d415 Rework of files handling and added exclusions selection for backups. 2022-03-01 01:02:30 +00:00
26014d0e86 Revert "Merge branch 'xithical-fixes' into 'dev'"
This reverts merge request !173
2022-02-28 04:40:33 +00:00
008b7f4ade Run file tree serving thorugh ajax handler alone 2022-02-27 19:29:30 -05:00
4bcb91d1d5 Add mostly functional front-end for backup exclusions 2022-02-27 16:37:48 -05:00
e7d78cadd4 Initial frontend for backup omissions 2022-02-27 16:15: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
feaecf9016 Fix critical bug in fatal text formatting causing terminal to not work 2022-01-21 21:39:02 -05:00
0812d9ca02 Add fatal to logging 2022-01-21 21:36:19 -05:00
93857f90db JWT login and multi API keys! 2022-01-15 02:23:50 +02:00
39ccb83008 Fix bug where backkups could not be restore. Directly caused by the changes made in server zip import 2022-01-10 00:10:03 -05:00
4d636cce1b add working zip import selection functionality 2022-01-09 22:49:03 -05:00
deeff1717b adding tempdir back 2022-01-09 22:27:43 -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
369ac7ad15 initial changes for zip imports selection 2022-01-09 18:04:54 -05:00
a1c67009c4 Remove crafty_managed.txt from showing up in files listing in crafty. managed.txt will still show up in dir. 2022-01-09 02:07:18 -05:00
74b416b93f Fix rename value showing up as null 2022-01-09 00:09:18 -05:00
7dd24b6b15 Improved File Loading, Fixed Port checking 2022-01-08 23:03:45 +00:00
5d6cbf6a4f add port checking stuff 2021-12-21 17:39:24 -05:00
c9908a3e0f Add sorting to filelist 2021-12-21 17:36:49 -05:00
460472fe9d Fix weird caching thing causing slow folder opening on files 2021-12-21 17:33:59 -05:00
3e2d2c89ee hotfix for failed scandir 2021-12-21 16:11:48 -05:00
3ed304c378 Add fix for port checker. We'll see if this works this time. 2021-12-21 15:58:48 -05:00
2afecf8fab Add improved file functions.
Add sort in filenames
2021-12-21 15:04:32 -05:00
bc164fef67 Add timeout to telnet. 2021-12-10 04:52:37 +00: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
73fbf19088 Add fix for windows Administrator lockout 2021-11-29 22:21:19 +00:00
79284a9094 Add potential fix for windows admin lockout 2021-11-29 16:56:17 -05:00
a19ba7dbb6 Backup Restore/Root Disable 2021-11-29 21:22:46 +00:00
78834c1ed0 Fix bug where general user can change working directory and potentially destroy a system.
Initial commit for path traversal for server config only.
2021-11-27 21:52:49 -05:00