aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-25Merge "Update Inbox Featureset"Parker Berberian9-30/+165
2019-02-25Update Inbox FeaturesetSawyer Bergeron9-30/+165
Inbox now supports marking unread, marking for deletion, and has a new UI Change-Id: Ia684056f70ecca31bbd71634f4d1d5415f7e5428 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-02-25Check for Host AvailabilityParker Berberian1-0/+25
Currently, if not enough hosts are free to fulfill a booking, booking creation will fail with an error message to the users. This commit adds a way to check if a given POD will be available and communicates to the user if not. Change-Id: Ib75d9ee4759cf991a5c985cb4a6f7baaaafbe8fa Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-22Fixed Selection of single hosts in quick bookingParker Berberian3-2/+4
Change-Id: I8ca860ee23f9df44e38da76d539729771d32c455 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-18Merge "Fixed all Flake8 errors"Parker Berberian10-33/+34
2019-02-12Fixed all Flake8 errorsParker Berberian10-33/+34
Change-Id: I1186429df8989461e2384f1f3e533c55cebfb1b4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-01Merge "Allow Users to Delete objects and Cancel Bookings"Parker Berberian11-63/+554
2019-01-29Fixed PTL ChecksParker Berberian1-5/+18
First, this commit correctly parses the gerrit urls and can redirect itself to the raw info file if the user provides the html rendered one. This commit also fixes the way it checks the user against the found PTLs. The returned data changed format when support was added for sub-PTLs and the checks were never updated. Change-Id: I5801d207ec823c718a5beb5d5e78ee5780ec65e0 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-29Allow Users to Delete objects and Cancel BookingsParker Berberian11-63/+554
A user can now delete thier own resources, configs, and snapshots as well as cancelling bookings. Change-Id: Ic8e4751feeb0b8fa0d76816b8df2d16729ad2828 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-28Merge "Add Tox commands to lint Python code"Parker Berberian1-0/+21
2019-01-28Merge "Remove broken API link"Parker Berberian1-5/+0
2019-01-28Add Tox commands to lint Python codeTrevor Bramwell1-0/+21
This adds tox jobs for running flake8. Flake8 is a syntax analyzer for python source code that combines the tools pyflakes and pep8 into one. This tool can be used to find syntax issues, unnecessary imports, and style violations, which all improve the code quality and readability. Change-Id: I7521c3a43ef4599eb12fd72e87a0c6ec0df61e7a Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2019-01-24Remove broken API linkParker Berberian1-5/+0
We moved away from the DRF for a lot of the more complex api interactions in 2.0, so the API link on the sidebar was broken. Change-Id: Id63d8d52d514f447bf282f40199f6ecc7322922b Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-23Fix Reimaging HostsParker Berberian2-8/+32
When a User wants to reimage a host, the dashboard needs to also refresh the network and ssh configurations. Otherwise a host is reimaged and becomes unreachable. Change-Id: I534f200498c9217bda81190861021c482e052a81 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-22Fixed timezone issue in the Snapshot WorkflowParker Berberian1-2/+2
The snapshot workflow was using the python datetime module directly, which breaks on the strict timezone requirements of the live dashboard. This commit uses the django timezone module instead Change-Id: I04b43b127bd3d8eb8ac72aa9c84e24a5f154a880 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-18Merge "Fix BookingDetail Template"Parker Berberian1-3/+3
2019-01-18Merge "Fix ConfigBundle not being set in quick deploy"Parker Berberian1-0/+1
2019-01-18Merge "Make landing page less sparse"Parker Berberian3-18/+60
2019-01-18Make landing page less sparseSawyer Bergeron3-18/+60
Change-Id: If661574fd0c62e208651507ccff844cf6f14e914 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-18OverHaul the Snapshot WorkflowParker Berberian10-31/+247
Makes the Snapshot workflow much prettier and more functional. Change-Id: Icdd66f64e6d336ad49ed3cf638a301d0ca92fda9 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-18Merge "Style Account pages"Parker Berberian6-111/+95
2019-01-18Style Account pagesParker Berberian6-111/+95
Adds some prettiness to the account pages that list bookings, etc Change-Id: I90508cfafba00380d67965a038dc54d1fac43f60 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-18Fix ConfigBundle not being set in quick deploySawyer Bergeron1-0/+1
booking.config_bundle was not getting set in quick deploy, making the booking detail page inaccurate Change-Id: If62518030cc5d1726cbc03efa745c38a99465881 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-18Allow for Hosts to be Re-ImagedParker Berberian5-50/+175
This change adds a button the user can press on thier booking detail page to reset thier host. They can choose to deploy any available image to thier servers (not just the one already used) Change-Id: I97a9869d2b38389c54f13173bb28a68cc52bb8d5 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-18Fix BookingDetail TemplateSawyer Bergeron1-3/+3
Booking detail view template did not properly reference diskprofile objects by their related name, so that area was blank in the rendered page Change-Id: Icedc12a6cd31a2422e26281e2b4f34750fb01bae Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-18Merge "Styled the Booking Statistics page"Parker Berberian1-2/+4
2019-01-18Merge "Add Quick-Booking Workflow"Parker Berberian15-96/+744
2019-01-18Add Quick-Booking WorkflowSawyer Bergeron15-96/+744
Users can now quickly provision a single-host pod without having to configure unecessary networking. This is intended to be analogous to the workflow used during LaaS 1.0, and to speed up the process of creating a booking for users who do not need more than a single host (for virtual deployments) Change-Id: Ia19cea9a42bbb1df57aad05af8f8ea821395664d Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-18Merge "Fix Multiple Select Filter Widget"Parker Berberian1-0/+1
2019-01-16Styled the Booking Statistics pageParker Berberian1-2/+4
Added some pretty CSS Change-Id: I8330f8de34ab22197bedad802b3696526c009ba4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-16Merge "Landing page now links to LaaS 2.0 wiki entry"Parker Berberian1-2/+2
2019-01-16Fix Multiple Select Filter WidgetParker Berberian1-0/+1
Fixed a bug in the widget that allowed multiple objects to be selected when only one was allowed. Change-Id: I623a041fa82a2f7ee178df782d21d100617eac3b Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-04Fix API serializationParker Berberian1-1/+4
Under special circumstances, the 'context' field may be empty and serialization will fail, but that field is optional so we will ignore errors. Change-Id: I2e1e47a2f7d507e45b171f80aa241c8026cfc1a5 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-04Landing page now links to LaaS 2.0 wiki entrySawyer Bergeron1-2/+2
Change-Id: I01dd7f671a21c9b9f06dede341d6ddf410f0e776 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-04Merge "Fixed Query for free hosts"Parker Berberian1-2/+6
2019-01-04Fix landing page directions for not-logged-in usersSawyer Bergeron1-3/+7
Users will see a more informative landing page that directs them to log in if they have not yet done so, rather than displaying actions they can not yet take and having a required login get triggered later Change-Id: I9812367930665614933551f780f4c6726ff3049c Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-04Fixed Query for free hostsParker Berberian1-2/+6
Change-Id: I05213a3521c5ffa6b311c9e11e9d593dd2098ebe Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-03Merge "Changed Button style class to btn-primary"Parker Berberian9-23/+21
2019-01-03Changed Button style class to btn-primaryParker Berberian9-23/+21
btn-primary has a handful of advantages over btn-default, including consistency across browsers and correctly styling non-button html tags p.s. vim is best Change-Id: I6e55a75a9fd48d64496fd83f43a7856af0c04cc0 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-03Alert users that ssh key is requiredSawyer Bergeron1-0/+5
Any users that have not uploaded an ssh key will see a message on the landing page that they need to upload one. Message is not seen by people who have already uploaded a key Change-Id: I01667e161521d801090173d47815abbeff094907 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-03Merge "Improve cleanup of hosts after booking"Parker Berberian1-6/+5
2019-01-03Merge "Removes log button in deployment"Parker Berberian1-0/+4
2019-01-03Merge "Requires a Jumphost per POD"Parker Berberian1-0/+7
2019-01-03Merge "Cleaning up look and feel"Parker Berberian2-24/+109
2019-01-03Cleaning up look and feelSawyer Bergeron2-24/+109
Network step is now much prettier Change-Id: I72487e3a5f30e4c0339734674c53d4661f9c0104 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-03Disable Edit ButtonsSawyer Bergeron4-4/+6
Edit buttons are currently not functional due to major changes in how the workflow works, so this commit disables them for the time being to avoid confusion Change-Id: I62dddbc25267e9da55c503b48fed4f05cea97c22 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-03Merge "Implement Segmented Workflows"Parker Berberian13-275/+238
2019-01-03Requires a Jumphost per PODParker Berberian1-0/+7
It was assumed but never enforced that each pod configuration elects at least one host as the "jumphost". This commit makes that a requirement when creating a configuration. Change-Id: If55f1aa231b3cba8713f325f158796d85466b02a Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-01-03Implement Segmented WorkflowsSawyer Bergeron13-275/+238
A major source of bugs has been how we've approached inlining workflows. We no longer inline them as of this commit, and instead use a stack structure. This commits the result of workflows to the database before other workflows try to read them, so we don't have to maintain a code path for when something is or isn't committed to db. This patchset allows for workflows to pass limited information to preset selections Change-Id: I3d040c7f3024c7420017ae4ec66a23219303dcb6 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2019-01-02Removes log button in deploymentParker Berberian1-0/+4
We had a button that would barf up XML logs for development but forgot to disable it for the live dashboard Change-Id: I1061ba967f077a103a7e1ae61d60d81cd9e4c443 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>