racktables
7 years agorenderAddMultipleObjectsForm() - remove location-related object types,
Aaron Dummer [Sat, 8 Sep 2012 20:48:22 +0000 (13:48 -0700)] 
renderAddMultipleObjectsForm() - remove location-related object types,
they should be added using other forms

7 years agofix checkObjectNameUniqueness() to work for all object types
Aaron Dummer [Sat, 8 Sep 2012 20:19:38 +0000 (13:19 -0700)] 
fix checkObjectNameUniqueness() to work for all object types

7 years agofix spelling in init_config()
Jeff Silberman [Sat, 8 Sep 2012 09:01:57 +0000 (13:01 +0400)] 
fix spelling in init_config()

7 years agobugfix: perfomance issue in port linker
Alexey Andriyanov [Fri, 7 Sep 2012 13:36:30 +0000 (17:36 +0400)] 
bugfix: perfomance issue in port linker

renderPopupPortSelector: all empty ports were displayed as neighbours if
"nearest racks" was set and object was unmounted

7 years agofix indentation in getEntityRelatives()
Denis Ovsienko [Fri, 7 Sep 2012 12:36:30 +0000 (16:36 +0400)] 
fix indentation in getEntityRelatives()

7 years agorevert changes in fetchAttrsForObjects
Alexey Andriyanov [Fri, 7 Sep 2012 12:32:12 +0000 (16:32 +0400)] 
revert changes in fetchAttrsForObjects

There is an attributes engine design issue preventing us
to filter empty rows from SQL results

7 years agobugfix for previous commit
Alexey Andriyanov [Fri, 7 Sep 2012 11:15:23 +0000 (15:15 +0400)] 
bugfix for previous commit

7 years agominor perfomance optimization of listCells()
Alexey Andriyanov [Fri, 7 Sep 2012 10:18:07 +0000 (14:18 +0400)] 
minor perfomance optimization of listCells()

listCells: replace getExplicitTagsOnly, getImplicitTags by sortEntityTags
spotEntity: idem
sortEntityTags: new func
fetchAttrsForObjects: the query was optimized (do not fetch unused rows)

7 years agoadd Arista serial number detection
Denis Ovsienko [Thu, 6 Sep 2012 14:55:38 +0000 (18:55 +0400)] 
add Arista serial number detection

7 years agosupport for fetching configs from IOS XR 4 devices
Alexey Andriyanov [Thu, 6 Sep 2012 13:58:46 +0000 (17:58 +0400)] 
support for fetching configs from IOS XR 4 devices

new breed 'iosxr4'
queryTerminal: added iosxr4 support
iosxr4SpotConfigText: new function
iosxr4TranslatePushQueue: idem

7 years agofixed detection of JunOS 12R
Alexey Andriyanov [Thu, 6 Sep 2012 08:39:13 +0000 (12:39 +0400)] 
fixed detection of JunOS 12R

detectDeviceBreed: return 'jun10' for JunOS 12

7 years agorefresh eos4Read8021QConfig()
Denis Ovsienko [Tue, 4 Sep 2012 15:23:37 +0000 (19:23 +0400)] 
refresh eos4Read8021QConfig()

Justify the regexp to match numeric VLAN IDs only; don't pick the
default VLAN up second time.

7 years agoinitial support for Marvell ROS 1.1
Denis Ovsienko [Wed, 29 Aug 2012 12:06:52 +0000 (16:06 +0400)] 
initial support for Marvell ROS 1.1

This commit introduces a new device breed, "ros11", standing for
Marvell's ROS 1.1. LiveLLDP, Live Ports and 802.1Q functionality is
implemented.

ros11ReadLLDPStatus(): new function, LLDP neighbor list parser
ros11ParsePortString(): new helper function, port list parser
ros11TranslatePushQueue(): new function, CLI output translator
ros11Read8021QConfig() new function, one of the 802.1Q parsers
ros11Read8021QScanTop(): idem
ros11Read8021QVLANDatabase(): idem
ros11Read8021QPorts(): idem
ros11ReadInterfaceStatus(): new function, port status parser
ros11ReadMacList(): new function, MAC address table parser
detectDeviceBreed(): add "ros11" detection
queryTerminal(): add "ros11" case handling
$breedfunc: list new "ros11" functions

