[Issue 75 improve dawgie.de (93)](https://github.com/al-niessner/DAWGIE/commit/c57f6b6e26f7c2944f555248514e3579b716467b)
*Author*: John Engelke
*Date*: Mon, 13 Jan 2020 10:26:01 -0800
* issue_75: Changes, including fix for bug with duplicate tags, spacing reformat, fix for lists not using 'li', fix to allow 'void' tags proper formatting, addition of capacity to add raw css and stylesheets, addition of pre tag, modify add_primitive to display inline with add_declaration, addition of class and id attributes, spacing tweaks per PEP8, regroup writing of configuration (head) versus presentation (body) tags, disable writing of primitives after declarations since they are now written inline. ...
* issue_75: Changed approach to keep copy of old methods guaranteeing strict backwards compatibility. Also, new method will use inherited __content value to append, then guaranteeing exact ordering with all other subclasses. Touchpoint. ... TO-DO: Modify div for ease-of-use to self-close and include explicit classes and/or style. Also, wrap __content assignments with AsIsText object to ensure they render as expected.
* issue_75: Fixed errant return type and re-added bokeh import removed by IDE during cleanup.
* issue_75: Standardized templating on f-strings, added clean methods to limit malicious code, standardized class, id and style attributes, rearranged order to support writing customizations after file loads for script and css imports, remove superfluous variables added to init, separated legacy and new functions to support backwards compatibility.
* clean up
Keep imports explicit (no from unless name is super long) and keep import alphabetic (or the best that I remember the alphabet)
Co-authored-by: al-niessner <1130658+al-niessnerusers.noreply.github.com>
[Issue 90: excise SDP (92)](https://github.com/al-niessner/DAWGIE/commit/58177894f467fa08a71f029743e2dbd2d84f3c36)
*Author*: al-niessner
*Date*: Wed, 8 Jan 2020 10:47:24 -0800
* change dawgie.pl, dawgie.tools, dawgie.fe, and unit testing
Updated farm, start, and state such that all SDP and sdp became FSM and fsm respectively.
* update db modules as well
The shelf and util modules were different then the previeous alterations where SDP was used to rever to an FSM. In this case, sdp was hardcoded as the db_name. Hence, all reference where changed to dawgie.context.db_name.
* update pylint RC
Many of the FSM functions are added at run time by the transistions package. Had to change sdp to fsm in the pylint RC to account for this.
[Issue 84: remove hardcoded email alerts (89)](https://github.com/al-niessner/DAWGIE/commit/34bbdb7ad0afdc4e7fbe3ce57f81504964470cd6)
*Author*: al-niessner
*Date*: Wed, 8 Jan 2020 09:51:00 -0800
* add email alert destination
The first part of the problem is to add a configuration or context driven destination for alerts via email. This was done by adding dawgie.context.email_alerts_to that follows the usual paradigm.
* complete email alerts
Updated dawgie.tools.submit to use dawgie.context for the email list. If the list is not defined, then just log it. In fact, the message will always be in the log file for those not on the mailing lists.
Updated dawgie.fe.submit to reflect changes in dawgie.tools.submit.
[Issue 76: support https (79)](https://github.com/al-niessner/DAWGIE/commit/7eac03e3b12933c648b469fc077c42f4b78a208d)
*Author*: al-niessner
*Date*: Tue, 7 Jan 2020 15:00:59 -0800
* required for twisted to do https
* add hook for cert
Seems that all that is needed is the SSL PEM file as it contains both the cert and the key. Twisted uses this single file to initiate an https server.
* clean up in preparation
Found two mains in dawgie.fe. Removed what appears to be the older one and it looks fine in comparison to the actual main.
* add https hooks
When starting the gui, check to see if a pem file exists. If it does and is a real file, then try to use it as the cert. While this matches the requirements in the twisted documenation it still needs to be tested somehow.
* update rules
twisted.internet.reactor.listenSSL is generated at run time.
* runs standalone with https
The PEM cert and key must be in a single file. Once that was done, it worked.
[Issue 87: clean up front-end (88)](https://github.com/al-niessner/DAWGIE/commit/2f99d021be7c79c67b790c328cb52e5d15d89ea5)
*Author*: al-niessner
*Date*: Mon, 6 Jan 2020 12:28:54 -0800
* change to call object
* update DynamicContent
Check self.__fnc to see if it is an instance of dawgie.fe.Defer and act accordingly. Now the call to the object should act like a function too.
* change the function names
Moved the old function names to __call__ so that the object becomes callable.
[need to call the function not the object (86)](https://github.com/al-niessner/DAWGIE/commit/24da12bd3b6fa5e58eb0442279257fd6525ca4e0)
*Author*: al-niessner
*Date*: Mon, 6 Jan 2020 12:09:35 -0800