Commit graph

379 commits

Author SHA1 Message Date
Will Nilges
5a28460db0 Check if vnc_target is None before trying to use
Haha oops
2022-08-31 21:33:34 -04:00
Will Nilges
737c9f9367 Fix broken VNC on dev environment
I made an "oopsie" and hardcoded the port, so now that's configurable,
and also fixed my local .env file.

I should update the README
2022-08-31 20:35:31 -04:00
Willard Nilges
4f7655ca6b
Merge pull request #165 from ComputerScienceHouse/willnilges/fix-vmid-crash
Fix vnc target redis crash
2022-08-31 20:33:07 -04:00
Will Nilges
60d4e89404 linttttttt 2022-08-25 23:46:22 -04:00
Will Nilges
63a2bab3cd Fix vnc target redis crash 2022-08-25 23:36:41 -04:00
Willard Nilges
40ab5a31ee
Add vnc port to readme 2022-08-25 20:46:23 -04:00
Willard Nilges
b3d43f8d21
Merge pull request #158 from ComputerScienceHouse/willnilges/remove-ssh
Remove SSH functionality from Proxstar
2022-08-18 20:02:44 -04:00
Will Nilges
125d7fae51 Remove target from targets file in tasks
This probably isn't necessary and will probably error out....
2022-08-18 19:51:58 -04:00
Will Nilges
433c845a35 Use Redis to link VNC tokens to VMID 2022-08-18 19:51:56 -04:00
Will Nilges
aa1c4834f4 Remove deprecated library
No, seriously
2022-08-18 19:51:55 -04:00
Will Nilges
8d4a7d52a9 Remove SSH functionality to Proxmox 2022-08-18 19:51:50 -04:00
Will Nilges
c809d70c68 Remove old TODO 2022-07-29 22:00:02 -04:00
Willard Nilges
2c17d6988f
Update VNC functionality for Proxmox 7 (#148)
Chown `targets`, Add run and kill scripts

Lol Joe figured it out

* Dude it works holy shit

We need to fix some logistical bugs, probably, and also like remove dead
code lol

* Open VNC session on the node that the VM belongs

Figured out why I couldn't open a session on anything but 01. It was
because I was making the API call on proxmox01-nrh. So that's where the
session opened. I hope that by doing this, it will balance the load
(what little there is) from VNC sessions.

* Update websockify-related tasks

* Remove SSH key from build

* Add option to specify VNC port.

Should be 443 for OKD, probably 8081 for development.

This hosts a smattering of fixes, acutally uses gunicorn properly(?),
launches websockify correctly, and introduces MORE DEAD CODE!

TODO: Fix the scheduling system

* Make things not crash as much :)

* Remove obviously dead code

There's still some code in here that may require more careful
extraction, testing, and review, so I'm saving that for another PR.

* Fix Joe's complaints

