aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-06Fix migration and modelsParker Berberian4-2/+70
We missed a few migrations Change-Id: I58e1abb53e5295ec6c6228906d6eb2fd7fea0b84 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-01Merge "Enhance PDF/IDF Support"Parker Berberian6-181/+315
2019-03-01Merge "Add test utils and tests for quick booking"Parker Berberian10-327/+620
2019-03-01Add test utils and tests for quick bookingSawyer Bergeron10-327/+620
Change-Id: Ie76c6fe26622ca8363055b8ebbe0dc6deaed5824 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-03-01Enhance PDF/IDF SupportParker Berberian6-181/+315
Improves PDF template and code organization and adds an IDF template. To complete these templates, the lab must be able to report L3 network info and ipmi info at the least. A change to the API to allow for this has to be made. Change-Id: I4b9d2e73eb3940300f7e95fa2f9f4ddd0d606c60 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-27Update IPMI handlingParker Berberian4-1/+63
provides a way for the lab to report IPMI info to the dashboard. Necessary to allow the dashboard to fully generate a PDF for OPNFV deploy Change-Id: Ieef7a93e28b155ee90f3ffd3cfeedace332a6641 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-02-25Hides expired bookings in the "My Bookings" PageParker Berberian2-6/+45
This commit hides bookings that have ended from cluttering the "My Bookings" page. Change-Id: I0f98fbff97b1474e73a666aa0000e1923266fafb Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
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