Commit graph

229 commits

Author SHA1 Message Date
Jordan Rodgers
d9658aaf07 enable vm deletions, wait 7 days before deleting, fix emails, add rtp deletion email 2018-04-16 15:14:36 -04:00
Jordan Rodgers
61f2fdaa57
Merge pull request #5 from mfrancis95/master
Remove duplicate </body> tag
2018-04-11 14:30:21 -04:00
Michael Francis
226af9d7ad
Remove duplicate </body> tag 2018-04-11 13:04:42 -04:00
Jordan Rodgers
8a6d9e0168
Merge pull request #4 from mxmeinhold/themeswitcher
Integrates Themeswitcher
2018-04-09 22:30:30 -04:00
Max
5683f7cd3c
Integrates Themeswitcher 2018-04-09 22:29:19 -04:00
Jordan Rodgers
8808389b46 send vnc teardown commands to proxstar-vnc 2018-04-04 15:30:19 -04:00
Jordan Rodgers
03baef5be0 teardown ssh/vnc stuff after shutdown and reset requests 2018-04-02 13:47:57 -04:00
Jordan Rodgers
3f03d9ab69 remove SSH tunnel and VNC stuff for deleted VMs 2018-03-26 23:32:01 -04:00
Jordan Rodgers
e608c0dc10 properly validate hostname properly (hopefully for the last time) 2018-03-21 22:20:41 -04:00
Jordan Rodgers
7db17ab91d upgrade to bootstrap 4 2018-03-21 14:58:01 -04:00
Jordan Rodgers
7b38f00a69 fix ordering of boot order when reading request data 2018-03-19 15:19:34 -04:00
Jordan Rodgers
32f7c1eb01 add the logging back because it broke again 2018-03-19 15:09:49 -04:00
Jordan Rodgers
1f21d0a175 remove logging because it works now wtf 2018-03-19 14:33:50 -04:00
Jordan Rodgers
f189b00932 add logging to debug boot order issue on openshift 2018-03-19 14:28:04 -04:00
Jordan Rodgers
64b8d3983e add ability to change boot order, a lot more cleanup from conversion to classes 2018-03-18 22:18:20 -04:00
Jordan Rodgers
cefe605bb9 instead of getting all pools, try to get the pool and then create it on failure 2018-03-08 01:14:43 -05:00
Jordan Rodgers
88ef6daa8a check if job before verifying args 2018-03-08 01:02:53 -05:00
Jordan Rodgers
1e27f863c9 account for both paused and suspended vm states because proxmox is dumb 2018-03-07 02:24:58 -05:00
Jordan Rodgers
df100a25b8 add proper 404 and 403 pages 2018-03-07 01:49:42 -05:00
Jordan Rodgers
2317fddeac convert all names to lowercase 2018-03-07 01:20:02 -05:00
Jordan Rodgers
635e4c0f9f add rq dashboard for RTPs 2018-03-06 20:49:49 -05:00
Jordan Rodgers
786fd8ee2d add ability to view pending vm status on vm list page 2018-03-06 16:28:17 -05:00
Jordan Rodgers
3cc8268b9d change vm status paused to suspended 2018-03-04 18:02:29 -05:00
Jordan Rodgers
0d5b76c28e fix import hell... for now... 2018-03-02 00:10:09 -05:00
Jordan Rodgers
06920e1216 convert all vm and user operations to objects, lazy load some attributes, clean up some unneeded code/imports, sort rtp view before displaying 2018-02-28 03:12:18 -05:00
Jordan Rodgers
bea806e964 somewhat fix button colors and remove unused reset limits function 2018-02-24 18:33:04 -05:00
Jordan Rodgers
df8e1cf62c remove settings button in dropdown, add ability to edit templates 2018-02-24 17:12:53 -05:00
Jordan Rodgers
019dae3502 add db param for usage limits 2018-02-24 14:28:38 -05:00
Jordan Rodgers
e375e452e2 remove template desc, add way to resize disks 2018-02-22 18:29:40 -05:00
Jordan Rodgers
cebad26e6b properly readd targets during cleanup 2018-02-20 14:24:27 -05:00
Jordan Rodgers
e5e54d1239 add hourly cleanup of vnc pipelines 2018-02-20 02:01:33 -05:00
Jordan Rodgers
7166650a4a change route to console for vnc deployment 2018-02-20 01:15:57 -05:00
Jordan Rodgers
115909b5cd add cleanup code for vnc connections 2018-02-20 01:10:42 -05:00
Jordan Rodgers
b05109af83 workaround for cors issue 2018-02-19 23:49:26 -05:00
Jordan Rodgers
f84b205f15 rework console so migrating vms isnt dumb and ssh tunnels can be torn down 2018-02-19 23:31:02 -05:00
Jordan Rodgers
08821b0b75 stop creating users since console access works now 2018-02-16 02:54:57 -05:00
Jordan Rodgers
ece3cea8a5 add current_student to active check for user_dict 2018-02-14 16:59:06 -05:00
Jordan Rodgers
227060dd77 actually fail to other proxmox nodes, yapf everything 2018-02-14 01:25:14 -05:00
Jordan Rodgers
7aadd423e7 add allowed users setting for current students, replace all user stuff with user dict, add beginning of vnc cleanup 2018-02-14 00:57:28 -05:00
Jordan Rodgers
6d71f49a7a open console in new tab 2018-02-13 01:31:06 -05:00
Jordan Rodgers
be0cba852d actually use the right port when starting proxmox vnc session 2018-02-12 23:46:50 -05:00
Jordan Rodgers
63fd8c3e2f only add tunnel to list if it gets set up 2018-02-12 23:30:44 -05:00
Jordan Rodgers
545ca65930 ignore already set up ssh tunnels, use correct params for novnc 2018-02-12 23:29:18 -05:00
Jordan Rodgers
8e48bb1c95 start websockify once with gunicorn config 2018-02-12 21:48:00 -05:00
Jordan Rodgers
3b1740c641 add proxmox vnc command, check if targets file exists before retrieving entries 2018-02-12 21:25:06 -05:00
Jordan Rodgers
58863732af add sshtunnel requirement 2018-02-12 21:04:23 -05:00
Jordan Rodgers
576c6c1338 beginning of vnc work, hopefully some of this works 2018-02-12 20:55:09 -05:00
Jordan Rodgers
e0c564269f properly expire password upon user creation for template 2018-02-12 13:15:07 -05:00
Jordan Rodgers
d7541fe356 disable expiring password to troubleshoot 2018-02-12 12:49:06 -05:00
Jordan Rodgers
451f992d8f enabling VM stop on expire day, add logging for template provisioning 2018-02-12 12:22:46 -05:00