aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-02-06Merge "Comments and Documentation"Parker Berberian42-144/+389
2020-01-30Adds Template OverridesParker Berberian66-9/+57
Changes the structure of the template directories to allow a new project to define their own set of override templates that inherit from a common base. I have slightly modified landing.html here as an example. In comming changes we will try to move all the "laas" specific content into the laas directory Change-Id: I46151be182de901f870debb247b305ea34ae77ba Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2020-01-28Comments and DocumentationParker Berberian42-144/+389
This change adds a ton of comments and documentation across all the code. Change-Id: Ifee0a2f534e8584f14b0f13af4dda8dc70eb7553 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2020-01-28Begin Resource RefactorParker Berberian13-142/+253
Begins the Resource Refactor by creating new interfaces to the resources through a Resource super class and using that new interface in the api Change-Id: I15a8179bfe915d2cde6d658d056e11cbd2c70e43 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-12-19style: make more consistent stylesJeremy Plsek24-648/+614
- Fix indentation in places - User settings have better labels - Lab info title now the same as others - Add "empty" sections to be more helpful to the user. They are not using links, since most of the "workflow" is handled by javascript. - Update padding in places to better line up with other elements - Add padding to bootstrap notifications (add check for messages to not just have random padding on the top of the page) - Remove unnecessary text in a form - Remove card-body from table-only or list-only cards (lists and tables are now flush with cards) - Add bg-danger to not-working hosts - Replace True/False text shown to the user with Yes/No - Remove ":" from some headers - Vertical buttons are now in a button group - Add pre-wrap class to avoid pre from breaking box sizing on the booking detail page - Reduce table indent in pod card and add table overflow scrollbar Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com> Change-Id: If09dca2f2b7386c44eeeb817ef76e8f748e456da
2019-12-17devel: use mounts for developmentJeremy Plsek4-9/+24
This removes the need to rebuild the containers every time for simple changes during development. This does not include python dependencies since those are installed globally in the container. (I would have done the same for JS dependencies, but it's used in the static files.) Removed the background flag for running in dev mode when using make. It's easier to kill the servers (^C) and view logs of the server without needing to call separate commands later. Nginx is disabled in dev mode since the server and static files are handled by Django instead. Update readme to reflect upon changes made. Signed-off-by: Jeremy Plsek <jeremyplsek@gmail.com> Change-Id: I7888ca89021fca313e1043a7f94b5e1b7e12498c
2019-12-03Add warning email and notificationBrandon Lo11-9/+215
This adds the abandoned changes made to the notification system and also adds a simple task to check for expiring bookings and sends out emails and notifications. Change-Id: I1530d19f41cf93626bb642e6b269f9ec55860b81 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-11-12Merge "Allow public marked grb and configs to be shown"Parker Berberian3-2/+40
2019-11-07Allow public marked grb and configs to be shownBrandon Lo3-2/+40
Change-Id: I97f4965e8522cac1ceb5c0492e9aa0a2e128d266 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-11-07Bumps PostgreSQL VersionParker Berberian1-1/+1
The builds were failing because of incompatible version with the psycopg2 dependency. Bumping this version to latest fixes the issue. Change-Id: Ib6a2a0acb6031d61f45349c27276e866b6e6f975 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-11-05Merge "Rename pharos to laas"Parker Berberian27-46/+46
2019-10-29Fyi this is what we have for committers for laasAric Gardner1-6/+45
Please ammend to remove the ones that should not be there. Once merged this will create a review in my gerrit and I will merge that which will update the ldap group to match this list. Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Change-Id: I72933fd6857c37d506a59055031d351c1658ba73
2019-10-08Rename pharos to laasAric Gardner27-46/+46
related to change: https://gerrit.opnfv.org/gerrit/c/releng/+/68161 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org> Change-Id: I4985eb116fd2c214f3639eb991f27b5d75b5ab7c Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-09-04Fix regression that broke 'Configure a POD' workflowParker Berberian1-0/+3
Change-Id: I7d954a636e5db0a8d473eaab6d20cc6d177c9c74 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-08-29Merge "Adds Downtime Awareness"Sawyer Bergeron7-2/+135
2019-08-15Merge "Checks if host is working"Sawyer Bergeron1-1/+2
2019-08-15Merge "Adds Hostname Validator"Sawyer Bergeron2-2/+64
2019-08-13Adds Downtime AwarenessParker Berberian7-2/+135
This adds a Downtime model and relevant operations so that the dashboard knows when a lab is down for maintenance and can act accordingly. This change doesn't modify the front end at all, but it does pass relevant downtime info to the templates so that they can be updated in a future change. Change-Id: Idb88b15838b949f352f11a31a1fce9749d283d28 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-08-07Checks if host is workingParker Berberian1-1/+2
Adds an additional check to ensure that the host is working before using it for a booking. Change-Id: I69731ca10ad59b6b774d04bdf6f3e628e6a07a79 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-17Add unit tests for SearchableSelectMultipleWidgetBrandon Lo1-5/+126
Removes behavior-based unit testing for this widget, instead adds in unit tests that will test each function. This makes sure that every function does what is expected. Change-Id: Ie97831480865defe5ab38c9499016c7fa3c12a62 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-17Merge "LAAS-44: Unit Test Javascript"Sawyer Bergeron6-0/+3944
2019-07-16LAAS-44: Unit Test JavascriptBrandon Lo6-0/+3944
Add Karma, Mocha, and Chai NPM packages to allow for browser based front-end JavaScript testing. Not all functions are tested, but a lot of the required behavior is. This allows for new JS unit tests in future patches. Change-Id: I2ac2a865ed3a458d8f5ebdeb7c2b4defda24fd41 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-15Merge "Fixes Building and Deploying Containers"Sawyer Bergeron1-8/+4
2019-07-10Fix DependenciesParker Berberian1-0/+2
An earlier patch changed dependencies, but did not change the settings.py app, which breaks a new install Change-Id: I398c2dabf9d46753fa36fb12cad25783c5b19fae Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-10Fixes Building and Deploying ContainersParker Berberian1-8/+4
By not mounting the local directory in the container, we avoid the problem of the static files being overwritten. This change forces you to run `make build; make dev-up` for *every* change, even templates. Change-Id: I9ba3d5711dab7aa86773fbf392fca9c92f042702 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-10Merge "minor UI fixes"Parker Berberian3-5/+12
2019-07-10minor UI fixesSawyer Bergeron3-5/+12
Change-Id: I70b35ee7f62d8b2f22c8677e6c817c3e6a9b3412 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-10Merge "Fixes and adds Tests"Sawyer Bergeron12-285/+305
2019-07-10Fixes and adds TestsParker Berberian12-285/+305
Fixes old tests and adds some more. Also fixes linting errors Change-Id: If84f0ed2dab5f9ffa7ce2deb92e058b0076d9154 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-08Merge "Add 'no messages available' to empty inbox"Sawyer Bergeron1-3/+17
2019-07-08Merge "Update Dependencies"Sawyer Bergeron3-19/+5
2019-07-08Add 'no messages available' to empty inboxBrandon Lo1-3/+17
Added a simple check to see if the list element had no children, and if so, it would add a simple message saying that no messages are available. Change-Id: I6f3d40a6355502bc621ce4d19f556d4733877200 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-08Update DependenciesParker Berberian3-19/+5
Removes or upgrades the dependencies in requirements.txt Change-Id: I4e66348fc80259b4a2f64ca912556f7d847f0645 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-08Merge "Hacking on AJAX"Sawyer Bergeron15-570/+243
2019-07-08Merge "Update Link to Point to Wiki"Sawyer Bergeron1-1/+2
2019-07-08Hacking on AJAXParker Berberian15-570/+243
This change incorporates the multiple changes we've made in the past few days in order to actually get AJAX working. Change-Id: Ia61a0395e7dbac26a143ca6e15049e6a4bdc8b0d Signed-off-by: Parker Berberian <pberberian@iol.unh.edu> Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-08Merge "Marks all Make Targets as Phony"Sawyer Bergeron1-0/+2
2019-07-08Merge "Change dropdown and selection list"Parker Berberian3-18/+41
2019-07-08Redesign multiple select filter widgetBrandon Lo4-30/+28
Removed the right border on the lab selection box so that it looks better on mobile, replaced with a rounded border around the content. Also fixed the button click bug where it wouldn't filter the images list. It now properly processes the selected host and disables images accordingly. Change-Id: I1dca1962a81e379f6ae3f7c006d6033bdd9f6ad8 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-03Update Link to Point to WikiParker Berberian1-1/+2
Change-Id: I542c0b7011a53e0d5c5fc052b39ef22d988fcb29 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-03Merge "Unify Form Submission"Sawyer Bergeron6-31/+55
2019-07-03Merge "Remove onleave + make form id's consistent"Parker Berberian11-107/+10
2019-07-02Remove onleave + make form id's consistentSawyer Bergeron11-107/+10
Change-Id: If167ae98226adfccfcfe2baa356370454a9931b4 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-02Unify Form SubmissionParker Berberian6-31/+55
Creates a single way to do form submission with hooks to run callbacks. Change-Id: I470ab56219c28c35fe3236b30a0ac65e29236af6 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-07-02Change dropdown and selection listBrandon Lo3-18/+41
Fix selection list text from overflowing Add ellipses to overflowing text Make dropdown z-index 2 Increase size of dropdown Change delete button to simple X Add title on hover to result entries Change-Id: Ic274586e6bdf6e188efd147eb442660a99878e97 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-02Refactor Workflow ManagerParker Berberian5-61/+76
Refactors wf manager according to: https://jira.opnfv.org/browse/LAAS-31 Change-Id: I72b4b0b808bb77846f44787fdd146f1053c047b5 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu> Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-07-02Merge "Reduce forms to required content"Sawyer Bergeron5-227/+224
2019-07-02Reduce forms to required contentBrandon Lo5-227/+224
Change iframe to div and ajax as a workaround Add css and js to avoid errors in parent locations Change-Id: I22a17ad5e5e04ff7112bd4e6ed98ba63d150fc15 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-07-02add post to steps (LAAS-32)Sawyer Bergeron7-176/+49
Change-Id: I3fa53c399f914d7daa8ffb5d8640a153de555421 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2019-06-28Merge "Replace and change CSS"Sawyer Bergeron39-2127/+1086