9 years agor4394 upgrade.php: delete invalid rows in RackSpace, which could be left by transacti...
Denis Ovsienko [Fri, 25 Mar 2011 12:40:24 +0000 (12:40 +0000)] 
r4394 upgrade.php: delete invalid rows in RackSpace, which could be left by transactionless processGridForm()

9 years agor4393 processGridForm(): employ transaction to make sure, that the changes either
Denis Ovsienko [Fri, 25 Mar 2011 10:43:38 +0000 (10:43 +0000)] 
r4393 processGridForm(): employ transaction to make sure, that the changes either
  happen all at once, or don't happen at all (to avoid leaving inconsistent
  data in the table like that in bugs #399/415)

9 years agor4392 Do not show ugly unhandled exception page when possible. Instead, show formatte...
Alexey Andriyanov [Fri, 25 Mar 2011 07:17:00 +0000 (07:17 +0000)] 
r4392 Do not show ugly unhandled exception page when possible. Instead, show formatted error message on the previous page.

index.php: in exception handler if HTTP_REFERER is set, redirect user there and show formatted exception message.

9 years agor4391 update: when searching for object by its hostname (FQDN attr) and single match...
Alexey Andriyanov [Fri, 25 Mar 2011 07:13:29 +0000 (07:13 +0000)] 
r4391 update: when searching for object by its hostname (FQDN attr) and single match is found, no searching by other fields is done

searchEntitiesByText: do not try to do all-fields search when searchByMgmtHostname returns value

9 years agor4390 nxos4.connector: wait 60 seconds instead of default 10 when pushing save config...
Alexey Andriyanov [Fri, 25 Mar 2011 07:08:15 +0000 (07:08 +0000)] 
r4390 nxos4.connector: wait 60 seconds instead of default 10 when pushing save configuration command.
Nexus 7000 series saves its config for about 40 seconds.

9 years agor4388 change the current version to 0.19.2 RackTables-0.19.2
Alexey Andriyanov [Thu, 24 Mar 2011 15:28:12 +0000 (15:28 +0000)] 
r4388 change the current version to 0.19.2

9 years agor4387 bugfix: invalid multibyte sequence PHP warning
Alexey Andriyanov [Thu, 24 Mar 2011 15:03:10 +0000 (15:03 +0000)] 
r4387 bugfix: invalid multibyte sequence PHP warning
transformRequestData: do not process cookies from $_REQUEST

9 years agor4386 bugfix: PHP notice was displayed in generate8021QDeployOps if VLAN is not the...
Alexey Andriyanov [Thu, 24 Mar 2011 12:44:33 +0000 (12:44 +0000)] 
r4386 bugfix: PHP notice was displayed in generate8021QDeployOps if VLAN is not the member of domain

9 years agor4385 Release notes changed prior to the release of 0.19.2
Alexey Andriyanov [Thu, 24 Mar 2011 11:27:36 +0000 (11:27 +0000)] 
r4385 Release notes changed prior to the release of 0.19.2

9 years agor4384 getDictStats: added two new chapters into list
Alexey Andriyanov [Thu, 24 Mar 2011 09:53:57 +0000 (09:53 +0000)] 
r4384 getDictStats: added two new chapters into list

9 years agor4383 bugfix: got rid of PHP warning in buildWideRedirectURL
Alexey Andriyanov [Thu, 24 Mar 2011 08:16:53 +0000 (08:16 +0000)] 
r4383 bugfix: got rid of PHP warning in buildWideRedirectURL

9 years agor4382 Dismiss message code 207, which was basically a copy of code 201.
Denis Ovsienko [Wed, 23 Mar 2011 16:52:03 +0000 (16:52 +0000)] 
r4382 Dismiss message code 207, which was basically a copy of code 201.

9 years agor4379 Another round of directory paths justification
Alexey Andriyanov [Tue, 22 Mar 2011 16:15:14 +0000 (16:15 +0000)] 
r4379 Another round of directory paths justification
Five overridable paths are grouped together in the same section:
   $racktables_staticdir, $racktables_gwdir, $racktables_confdir, $path_to_secret_php, $path_to_local_php
