summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/notices.inc
Commit message (Collapse)AuthorAgeFilesLines
* Code with multiple %s in etcPhil Davis2017-02-011-1/+1
|
* Merge pull request #3317 from phil-davis/patch-1Renato Botelho2016-12-281-2/+1
|\
| * Refactor to use notify_all_remotePhil Davis2016-12-281-2/+1
| | | | | | While looking at notices.inc I noticed (pardon the pun) that notify_all_remote did exactly the same as these 2 lines of code. notify_all_remote() might as well be used here, to save having the same code repeated.
* | Remove unused print_noices and print_notice_boxPhil Davis2016-12-281-55/+0
|/ | | | When looking into how the notices features work these days, I found that these functions are no longer used anywhere. Maybe they should be deleted?
* Move copyright from ESF to NetgateRenato Botelho2016-09-061-1/+1
|
* Fix typo leading to syntax errorNewEraCracker2016-08-121-1/+1
|
* Ticket #3734: Convert growl related code to use pear-Net_Growl portRenato Botelho2016-08-111-32/+81
|
* Pass along send_smtp_message() return, otherwise message will not be shown ↵Renato Botelho2016-08-111-2/+1
| | | | when testing SMTP settings
* Ticket #3734:Renato Botelho2016-08-111-5/+3
| | | | | | - Added timeout parameter for SMTP configuration - Removed STARTTLS option, it's enabled automatically by pear-Mail when server supports it
* Ticket #3734: Convert notify_via_smtp() to use pear-MailRenato Botelho2016-08-111-35/+52
|
* Move to Apache License 2.0Renato Botelho2016-07-151-41/+9
|
* Review license / copyright on all files (final round)Renato Botelho2016-07-151-1/+1
|
* Review license / copyright on all files (1st round)Renato Botelho2016-07-141-50/+50
|
* Add include of functions.inc for declaration of gettextDenny Page2016-06-191-0/+1
|
* Store notices safely to prevent potential XSS when notices are displayed ↵Chris Buechler2016-05-121-5/+5
| | | | locally or by remote systems where they're shipped. Ticket #6154
* Fix #6187 Handle Growl IP Address problemsPhil Davis2016-04-171-11/+24
|
* Always use sprintf with log_errorPhil Davis2016-04-101-1/+1
| | | | I noticed this while looking at other stuff in notices.inc If this log_error() call ever happened, it would not have done anything useful.
* Internationalize etc inc i through sPhil Davis2016-02-181-1/+1
|
* Fix #5794 remove print_info_box_np chackes for gettext("apply")Phil Davis2016-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 1) Get rid of the stristr() checks to "guess" if an apply button should be used. 2) Change print_info_box() so it can take a button name of "close" , "apply" or none to decide which button to show. 3) Delete function print_info_box_np_undo() - nothing calls it. 4) Add new function print_apply_box() to provide an easy wrapper for print_info_box() with the parameters to be 'warning' level and 'apply' button. 5) Change print_info_box_np() calls to just print_info_box() or print_apply_box() as appropriate. There is 1 direct call to print_info_box_np() from vpn_ipsec_mobile.php remaining. That tries to make a "create" button. It was not working before this change. It needs to be sorted out and fixed separately. After this change there is no dependency on a string containing text like "apply" to make the apply button appear. Then we can work on re-engineering the internal code of print_info_box_np() print_info_box() and print_apply_box() to fit together however we like. It should be easy to preserving the current API to print_info_box() and print_apply_box().
* Update license on files from /etc/incRenato Botelho2016-01-151-22/+42
|
* Update smtp class to latest version, fixes #5604Renato Botelho2016-01-151-1/+1
| | | | | | | - SMTP class from http://www.phpclasses.org/package/14-PHP-Sends-e-mail-messages-via-SMTP-protocol.html - Adapt code to current version, only change was tls parameter became start_tls
* Respect force parameter even if message is the same of last sentRenato Botelho2016-01-151-2/+2
|
* Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever ↵Renato Botelho2015-12-151-5/+0
| | | | was the reason they were added, it was never finished and it's not being used
* Handle multiple notices in the same secondPhil Davis2015-08-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | The notices are currently keyed by the Unix time stamp second. If file_notice() is called more than once in the same second, then the previous notice is overwritten. Only the last notice in any second actually ends up in /tmp/notices and thus on the webGUI flashing display. The $queuekey value seems to be used to work out the actual time of the event for display, so it is a bit tricky to change that to a finer-grained key - callers of these functions are expecting an array key that is the Unix time in seconds, so all calls to this stuff would have to be examined and adjusted... The workaround here is to increment the key if the existing key is already in use. This allows all notices in the same second to be saved, but the time of each one will be an incrementing seconds counter, even though the events all happened in the same second. Maybe that is a reasonable/practical workaround for now? Given that there should not be too many notices filed at the same second. This is a resubmit of PR #1782 integrated with the current master.
* Move main pfSense content to src/Renato Botelho2015-08-251-0/+453
OpenPOWER on IntegriCloud