Commit graph

349 commits

Author SHA1 Message Date
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
Will Nilges
262b5b10eb Add schemas for development databases
These schemas need to be imported for development purposes.

Update Database schemas, add docker compose
2021-10-21 00:13:35 -04:00
Will Nilges
b3300de18e Add Docker Compose for development
Spins up Redis and Postgres for development purposes
2021-10-02 17:25:00 -04:00
Will Nilges
68f9fd491d Draft instructions for full proxstar dev environ
A comprehensive™ instruction booklet for setting up your own instance of
Proxstar to mess around with. This is _roughly_ what I had to do to get
this all working.
2021-10-02 17:20:12 -04:00
Harmon Herring
9ae763e6ea Remove disabled boot devices from boot order display
Disabled boot devices will no longer show up in the boot order
display on the vm details page in the resources section.
2021-06-18 00:45:40 -04:00
Harmon Herring
b9860a10ff Update UI boot order selection element
Update the UI boot order selection element. It has been modified to
support the new 'order=' format for the Proxmox boot order option
in a more intuitive way for the user. The new element allows users
to enable any bootable device and choose the order for these
devices to boot in.

The new UI element is a table with four columns. The first column
indicates the order of the corresponding device. The second column
indicates whether the device is enabled as bootable. The third
column contains the device name. The fourth column contains the
device description. The order of the columns is changed by
dragging, enabled by SortableJS.

In cases of legacy nodes, the older dropdown boxes are used.
2021-06-18 00:09:22 -04:00
Harmon Herring
fae4e9f059 Clean VM boot order code 2021-06-10 18:06:10 -04:00
Harmon Herring
085f5c09d8 Update format of VM boot order JSON
Change format of the VM boot order JSON. This new format allows
the UI to mimic the Proxmox boot order selection system.

The new format is as follows
{
  'legacy': False,
  'order': [
    {
      'device': 'virtio0',
      'description': 'local-lvm:vm-102-disk-0,size=8G',
      'enabled': True
    },
    ...
  ]
}
2021-06-10 17:05:37 -04:00
Harmon Herring
6da1095d1c Propose new boot order to users
Propose new boot order to owners of VMs that exist on nodes
running Proxmox version 6.3 or greater.

Instead of returning the legacy boot order to the UI, a new boot
order is created and sent instead. The new order mimics the old
order, but is compliant with the new format. The new order will
take effect only if the user explicitly updates.
2021-05-27 19:21:06 -04:00
Harmon Herring
27a6b2136e Create method to get a vm's cd-roms
Create a method to get the drives attached to a vm that have
media type cdrom.
2021-05-27 15:02:25 -04:00
Harmon Herring
2f0b113b05 Revert "Override boot order defaults on vm creation"
This reverts commit d44698a959.
2021-05-22 16:52:40 -04:00
Harmon Herring
c16c383b36 Update boot device order parsing
Update boot order parsing so as to be compatible with the new
Proxmox syntax for virtual machine boot device ordering.

Maintain support for the deprecated boot device order syntax. Virtual
machines using the deprecated syntax are not updated to use the new
syntax.
2021-05-22 03:47:45 -04:00
Max Meinhold
ff094bc686
Merge pull request #99 from harmonherring/dropdown-navbar
Update bootstrap js cdn link
2021-05-19 15:33:50 -04:00
Harmon Herring
488caa323e Update bootstrap js cdn link
Update the link to the bootstrap js cdn. As a result, the navbar
no longer fails to dropdown.
2021-05-18 17:55:22 -04:00
Max Meinhold
f8af77469e
Merge pull request #84 from mxmeinhold/boot-order-and-fixes
Boot Ordering and other fixes
2021-01-02 13:45:55 -05:00
Max Meinhold
d44698a959
Override boot order defaults on vm creation 2020-12-31 18:44:44 -05:00
Max Meinhold
b02c6bfbc9
Fix config.local.py in tasks
Follow up from b95e4468 in tasks.py
2020-12-31 18:44:06 -05:00
Max Meinhold
778a5c3f8e
Rename get_boot_order -> set_boot_order
s/get/set, since it sets the boot order
2020-12-31 18:37:13 -05:00
Max Meinhold
c49ae38e10
Merge pull request #82 from mxmeinhold/readable-repr
Enrich Sentry traces using a basic repr
2020-12-28 18:13:38 -05:00
Max Meinhold
3e1608aca1
Add black to readme 2020-12-28 14:57:19 -05:00
Max Meinhold
38e8e71cd6
Create basic __repr__ for all classes for debug
Help to make sentry traces more readable by simply printing out each
class's __dict__.
2020-12-28 14:55:40 -05:00
Devin Matte
bb6e4696d0
Merge pull request #80 from ComputerScienceHouse/datadog_rum
Adding datadog RUM to Proxstar
2020-12-25 18:39:16 -05:00
Devin Matte
2876971795 Adding datadog RUM to Proxstar 2020-12-25 18:05:18 -05:00
dependabot[bot]
bea2008754
Bump websockify from 0.8.0 to 0.9.0 (#75)
Bumps [websockify](https://github.com/novnc/websockify) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/novnc/websockify/releases)
- [Changelog](https://github.com/novnc/websockify/blob/master/CHANGES.txt)
- [Commits](https://github.com/novnc/websockify/compare/v0.8.0...v0.9.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-25 17:39:55 -05:00
Devin Matte
ecd4127972
Revert "Upgrading to pyoidc 3.7.0" (#78) 2020-12-22 17:37:51 -05:00
Devin Matte
a58a23cc52
Merge pull request #69 from ComputerScienceHouse/py_oidc_upgrade
Upgrading to pyoidc 3.7.0
2020-12-22 17:00:46 -05:00
Devin Matte
30262fd360
Merge branch 'master' into py_oidc_upgrade 2020-12-22 15:51:28 -05:00
dependabot[bot]
c5280a93ad
Bump flask from 1.0.2 to 1.1.2 (#77)
Bumps [flask](https://github.com/pallets/flask) from 1.0.2 to 1.1.2.
- [Release notes](https://github.com/pallets/flask/releases)
- [Changelog](https://github.com/pallets/flask/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/flask/compare/1.0.2...1.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 15:08:35 -05:00
dependabot[bot]
f2df36a1ab
Bump paramiko from 2.4.2 to 2.7.2 (#53)
Bumps [paramiko](https://github.com/paramiko/paramiko) from 2.4.2 to 2.7.2.
- [Release notes](https://github.com/paramiko/paramiko/releases)
- [Changelog](https://github.com/paramiko/paramiko/blob/master/NEWS)
- [Commits](https://github.com/paramiko/paramiko/compare/2.4.2...2.7.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 14:40:45 -05:00
dependabot[bot]
32feaf93c1
Bump python-dateutil from 2.7.3 to 2.8.1 (#50)
Bumps [python-dateutil](https://github.com/dateutil/dateutil) from 2.7.3 to 2.8.1.
- [Release notes](https://github.com/dateutil/dateutil/releases)
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS)
- [Commits](https://github.com/dateutil/dateutil/compare/2.7.3...2.8.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 14:27:01 -05:00
dependabot[bot]
e06659b4ab
Bump gunicorn from 19.9.0 to 20.0.4 (#70)
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 19.9.0 to 20.0.4.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/19.9.0...20.0.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-22 13:33:04 -05:00