summaryrefslogtreecommitdiffstats
path: root/dashboard/src/pharos_dashboard/settings.py
AgeCommit message (Collapse)AuthorFilesLines
2018-02-27Allow Configuring 'DEFAULT_EMAIL_FROM' in DjangoTrevor Bramwell1-0/+1
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-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-01-02Implement Notification Framework with Initial Email SupportSawyer Bergeron1-1/+7
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-11-03Abstract Hard-Coded URLs to Config FileSawyer Bergeron1-0/+6
JIRA: PHAROS-317 The Jenkins URL configuration now works the same as the Jira URL configuration, with a base URL in the config.env file, with settings.py calculating the final URLs to be used in adapter.py. Change-Id: I79b4784ab39afdb789a24e4c0f1e8a3ae3566421 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2017-09-22Rename pharos-dashboard and pharos-validatorTrevor Bramwell1-0/+184
As subdirectories of the pharos-tools repo, there is little need to keep the pharos prefix. Change-Id: Ica3d79411f409df638647300036c0664183c2725 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>