racktables
6 years agoinit-sample-racks.sql: VSG sample added
Alexey Andriyanov [Sun, 23 Jun 2013 21:49:55 +0000 (01:49 +0400)] 
init-sample-racks.sql: VSG sample added

6 years agofix spelling in release notes
Alexey Andriyanov [Sun, 23 Jun 2013 19:37:00 +0000 (23:37 +0400)] 
fix spelling in release notes

6 years agobugfix: Linux host's port status (#903)
Alexey Andriyanov [Sun, 23 Jun 2013 17:07:18 +0000 (21:07 +0400)] 
bugfix: Linux host's port status (#903)

linuxTranslatePushQueue has been changed

6 years agosearch for rack rows by name (#885)
Alexey Andriyanov [Sun, 23 Jun 2013 17:55:18 +0000 (21:55 +0400)] 
search for rack rows by name (#885)

getRowSearchResult: new DB func
searchEntitiesByText changed
renderSearchResults changed

6 years agorenderRackspaceRowEditor: fix tabindex (#897)
Alexey Andriyanov [Sun, 23 Jun 2013 17:36:35 +0000 (21:36 +0400)] 
renderRackspaceRowEditor: fix tabindex (#897)

all inputs got the same tabindex value

6 years agooptimize renderRackspaceRowEditor()
Alexey Andriyanov [Sun, 23 Jun 2013 17:31:11 +0000 (21:31 +0400)] 
optimize renderRackspaceRowEditor()

getAllRows: new field 'rackc' added
renderRackspaceRowEditor: use this new field

6 years agoslb: ability to override rs list
Alexey Andriyanov [Sun, 23 Jun 2013 10:12:06 +0000 (14:12 +0400)] 
slb: ability to override rs list

macroParser::getRSList: wrapper around getRSListInPool
generateVSSection: prototype changed

6 years agohooks reentrance fix
Alexey Andriyanov [Sat, 22 Jun 2013 12:01:01 +0000 (16:01 +0400)] 
hooks reentrance fix

universalHookHandler: $hook_propagation_stop is now a stack
stopHookPropagation: idem

6 years agoprintObjectDetailsForRenderRack: PHP notice fixed
Alexey Andriyanov [Fri, 21 Jun 2013 10:57:45 +0000 (14:57 +0400)] 
printObjectDetailsForRenderRack: PHP notice fixed

6 years agoarePortTypesCompatible: speed up using static map
Alexey Andriyanov [Tue, 18 Jun 2013 13:56:28 +0000 (17:56 +0400)] 
arePortTypesCompatible: speed up using static map

6 years agoTAGNAME_REGEXP weakened a bit
Alexey Andriyanov [Fri, 14 Jun 2013 20:03:04 +0000 (00:03 +0400)] 
TAGNAME_REGEXP weakened a bit

6 years agomake tag name regexp easy to maintain
Alexey Andriyanov [Fri, 14 Jun 2013 19:28:08 +0000 (23:28 +0400)] 
make tag name regexp easy to maintain

lexError1: format most popular non-printable chars into escape sequences
getLexemsFromRawText:
- count lines in single place, process character before counting a line
- FSM change. Every character except \n is correct when collecting a name.
  After collecting, the entire name is validated with validTagName

TAGNAME_REGEXP, AUTOTAGNAME_REGEXP, validTagName moved into functions.php

6 years agobugfix: exception when no checkboxes are selected
Alexey Andriyanov [Fri, 14 Jun 2013 18:23:22 +0000 (22:23 +0400)] 
bugfix: exception when no checkboxes are selected

genericAssertion: new argument type 'array0'. Useful for array of checkboxes
createTriplet: use array0 genericAssertion
saveQuickLinks: No more exception when no checkboxes are selected
doVSMigrate: idem

6 years agoslb: fix equal ports, multiple protos issue
Alexey Andriyanov [Fri, 14 Jun 2013 09:54:51 +0000 (13:54 +0400)] 
slb: fix equal ports, multiple protos issue

generateSLBConfig2: index VS instances by proto-ip-port, not ip-port

6 years agobugfix: built-in hook functions were not called
Alexey Andriyanov [Thu, 13 Jun 2013 14:25:31 +0000 (18:25 +0400)] 
bugfix: built-in hook functions were not called

registerHook: we need to inject built-in callbacks into array in all
modes

6 years agorenderLocationFilterPortlet: change form from GET to POST (#869)
Aaron Dummer [Sat, 8 Jun 2013 22:44:50 +0000 (15:44 -0700)] 
renderLocationFilterPortlet: change form from GET to POST (#869)

6 years agodisplay location drop-down list as a tree (#879)
Aaron Dummer [Sat, 8 Jun 2013 22:31:13 +0000 (15:31 -0700)] 
display location drop-down list as a tree (#879)

6 years agorenderLocationFilterPortlet: add JavaScript to toggle children (#841)
Aaron Dummer [Sat, 8 Jun 2013 17:41:12 +0000 (10:41 -0700)] 
renderLocationFilterPortlet: add JavaScript to toggle children (#841)

6 years agoSLB: display triplet config using ajax
Alexey Andriyanov [Tue, 4 Jun 2013 18:13:11 +0000 (22:13 +0400)] 
SLB: display triplet config using ajax

renderSLBTriplets2: inject config preview button
getTripletConfigAJAX: format ajax response
slb_config_preview: js preview button handler

6 years agoSNMP: fix support of Cisco 2960S-24PS-L
Alexey Andriyanov [Mon, 3 Jun 2013 15:48:58 +0000 (19:48 +0400)] 
SNMP: fix support of Cisco 2960S-24PS-L

6 years agofix 'mac address 00000000000 already used' issue
Alexey Andriyanov [Sat, 1 Jun 2013 08:28:21 +0000 (12:28 +0400)] 
fix 'mac address 00000000000 already used' issue

l2addressForDatabase: empty all-zero address
commitUpdatePort: use nullEmptyStr func

6 years agorenderNewTripletForm: debugging code removed
Alexey Andriyanov [Wed, 29 May 2013 13:31:52 +0000 (17:31 +0400)] 
renderNewTripletForm: debugging code removed

6 years agoUcsHandle instance has no attribute 'cookie', fix
Denis Ovsienko [Fri, 31 May 2013 06:50:30 +0000 (10:50 +0400)] 
UcsHandle instance has no attribute 'cookie', fix

This fixes the problem reported on the mailing list:
http://www.freelists.org/post/racktables-users/Getting-internal-server-error-while-trying-to-authenticate-Cisco-UCS,4

Quoting Jeff Silberman:
"There is no ".cookie" attribute. There's a "._cookie", but it's an
internal attribute. There are no public access methods for session
cookies, likely for security reasons. So it shouldn't have been there in
the first place."

6 years agoadd some finish to the previous commit
Denis Ovsienko [Thu, 30 May 2013 05:40:24 +0000 (09:40 +0400)] 
add some finish to the previous commit

6 years agoadd groups and logout support to SAML authn (#867)
Thomas Powers [Thu, 30 May 2013 05:30:19 +0000 (09:30 +0400)] 
add groups and logout support to SAML authn (#867)

The patch implements a proper SAML logout and adds tags with '$sgcn_'
prefixed to the name of the groups supplied by the IdP for the user
(similar to the way groups are handled for LDAP). The SAML attribute to
get the list of groups from is specified with the groupListAttribute key
in the $SAML_options in the configuration.

6 years agobugfix: UCS was broken
Alexey Andriyanov [Wed, 29 May 2013 09:42:23 +0000 (13:42 +0400)] 
bugfix: UCS was broken

makeGatewayParams: 'ucssdk' case was in one switch() block, but not in the other.
Only one switch() block kept.

6 years agosnmp support for C2960S-24PS-L, C2960S-F48LPS-L
Alexey Andriyanov [Tue, 28 May 2013 15:33:55 +0000 (19:33 +0400)] 
snmp support for C2960S-24PS-L, C2960S-F48LPS-L

6 years agoprintException: removed unused global declaration
Alexey Andriyanov [Tue, 28 May 2013 08:21:37 +0000 (12:21 +0400)] 
printException: removed unused global declaration

6 years agoadd SNMP support for Cisco 4948E (#741)
Aaron Dummer [Mon, 27 May 2013 19:32:31 +0000 (12:32 -0700)] 
add SNMP support for Cisco 4948E (#741)

6 years agoupdateAddress: DELETE was unconditional
Alexey Andriyanov [Mon, 27 May 2013 18:48:22 +0000 (22:48 +0400)] 
updateAddress: DELETE was unconditional

In some automation scenarios there are too many calls to updateAddress.
Each call was leading to a delete query, which appeared in mysql binlog.
Now the delete query is executed only if nesessary

6 years agocommitUpdateAttrValue: DELETE was unconditional
Alexey Andriyanov [Mon, 27 May 2013 17:17:28 +0000 (21:17 +0400)] 
commitUpdateAttrValue: DELETE was unconditional

In some automation scenarios there are too many calls to
commitUpdateAttrValue. Each call was leading to a delete query, which
appeared in mysql binlog.
Now only nessessary queries are performed (update, insert, delete)

6 years agoadd SNMP support for Cisco ISR 877 (#863), 878 (#861)
Aaron Dummer [Sat, 25 May 2013 22:04:58 +0000 (15:04 -0700)] 
add SNMP support for Cisco ISR 877 (#863), 878 (#861)

6 years agoadd Enterasys dictionary entries (#865)
Aaron Dummer [Sat, 25 May 2013 21:33:00 +0000 (14:33 -0700)] 
add Enterasys dictionary entries (#865)

6 years agovsg creation form now has submit button
Alexey Andriyanov [Thu, 23 May 2013 18:05:55 +0000 (22:05 +0400)] 
vsg creation form now has submit button

renderNewVSGForm changed

6 years agobug: single vlan in search result caused exception
Alexey Andriyanov [Thu, 23 May 2013 12:23:12 +0000 (16:23 +0400)] 
bug: single vlan in search result caused exception

buildSearchRedirectURL changed ('vlan' is not a correct realm)

6 years agogenerateSLBConfig2: fix fwmark conf gen (typo)
Alexey Andriyanov [Thu, 23 May 2013 12:15:17 +0000 (16:15 +0400)] 
generateSLBConfig2: fix fwmark conf gen (typo)

6 years agosearch: show ipaddress page for VS-only addresses
Alexey Andriyanov [Thu, 23 May 2013 08:58:51 +0000 (12:58 +0400)] 
search: show ipaddress page for VS-only addresses

buildSearchRedirectURL changed

6 years agoformatVSPort: unknown ports were not displayed
Alexey Andriyanov [Wed, 22 May 2013 13:03:54 +0000 (17:03 +0400)] 
formatVSPort: unknown ports were not displayed

6 years agopost-processing hook when generating slb conf
Alexey Andriyanov [Tue, 21 May 2013 11:39:06 +0000 (15:39 +0400)] 
post-processing hook when generating slb conf

generateSLBConfig2: call generateSLBConfig_stage2 hook

6 years agovsg: search by vsg name
Alexey Andriyanov [Tue, 21 May 2013 08:53:09 +0000 (12:53 +0400)] 
vsg: search by vsg name

getVServiceSearchResult: new func
searchEntitiesByText: call getVServiceSearchResult
renderSearchResults: render ipvs realm result

6 years agovsg js: keep selectbox val when cloning form
Alexey Andriyanov [Tue, 21 May 2013 08:15:01 +0000 (12:15 +0400)] 
vsg js: keep selectbox val when cloning form

6 years agobugfix: vsg: foreign keys forbid correct configs
Alexey Andriyanov [Mon, 20 May 2013 18:47:29 +0000 (22:47 +0400)] 
bugfix: vsg: foreign keys forbid correct configs

table VSPorts: added key, removed latin1 charset specification
table VSEnabledIPs: primary key extended by rspool_id
table VSEnabledPorts: idem

updateTripletConfig: removed primitive constrain code, use new constrain funcs
doVSMigrate: use new constrain funcs
addSLBPortLink: insert handler for VSEnabledPorts. Guarantees that there will be no duplication of VS IP-port pairs on a load balancer
addSLBIPLink: idem for VSEnabledIPs isTransactionActive: utility function to check if active transaction persist
getVSLinkedObjects: function for calculating refcnt for vsg

6 years agotrim trailing whitespace
Alexey Andriyanov [Sun, 19 May 2013 15:19:45 +0000 (19:19 +0400)] 
trim trailing whitespace

6 years agobugfix in config edit form (user-defined vars)
Alexey Andriyanov [Sun, 19 May 2013 15:19:02 +0000 (19:19 +0400)] 
bugfix in config edit form (user-defined vars)

loadConfigDefaults: return array, dont modify global
alterConfigWithUserPreferences: removed unused global $userConfigCache
renderUIConfig: use loadConfigDefaults, not the $configCache global
renderConfigEditor: idem

6 years agodont display routers in aggregate networks (#773)
Alexey Andriyanov [Sun, 19 May 2013 15:14:08 +0000 (19:14 +0400)] 
dont display routers in aggregate networks (#773)

renderIPSpaceRecords: use own_addrlist instead of addrlist
printRoutersTD: inject hl_ip param into router href

6 years agodont lock Ports table if mac is empty
Alexey Andriyanov [Sun, 19 May 2013 15:09:58 +0000 (19:09 +0400)] 
dont lock Ports table if mac is empty

this is a performance optimization
commitAddPort: check mac before lock
commitUpdatePort: idem
alreadyUsedL2Address: optimize SQL query to use index (BINARY cast
prevents using index)

6 years agofix exception on saving per-user vars (#831)
Alexey Andriyanov [Sun, 19 May 2013 10:48:04 +0000 (14:48 +0400)] 
fix exception on saving per-user vars (#831)

UserConfig table: foreign key removed
updateUser: handle user renaming

6 years agobug: renderSLBTriplets2 was not displaying prio
Alexey Andriyanov [Fri, 17 May 2013 07:35:28 +0000 (11:35 +0400)] 
bug: renderSLBTriplets2 was not displaying prio

6 years agovsg deletion
Alexey Andriyanov [Thu, 16 May 2013 16:59:00 +0000 (20:59 +0400)] 
vsg deletion

6 years agovsg creation form
Alexey Andriyanov [Thu, 16 May 2013 16:06:20 +0000 (20:06 +0400)] 
vsg creation form

amplifyCell: bug fixed. When vsg had no ports or vips, 'ports' and
'vips' subkeys were not created

6 years agodisplay blades when rendering a rack (#745)
Aaron Dummer [Sat, 18 May 2013 21:03:10 +0000 (14:03 -0700)] 
display blades when rendering a rack (#745)

6 years agorenderGridForm(): removed markupObjectProblems call
Aaron Dummer [Sat, 18 May 2013 17:27:28 +0000 (10:27 -0700)] 
renderGridForm(): removed markupObjectProblems call

6 years agoclarification around formatEntityList
Alexey Andriyanov [Wed, 15 May 2013 19:05:16 +0000 (23:05 +0400)] 
clarification around formatEntityList

formatEntityName: renamed into formatRealmName
formatEntityList: turned into wrapper around its old core, which became
formatEntityName
mkCellA: display realm for some entity types
getEntityRelatives: formatEntityName renamed
getFileLinks: simplified, do not calculate display name
serializeFileLinks: use mkCellA, dont use pageno* globals
renderFileLinks: use mkCellA

6 years agoVSG tab name fix
Alexey Andriyanov [Wed, 15 May 2013 19:04:49 +0000 (23:04 +0400)] 
VSG tab name fix

6 years agoremoved markupObjectProblems func
Alexey Andriyanov [Tue, 14 May 2013 12:06:02 +0000 (16:06 +0400)] 
removed markupObjectProblems func

its functionality was moved to amplifyCell
this is performance optimization

6 years agogetRenderedAlloc: 'none' in IPV4_TREE_RTR_AS_CELL
Alexey Andriyanov [Tue, 14 May 2013 14:00:21 +0000 (18:00 +0400)] 
getRenderedAlloc: 'none' in IPV4_TREE_RTR_AS_CELL

this is a performance optimization, as the whole 'none' thing was.

6 years agoforgot ENUMs altering
Alexey Andriyanov [Mon, 13 May 2013 18:12:07 +0000 (22:12 +0400)] 
forgot ENUMs altering

6 years agovs groups feature
Alexey Andriyanov [Mon, 13 May 2013 18:00:54 +0000 (22:00 +0400)] 
vs groups feature

new realm 'ipvs'
new tables `VS`, `VSIPs`, `VSPorts`, `VSEnabledIPs`, `VSEnabledPorts`
new files slbv2.php slb2-interface.php, slb_editor.js, checked.png, unchecked.png

listCells:
- new realm 'ipvs',
- 'ordcolumns' key became optional in $SQLinfo
- call dos2unix when fetching DB SLB configs
spotEntity: idem

scanIPv4Space: fill 'vsglist' key of IPAddress structure
scanIPv6Space: idem
constructIPAddress: idem

generateEntityAutoTags: new realm 'ipvs'
formatEntityList: idem
renderCell: idem
dynamic_title_decoder: idem
renderSLBEntityCell: idem

array_sub: utitlity function, assosiative array_diff
nullEmptyStr: utitlity function, turns empty string into NULL

renderObject: inject redered vs groups info
renderIPv4NetworkAddresses: idem
renderIPv6NetworkAddresses: idem
renderIPAddress: idem
renderRSPool: idem

showPathAndSearch: support for specifying tab in 'parent' key of $page global (colon-separated)

SLBTriplet::generateSLBConfig: new macro %VS_PREPEND%
buildEntityLVSConfig: concat v2 and v1 configs
SLBTriplet::getRSList: call dos2unix when fetching DB SLB configs
SLBTriplet::getTriplets: idem

6 years agoscanRealmByText: removed realm filter
Alexey Andriyanov [Mon, 13 May 2013 17:07:56 +0000 (21:07 +0400)] 
scanRealmByText: removed realm filter

some realms were not accepted in scanRealmByText (location, row)
unknown realms are already filtered in listCells

6 years agonew global $pageno_by_etype
Alexey Andriyanov [Mon, 13 May 2013 16:54:37 +0000 (20:54 +0400)] 
new global $pageno_by_etype

buildSearchRedirectURL: do not assume realm == page
mkCellA: use $pageno_by_etype instead of loop
serializeFileLinks: use $pageno_by_etype instead of array_search

6 years agobugfix: syntax error
Alexey Andriyanov [Mon, 13 May 2013 16:38:57 +0000 (20:38 +0400)] 
bugfix: syntax error

6 years agonew function isIPAddressEmpty
Alexey Andriyanov [Mon, 13 May 2013 15:34:25 +0000 (19:34 +0400)] 
new function isIPAddressEmpty

markupIPAddrList: use isIPAddressEmpty
isIPNetworkEmpty: idem

6 years agorenderLocationPage(): display parent and child location(s) (#847)
Aaron Dummer [Sat, 11 May 2013 19:39:50 +0000 (12:39 -0700)] 
renderLocationPage(): display parent and child location(s) (#847)

6 years agorenderRackspace(): display parent locations (#845)
Aaron Dummer [Sat, 11 May 2013 19:18:29 +0000 (12:18 -0700)] 
renderRackspace(): display parent locations (#845)

6 years agorenderSearchResults(): invalid result when only one location matched (#843)
Aaron Dummer [Sat, 11 May 2013 18:59:10 +0000 (11:59 -0700)] 
renderSearchResults(): invalid result when only one location matched (#843)

6 years agogetResidentRacksData: optimize SQL query
Alexey Andriyanov [Sat, 11 May 2013 12:18:27 +0000 (16:18 +0400)] 
getResidentRacksData: optimize SQL query

6 years agowhen mounting an object, list of racks was improperly grouped if duplicate row names...
Aaron Dummer [Mon, 6 May 2013 22:48:34 +0000 (15:48 -0700)] 
when mounting an object, list of racks was improperly grouped if duplicate row names existed (#839)

6 years agouse the monospace font family when displaying comments (#781)
Aaron Dummer [Sun, 5 May 2013 00:10:28 +0000 (17:10 -0700)] 
use the monospace font family when displaying comments (#781)

6 years agoprevent deletion of object container compatibility rules which are being used (#835)
Aaron Dummer [Sat, 4 May 2013 23:57:11 +0000 (16:57 -0700)] 
prevent deletion of object container compatibility rules which are being used (#835)

6 years agoprevent deletion of system-level attribute mappings (#771)
Aaron Dummer [Sat, 4 May 2013 23:20:11 +0000 (16:20 -0700)] 
prevent deletion of system-level attribute mappings (#771)

6 years agocontained objects were displayed without container's rackspace
Aaron Dummer [Sat, 4 May 2013 19:54:30 +0000 (12:54 -0700)] 
contained objects were displayed without container's rackspace
allocation information (#825)

getResidentRacksData(): rack data of the parent object was being
excluded
renderPopupPortSelector(): include ports of child objects whose parent
is located in the nearest racks
findSparePorts(): idem

6 years agorenderVirtualResourcesSummary(): correctly display cluster fields
Aaron Dummer [Sat, 4 May 2013 17:30:37 +0000 (10:30 -0700)] 
renderVirtualResourcesSummary(): correctly display cluster fields

6 years agorenderVirtualResourcesSummary(): threw exception if hypervisor/resource
Aaron Dummer [Sat, 4 May 2013 16:54:07 +0000 (09:54 -0700)] 
renderVirtualResourcesSummary(): threw exception if hypervisor/resource
pool was not associated with a cluster (#823)

6 years agoFix Spelling In Example 16/head
Jayson Vantuyl [Wed, 1 May 2013 23:31:33 +0000 (23:31 +0000)] 
Fix Spelling In Example

6 years agoredirect to main if EntityNotFoundException raised
Aleksey V. Zhukov [Wed, 24 Apr 2013 10:07:43 +0000 (14:07 +0400)] 
redirect to main if EntityNotFoundException raised

handle EntityNotFoundException as redirect to main page and show appropriate error message
EntityNotFoundException::dispatch

Conflicts:

ChangeLog

6 years agowide use of getOpLink, unified JS conf dialog
Alexey Andriyanov [Thu, 25 Apr 2013 15:12:45 +0000 (19:12 +0400)] 
wide use of getOpLink, unified JS conf dialog

serializeFileLinks: moved from functions.php to interface-lib.php, unified
getOpLink: special treatment of need-confirmation class

These functions were using makeHrefProcess & printImageHREF, changed in favour of getOpLink:
- formatEntityName
- getQueryString
- printOpFormIntro
- render8021QOrderForm
- renderCactiServersEditor
- renderChapterEditor
- renderChaptersEditor
- renderEditAttrMapForm
- renderEditAttributesForm
- renderEditLocationForm
- renderEditObjectForm
- renderEditRackForm
- renderEditUCSForm
- renderEditVlan
- renderFileManager
- renderFileProperties
- renderFilesForEntity
- renderIIFOIFCompatEditor
- renderIPAddressAllocations
- renderIPForObject
- renderIPNewNetForm
- renderLocationRowForEditor
- renderMuninServersEditor
- renderNATv4ForObject
- renderOIFCompatEditor
- renderObject8021QPorts
- renderObjectCactiGraphs
- renderObjectLogEditor
- renderObjectMuninGraphs
- renderObjectParentCompatEditor
- renderPortsForObject
- renderRSPoolServerForm
- renderRackspaceRowEditor
- renderSLBTripletsEdit
- renderTagRowForEditor
- renderVLANDomainListEditor
- renderVLANDomainVLANList
- renderVLANIPLinks
- renderVSTListEditor

6 years agonew feature: Rackcode filter for RDP-managed objects (#819) 15/head
Frank Spijkerman [Thu, 25 Apr 2013 21:21:10 +0000 (23:21 +0200)] 
new feature: Rackcode filter for RDP-managed objects (#819)

6 years agofix indentation
Alexey Andriyanov [Mon, 22 Apr 2013 21:28:52 +0000 (01:28 +0400)] 
fix indentation

6 years agoSearch improvements
Aleksey V. Zhukov [Mon, 22 Apr 2013 21:08:44 +0000 (01:08 +0400)] 
Search improvements

buildSearchRedirectURL
showPathAndSearch

6 years agobugfix: preg syntax error
Alexey Andriyanov [Tue, 16 Apr 2013 19:38:04 +0000 (23:38 +0400)] 
bugfix: preg syntax error

MacroParser::expand

6 years agonew SLB config generation procedure
Alexey Andriyanov [Tue, 16 Apr 2013 18:55:33 +0000 (22:55 +0400)] 
new SLB config generation procedure

instead of calling generateConfig for each triplet instance,
generateSLBConfig for triplet list is being called. This increases
performance ~ by 2.

+ generateSLBConfig: function generates config for entire triplet list
~ buildEntityLVSConfig: use generateSLBConfig
+ $parser_class global. Used instead of calling virtual SLBTriplet::createParser

- SLBTriplet::generateConfig
- SLBTriplet::createParser
- SLBTriplet::prepareParser
- SLBTriplet::prepareParserForRS
- MacroParser::pushdefs
- MacroParser::popdefs

6 years agoaddMacro: unify code duplication
Alexey Andriyanov [Tue, 16 Apr 2013 17:29:41 +0000 (21:29 +0400)] 
addMacro: unify code duplication

6 years agogetSLBDefaults result structure change
Alexey Andriyanov [Tue, 16 Apr 2013 17:26:11 +0000 (21:26 +0400)] 
getSLBDefaults result structure change

    getSLBDefaults: changed result key names
    renderSLBDefConfig: new defaults key
    SLBTriplet::prepareParser: idem
    SLBTriplet::prepareParserForRS: idem

6 years agodos2unix moved to functions.php
Alexey Andriyanov [Tue, 16 Apr 2013 17:13:17 +0000 (21:13 +0400)] 
dos2unix moved to functions.php

6 years agoSLB parser syntax enhancements
Alexey Andriyanov [Mon, 15 Apr 2013 17:26:26 +0000 (21:26 +0400)] 
SLB parser syntax enhancements

macroParser::addMacro - added := and ?= assignments
macroParser::expand - added %{A}%, %{A:-b}%, %{A:+b}%, %?A% syntaxes
macroParser::strp - wrapper around strpos

6 years agomakeGatewayParams: fix missing 'new' in throwing
Alexey Andriyanov [Mon, 15 Apr 2013 08:22:19 +0000 (12:22 +0400)] 
makeGatewayParams: fix missing 'new' in throwing

6 years ago0.20.4: cut the release RackTables-0.20.4
Alexey Andriyanov [Sun, 14 Apr 2013 20:27:19 +0000 (00:27 +0400)] 
0.20.4: cut the release

6 years agobug: relnotes were not displayed
Alexey Andriyanov [Sun, 14 Apr 2013 20:23:41 +0000 (00:23 +0400)] 
bug: relnotes were not displayed

6 years agopre-release notes
Alexey Andriyanov [Sun, 14 Apr 2013 20:15:40 +0000 (00:15 +0400)] 
pre-release notes

6 years agoUI: config editor changed a bit
Alexey Andriyanov [Tue, 9 Apr 2013 20:57:40 +0000 (00:57 +0400)] 
UI: config editor changed a bit

renderUIConfigEditForm, renderMyPreferences: merged into one
renderConfigEditor

renderConfigVarName: new func
renderUIConfig: use renderConfigVarName

6 years agomove checkTypeAndAttribute to functions.php
Alexey Andriyanov [Tue, 9 Apr 2013 20:55:25 +0000 (00:55 +0400)] 
move checkTypeAndAttribute to functions.php

6 years agoauthenticate(): add some comments
Denis Ovsienko [Sun, 7 Apr 2013 13:11:45 +0000 (17:11 +0400)] 
authenticate(): add some comments

6 years agoadd some finish to the new SAML code
Denis Ovsienko [Sun, 7 Apr 2013 12:47:04 +0000 (16:47 +0400)] 
add some finish to the new SAML code

* authenticate(): call authenticated_via_saml() only once and handle its
  failure properly
* authenticated_via_saml(): simplify some code
* saml_getAttributeValue(): idem

6 years agoinitial SAML authentication support (#811)
Merijn van de Schoot [Sun, 7 Apr 2013 09:58:01 +0000 (13:58 +0400)] 
initial SAML authentication support (#811)

6 years agoauthenticate(): justify switch blocks
Denis Ovsienko [Sun, 7 Apr 2013 12:23:39 +0000 (16:23 +0400)] 
authenticate(): justify switch blocks

Rewrite the first switch block to convert the outer "if" into a "case"
(also saves one indentation level). Remove the extra parentheses in the
second switch block and split a case condition into two.

6 years agoauthenticate(): remove a single-use variable
Denis Ovsienko [Sun, 7 Apr 2013 12:17:54 +0000 (16:17 +0400)] 
authenticate(): remove a single-use variable

6 years agoauthenticate(): remove a no-op stmt after "throw"
Denis Ovsienko [Sun, 7 Apr 2013 11:33:29 +0000 (15:33 +0400)] 
authenticate(): remove a no-op stmt after "throw"

6 years agoadd SNMP support for Dell PowerConnect 2824 (#815)
Aaron Dummer [Sat, 6 Apr 2013 16:45:45 +0000 (09:45 -0700)] 
add SNMP support for Dell PowerConnect 2824 (#815)

6 years agoUI: nowrap in td.tagbox
Alexey Andriyanov [Fri, 5 Apr 2013 16:38:35 +0000 (20:38 +0400)] 
UI: nowrap in td.tagbox

6 years agostrip tags from error message in CLI mode
Alexander Balezin [Fri, 5 Apr 2013 07:35:56 +0000 (11:35 +0400)] 
strip tags from error message in CLI mode

setMessage() changed

Signed-off-by: Alexey Andriyanov <alan@al-an.info>