They all have default values as absolute paths pointing to the traditional locations

Checking for conffiles existance is made with respect of PHP include's searching method.
fileSearchExists: new function to replicate the PHP include's searching logic

9 years agor4378 * ability to override $racktables_gwdir and $racktables_staticdir from within...
Alexey Andriyanov [Tue, 22 Mar 2011 13:07:09 +0000 (13:07 +0000)] 
r4378 * ability to override $racktables_gwdir and $racktables_staticdir from within custom entry-point wrapper
* got rid of default relative paths in the global dir variables

9 years agor4377 support for Windows PHP installation when parsing '$racktables_confdir'
Alexey Andriyanov [Tue, 22 Mar 2011 12:24:37 +0000 (12:24 +0000)] 
r4377 support for Windows PHP installation when parsing '$racktables_confdir'
ability to override $path_to_secret_php and $path_to_local_php from within custom entry-point wrapper

getFileFullPath: changed using regexp and forward slashes to dirname

9 years agor4376 bugfix: LiveLLDP now supports 'local' port type with Huawei VRP v5 devices
Alexey Andriyanov [Mon, 21 Mar 2011 13:44:04 +0000 (13:44 +0000)] 
r4376 bugfix: LiveLLDP now supports 'local' port type with Huawei VRP v5 devices

vrp55ReadLLDPStatus: these functions were merged together into vrp5xReadLLDPStatus

9 years agor4375 sendFile gateway now returns an answer from handler
Alexey Andriyanov [Mon, 21 Mar 2011 11:36:29 +0000 (11:36 +0000)] 
r4375 sendFile gateway now returns an answer from handler

sendfile/main: combines OK! with the line returned by handler
gwSendFile: returns the line echoed by sendfile handler
gwSendFileToObject: idem

9 years agor4374 treat switchport-only interfaces as access ports by default
Alexey Andriyanov [Sun, 20 Mar 2011 15:09:24 +0000 (15:09 +0000)] 
r4374 treat switchport-only interfaces as access ports by default
ios12PickSwitchportCommand: added switchport-only command handler

9 years agor4373 bugfix: recent commit broke displaying of native vlan
Alexey Andriyanov [Sun, 20 Mar 2011 15:02:24 +0000 (15:02 +0000)] 
r4373 bugfix: recent commit broke displaying of native vlan
serializeVLANPack: native vlan displaying fixed

9 years agor4372 802.1q: a diff between new and former VLAN packs appears in 802.1q port config...
Alexey Andriyanov [Sun, 20 Mar 2011 14:34:49 +0000 (14:34 +0000)] 
r4372 802.1q: a diff between new and former VLAN packs appears in 802.1q port config if the config is complicated

formatVLANPackDiff: new function to format a VLAN pack diff
groupIntsToRanges: new function to make a list of ranges from the list of integers
serializeVLANPack: use new groupIntsToRanges
renderObject8021QPorts: use new formatVLANPackDiff
renderObject8021QSync: idem

9 years agor4371 ChangeLog: add reference to bug #413
Aaron Dummer [Sat, 19 Mar 2011 16:59:42 +0000 (16:59 +0000)] 
r4371 ChangeLog: add reference to bug #413
database.php: remove excess whitespace

9 years agor4370 proper handling of link statuses in NX-OS gateway for Nexus 7000/NX-OS 5.
Alexey Andriyanov [Fri, 18 Mar 2011 17:38:55 +0000 (17:38 +0000)] 
r4370 proper handling of link statuses in NX-OS gateway for Nexus 7000/NX-OS 5.

ciscoReadInterfaceStatus: notconnected and sfpAbsent handlers added

9 years agor4369 LiveCDP/LiveLLDP: support of combo ports (same name, different port types)
Alexey Andriyanov [Fri, 18 Mar 2011 16:08:16 +0000 (16:08 +0000)] 
r4369 LiveCDP/LiveLLDP: support of combo ports (same name, different port types)

renderDiscoveredNeighbors: push more specific pairs into $variants
formatIfTypeVariants: format item label differently

