summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-26Gracefully Handle Missing Jenkins Utilization for Dev PodSawyer Bergeron1-19/+24
Jira: PHAROS-364 Change-Id: I0641c658914e600672151d7c0d1661acba794f0f Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-03-26Limit User Booking Length and ExtensionsSawyer Bergeron5-4/+67
Jira: PHAROS-363 Bookings can now only be 3 weeks upon creation with a maximum of 2 1 week extensions. Change-Id: I677770de3f62f188d23e60be6d71b42b25bf007e Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-02-28Merge "Allow Configuring 'DEFAULT_EMAIL_FROM' in Django"stable/fraserParker Berberian2-0/+2
2018-02-27Allow Configuring 'DEFAULT_EMAIL_FROM' in DjangoTrevor Bramwell2-0/+2
This sets the default 'FROM' address in the header of outgoing emails from the system. Making this configurable allows users to specify the address notification emails come from. Change-Id: Ibe229ef503847411f4879d5715392f816a455733 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-02-22Link AUP from dashboardSawyer Bergeron1-1/+5
Jira: PHAROS-361 Link and associated text below booking confirmation button now direct users to Wiki#AUP and inform them that they agree to those policies by continuing. Change-Id: I18953cc71691a03290cbce979fbf500081ca3c10 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-02-19Merge "Provide Interface for Booking Deletion"Parker Berberian5-4/+71
2018-02-19Provide Interface for Booking DeletionSawyer Bergeron5-4/+71
Jira: PHAROS-355 User can now delete their own booking by going to the detail view of their booking and clicking 'delete' Change-Id: I279da364c2a5dfd03b877d1236c610d0fef563bc Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-02-19Merge "Expose Limited User Info Through API"Parker Berberian3-0/+13
2018-02-19Merge "Remove the Booking Notification Cleanup Task"Parker Berberian1-2/+0
2018-02-19Merge "Remove RSA Files from Repo"Parker Berberian2-23/+0
2018-02-16Expose Limited User Info Through APISawyer Bergeron3-0/+13
Jira: PHAROS-362 Exposes info such as username and user email throught the API to facilitate better backend integration Change-Id: I8948f399000ffe41d5b75941f4a4195caaea91f4 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-02-15Change opsys Label to Operating SystemSawyer Bergeron1-0/+1
Jira: PHAROS-360 This makes the booking UI more intuitive by clarifying a field Change-Id: Ic7806e72a1ab94d650064c2c8e8820853385c356 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-02-12Merge "Ensure DEBUG is set as a Boolean"Parker Berberian1-1/+3
2018-02-12Merge "Use userprofile.email_addr in User List"Parker Berberian1-1/+1
2018-02-09Ensure DEBUG is set as a BooleanTrevor Bramwell1-1/+3
Since os.environ only allows strings DEBUG needs to be converted. Assigning DEBUG to the comparison of the strings is enough to get the correct value out. Change-Id: Ie104d2fc5de5906ad2830c5ed7cff3b1c0fda3c5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-02-09Pull DEBUG Var From EnvironmentTrevor Bramwell1-1/+1
This is explictily set in settings.py and can't be changed without modifying the file. Change-Id: If2f06e25857e15405470254731f17765619f369a Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-02-09Use userprofile.email_addr in User ListSawyer Bergeron1-1/+1
Jira: None User List view in dashboard now uses the generally populated userprofile.email_addr field instead of user.email Change-Id: I1585ddf3cde293d33351a2ea036aa0a343fdd8b1 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-02-02Remove the Booking Notification Cleanup TaskTrevor Bramwell1-2/+0
These are created by the notification django-app, but that app is no longer used or installed. This change should also keep the worker container from continuously restarting. Change-Id: Ifbdf15e7011375f3818179048ec6be4a83a53917 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-02-02Remove RSA Files from RepoTrevor Bramwell2-23/+0
Since these are in the .gitignore file they shouldn't be in the repo. Change-Id: Iaf4da94863d4edf10bdce924d33023ca2d679c64 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-01-31Merge "Add User-ID Field in Booking API Serializer"Parker Berberian1-1/+1
2018-01-18Add User-ID Field in Booking API SerializerSawyer Bergeron1-1/+1
Jira: None Change-Id: I217cf26b078461fa2300ee666bd4c2775c62316b Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-01-17Add Nullable Lab Field to ResourcesSawyer Bergeron6-5/+52
Jira: PHAROS-347 Resources are now possible to associate with lab instances upon creation Change-Id: Id8abbcc448a6d840d55e4bf5130dbec22c8bc58f
2018-01-09Implement Booking Modification InterfaceSawyer Bergeron14-39/+212
Jira: PHAROS-330 Users can change start date if it has not already occurred, and can change end date, purpose, and both installer and scenario. Standard checks apply similar to when initially creating a booking. Change-Id: Ibae7fe91a58bd6e0741db065265c05c3823bdc27 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-01-09Merge "Create Lab Model"Jack Morgan3-2/+50
2018-01-09Fixes for Recent MergeSawyer Bergeron2-4/+4
Jira: None In a recent large merge, some code was lost in translation. This commit fixes a missing line in requirements.txt and removes a couple lines in dispatchers.py that lost relevance. Change-Id: I5ddf67fc1da6df40f84d60668cd59e6a1975912d Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-01-09Create Lab ModelSawyer Bergeron3-2/+50
Jira: PHAROS-346 Allows admin to instantiate lab instances Change-Id: I67f8ceb3bc76d4cdd09fb6f3a0b715af312f6f83 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2018-01-09Merge "Adds missing Password workflow metadata"Jack Morgan1-0/+26
2018-01-09Merge "Skeleton for Apex Support"Jack Morgan4-0/+77
2018-01-09Merge "Experimental Compass Support"Jack Morgan4-0/+77
2018-01-09Merge "Experimental JOID Support"Jack Morgan4-0/+133
2018-01-09Merge "Experimental Fuel Support"Jack Morgan6-0/+148
2018-01-09Merge "Allows for manual addition of bookings"Jack Morgan2-0/+87
2018-01-09Merge "Adds update workflow"Jack Morgan4-0/+105
2018-01-09Merge "Adds workflows to deploy and clean hosts"Jack Morgan4-0/+133
2018-01-09Merge "Adds Credential Manipulation"Jack Morgan10-0/+465
2018-01-09Merge "Adds ability to capture and image hosts"Jack Morgan19-0/+721
2018-01-09Merge "Added sensor and rules"Jack Morgan4-0/+341
2018-01-09Merge "Initial Commit for new LaaS Software"Jack Morgan46-3876/+281
2018-01-08Merge "Add .gitignore and .gitreview"Jack Morgan2-0/+70
2018-01-08Merge "Implement Notification Framework with Initial Email Support"Jack Morgan22-212/+154
2018-01-08Merge "Add Dashboard OS Selection Menu on Booking"Jack Morgan9-9/+56
2018-01-02Implement Notification Framework with Initial Email SupportSawyer Bergeron22-212/+154
JIRA: None Notification/notifier objects are now created with title, content, sender, associated resource, and recipient and there is now support for emails at the very least to be sent as notifications. Change-Id: I456cf0e901d9a1e2a1e7d187dcc03d28fca003fb Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2017-12-20Add .gitignore and .gitreviewFatih Degirmenci2-0/+70
Change-Id: Ia4a79ed3e0712b22cb1cb57d9dc718bec6eb2020 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2017-12-20Adds missing Password workflow metadataParker Berberian1-0/+26
JIRA: None Adds missing password workflow metadata. Previous commit missed the password_workflow.yaml file that describes the password workflow Change-Id: I8e9b8efda9ec7c4565680e6a7edcae7bb883ae60 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2017-12-20Skeleton for Apex SupportParker Berberian4-0/+77
JIRA: None Plumbing for the automatic installation of Apex. Doesn't actually do anything yet. Change-Id: I5c83fdd89d0b8a0a70b2f513b20a649de030a575 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2017-12-20Experimental Compass SupportParker Berberian4-0/+77
JIRA: None Very basic compass support. Just runs the compass ./quickstart.sh script Change-Id: I8ddb1aab83ae20c1eae997b6e5cd637ec4dcfed1 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2017-12-20Experimental JOID SupportParker Berberian4-0/+133
JIRA: None Adds experimental support for automatically installing joid. Only works with virtual deployments currently. Change-Id: I4536c694c0008f9a5537a89b00871bc6a05301db Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2017-12-20Experimental Fuel SupportParker Berberian6-0/+148
JIRA: None Adds a workflow and actions that (tries to) install fuel. Currently only works with virtual deployments. Change-Id: Iac18fbd5df6ed262e623feb627ac58ec43f0a66d Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2017-12-20Allows for manual addition of bookingsParker Berberian2-0/+87
JIRA: None The added action takes a booking id from the dashboard and manually adds it to the list of bookings it tracks. This allows us to have a much easier transition to using a fully automated system after manually tracking all bookings. Change-Id: I83ebe2a4aabad2ce7d59b3d80659fc6438fda7f4 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2017-12-20Adds update workflowParker Berberian4-0/+105
JIRA: None Adds a workflow and code that installs the chosen operating system on a free host, updates it, and captures the new disk image. This ensures that when we provision a new host, it is relatively up to date. Change-Id: I553e4c8c1715add47ebfe7d853f884f242813ab2 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>