@pautina, all working now. I did some tests with the following:
1) An vlan is removed
2) A new vlan is added with the old vlans index
3) The old vlan re-appears with a new index
4) Vlans that never were deleted magically get new indexes
All passed.
When using oid_regexp_parse all indexes are returned, some with their OID's correctly replaced. If an index does not match, it's index is kept as an OID. This is now corrected to filter indexes to just those that match.
* Fix for Issue #1168 - Allow copy of debug query text to clipboard
Issue #1168 - Allow debug query section to be copied to the clipboard
- Currently, whilst clipboard code is run, no text is being copied
- Various text updated to i18n calls.
- CSS still needs to be generated
* Update with working version of copy that doesn't collapse with table header
* Update copyToClipboard to copy table as HTML not just the HTML text
* Issue #1168 - Further clipboard enhancements
issue #1168 now presents a 'Copy' link on the right side of a debug header table (currently a circle)
This functionality has been extended to copy the entire debug via the "Data Query Debug Information" header
Sections are automatically expanded whilst copying to allow selection copy, non-expansion prevents this
* Further fixes for #1168
issue#1168: Now uses jQuery.dialog() for messages (a lot nicer!)
Need to find out if there is a function to retrieve Cacti language messages, ie, get data from https://cacti/messages.php?text
* Updated Dutch translations
- Fixed i18n
* Defined fields in queries
* Fixed changelog
* Updated Dutch translations
* Various fixes
All committed files:
- true|false to lowercase
add_perms.php:
- displayGroups() was undefined
add_tree.php:
- duplicate case for '--quiet'
repair_templates.php:
- correction function call to diaplay_version()
gettext.php:
- PHP EOF unneeded
* Fixed warnings in graph_view
* Updated Dutch translations
- Updated Dutch translations with latest cacti.pot file
* Updated Dutch translations
- Fixed conflicts in translations
* Various fixes
- Changed array access identifiers
- Fixed some code layout changes
- Fixed one i18n entry in api_automation.php
* Updated changelog
* Layout changes (tab instead of spaces)
* Layout changes (tab instead of spaces)
* Various fixes
- Changed array access identifiers
- Fixed some code layout changes
* Some fixes for better querying
* Layout change only
* Updated Dutch translations
* Updated changelog
* Updated changelog
* Fixed upgrade script 1_1_28.zip
* Few final fixes after CR or changes
* Updated Dutch translations
* fixed parameter typo in query_debug_timer_stop()
* fixed typo $_SESSION
* MibCache->install() uses MibParser->oids, but MibCache->oids has protected access instead of public
* Updated of PHPMailer to version 5.2.26
- Minor security backport from 6.0 - set Debugoutput in constructor according to SAPI in use, avoiding potential XSS in default debug output. Thanks to Bankde Eakasit for spotting it.
* Remove old autoLoad method
Good catch on the bug fixes too. Hard to spot.
_______________________________________________________
* Updated Dutch translations
- Fixed i18n
* Defined fields in queries
* Fixed changelog
* Updated Dutch translations
* Various fixes
All committed files:
- true|false to lowercase
add_perms.php:
- displayGroups() was undefined
add_tree.php:
- duplicate case for '--quiet'
repair_templates.php:
- correction function call to diaplay_version()
gettext.php:
- PHP EOF unneeded
* Updated Dutch translations
- Updated Dutch translations with latest cacti.pot file
* Updated Dutch translations
- Fixed conflicts in translations
- Data collection warnings when using cmd.php
- Replace <path_php_binary> in data input methods
- Spaces adjacent to double quotes are eliminated durate data input
method import
- Horor the column setting in graph tree view mode
* the $index_recache string already contains the / separator. I don't need to add in preg_match function
* some errors in the methods to take in count the storage of the modified value
* a cosmetic change that permit to clean the debug value in debug_log_return function after the display
* a change in poller function that fixe an error when your index field in the XML file is a fake index oid