9 years agor4368 syntax error in loadable files secret.php and local.php are now properly logged
Alexey Andriyanov [Fri, 18 Mar 2011 13:04:08 +0000 (13:04 +0000)] 
r4368 syntax error in loadable files secret.php and local.php are now properly logged

getFileFullPath: new function emulation the searching algorythm like PHP's include() does

9 years agor4367 auth.php: update comment
Denis Ovsienko [Thu, 17 Mar 2011 23:53:33 +0000 (23:53 +0000)] 
r4367 auth.php: update comment
authenticated_via_ldap_cache(): justify exception class

9 years agor4366 findAutoTagWarnings(): update for spotEntity() throwing an exception
Denis Ovsienko [Thu, 17 Mar 2011 23:02:15 +0000 (23:02 +0000)] 
r4366 findAutoTagWarnings(): update for spotEntity() throwing an exception

9 years agor4365 serializeTags(): move to interface-lib.php and clean up
Denis Ovsienko [Thu, 17 Mar 2011 22:52:11 +0000 (22:52 +0000)] 
r4365 serializeTags(): move to interface-lib.php and clean up
renderAccessDenied(): dismiss, merge the code into RTPermissionDenied::dispatch()

9 years agor4364 renderProgressBarImage(): add range check for parameter
Denis Ovsienko [Thu, 17 Mar 2011 22:30:41 +0000 (22:30 +0000)] 
r4364 renderProgressBarImage(): add range check for parameter
renderProgressBarError(): new function to output inline image
index.php: use above to handle errors

9 years agor4363 index.php: take care of "permission denied" in "ajax" module
Denis Ovsienko [Thu, 17 Mar 2011 19:53:27 +0000 (19:53 +0000)] 
r4363 index.php: take care of "permission denied" in "ajax" module
dispatchAJAXRequest(): clean up

9 years agor4362 validTagName(): move to interface-lib.php to make available during early stage
Denis Ovsienko [Thu, 17 Mar 2011 18:57:51 +0000 (18:57 +0000)] 
r4362 validTagName(): move to interface-lib.php to make available during early stage

9 years agor4361 constructUserCell(): move to database.php to make auth.php less dependent on...
Denis Ovsienko [Thu, 17 Mar 2011 18:52:32 +0000 (18:52 +0000)] 
r4361 constructUserCell(): move to database.php to make auth.php less dependent on functions.php
generateEntityAutoTags(): idem

9 years agor4360 index.php: make 'progressbar' a standalone module
Denis Ovsienko [Thu, 17 Mar 2011 18:45:23 +0000 (18:45 +0000)] 
r4360 index.php: make 'progressbar' a standalone module
getProgressBar(): update URI
dispatchImageRequest(): dismiss 'progressbar' case

9 years agor4359 dispatchImageRequest(): add missing semicolon
Denis Ovsienko [Thu, 17 Mar 2011 18:30:55 +0000 (18:30 +0000)] 
r4359 dispatchImageRequest(): add missing semicolon

9 years agor4358 render_image.php: rename to solutions.php and add comment
Denis Ovsienko [Thu, 17 Mar 2011 18:29:34 +0000 (18:29 +0000)] 
r4358 render_image.php: rename to solutions.php and add comment
printStatic404(): move to solutions.php
proxyStaticURI(): idem

9 years agor4357 interface API functions moved to appropriate file
Alexey Andriyanov [Thu, 17 Mar 2011 16:49:26 +0000 (16:49 +0000)] 
r4357 interface API functions moved to appropriate file

addJS: moved from functions.php into interface-lib.php
addCSS: idem
printPageHeaders: idem

9 years agor4356 process8021QRecalcRequest(): employ assertPermission()
Denis Ovsienko [Thu, 17 Mar 2011 14:24:48 +0000 (14:24 +0000)] 
r4356 process8021QRecalcRequest(): employ assertPermission()
searchHandler(): discard useless check

9 years agor4355 FreeBSD 8.x added to dictionary
Alexey Andriyanov [Thu, 17 Mar 2011 14:17:46 +0000 (14:17 +0000)] 
r4355 FreeBSD 8.x added to dictionary