7 years agodon't feed "none" into iosParseVLANString()
Denis Ovsienko [Tue, 4 Sep 2012 05:58:30 +0000 (09:58 +0400)] 
don't feed "none" into iosParseVLANString()

The recent addition of "throw" into iosParseVLANString() revealed, that
the functions below would process "none" in "switchport trunk allowed
vlan none" as a VLAN list. This change fixes it.

* ios12PickSwitchportCommand()
* nxos4PickSwitchportCommand()
* eos4Read8021QConfig()

7 years agoresolve a PHP warning in resolve8021QConflicts()
Denis Ovsienko [Mon, 3 Sep 2012 18:45:59 +0000 (22:45 +0400)] 
resolve a PHP warning in resolve8021QConflicts()

A discarded 802.1Q port in "T" configuration would have no "allowed"
array items present on the HTTP request, causing a PHP warning about
"ra_0" and incorrect initialization of $F.

7 years agoupdateObject() - reference table as Object instead of RackObject when
Aaron Dummer [Sun, 2 Sep 2012 22:35:38 +0000 (15:35 -0700)] 
updateObject() - reference table as Object instead of RackObject when
changing the object type

7 years agoprevent duplicate object names, with some exceptions (#595)
Aaron Dummer [Sun, 2 Sep 2012 22:15:44 +0000 (15:15 -0700)] 
prevent duplicate object names, with some exceptions (#595)

7 years agoimprove renderNewSLBItemForm() (#403)
Hannes Georg [Sun, 2 Sep 2012 13:42:01 +0000 (17:42 +0400)] 
improve renderNewSLBItemForm() (#403)

This fixes a case of rendering an SLB management form which would never
work due to missing parameter(s). The new SLB item form now gives a
notice when one of the realms is emtpy.

7 years agoissue #593 belongs to 0.19.14
Denis Ovsienko [Sun, 2 Sep 2012 12:28:48 +0000 (16:28 +0400)] 
issue #593 belongs to 0.19.14

7 years ago$iftable_processors: change labels of some generic gigabit ports
Aaron Dummer [Sat, 1 Sep 2012 22:22:18 +0000 (15:22 -0700)] 
$iftable_processors: change labels of some generic gigabit ports

7 years agoadd SNMP support for Cisco 300 switches (#594)
Aaron Dummer [Sat, 1 Sep 2012 21:52:42 +0000 (14:52 -0700)] 
add SNMP support for Cisco 300 switches (#594)

7 years agorefresh some port/VLAN parsing code
Denis Ovsienko [Fri, 31 Aug 2012 08:48:24 +0000 (12:48 +0400)] 
refresh some port/VLAN parsing code

7 years agobugfix: IPv4 space exceptions (#591)
Alexey Andriyanov [Wed, 29 Aug 2012 08:15:59 +0000 (12:15 +0400)] 
bugfix: IPv4 space exceptions (#591)

IPNetworkCmp relied on strcmp() returned only -1, 0, 1, which is
not true on some PHP installations.

7 years agoupdate Dictionary unique constraint (#593)
Denis Ovsienko [Sun, 26 Aug 2012 16:09:19 +0000 (20:09 +0400)] 
update Dictionary unique constraint (#593)

Extend Dictionary table with "dict_sticky" column to enable telling
system records from user's records at SQL level, not only at application
level. Redo the UNIQUE constraint to allow for duplicates across these
two groups (but not within). Employ "fix_argname" in two opspec
structures to make system rows protection stronger.

7 years agoreplace 9 ophandlers with opspec entries
Denis Ovsienko [Sun, 26 Aug 2012 16:05:55 +0000 (20:05 +0400)] 
replace 9 ophandlers with opspec entries

Each of the following functions basically stood for a single SQL command
and is now replaced with an opspec structure:

* updateDictionary()
* updateChapter() (w/fix_argname)
* delChapter() (w/fix_argname)
* useupPort() (w/fix_argname)
* linkEntities()
* unlinkEntities()
* destroyVLANDomain()
* addVLANSwitchTemplate()
* delVLANSwitchTemplate()

7 years agointroduce "fix_argname" type of opspec column
Denis Ovsienko [Sun, 26 Aug 2012 16:01:27 +0000 (20:01 +0400)] 
introduce "fix_argname" type of opspec column

Update buildOpspecColumns() to work with just one list of columns, not
an array of lists. Add support for 'fix_argname' type of column and some
error detection. Update tableHandler() to use buildOpspecColumns()
without any intermediate variables.

The new column type stands for an arbitrary constant instead of the
user's HTTP input.

7 years agosplit tableHandler() into two functions
Denis Ovsienko [Sun, 26 Aug 2012 15:58:41 +0000 (19:58 +0400)] 
split tableHandler() into two functions

New buildOpspecColumns() function incorporates the user input validation
code. Its coupling with tableHandler(), which is now focused on SQL
proxying, improves detection of opspec structure errors.

7 years agorenderEditObjectForm(): use the hidden num_attrs element, even if no
Aaron Dummer [Sat, 25 Aug 2012 23:16:29 +0000 (16:16 -0700)] 
renderEditObjectForm(): use the hidden num_attrs element, even if no
attributes exist, otherwise an exception is thrown when trying to
update attribute-less objects

7 years agofix undefined index error related to #562
Aaron Dummer [Sat, 25 Aug 2012 18:33:23 +0000 (11:33 -0700)] 
fix undefined index error related to #562

7 years agobugfix: PHP notice in port linker popup
Alexey Andriyanov [Fri, 24 Aug 2012 19:42:48 +0000 (23:42 +0400)] 
bugfix: PHP notice in port linker popup

7 years agoremoved unused func linkPortForObject
Alexey Andriyanov [Fri, 24 Aug 2012 19:36:01 +0000 (23:36 +0400)] 
removed unused func linkPortForObject

7 years agobugfix: Messages from popups were not displayed
Alexey Andriyanov [Fri, 24 Aug 2012 19:00:20 +0000 (23:00 +0400)] 
bugfix: Messages from popups were not displayed

+ backupLogMessages
redirectUser: use new backupLogMessages
handlePopupPortLink: save log messages

7 years agoadd tags to .gitignore
Alexey Andriyanov [Fri, 24 Aug 2012 18:50:16 +0000 (22:50 +0400)] 
add tags to .gitignore

7 years agoimprove Arista SNMP support
Denis Ovsienko [Fri, 24 Aug 2012 17:13:41 +0000 (21:13 +0400)] 
improve Arista SNMP support

This change adds a template for DCS-7048T-A and detection of software
type and version. Port labeling is adjusted to the one seen on device.

7 years agoadd some recent Huawei switch models
Denis Ovsienko [Fri, 24 Aug 2012 15:13:29 +0000 (19:13 +0400)] 
add some recent Huawei switch models

7 years agofix a few issues with address comment field
Denis Ovsienko [Fri, 24 Aug 2012 14:05:35 +0000 (18:05 +0400)] 
fix a few issues with address comment field

* renderIPAddressProperties(): add missing parameter to HTML form to fix
  "clear" button, which was broken
* updateAddress(): place comment argument last to make the function
  backwards compatible for 3rd-party scripts that did not catch up with
  the recent prototype change
* updateIPNameAJAX(): update respectively
* updateIPCommentAJAX(): idem
* editAddress(): idem

7 years agoadd an IOS XR release
Denis Ovsienko [Thu, 23 Aug 2012 11:45:27 +0000 (15:45 +0400)] 
add an IOS XR release

7 years agoadd some Cisco UCS hardware entries
Denis Ovsienko [Wed, 22 Aug 2012 20:54:40 +0000 (00:54 +0400)] 
add some Cisco UCS hardware entries

(contributed by Jeff Silberman)

7 years agoupdate AttributeValue SQL indices
Denis Ovsienko [Wed, 22 Aug 2012 15:53:57 +0000 (19:53 +0400)] 
update AttributeValue SQL indices

This implements the changes suggested by Hannes Georg in issue 586.

Conflicts:

wwwroot/inc/upgrade.php

7 years ago802.1Q: update for VRP 100-TX interfaces
Denis Ovsienko [Wed, 22 Aug 2012 13:09:09 +0000 (17:09 +0400)] 
802.1Q: update for VRP 100-TX interfaces

7 years agoSNMP: list Quidway S2352P-EI
Denis Ovsienko [Tue, 21 Aug 2012 17:52:15 +0000 (21:52 +0400)] 
SNMP: list Quidway S2352P-EI

7 years agoupdate server OS entries
Denis Ovsienko [Tue, 21 Aug 2012 17:18:39 +0000 (21:18 +0400)] 
update server OS entries

7 years agoignore .project file from eclipse
Aaron Dummer [Sat, 21 Jul 2012 17:49:33 +0000 (10:49 -0700)] 
ignore .project file from eclipse

7 years agoadd .gitignore
Denis Ovsienko [Thu, 19 Jul 2012 20:23:45 +0000 (00:23 +0400)] 
add .gitignore

7 years agoLLDP: proper handling of Juniper MX neighbors
Alexey Andriyanov [Fri, 17 Aug 2012 18:49:19 +0000 (22:49 +0400)] 
LLDP: proper handling of Juniper MX neighbors

This fix applies to Huawei VRP and NX-OS-devices only

changed functions:
vrp5xReadLLDPStatus
nxos4ReadLLDPStatus

8 years agoupdate ios12ShortenIfName() for LRE (#589)
Denis Ovsienko [Tue, 14 Aug 2012 10:54:08 +0000 (14:54 +0400)] 
update ios12ShortenIfName() for LRE (#589)

8 years agonew config var SEARCH_DOMAINS
Alexey Andriyanov [Thu, 9 Aug 2012 11:59:41 +0000 (15:59 +0400)] 
new config var SEARCH_DOMAINS

It is used to control the FQDN-search feature introduced by 0.19.3

searchEntitiesByText was changed

8 years agoadded jQuery.UI theme (redmond)
Alexey Andriyanov [Mon, 6 Aug 2012 11:34:42 +0000 (15:34 +0400)] 
added jQuery.UI theme (redmond)

includeJQueryUI: new function to include jQuery.UI lib
renderRackSortForm: use includeJQueryUI

showPathAndSearch: dynamic_title_decoder became a hook
getTitle: idem

8 years agolist more Arista switches
Denis Ovsienko [Mon, 6 Aug 2012 08:21:30 +0000 (12:21 +0400)] 
list more Arista switches

8 years agoMerge branch 'master' of github.com:RackTables/racktables
Alexey Andriyanov [Fri, 3 Aug 2012 08:07:17 +0000 (12:07 +0400)] 
Merge branch 'master' of github.com:RackTables/racktables

8 years agobugfix: clicks in sticked popups were blocked
Alexey Andriyanov [Fri, 3 Aug 2012 07:59:58 +0000 (11:59 +0400)] 
bugfix: clicks in sticked popups were blocked

For expample, if the sticked pop-up div contained <a> link, user was not
able to click on it

8 years agoadded pencil to $image array
Alexey Andriyanov [Fri, 3 Aug 2012 07:59:16 +0000 (11:59 +0400)] 
added pencil to $image array

8 years agocallScript: clear output variables before appending
Alexey Andriyanov [Thu, 2 Aug 2012 09:42:33 +0000 (13:42 +0400)] 
callScript: clear output variables before appending

8 years agoMerge pull request #1 from SiSGroup/fixup-fillIPNetsCorrelation
Alexey Andriyanov [Thu, 2 Aug 2012 02:57:01 +0000 (19:57 -0700)] 
Merge pull request #1 from SiSGroup/fixup-fillIPNetsCorrelation

Fix fillIPNetsCorrelation on last network

8 years agoFix fillIPNetsCorrelation on last network 1/head
Kris Shannon [Wed, 1 Aug 2012 00:27:07 +0000 (10:27 +1000)] 
Fix fillIPNetsCorrelation on last network

8 years agonew hook 'initFinished'
Alexey Andriyanov [Tue, 31 Jul 2012 12:50:21 +0000 (16:50 +0400)] 
new hook 'initFinished'

8 years agochaining hooks API modification
Alexey Andriyanov [Tue, 31 Jul 2012 12:47:07 +0000 (16:47 +0400)] 
chaining hooks API modification

If the first hook registered with a 'chain' type, the hook's name
callback is implicitly added before it.

registerHook: if we are trying to chain on the built-in function, push it to the stack
universalHookHandler: throw exception if callback does not exists
modifyEntitySummary: new dummy function to make it easy to chain summary modificators
renderEntitySummary: use modifyEntitySummary

8 years agofix of #585 (New IPv4 address space is 127.0.0.0)
Alexey Andriyanov [Tue, 31 Jul 2012 09:37:12 +0000 (13:37 +0400)] 
fix of #585 (New IPv4 address space is 127.0.0.0)

ip4_int2bin: force 2nd argument of pack to be treated as integer

8 years agoAPI: hooks chaining
Alexey Andriyanov [Mon, 30 Jul 2012 12:41:48 +0000 (16:41 +0400)] 
API: hooks chaining

registerHook: new API func
stopHookPropagation: new API func
callHook: pass hook name to universalHookHandler
universalHookHandler: hook handlers dispatcher. registerHook leaves this func in $hook

8 years agoMerge branch 'master' of https://github.com/RackTables/racktables.git
Aaron Dummer [Sat, 28 Jul 2012 21:26:15 +0000 (14:26 -0700)] 
Merge branch 'master' of https://github.com/RackTables/racktables.git

8 years agoability to manually sort racks (#370)
Aaron Dummer [Sat, 28 Jul 2012 21:25:53 +0000 (14:25 -0700)] 
ability to manually sort racks (#370)

8 years agorender link images on LivePorts tab
Alexey Andriyanov [Fri, 27 Jul 2012 09:25:25 +0000 (13:25 +0400)] 
render link images on LivePorts tab

renderPortsInfo changed

8 years agovlan name editbox was too short
Alexey Andriyanov [Fri, 27 Jul 2012 08:35:40 +0000 (12:35 +0400)] 
vlan name editbox was too short

renderEditVlan changed

8 years agonew API function searchByAttrValue
Alexey Andriyanov [Thu, 26 Jul 2012 14:48:14 +0000 (18:48 +0400)] 
new API function searchByAttrValue

searchByAttrValue: new func
getAttrMap: caching added

8 years agobugfix: PHP warnings for unknown array keys
Alexey Andriyanov [Thu, 26 Jul 2012 13:49:14 +0000 (17:49 +0400)] 
bugfix: PHP warnings for unknown array keys

8 years agonew port comptatibility map API
Alexey Andriyanov [Thu, 26 Jul 2012 10:47:46 +0000 (14:47 +0400)] 
new port comptatibility map API

getPortOIFCompat: the result is cached
arePortTypesCompatible: new func
arePortsCompatible: new func
renderDiscoveredNeighbors: switched to arePortTypesCompatible
importDPData: switched to arePortsCompatible, entire handler is in catch{} block

8 years agoimproved uplink ports formatting
Alexey Andriyanov [Wed, 25 Jul 2012 13:35:46 +0000 (17:35 +0400)] 
improved uplink ports formatting

renderObject8021QPorts: do not render produced uplink vlan list in
nowrap table cell.

8 years agofix function names (updateIPNameAJAX, updateIPCommentAJAX)
Aaron Dummer [Sun, 22 Jul 2012 22:21:25 +0000 (15:21 -0700)] 
fix function names (updateIPNameAJAX, updateIPCommentAJAX)

8 years agoadd SNMP support for ProCurve 2650, 2900 (from mailing list)
Aaron Dummer [Sat, 21 Jul 2012 23:43:22 +0000 (16:43 -0700)] 
add SNMP support for ProCurve 2650, 2900 (from mailing list)

8 years agosupport for performing DB upgrades from a console using contrib code
Aaron Dummer [Sat, 21 Jul 2012 23:21:51 +0000 (16:21 -0700)] 
support for performing DB upgrades from a console using contrib code
(#556)

8 years agoadded comment field to IPv[4|6]Address tables (#555)
Aaron Dummer [Sat, 21 Jul 2012 22:30:29 +0000 (15:30 -0700)] 
added comment field to IPv[4|6]Address tables (#555)

8 years agoadd SNMP support for 3560E-12SD (#564)
Aaron Dummer [Sat, 21 Jul 2012 19:33:30 +0000 (12:33 -0700)] 
add SNMP support for 3560E-12SD (#564)

8 years agoadd SNMP support for AT9924T (#581)
Aaron Dummer [Sat, 21 Jul 2012 18:59:50 +0000 (11:59 -0700)] 
add SNMP support for AT9924T (#581)

8 years agoadd SNMP support for Cisco 2924M-XL (#582)
Aaron Dummer [Sat, 21 Jul 2012 17:58:57 +0000 (10:58 -0700)] 
add SNMP support for Cisco 2924M-XL (#582)

8 years agobugfix in universalOpHandler
Alex Andriyanov [Wed, 18 Jul 2012 07:52:48 +0000 (11:52 +0400)] 
bugfix in universalOpHandler

When original ophandler returning redirect URL was overrided if 'after'
mode, redirect URL was lost

8 years agocheck $attr permissions when rendering object edit form
Alex Andriyanov [Mon, 16 Jul 2012 10:58:32 +0000 (14:58 +0400)] 
check $attr permissions when rendering object edit form

renderEditObjectForm: call permitted() for each attribute

8 years agoadd SNMP support for ProCurves (#558)
Aaron Dummer [Sun, 15 Jul 2012 00:03:42 +0000 (17:03 -0700)] 
add SNMP support for ProCurves (#558)

8 years agoadd SNMP support for Cisco 2960-24TC-L (#554)
Aaron Dummer [Sat, 14 Jul 2012 23:33:01 +0000 (16:33 -0700)] 
add SNMP support for Cisco 2960-24TC-L (#554)

8 years agoPort linker selects nearest rack by default (#562)
Aaron Dummer [Sat, 14 Jul 2012 23:14:38 +0000 (16:14 -0700)] 
Port linker selects nearest rack by default (#562)

8 years agor5124 renderCellFilterPortlet: ability to have multiple bypass http parameters
Alexey Andriyanov [Fri, 6 Jul 2012 10:26:46 +0000 (10:26 +0000)] 
r5124 renderCellFilterPortlet: ability to have multiple bypass http parameters
renderRow: use new prototype of renderCellFilterPortlet

8 years agor5123 minor sorting issues
Alexey Andriyanov [Wed, 4 Jul 2012 13:52:04 +0000 (13:52 +0000)] 
r5123 minor sorting issues

array_first: new utility function (see array_last)
IPNetworkCmp: place IPv4 networks before IPv6
cmpTags: bug fixed, tag root was not determined right

8 years agor5122 clarify portlet header text in renderRackSpaceForObject (#576)
Denis Ovsienko [Fri, 29 Jun 2012 11:22:09 +0000 (11:22 +0000)] 
r5122 clarify portlet header text in renderRackSpaceForObject (#576)

8 years agor5118 0.19.13 pre-release changes
Denis Ovsienko [Thu, 28 Jun 2012 10:16:39 +0000 (10:16 +0000)] 
r5118 0.19.13 pre-release changes

8 years agor5117 callScript: reverted r5114 because of PHP bug #53518
Alexey Andriyanov [Tue, 26 Jun 2012 09:04:57 +0000 (09:04 +0000)] 
r5117 callScript: reverted r5114 because of PHP bug #53518

8 years agor5116 fixed PHP notice
Alexey Andriyanov [Mon, 25 Jun 2012 20:19:47 +0000 (20:19 +0000)] 
r5116 fixed PHP notice

8 years agor5115 bugfix: upgrade from 0.18.8 caused fatal errors till session expiration (#506)
Alexey Andriyanov [Mon, 25 Jun 2012 20:12:40 +0000 (20:12 +0000)] 
r5115 bugfix: upgrade from 0.18.8 caused fatal errors till session expiration (#506)

8 years agor5114 callScript now respects waitpid(3) return value
Alexey Andriyanov [Fri, 22 Jun 2012 11:58:43 +0000 (11:58 +0000)] 
r5114 callScript now respects waitpid(3) return value

8 years agor5113 determine local paths after loading of secret.php (maybe it has overrided rackt...
Alexey Andriyanov [Sun, 17 Jun 2012 20:11:19 +0000 (20:11 +0000)] 
r5113 determine local paths after loading of secret.php (maybe it has overrided racktables_plugins_dir)

8 years agor5112 new feature: plugin installation is as simple as copying a file into plugins...
Alexey Andriyanov [Sun, 17 Jun 2012 19:57:16 +0000 (19:57 +0000)] 
r5112 new feature: plugin installation is as simple as copying a file into plugins/ dir

local.php file has no effect any more
$path_to_local_php variable: idem
new separate directory for plugins

8 years agor5111 new API to override ophandlers/tabhandlers in plugins
Alexey Andriyanov [Sun, 17 Jun 2012 19:47:48 +0000 (19:47 +0000)] 
r5111 new API to override ophandlers/tabhandlers in plugins

registerOpHandler, registerTabHandler: API to register new handlers
stopOpPropagation, stopTabPropagation: stop processing of handlers chain
universalOpHandler, universalTabHandler: actual handlers installed instead of the default
getRenderedTab: returns output buffer in tabhandler.

8 years agor5110 spotText: removed because of excessive memory usage
Alexey Andriyanov [Thu, 14 Jun 2012 11:47:55 +0000 (11:47 +0000)] 
r5110 spotText: removed because of excessive memory usage
*SpotConfigText: direct calling of preg_replace

8 years agor5109 findAutoTagWarnings: actualized, shrinked
Alexey Andriyanov [Thu, 14 Jun 2012 11:15:56 +0000 (11:15 +0000)] 
r5109 findAutoTagWarnings: actualized, shrinked

8 years agor5108 findAutoTagWarnings: ability to suppress warnings on plugin-specific autotags
Alexey Andriyanov [Sat, 9 Jun 2012 16:47:42 +0000 (16:47 +0000)] 
r5108 findAutoTagWarnings: ability to suppress warnings on plugin-specific autotags

8 years agor5107 removed unused global declaration
Alexey Andriyanov [Fri, 8 Jun 2012 20:18:03 +0000 (20:18 +0000)] 
r5107 removed unused global declaration

8 years agor5106 do not read locations list on startup, do not block in session_start on startup.
Alexey Andriyanov [Fri, 8 Jun 2012 15:39:46 +0000 (15:39 +0000)] 
r5106 do not read locations list on startup, do not block in session_start on startup.

renderLocationFilterPortlet: do not call session_start, it is already called in renderRackspace
renderRackspace: iintialization code for locations moved here, session_commit added
renderVSTRulesEditor: session_commit added

8 years agor5105 getRows: SQL query was optimized
Alexey Andriyanov [Fri, 8 Jun 2012 15:30:50 +0000 (15:30 +0000)] 
r5105 getRows: SQL query was optimized

8 years agor5104 SQL view `Location` was optimized
Alexey Andriyanov [Fri, 8 Jun 2012 15:22:27 +0000 (15:22 +0000)] 
r5104 SQL view `Location` was optimized

8 years agor5103 Do not fetch locations list and build location tree each time request is processed
Alexey Andriyanov [Fri, 8 Jun 2012 15:17:29 +0000 (15:17 +0000)] 
r5103 Do not fetch locations list and build location tree each time request is processed

no more $locationlist, $locationtree globals

listCells, spotEntity: added 'refcnt' key for 'location' realm
-getLocationList: removed, because its resulting data structure is obscure and unclean
getTagList: do not fill ci (collation-index)
getLocationSelectAJAX: fetch locationlist instead of using global
getRenderedAlloc: idem
renderRackspaceLocationEditor: idem
renderLocationFilterPortlet: idem, use tree instead of iterating list
renderRackspaceRowEditor: idem
renderEditLocationForm: idem
renderLocationRowForEditor: takes tree as argument, not tree item

8 years agor5102 do not allow NULL IP allocation type in database
Alexey Andriyanov [Thu, 7 Jun 2012 10:28:15 +0000 (10:28 +0000)] 
r5102 do not allow NULL IP allocation type in database

8 years agor5101 redirectIfNecessary: fix PHP fatal error if $_SESSION structure is incorrect
Alexey Andriyanov [Thu, 7 Jun 2012 10:27:46 +0000 (10:27 +0000)] 
r5101 redirectIfNecessary: fix PHP fatal error if $_SESSION structure is incorrect