Commit graph

361 commits

Author SHA1 Message Date
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
Jordan Rodgers
c2c91b9f37 remove secrets module for generating passwords until this works with python 3.6 2018-02-11 22:02:06 -05:00
Jordan Rodgers
4a2df4d979 remove ssh queue 2018-02-11 21:15:39 -05:00
Jordan Rodgers
f5a36d6f1e remove pickle fix and add pyc to gitignore 2018-02-11 21:12:00 -05:00
Jordan Rodgers
b38a4b71f1 update psycopg2 requirement, set max pickle version for ssh tasks 2018-02-10 14:41:22 -05:00
Jordan Rodgers
b5d4740131 remove latest version of pip from requirements 2018-02-10 13:30:17 -05:00
Jordan Rodgers
fe6325d22b use latest version of pip 2018-02-09 22:14:36 -05:00
Jordan Rodgers
615549502e remove extra logging, add separate queue for ssh tasks for python2 2018-02-09 22:05:48 -05:00
Jordan Rodgers
7514293fff add more logging for troublshooting 2018-02-08 19:21:57 -05:00
Jordan Rodgers
2d06bd0989 add logging for template issue 2018-02-08 19:11:28 -05:00
Jordan Rodgers
df39356c4d fix rq-scheduler version, most of templates is now working, fix javascript issues 2018-02-08 18:44:04 -05:00
Jordan Rodgers
5fb7f66624 add settings page, add way to add/remove ignored pools 2018-02-06 23:51:30 -05:00
Jordan Rodgers
ecd7809749 allow for multiple proxmox hosts in case one fails 2018-02-06 22:27:08 -05:00
Jordan Rodgers
423e5ad119 add db parameter for get_pool 2018-02-05 16:37:47 -05:00
Jordan Rodgers
85a5e74a6b only retrieve ignored_pools once, add paramter for get_pools in tasks 2018-02-03 00:05:20 -05:00
Jordan Rodgers
e96c8cf4cf add db paramter for get_user_usage 2018-02-02 15:32:37 -05:00
Jordan Rodgers
8fbae0a071 store ignored pools in db, check ignored pools when getting all pools 2018-02-02 15:18:50 -05:00
Jordan Rodgers
51de0b69af add default value for disk field when creating vms 2018-02-02 00:40:58 -05:00
Jordan Rodgers
96d1670d47 fix time for expiring vm task 2018-02-02 00:00:52 -05:00