* Turns out it was disabled by design.
* Confirmed it works.
* Additionally added the automation tables to the full sync.
* Also, remove orphans is enabled by default now.
* Fix netmask on 32bit arches
bindec() may produce a float if the resulting number is higher than
PHP_INT_MAX, and long2ip() will barf on that.
On armhf (32bit) for example:
php > $range = 24;
php > echo long2ip(bindec(str_repeat('1',$range) . str_repeat('0',32-$range)));
PHP Warning: long2ip() expects parameter 1 to be int, float given in php shell code on line 1
This commit changes the calculation of the netmask so it works on both
32 and 64 bits, little and big endian.
* CHANGELOG update
* Vulnerability report: Lack of escaping on some pages can lead
to XSS exposure
* Also cleaning up additional copyrights
* Make the way filter headers are escaped consistent
* Ensure previously selected field isn't wiped when ediing automation rule item
* Resolving Issue#1350
As per #1350, when switching an Automation Tree Rule's leaf type, remove invalid Automation Rule Items (Object Selection and Tree Creation criteria)
* issue #1347 - Update automation logging to work better
* Remove debug code from lib/clog_webapi.php
* Further automation updates to include PID for diagnoses/filtering
* Ensure we have rows before attempting to loop through them
* Fix CI error
* update chines po file (#1403)
Signed-off-by: snsupersharp <snsupersharp@163.com>
* Typo in layout.js
- Automation discovery : New devices added by automation discovery have
empty SNMP community field.
- Correct two missing i18n issues
- Convert htmlspecialchars() use to html_escape() instead
This change includes:
1) Using common setSNMP() global function
2) Rename snmp_readstring to snmp_community
3) One i18n Issue in automation_snmp.php
4) Reorder SNMP Form to be consistent with remainder of Cacti
5) Add SNMP security_level to the form
There remains some additional QA to do including inclusion of the SNMP
Engine ID which is not consisten accross all interfaces as well as an
issue in settings related to the pages JavaScript.
This change includes:
1) Using common setSNMP() global function
2) Rename snmp_readstring to snmp_community
3) One i18n Issue in automation_snmp.php
4) Reorder SNMP Form to be consistent with remainder of Cacti
5) Add SNMP security_level to the form
There remains some additional QA to do including inclusion of the SNMP
Engine ID which is not consisten accross all interfaces as well as an
issue in settings related to the pages JavaScript.