9 years agor4354 RTPermissionDenied: new class instead of RackTablesError::NOT_AUTHORIZED
Denis Ovsienko [Thu, 17 Mar 2011 14:11:18 +0000 (14:11 +0000)] 
r4354 RTPermissionDenied: new class instead of RackTablesError::NOT_AUTHORIZED
assertPermission(): new function
searchHandler(): update respectively
renderPopupHTML(): idem
index.php: idem
dispatchImageRequest(): idem

9 years agor4353 renderAccessDeniedImage(): store image inline instead of generating
Denis Ovsienko [Thu, 17 Mar 2011 13:42:11 +0000 (13:42 +0000)] 
r4353 renderAccessDeniedImage(): store image inline instead of generating

9 years agor4352 LiveCDP, LiveLLDP, etc: ability to install tranceivers into ports in-place...
Alexey Andriyanov [Thu, 17 Mar 2011 13:35:51 +0000 (13:35 +0000)] 
r4352 LiveCDP, LiveLLDP, etc: ability to install tranceivers into ports in-place, while linking the ports

modified functions:
importDPData: does the tranceiver installation by calling commitUpdatePortOIF. Uses DB transactions
renderDiscoveredNeighbors: calculates variant list and presents it to the user. Toggle checkbox added
searchByMgmtHostname: now it matches not only full FQDN, but also its part, allowing to not having object names like hostnames. Uses new DB indexes
usePreparedUpdateBlade: function prototype ne wis identical to siblings: it is returning the updated rows count, or FALSE
getSelect: new param $treat_single_special. If it is true, and the option list contains single value, hidden input returned instead of select

new functions:
getPortTypeUsageStatistics: fetches the links count grouped by port type
formatIfTypeVariants: formats variant list into the HTML selecbox
isTranceiverEmpty: new func with self-explaining name
commitUpdatePortOIF: DB function to change port type

new indices in table AttributeValue used to search objects by attribute values

9 years agor4351 explain the specifics of "image" module
Denis Ovsienko [Thu, 17 Mar 2011 11:27:13 +0000 (11:27 +0000)] 
r4351 explain the specifics of "image" module

9 years agor4350 updateUser(): add missing assertion
Denis Ovsienko [Thu, 17 Mar 2011 11:20:05 +0000 (11:20 +0000)] 
r4350 updateUser(): add missing assertion
updateObjectAllocation(): make use of getBypassValue()
resetObject(): ditto
useupPort(): ditto
addRealServer(): ditto
updateRSInService(): ditto
rollTags(): ditto
submitSLBConfig(): ditto
updateRack(): ditto
updateRackDesign(): ditto
updateRackProblems(): ditto
querySNMPData(): ditto
replaceFile(): ditto
addFileWithoutLink(): ditto

9 years agor4349 new dictionary items: Cisco Nexus fabric extenders
Alexey Andriyanov [Thu, 17 Mar 2011 09:31:43 +0000 (09:31 +0000)] 
r4349 new dictionary items: Cisco Nexus fabric extenders

9 years agor4348 remove all instances of formatTimestamp()
Aaron Dummer [Wed, 16 Mar 2011 23:37:24 +0000 (23:37 +0000)] 
r4348 remove all instances of formatTimestamp()

9 years agor4347 dos2unix(): move to interface-lib.php
Denis Ovsienko [Wed, 16 Mar 2011 23:14:23 +0000 (23:14 +0000)] 
r4347 dos2unix(): move to interface-lib.php
escapeString(): idem
transformRequestData(): new function to house the code previously in init.php

9 years agor4346 dismiss single-use variable
Denis Ovsienko [Wed, 16 Mar 2011 22:36:08 +0000 (22:36 +0000)] 
r4346 dismiss single-use variable

9 years agor4345 printException(): use instanceof uniformly
Denis Ovsienko [Wed, 16 Mar 2011 21:41:00 +0000 (21:41 +0000)] 
r4345 printException(): use instanceof uniformly

9 years agor4344 forgottent changelog entry for previous commit
Alexey Andriyanov [Wed, 16 Mar 2011 14:36:11 +0000 (14:36 +0000)] 
r4344 forgottent changelog entry for previous commit

