Fix growl issues.
Ticket #518Ticket #519
Submibtted-by: Blake Skinner
Use FQDN for HELLO SMTP command. Ticket #443
Add some more error checking to not have issues as reported on http://forum.pfsense.org/index.php/topic,23435.0.html
Adding smtp auth support for notifications. Requested-by: pmi@bluegrass.net
Replace some occurrence of /tmp with the propper global variable in attempt to minimize the search for what changes /tmp permissions.
Turn off debugging
Move newer xmlreader code to xmlreader.inc. Restore old xmlparse code to xmlparse.inc. Default to the older xmlparse.inc but add a flag check if /cf/conf/use_xmlreader is present the newer code will be included instead until the remaining bugs can be resolved with it (see rcs for many).
Do not attempt to send notices when booting
Alert if there is a problem sending the test message
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions
Add documentation headers for each function
Remove newlines
Do not echo out, use log_error()
Correct typo 'Could'
Ensure file exists
Do not email the same message twice
Do not direct deliver
s/growl/smtp/
Ensure both fields are present before sending email
Adding SMTP support. Ticket #59
Move growl related functions to notices.inc
Normalize the LEDs before alerting, in case the others are in the middle of some activity at the time.
Switch notice LED alert to LED 1, and make it a little more eye-catching. Also default the LED to on when notice is ACK'd.Part of feature #17.Also leaves LEDs 2 and 3 free for blinkled to use.
Send alerts/notices to Growl
Add support for both Soekris and WRAP led's for trigger an alert.
Woops, use /dev/led/error
Toggle the LED on wrap/soekris when an alert is filed if /dev/led1 exists.
Wrong value slipped in
Return and log error when we cannot open a valid write stream
Send alerts to syslog as well.
Suggested-by: BillM
Remove trailing newline
Fix close_notice().
If the notices array is empty, unlink our queue file. This fixes are_notices_pending().
Modify get_notices() to work with XMLRPC. This isn't ideal.
remove trailing space
Make $url optional.
file_notice(): Return the notice's unique timestamp for future reference.
Various code cleanups and a few actual bugfixes courtesy of Zend
Use strtolower when comparing categories.
Add notices facility. You may now: * File a new notice. * Dump notices to an XML file. * Close notices by timestamp or ID. * Get all notices or those in certain categories. * Print a list of notices (for print_info_box()).