Commit graph

102 commits

Author SHA1 Message Date
KuJoe
013372dbb8 Reapply "Removed dark theme"
Some checks failed
PHPMD / Run PHPMD scanning (push) Has been cancelled
Psalm Security Scan / php-security (push) Has been cancelled
This reverts commit 1af69f2a60.
2025-03-26 19:58:26 -04:00
KuJoe
1af69f2a60 Revert "Removed dark theme"
This reverts commit 25d5fffd5f.
2025-03-26 19:50:37 -04:00
KuJoe
25d5fffd5f Removed dark theme
The CSS wasn't being maintained so I've removed the dark theme for now, in the future it will be added back once a better theme is available.
2025-03-26 19:41:58 -04:00
KuJoe
adcdbdc242 Update account.php
Some checks failed
PHPMD / Run PHPMD scanning (push) Has been cancelled
Psalm Security Scan / php-security (push) Has been cancelled
Prevent changing the staff role for the "super admin" (ID 1).
2025-03-10 19:31:41 -04:00
KuJoe
162e252134 Made install easier.
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
2025-03-10 09:05:17 -04:00
KuJoe
5b0fedeaa0 Updated navigation and settings.php
Some checks failed
PHPMD / Run PHPMD scanning (push) Has been cancelled
Psalm Security Scan / php-security (push) Has been cancelled
2025-03-06 12:42:02 -05:00
KuJoe
26226f0741 Replace logo/favicon
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
2025-03-05 22:45:43 -05:00
KuJoe
f1e88d8a51 Fixed importing VMs and node deletions
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
2025-03-05 21:07:03 -05:00
KuJoe
077e1d6aff Update README.md
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
2025-03-05 11:47:26 -05:00
KuJoe
c64f203d42 Adding DB field for bandwidth accounting
Will be used in the future (Issue #13 )
2025-03-05 11:44:03 -05:00
KuJoe
f6ce5252f2 Cleaned up IP and ISO functions
Added the deleteISO function, prepped addIP function for issues #2 #11 and #13
2025-03-05 11:41:49 -05:00
KuJoe
5963ecb5f4 Update install.php
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
Fixed some code to reduce the steps needed for new installs (and added better error checking).
2025-03-04 20:37:03 -05:00
KuJoe
42fd519d86 Added function to update nodes with new scripts
Last pieces for issue #5
2025-03-04 20:29:40 -05:00
KuJoe
eed93200ef Update update.php
Reduced cyclomatic complexity
2025-03-04 19:33:18 -05:00
KuJoe
e529ad6f48 Update update_db.php
Cleaned up functions.
2025-03-04 19:27:13 -05:00
KuJoe
e78f3d4cc0 Setting up automatic updates
Laying the groundwork for issue #5
2025-03-04 19:09:22 -05:00
KuJoe
248ea0972f Added proper logging and reporting.
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
This is just an initial pass of retrofitting the code to handle better logging and reporting (issue #3), but more work may be required.
2025-03-04 12:56:18 -05:00
KuJoe
af35c6f5d4 Update node.php
Some checks failed
PHPMD / Run PHPMD scanning (push) Has been cancelled
Psalm Security Scan / php-security (push) Has been cancelled
2025-03-02 18:54:17 -05:00
KuJoe
7dcd2b80b4 Updated backup/restore process
Fixed a few minor bugs, better error checking and reporting, and prevented multiple actions from running at the same time.
2025-03-02 18:13:07 -05:00
KuJoe
b26535a115 Tweaked logging functions and DB. 2025-03-02 17:22:37 -05:00
KuJoe
fd38eef7d6 Adding IP management feature
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
2025-03-01 21:35:13 -05:00
KuJoe
72961db019 Fixed createVM/destroyVM functions
Some checks failed
PHPMD / Run PHPMD scanning (push) Has been cancelled
Psalm Security Scan / php-security (push) Has been cancelled
Add NIC to DB on createVM and properly delete disk on destroyVM.
2025-02-28 18:19:44 -05:00
KuJoe
a2b1db9d00 Merge branch 'main' of https://github.com/KuJoe/kontrolvm
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
2025-02-27 19:06:01 -05:00
KuJoe
91acba65a9 Update README.md 2025-02-27 19:05:51 -05:00
KuJoe
0b79e82f7d
Update dependabot.yml 2025-02-27 18:59:42 -05:00
KuJoe
d3090c7307
Create dependabot.yml 2025-02-27 18:57:45 -05:00
KuJoe
590dfd5651 Update node.php
Fix code scanning alert #485
2025-02-27 18:50:05 -05:00
KuJoe
9c7dd70c6d Added networking functionality
Allows managing virtual NICs and networks (resolves issue #8 and partially #16). Also fixes a bug with the VNC password being saved to DB.
2025-02-27 15:08:11 -05:00
KuJoe
262830f7a6 Updated navbar
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
Updated navbar to reflect user roles.
2025-02-26 19:00:07 -05:00
KuJoe
4204d7a6d1 Added importVMs function
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
Added feature to (mostly) resolve issue #15 (disk import logic needed)
2025-02-26 16:19:25 -05:00
KuJoe
ef7e779266 Added user roles/levels
Resolved #17
2025-02-26 15:03:36 -05:00
KuJoe
0f0705f555 Update DB, clusters, and theme.
Updated DB column names, added cluster management functions, and updated navigation menus.
2025-02-26 11:28:24 -05:00
KuJoe
f42c6797e8 Backup/restore functionality.
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
Added backup management and the ability to perform restores. (Issue #9)
2025-02-25 18:03:58 -05:00
KuJoe
ef5e9e0836 Continued work on backup feature 2025-02-25 13:13:25 -05:00
KuJoe
7699899409 Update vm.php
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
Fixed date formatting of backups.
2025-02-24 22:07:55 -05:00
KuJoe
d18397942e Adding backup feature basics and fixing disk management 2025-02-24 22:04:22 -05:00
KuJoe
a060a70470 Fixed new VM deployments
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
2025-02-23 21:00:59 -05:00
KuJoe
7a26ab29a9 Update functions.php
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
Fixed commands to mount/unmount ISOs when the VM is not running.
2025-02-23 16:54:38 -05:00
KuJoe
f9ac906c6f Updated IP functions
Some checks failed
PHPMD / Run PHPMD scanning (push) Has been cancelled
Psalm Security Scan / php-security (push) Has been cancelled
2025-02-21 12:48:21 -05:00
KuJoe
dbf26a255d Adding logging functions and report.
Some checks failed
PHPMD / Run PHPMD scanning (push) Has been cancelled
Psalm Security Scan / php-security (push) Has been cancelled
Related to issue #3
2025-02-18 14:25:58 -05:00
KuJoe
bcd201030b Adding proper logging
Some checks failed
PHPMD / Run PHPMD scanning (push) Has been cancelled
Psalm Security Scan / php-security (push) Has been cancelled
2025-02-17 13:40:45 -05:00
KuJoe
81d9e9770e Updated README
Some checks are pending
PHPMD / Run PHPMD scanning (push) Waiting to run
Psalm Security Scan / php-security (push) Waiting to run
2025-02-16 19:31:31 -05:00
KuJoe
d5885ef825 Merge branch 'main' of https://github.com/KuJoe/kontrolvm 2025-02-16 19:28:06 -05:00
KuJoe
a077f03422 Updated update.php and added auto DB backup.
dbBackup.php runs every 24 hours when home.php is visitied. A cronjob is needed for scheduled backups. Addressed issue #4
2025-02-16 19:27:58 -05:00
KuJoe
8ae741061b
Update issue templates 2025-02-16 18:42:06 -05:00
KuJoe
2d8438bf40 Create update.php
Creating an update.php file to update the database as needed.
2025-02-16 18:26:08 -05:00
KuJoe
0c507312fe Cleanup updateNode and editNode functions. 2025-02-15 21:34:06 -05:00
KuJoe
a78a809ca3 Cleaned up editVM function 2025-02-15 21:13:39 -05:00
KuJoe
fa863312d0 Update functions.php
Cleaned up createVM function.
2025-02-15 20:53:37 -05:00
KuJoe
13d30d4e17 Add disk management feature
Added the ability to add, remove, and resize disks for VMs.
2025-02-15 18:21:44 -05:00