9 years agor4343 bugfix: VRP linkstatus gateway now properly handles port-channels
Alexey Andriyanov [Wed, 16 Mar 2011 14:33:49 +0000 (14:33 +0000)] 
r4343 bugfix: VRP linkstatus gateway now properly handles port-channels

ios12ShortenIfName: the canonical form of Huawei port-channel interfaces is Eth-TrunkX
vrpReadInterfaceStatus: portchannel padding in the output of 'disp int bri' supported

9 years agor4342 forgotten file in addition to previous commit
Alexey Andriyanov [Wed, 16 Mar 2011 14:05:29 +0000 (14:05 +0000)] 
r4342 forgotten file in addition to previous commit

9 years agor4341 new feature: Cisco NX-OS v4, v5 LLDP gateway
Alexey Andriyanov [Wed, 16 Mar 2011 14:03:42 +0000 (14:03 +0000)] 
r4341 new feature: Cisco NX-OS v4, v5 LLDP gateway

nxos4ReadLLDPStatus: new gwrxlator function
new dictionaty items 'NX-OS 5.0' and 'NX-OS 5.1'

9 years agor4340 scanRealmByText: added forgotten 'rack' realm to the list of supported realms
Alexey Andriyanov [Tue, 15 Mar 2011 14:13:46 +0000 (14:13 +0000)] 
r4340 scanRealmByText: added forgotten 'rack' realm to the list of supported realms

9 years agor4339 commitReplaceFile(): reset thumbnail on update
Denis Ovsienko [Tue, 15 Mar 2011 12:20:27 +0000 (12:20 +0000)] 
r4339 commitReplaceFile(): reset thumbnail on update
replaceFile(): dissmiss local UPDATE statement

9 years agor4338 considerGivenConstraint: ability to check context tags
Alexey Andriyanov [Tue, 15 Mar 2011 11:55:30 +0000 (11:55 +0000)] 
r4338 considerGivenConstraint: ability to check context tags

9 years agor4337 generateAutoPorts(): dismiss dead code
Denis Ovsienko [Tue, 15 Mar 2011 11:48:55 +0000 (11:48 +0000)] 
r4337 generateAutoPorts(): dismiss dead code
showMessageOrError(): remove two unused message codes

9 years agor4336 new function judgeContext introduced.
Alexey Andriyanov [Tue, 15 Mar 2011 10:51:42 +0000 (10:51 +0000)] 
r4336 new function judgeContext introduced.

9 years agor4335 JunOS 802.1q function now supports live portconfig feature
Alexey Andriyanov [Mon, 14 Mar 2011 15:50:56 +0000 (15:50 +0000)] 
r4335 JunOS 802.1q function now supports live portconfig feature

jun10Read8021QConfig: portconfig is now stored in ['config'] key of result

9 years agor4334 fixed some issues with recent commit about static content caching
Alexey Andriyanov [Mon, 14 Mar 2011 14:21:29 +0000 (14:21 +0000)] 
r4334 fixed some issues with recent commit about static content caching

caching.php: file was cloned from render-image.php to keep version history
the CACHE_DURATION constant was rised from dead
the inclusion of caching.php was moved to init.php
proxyStaticURI: idem

9 years agor4333 removing caching.php to keep the changehistory of the functions in it
Alexey Andriyanov [Mon, 14 Mar 2011 14:10:29 +0000 (14:10 +0000)] 
r4333 removing caching.php to keep the changehistory of the functions in it