* Replace hardcoded URL
2022-07-29 20:56:00 -04:00
Willard Nilges
3bad0f003c
Merge pull request #155 from ComputerScienceHouse/willnilges/for-the-badge
Add Python Version badge
2022-07-26 11:49:02 -04:00
Willard Nilges
c0ec5d9814
Add Python Version badge
Because why not?
2022-07-26 11:08:06 -04:00
Willard Nilges
d0c3bdef55
Merge pull request #146 from ComputerScienceHouse/willnilges/generated
Mark schema as generated
2022-06-29 21:00:27 -04:00
Will Nilges
39f77d3f99 Mark schema as generated 2022-06-29 20:55:43 -04:00
Willard Nilges
20cdfc332e
Merge pull request #145 from ComputerScienceHouse/disk-increase
Increase disk allotment
2022-06-29 16:38:41 -04:00
Devin Matte
20f523b2ca Increase disk allotment 2022-06-29 16:33:04 -04:00
Galen Guyer
493fbd13f1
Merge pull request #143 from ComputerScienceHouse/wilnil/datadog
Update + Enable `ddtrace`
2022-06-27 10:17:00 -04:00
Will Nilges
3463a39e46 Add ddtrace 2022-06-25 22:16:26 -04:00
Will Nilges
013b91f2f0 Move schema, clean up postgres dockerfile 2022-06-25 22:09:50 -04:00
Willard Nilges
d016590d2f
Merge pull request #140 from ComputerScienceHouse/wilnil/hacking
Use Dockerfile to make development and deployment easier
2022-06-25 21:45:09 -04:00
Will Nilges
401902b4a9 Move large.sql into the repo 2022-06-25 21:44:40 -04:00
Will Nilges
ce35fc90a0 Make proxstar work in Podman
This is the commit message #4:
Basic functionality works, VNC is still trash fire
Don't use config_local
Add a workdir
RUN touch proxmox_ssh_key, update permissions
Update development instructions
Add some comments to the template file, Make it easier-ish for the kiddos.
2022-06-25 21:43:42 -04:00
Will Nilges
2dbaedde4e Update requirements.txt 2022-06-18 21:55:25 -04:00
Will Nilges
57ab376296 Move "developing" to "HACKING"
It sounds cooler
2022-06-18 21:54:53 -04:00
Will Nilges
be80216eeb
Merge pull request #135 from ComputerScienceHouse/fix-for-2022
Fixing Proxstar for 2022 deps
2022-05-29 20:18:50 -04:00
Devin Matte
a67380c500 Removing .items() 2022-05-28 19:03:13 -04:00
Devin Matte
7a2c3374ca Update to latest noVNC 2022-05-28 18:20:04 -04:00
Devin Matte
971599027f Update Flask pin 2022-05-28 15:42:11 -04:00
Devin Matte
f81a3914f3 Add ddtrace for datadog monitoring 2022-05-28 15:30:26 -04:00
Devin Matte
cfa8323f28 Pinning markupsafe 2022-05-28 15:21:29 -04:00
Devin Matte
a6f446f0cf Fixing version pinning 2022-05-28 14:43:55 -04:00
Devin Matte
9d2eec92cb Reverting rq changes, pinning click 2022-05-28 14:38:22 -04:00
Devin Matte
7bf18eea74 Updating rq and sentry 2022-05-28 14:34:49 -04:00
Devin Matte
62490d6858 Fixing black and pylint 2022-05-28 14:28:26 -04:00
Devin Matte
d660549200
Fix dep version 2022-05-27 15:34:26 -04:00
Devin Matte
d0794c9fa5
Update apt before installing deps 2022-05-27 15:33:19 -04:00
Devin Matte
9d4b793a87
Pin jinja2 version
Pin to last of 2.x
2022-05-27 15:29:56 -04:00
Galen Guyer
6f79b96a83
Merge pull request #131 from erwijet/master
update jquery CDN
2022-04-13 19:56:44 -04:00
Tyler Holewinski
2647aa8474
update jquery CDN 2022-04-13 19:56:06 -04:00
Will Nilges
8e5f173a94
Merge pull request #111 from harmonherring/boot-order
Boot order handling
2021-11-11 19:25:21 -05:00
Will Nilges
d36a5a3355 Add volume to proxstar-postgres 2021-10-21 00:14:18 -04:00
Will Nilges
6ab066d5b6 Fix docker bad practice 2021-10-21 00:14:18 -04:00
Will Nilges
48e4b6e820 Elaborate on LDAP DN details 2021-10-21 00:14:18 -04:00
Will Nilges
e3783a4919 Move schema to homedir, add more docs
Update configs
2021-10-21 00:14:11 -04:00
Will Nilges
33a8cdb523 Expand options to not use starrs. 2021-10-21 00:14:11 -04:00
Will Nilges
c641ba1d1c Update Postgres container w/ required starrs pkgs
Streamline creation of database

The user no longer has to configure the database by themself.
2021-10-21 00:14:04 -04:00
Will Nilges
74a0990997 Fix hardcoded variables, tweak schema/dockerfile
Change config.local.py to config_local.py

Fix 2AM Willard Moments™

Made a few errors last night that should be corrected.
2021-10-21 00:13:54 -04:00