From: Misterhouse S. C. N. <mis...@li...> - 2009-01-12 22:28:49
|
Revision: 1596 http://misterhouse.svn.sourceforge.net/misterhouse/?rev=1596&view=rev Author: dnorwood2 Date: 2009-01-12 22:08:33 +0000 (Mon, 12 Jan 2009) Log Message: ----------- Updated the triggers facility (including changes to the triggers library file and web interface) to do an eval on the trigger, and disable it if there is a syntax error. The web interface will display the error message, so it can be easily fixed. Before this change, it was very difficult to recover from a typo entered into the web interface. One problem that remains is if a trigger event references a subroutine or variable defined elsewhere, and that definition is removed, Misterhouse will not start. This would be avoided if the triggers were all verified at startup. Please let me know if there are any other holes that could cause Misterhouse to not start. Modified Paths: -------------- trunk/lib/http_server.pl trunk/lib/trigger_code.pl trunk/web/bin/triggers.pl trunk/web/default.css This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |