Age | Commit message (Collapse) | Author | Files | Lines |
|
Fixes stale import statements. The dashboard can now come up and we can run our
unit tests
Change-Id: I7189afb2cd37aaa2492de065c236b6aa9a35de5b
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Change-Id: Ice88f53135f57aca8e2de4d69274e7d490f981a4
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
Change-Id: I714b6054bfc199d55de9619672768f8fc1355747
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
|
|
|
|
Removes a redundant name field and adds an
explicit ForeignKey mapping between Interface
and InterfaceProfile
Change-Id: I3472ef53b889d8d5557e4f083a15940c2022877d
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
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>
|
|
This implements Host model's "release" method and replaces
an instance of Network to PhysicalNetwork.
Change-Id: I99b0bedbde2dcd63411cbb1fbf9b4905fc9570b1
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
|
|
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>
|
|
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>
|
|
- 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
|
|
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
|
|
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>
|
|
|
|
Change-Id: I97f4965e8522cac1ceb5c0492e9aa0a2e128d266
Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
|
|
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>
|
|
|
|
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
|
|
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>
|
|
Change-Id: I7d954a636e5db0a8d473eaab6d20cc6d177c9c74
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
|
|
Change-Id: I70b35ee7f62d8b2f22c8677e6c817c3e6a9b3412
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|
|
|
|
Fixes old tests and adds some more.
Also fixes linting errors
Change-Id: If84f0ed2dab5f9ffa7ce2deb92e058b0076d9154
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
|
|
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>
|
|
Removes or upgrades the dependencies in requirements.txt
Change-Id: I4e66348fc80259b4a2f64ca912556f7d847f0645
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
|
|
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>
|
|
|
|
|
|
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>
|
|
Change-Id: I542c0b7011a53e0d5c5fc052b39ef22d988fcb29
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
|
|
|
|
|
|
Change-Id: If167ae98226adfccfcfe2baa356370454a9931b4
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
|