9 years agor4332 new object types: power supply chassis, power supply (#409)
Aaron Dummer [Mon, 14 Mar 2011 02:48:51 +0000 (02:48 +0000)] 
r4332 new object types: power supply chassis, power supply (#409)

9 years agor4331 HTTP-cache headers support for static content returned by module=chrome
Alexey Andriyanov [Sat, 12 Mar 2011 20:00:27 +0000 (20:00 +0000)] 
r4331 HTTP-cache headers support for static content returned by module=chrome

checkCachedResponse: former checkIMSCondition, sets Cache-Control and Last-Modified headers
HTTPDateToUnixTime: moved from render_image.php to the new file caching.php
proxyStaticURI: adapded to support caching
dispatchImageRequest: no more setting of http headers for caching: now checkCachedResponse is resposible for that
index.php: handler of 'image' supports caching for 'progressbar'

9 years agor4330 getTagIDListForNode(): new computational function
Denis Ovsienko [Sat, 12 Mar 2011 14:08:01 +0000 (14:08 +0000)] 
r4330 getTagIDListForNode(): new computational function
renderTagRowForEditor(): refine the code, make use of above for cleaner SELECTs
renderTagTreeEditor(): update THs

9 years agor4329 remove handling of standalone favicon.ico and logically split wwwroot into...
Denis Ovsienko [Sat, 12 Mar 2011 10:29:23 +0000 (10:29 +0000)] 
r4329 remove handling of standalone favicon.ico and logically split wwwroot into "application library" and "index" parts

9 years agor4328 renderRackObject(): add missing call to htmlspecialchars()
Denis Ovsienko [Sat, 12 Mar 2011 09:54:05 +0000 (09:54 +0000)] 
r4328 renderRackObject(): add missing call to htmlspecialchars()
renderObjectLogEditor(): idem
allObjectLogs(): idem

9 years agor4327 remove old comments
Denis Ovsienko [Sat, 12 Mar 2011 09:53:34 +0000 (09:53 +0000)] 
r4327 remove old comments

9 years agor4326 proxyStaticURI(): add "ico" case
Denis Ovsienko [Fri, 11 Mar 2011 18:32:25 +0000 (18:32 +0000)] 
r4326 proxyStaticURI(): add "ico" case
favicon.ico: move to "pix" directory, so chrome module can handle it
init.php: update HREF respectively
printPDOException(): idem
printGenericException(): idem

9 years agor4325 index.php: fix "installer" case condition; fix exceptions throwing/catching...
Denis Ovsienko [Fri, 11 Mar 2011 18:07:58 +0000 (18:07 +0000)] 
r4325 index.php: fix "installer" case condition; fix exceptions throwing/catching logic

9 years agor4324 added RHEL6
Aaron Dummer [Fri, 11 Mar 2011 17:15:15 +0000 (17:15 +0000)] 
r4324 added RHEL6

9 years agor4323 bugfix: got rid of 'undefined offset: 1' PHP notice
Alexey Andriyanov [Fri, 11 Mar 2011 12:30:45 +0000 (12:30 +0000)] 
r4323 bugfix: got rid of 'undefined offset:  1' PHP notice

9 years agor4322 re-ammend recent JunOS changes
Alexey Andriyanov [Fri, 11 Mar 2011 12:19:50 +0000 (12:19 +0000)] 
r4322 re-ammend recent JunOS changes

setDevice8021QConfig: removed the default value of the $vlan_names param cause it is never used
jun10TranslatePushQueue: idem

9 years agor4321 vrp55Read8021QConfig(): include port name in exception message
Denis Ovsienko [Fri, 11 Mar 2011 10:50:56 +0000 (10:50 +0000)] 
r4321 vrp55Read8021QConfig(): include port name in exception message

9 years agor4320 bugfix: fexed undefined variable $error_message in renderDiscoveredNeighbors
Alexey Andriyanov [Fri, 11 Mar 2011 10:33:13 +0000 (10:33 +0000)] 
r4320 bugfix: fexed undefined variable $error_message in renderDiscoveredNeighbors

9 years agor4319 Amend recent JunOS commits:
Denis Ovsienko [Fri, 11 Mar 2011 10:32:52 +0000 (10:32 +0000)] 
r4319 Amend recent JunOS commits:

exec8021QDeploy(): pass empty array instead of NULL on no data
setDevice8021QConfig(): tolerate missing 3rd argument
ios12TranslatePushQueue(): add 2nd argument to meet the expected spec
fdry5TranslatePushQueue(): ditto
vrp53TranslatePushQueue(): ditto
vrp55TranslatePushQueue(): ditto
xos12TranslatePushQueue(): ditto
jun10TranslatePushQueue(): move default argument value to spec

9 years agor4318 bugfix: undefined index in renderIPv4SpaceRecords
Alexey Andriyanov [Thu, 10 Mar 2011 16:29:53 +0000 (16:29 +0000)] 
r4318 bugfix: undefined index in renderIPv4SpaceRecords

9 years agor4317 bugfix: typo in setPortVLAN ('vlanind' instead of 'vlanid')
Alexey Andriyanov [Thu, 10 Mar 2011 16:27:21 +0000 (16:27 +0000)] 
r4317 bugfix: typo in setPortVLAN ('vlanind' instead of 'vlanid')

9 years agor4316 JunOS gateway: bugfix
Alexey Andriyanov [Thu, 10 Mar 2011 16:22:02 +0000 (16:22 +0000)] 
r4316 JunOS gateway: bugfix

jun10TranslatePushQueue: avoiding appearing of the vlan in both members and native

9 years agor4315 bugfix: got rid of two PHP notices
Alexey Andriyanov [Thu, 10 Mar 2011 13:02:02 +0000 (13:02 +0000)] 
r4315 bugfix: got rid of two PHP notices

renderRSPoolLBForm: quoted array keys
renderVServiceLBForm: idem
ciscoReadInterfaceStatus: removed unused and sometimes undefined $type variable

9 years agor4314 jun10Read8021QConfig: minor bugfixes
Alexey Andriyanov [Thu, 10 Mar 2011 12:06:06 +0000 (12:06 +0000)] 
r4314 jun10Read8021QConfig: minor bugfixes

9 years agor4313 bugfix: queryLDAPServer: Undefined offset: 1
Alexey Andriyanov [Thu, 10 Mar 2011 11:19:40 +0000 (11:19 +0000)] 
r4313 bugfix: queryLDAPServer: Undefined offset:  1

9 years agor4312 bugfix: undefined index: 'mode' in ios12PickSwitchportCommand
Alexey Andriyanov [Thu, 10 Mar 2011 11:03:58 +0000 (11:03 +0000)] 
r4312 bugfix: undefined index: 'mode' in ios12PickSwitchportCommand

9 years agor4311 bugfix: produceDownlinkPort was not working properly
Alexey Andriyanov [Thu, 10 Mar 2011 10:57:02 +0000 (10:57 +0000)] 
r4311 bugfix: produceDownlinkPort was not working properly

9 years agor4310 refine filesystem paths logic, trying to make Makefile and init.php play together
Denis Ovsienko [Thu, 10 Mar 2011 09:43:35 +0000 (09:43 +0000)] 
r4310 refine filesystem paths logic, trying to make Makefile and init.php play together

9 years agor4309 JunOS 10 802.1q gateway
Alexey Andriyanov [Thu, 10 Mar 2011 09:31:32 +0000 (09:31 +0000)] 
r4309 JunOS 10 802.1q gateway

new deviceconfig connector jun10.connector written in Perl, supporting telnet and ssh
functions ***TranslatePushQueue now accepts additional parameter - vlan_names array
setDevice8021QConfig: added additional vlan_names param into function call
exportSwitch8021QConfig: idem
exec8021QDeploy: idem

jun10Read8021QConfig: new gateway function
jun10TranslatePushQueue: idem

9 years agor4308 JunOS 10 802.1q gateway
Alexey Andriyanov [Thu, 10 Mar 2011 09:31:04 +0000 (09:31 +0000)] 
r4308 JunOS 10 802.1q gateway

new deviceconfig connector jun10.connector written in Perl, supporting telnet and ssh
functions ***TranslatePushQueue now accepts additional parameter - vlan_names array
setDevice8021QConfig: added additional vlan_names param into function call
exportSwitch8021QConfig: idem
exec8021QDeploy: idem

jun10Read8021QConfig: new gateway function
jun10TranslatePushQueue: idem

9 years agor4307 make directory and tar.gz lettercase the same for packaging purposes
Denis Ovsienko [Wed, 9 Mar 2011 17:16:01 +0000 (17:16 +0000)] 
r4307 make directory and tar.gz lettercase the same for packaging purposes

9 years agor4306 justify datadir path
Denis Ovsienko [Wed, 9 Mar 2011 16:49:28 +0000 (16:49 +0000)] 
r4306 justify datadir path

9 years agor4305 initial revision
Denis Ovsienko [Wed, 9 Mar 2011 16:43:12 +0000 (16:43 +0000)] 
r4305 initial revision

9 years agor4304 proxyStaticURI(): add rows for JPEG and make suffix check case-insensitive
Denis Ovsienko [Wed, 9 Mar 2011 09:45:27 +0000 (09:45 +0000)] 
r4304 proxyStaticURI(): add rows for JPEG and make suffix check case-insensitive

9 years agor4303 install.php: convert into pure library, add inline style
Denis Ovsienko [Tue, 8 Mar 2011 21:06:34 +0000 (21:06 +0000)] 
r4303 install.php: convert into pure library, add inline style
index.php: add "installer" case

9 years agor4302 renderAddMultipleObjectsForm(): fix spelling
Aaron Dummer [Tue, 8 Mar 2011 06:23:09 +0000 (06:23 +0000)] 
r4302 renderAddMultipleObjectsForm(): fix spelling

9 years agor4301 index.php: add "upgrade" case with some of the code previously located in upgra...
Denis Ovsienko [Mon, 7 Mar 2011 13:19:45 +0000 (13:19 +0000)] 
r4301 index.php: add "upgrade" case with some of the code previously located in upgrade.php
upgrade.php: convert into pure library, use inline CSS
init.php: update URI in message
platform_function_test(): change default class
showError(): update default location

9 years agor4300 printPageHeaders(): also use static proxy for JS files
Denis Ovsienko [Mon, 7 Mar 2011 11:05:14 +0000 (11:05 +0000)] 
r4300 printPageHeaders(): also use static proxy for JS files
CodePress: fix to access its bits through static proxy

9 years agor4299 RE_STATIC_URI: require filename prefix be at least one char long
Denis Ovsienko [Mon, 7 Mar 2011 10:26:16 +0000 (10:26 +0000)] 
r4299 RE_STATIC_URI: require filename prefix be at least one char long
init.php: always have a default value for $racktables_staticdir
TSURI(): sayonara
index.php: rename "tsuri" module to "chrome"
getImageHREF(): update
printPageHeaders(): update
proxyStaticURI(): update
formatPortLinkHints(): update
portinfo.js: update

9 years agor4298 remove require(), which is no longer needed here
Denis Ovsienko [Sun, 6 Mar 2011 22:10:43 +0000 (22:10 +0000)] 
r4298 remove require(), which is no longer needed here

9 years agor4297 renderError(): rename to renderErrorImage()
Denis Ovsienko [Sun, 6 Mar 2011 22:08:43 +0000 (22:08 +0000)] 
r4297 renderError(): rename to renderErrorImage()

9 years agor4296 index.php: speed up popup module by eliminating dependency on 320+ KB interface.php
Denis Ovsienko [Sun, 6 Mar 2011 18:50:52 +0000 (18:50 +0000)] 
r4296 index.php: speed up popup module by eliminating dependency on 320+ KB interface.php
navigation.php: replace function call with a static string, which will be overridden upon loading the config
interface.php: move $image array and 7 functions to interface-lib.php (new file)
init.php: require interface-lib.php unconditionally, gather require stements at top

9 years agor4295 fixed catch-block and moved clearMessages() to where it better belongs
Denis Ovsienko [Sun, 6 Mar 2011 16:06:59 +0000 (16:06 +0000)] 
r4295 fixed catch-block and moved clearMessages() to where it better belongs

9 years agor4294 updated comment block
Denis Ovsienko [Sun, 6 Mar 2011 15:35:28 +0000 (15:35 +0000)] 
r4294 updated comment block

9 years agor4293 getDBUpgradePath(): fix to return correct result on equal arguments
Denis Ovsienko [Sat, 5 Mar 2011 14:29:12 +0000 (14:29 +0000)] 
r4293 getDBUpgradePath(): fix to return correct result on equal arguments

9 years agor4292 popup.php: turn into a pure library file
Denis Ovsienko [Sat, 5 Mar 2011 13:32:50 +0000 (13:32 +0000)] 
r4292 popup.php: turn into a pure library file
renderPopupHTML(): new function to wrap existing code
makeHrefForHelper(): update for dispatched popup URI
index.php: add "popup" case to module dispatcher