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

8 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

8 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

8 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

8 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

8 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

8 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

8 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')

8 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

8 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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

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

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

8 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

8 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

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

8 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

8 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

8 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

8 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

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

8 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

8 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

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

8 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

8 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

8 years agor4291 fix redirection URI
Denis Ovsienko [Sat, 5 Mar 2011 13:23:30 +0000 (13:23 +0000)] 
r4291 fix redirection URI

8 years agor4290 redirectIfNecessary(): remove obsolete redirection maps
Denis Ovsienko [Sat, 5 Mar 2011 13:10:47 +0000 (13:10 +0000)] 
r4290 redirectIfNecessary(): remove obsolete redirection maps

8 years agor4289 index.php: add implicit "interface" case to module dispatcher and move top...
Denis Ovsienko [Sat, 5 Mar 2011 13:06:31 +0000 (13:06 +0000)] 
r4289 index.php: add implicit "interface" case to module dispatcher and move top-level code there

8 years agor4288 renderInterfaceHTML(): new function to keep the HTML code from index.php
Denis Ovsienko [Sat, 5 Mar 2011 11:16:57 +0000 (11:16 +0000)] 
r4288 renderInterfaceHTML(): new function to keep the HTML code from index.php

8 years agor4287 tableHandler(): access opspec structure in a way without PHP warning
Denis Ovsienko [Fri, 4 Mar 2011 12:08:02 +0000 (12:08 +0000)] 
r4287 tableHandler(): access opspec structure in a way without PHP warning

8 years agor4286 process.php: delete
Denis Ovsienko [Fri, 4 Mar 2011 12:03:17 +0000 (12:03 +0000)] 
r4286 process.php: delete
index.php: merge redirecting code from process.php into dispatching block
makeHrefProcess(): update respectively
popup.php: idem
buildWideRedirectURL(): suppress "module" argument to get out if redirection cycle

8 years agor4285 renderAccessDenied(): let calling function decide, if it wants to terminate...
Denis Ovsienko [Fri, 4 Mar 2011 11:21:45 +0000 (11:21 +0000)] 
r4285 renderAccessDenied(): let calling function decide, if it wants to terminate or not

8 years agor4284 index.php: add "ajax" case to module dispatcher
Denis Ovsienko [Thu, 3 Mar 2011 22:31:43 +0000 (22:31 +0000)] 
r4284 index.php: add "ajax" case to module dispatcher
dispatchAJAXRequest(): new function to merge meaningful code from ajax.php
ajax.php: dismiss
renderRackCodeEditor(): update AJAX URI
portinfo.js: ditto

8 years agor4283 index.php: add "image" case to module dispatcher
Denis Ovsienko [Thu, 3 Mar 2011 18:41:24 +0000 (18:41 +0000)] 
r4283 index.php: add "image" case to module dispatcher
render_image.php: add function wrappings to convert to a pure library file, move to "inc" directory
renderFilePreview(): remove dead code and fix a bug with no preview output for a small image
renderRackspace(): update image URI respectively
renderRow(): idem
getProgressBar(): idem
renderCell(): idem
getFilePreviewCode(): idem

8 years agor4282 addRack(): use the right message code
Denis Ovsienko [Thu, 3 Mar 2011 16:37:24 +0000 (16:37 +0000)] 
r4282 addRack(): use the right message code

8 years agor4281 printStatic404(): new function, move HTML code from proxyStaticURI() here
Denis Ovsienko [Thu, 3 Mar 2011 16:05:15 +0000 (16:05 +0000)] 
r4281 printStatic404(): new function, move HTML code from proxyStaticURI() here
proxyStaticURI(): enforce extension and topdir whitelists

8 years agor4280 fix a recently introduced issue with local.php
Denis Ovsienko [Thu, 3 Mar 2011 15:10:20 +0000 (15:10 +0000)] 
r4280 fix a recently introduced issue with local.php

8 years agor4279 index.php: merge and clean up the code from download.php into "download" module
Denis Ovsienko [Thu, 3 Mar 2011 12:56:14 +0000 (12:56 +0000)] 
r4279 index.php: merge and clean up the code from download.php into "download" module
download.php: sayonara
renderFile(): update respectively
renderFileDownloader(): idem
renderCell(): idem
getFilePreviewCode(): idem

8 years agor4278 add unset() back
Denis Ovsienko [Thu, 3 Mar 2011 12:24:37 +0000 (12:24 +0000)] 
r4278 add unset() back

8 years agor4277 getFile(): simplify
Denis Ovsienko [Thu, 3 Mar 2011 12:23:35 +0000 (12:23 +0000)] 
r4277 getFile(): simplify

8 years agor4276 formatPortLink: moved from interfaces.php to functions.php
Alexey Andriyanov [Thu, 3 Mar 2011 11:48:32 +0000 (11:48 +0000)] 
r4276 formatPortLink: moved from interfaces.php to functions.php

moved because this function is needed in ophandlers sometimes to format error/success messages

8 years agor4275 formatPortLinkHints(): add TSURI() wrapping
Denis Ovsienko [Thu, 3 Mar 2011 10:27:19 +0000 (10:27 +0000)] 
r4275 formatPortLinkHints(): add TSURI() wrapping

8 years agor4274 printPageHeaders(): amend the last commit wrt JS files, CodePress isn't ready...
Denis Ovsienko [Thu, 3 Mar 2011 10:19:44 +0000 (10:19 +0000)] 
r4274 printPageHeaders(): amend the last commit wrt JS files, CodePress isn't ready for the proxy

8 years agor4273 Initial implementation of #389, section 3.3.
Denis Ovsienko [Thu, 3 Mar 2011 00:07:45 +0000 (00:07 +0000)] 
r4273 Initial implementation of #389, section 3.3.

index.php: add dispatching code
TSURI(): new function for static URI translation
getImageHREF(): make use of the wrapper for static images
printPageHeaders(): idem, for CSS/JS content
proxyStaticURI(): new function to actually serve the content

8 years agor4272 renderTagRowForEditor(): increase SIZE attribute of tag_name INPUT
Denis Ovsienko [Wed, 2 Mar 2011 19:28:31 +0000 (19:28 +0000)] 
r4272 renderTagRowForEditor(): increase SIZE attribute of tag_name INPUT
renderTagTreeEditor(): idem

8 years agor4271 bugfix: getMessagesCount was returning trash
Alexey Andriyanov [Wed, 2 Mar 2011 17:42:23 +0000 (17:42 +0000)] 
r4271 bugfix: getMessagesCount was returning trash

fixed return value of getMessagesCount

8 years agor4270 render8021QReport(): output header rows twice more often
Denis Ovsienko [Wed, 2 Mar 2011 17:17:59 +0000 (17:17 +0000)] 
r4270 render8021QReport(): output header rows twice more often

8 years agor4269 links to swithports allowing the vlan added in page Vlan info
Alexey Andriyanov [Wed, 2 Mar 2011 15:37:56 +0000 (15:37 +0000)] 
r4269 links to swithports allowing the vlan added in page Vlan info

getPortinfoByName: new function to search object's portlist by name
renderVLANInfo: call to formatPortLink added to render links to ports, not only names

8 years agor4268 ability to delete a file entity from the Edit tab of the File page
Alexey Andriyanov [Wed, 2 Mar 2011 14:00:48 +0000 (14:00 +0000)] 
r4268 ability to delete a file entity from the Edit tab of the File page

deleteFile: changed success message from 'updated' to 'deleted' when deleting file
renderFileProperties: added link to delete file op

8 years agor4267 genericAssertion(): add "enum/dqcode" and "rackcode/expr" cases
Denis Ovsienko [Tue, 1 Mar 2011 16:59:40 +0000 (16:59 +0000)] 
r4267 genericAssertion(): add "enum/dqcode" and "rackcode/expr" cases
renderDeployQueue(): update to use getBypassValue()

8 years agor4266 also process 'resync_ready' deploy queue during a 'push' cycle
Denis Ovsienko [Mon, 28 Feb 2011 18:12:30 +0000 (18:12 +0000)] 
r4266 also process 'resync_ready' deploy queue during a 'push' cycle

8 years agor4265 considerGivenConstraint(): new helper function for a better RackCode API
Denis Ovsienko [Mon, 28 Feb 2011 17:15:34 +0000 (17:15 +0000)] 
r4265 considerGivenConstraint(): new helper function for a better RackCode API

8 years agor4264 fix bits specific to 0.19.2
Denis Ovsienko [Mon, 28 Feb 2011 14:12:33 +0000 (14:12 +0000)] 
r4264 fix bits specific to 0.19.2

8 years agor4263 new API functions to fetch object's IP allocations
Alexey Andriyanov [Sun, 27 Feb 2011 20:06:23 +0000 (20:06 +0000)] 
r4263 new API functions to fetch object's IP allocations

getObjectIPv4AllocationList: new function similar to getObjectIPv4Allocations, but not scans ip space and fills 'addrinfo' value
getObjectIPv6AllocationList: idem

getObjectIPv4Allocations: reduced to use new API getObjectIPv4AllocationList
getObjectIPv6Allocations: idem

8 years agor4262 update: new indexes speeding up scanIPv[46]Space functions.
Alexey Andriyanov [Sun, 27 Feb 2011 20:03:20 +0000 (20:03 +0000)] 
r4262 update: new indexes speeding up scanIPv[46]Space functions.

Tables IPv4Allocation, IPv6Allocation, IPv4VS, IPv4RS are now indexed by the ip field value

8 years agor4261 suppress repeated newlines, when these are the only output left after inclusion...
Denis Ovsienko [Sun, 27 Feb 2011 13:16:08 +0000 (13:16 +0000)] 
r4261 suppress repeated newlines, when these are the only output left after inclusion of user-supplied files

8 years agor4260 renderVLANDomainListEditor(): add explicit size to INPUT elements
Denis Ovsienko [Fri, 25 Feb 2011 10:44:48 +0000 (10:44 +0000)] 
r4260 renderVLANDomainListEditor(): add explicit size to INPUT elements
renderVSTListEditor(): idem

8 years agor4259 process.php: suppress extra text in soft error message
Denis Ovsienko [Fri, 25 Feb 2011 09:51:19 +0000 (09:51 +0000)] 
r4259 process.php: suppress extra text in soft error message
InvalidRequestArgException::__construct(): clean up

8 years agor4258 genericAssertion(): add "vlan" and "vlan1" cases
Denis Ovsienko [Fri, 25 Feb 2011 09:49:05 +0000 (09:49 +0000)] 
r4258 genericAssertion(): add "vlan" and "vlan1" cases
commitReduceVLANDescription(): dismiss
delVLANDescription(): dismiss
updVLANDescription(): dismiss

8 years agor4257 init.php: justify include statements for special files "secret.php" and "local...
Denis Ovsienko [Thu, 24 Feb 2011 14:32:01 +0000 (14:32 +0000)] 
r4257 init.php: justify include statements for special files "secret.php" and "local.php"

8 years agor4256 add release notes for 0.19.2
Denis Ovsienko [Thu, 24 Feb 2011 12:45:28 +0000 (12:45 +0000)] 
r4256 add release notes for 0.19.2

8 years agor4255 move "gateways" part of the path to racktables_gwdir variable
Denis Ovsienko [Thu, 24 Feb 2011 12:20:51 +0000 (12:20 +0000)] 
r4255 move "gateways" part of the path to racktables_gwdir variable

8 years agor4254 Move "gateway" directory out of "wwwroot" and provide a mean to reconfigure
Denis Ovsienko [Thu, 24 Feb 2011 11:49:23 +0000 (11:49 +0000)] 
r4254 Move "gateway" directory out of "wwwroot" and provide a mean to reconfigure
the system for the new location.

8 years agor4253 bugfix: Permissions code editor was broken with Google Chrome
Alexey Andriyanov [Tue, 22 Feb 2011 18:33:29 +0000 (18:33 +0000)] 
r4253 bugfix: Permissions code editor was broken with Google Chrome

codepress.html: changed browser engine to gecko-compatible
js:verify(): removed unused prevCode var
js:document.ready(): idem

8 years agor4252 database.php: add closeCursor call to linkPorts()
Aaron Dummer [Tue, 22 Feb 2011 16:05:37 +0000 (16:05 +0000)] 
r4252 database.php: add closeCursor call to linkPorts()

8 years agor4251 save8021QPorts(): remove unused variable
Denis Ovsienko [Tue, 22 Feb 2011 12:31:33 +0000 (12:31 +0000)] 
r4251 save8021QPorts(): remove unused variable

8 years agor4248 pre-release changes RackTables-0.19.1
Denis Ovsienko [Tue, 22 Feb 2011 08:02:45 +0000 (08:02 +0000)] 
r4248 pre-release changes

8 years agor4245 ChangeLog: add reference to barcode migration fix, #402
Aaron Dummer [Mon, 21 Feb 2011 18:47:59 +0000 (18:47 +0000)] 
r4245 ChangeLog: add reference to barcode migration fix, #402

8 years agor4244 upgrade.php: fix barcode migration code, #402
Aaron Dummer [Mon, 21 Feb 2011 16:47:38 +0000 (16:47 +0000)] 
r4244 upgrade.php: fix barcode migration code, #402

8 years agor4243 removed debug function __toString from IPv6Address (mantis #396)
Alexey Andriyanov [Mon, 21 Feb 2011 16:14:48 +0000 (16:14 +0000)] 
r4243 removed debug function __toString from IPv6Address (mantis #396)

8 years agor4242 justified and cleaned up the text a bit
Denis Ovsienko [Sat, 19 Feb 2011 17:40:50 +0000 (17:40 +0000)] 
r4242 justified and cleaned up the text a bit

8 years agor4241 upgrade.php: merge "Objectlog" (small l) table data, which 0.19.0 missed
Denis Ovsienko [Sat, 19 Feb 2011 13:55:31 +0000 (13:55 +0000)] 
r4241 upgrade.php: merge "Objectlog" (small l) table data, which 0.19.0 missed

8 years agor4240 employ OB trick to hide contents
Denis Ovsienko [Sat, 19 Feb 2011 12:08:04 +0000 (12:08 +0000)] 
r4240 employ OB trick to hide contents

8 years agor4239 clarify recent HTTP timestamp fix
Denis Ovsienko [Sat, 19 Feb 2011 10:19:33 +0000 (10:19 +0000)] 
r4239 clarify recent HTTP timestamp fix

8 years agor4238 bugfix: image caching was broken with some browsers
Alexey Andriyanov [Fri, 18 Feb 2011 16:52:46 +0000 (16:52 +0000)] 
r4238 bugfix: image caching was broken with some browsers
Firefox 3.6.13 is sending IMS header with '+0000' timezone instead of expected 'GMT'

HTTPDateToUnixTime: fixed timezone regexp to handle +0000 format

8 years agor4237 bugfix: issues reported in #401
Aaron Dummer [Fri, 18 Feb 2011 00:03:13 +0000 (00:03 +0000)] 
r4237 bugfix: issues reported in #401
getAccountSearchResult(): initialize array
renderHistory(): incorrect column count

8 years agor4236 gwSendFile(): add type check
Denis Ovsienko [Thu, 17 Feb 2011 11:05:09 +0000 (11:05 +0000)] 
r4236 gwSendFile(): add type check

8 years agor4235 usePreparedUpdateBlade(): add a space for a cleaner SQL syntax (like it already...
Denis Ovsienko [Thu, 17 Feb 2011 10:25:21 +0000 (10:25 +0000)] 
r4235 usePreparedUpdateBlade(): add a space for a cleaner SQL syntax (like it already is in usePreparedDeleteBlade)

8 years agor4234 change CODE_VERSION back and explain the reasons
Denis Ovsienko [Wed, 16 Feb 2011 06:17:48 +0000 (06:17 +0000)] 
r4234 change CODE_VERSION back and explain the reasons

8 years agor4233 database.php: delete container relationships when an object is deleted (#398)
Aaron Dummer [Wed, 16 Feb 2011 03:56:22 +0000 (03:56 +0000)] 
r4233 database.php: delete container relationships when an object is deleted (#398)

8 years agor4232 change Config.varvalue column type to accommodate contents > 255 characters...
Aaron Dummer [Wed, 16 Feb 2011 03:24:52 +0000 (03:24 +0000)] 
r4232 change Config.varvalue column type to accommodate contents > 255 characters (#397)
change version to 0.19.1

8 years agor4231 bugfix for recent change: custom search result were broken by the commit #4223
Alexey Andriyanov [Tue, 15 Feb 2011 13:20:49 +0000 (13:20 +0000)] 
r4231 bugfix for recent change: custom search result were broken by the commit #4223

renderSearchResults: added check if an argument is an array

8 years agor4230 Changelog entry for prev.commit
Alexey Andriyanov [Tue, 15 Feb 2011 11:51:30 +0000 (11:51 +0000)] 
r4230 Changelog entry for prev.commit

8 years agor4229 bugfix: IPv6 was broken with PHP older than 5.2
Alexey Andriyanov [Tue, 15 Feb 2011 11:51:05 +0000 (11:51 +0000)] 
r4229 bugfix: IPv6 was broken with PHP older than 5.2
all(hopefully) implicit conversions from IPv6Address class into string using magic __toString class method was replaced by exclicit toBin() method calls.

affected functions:
 renderSeparator
 getPageNumOfIPv6
 scanIPv6Space
 bindIPv6ToObject
 getIPv6AddressNetworkId
 updateV6Address
 updateIPv6Bond
 unbindIPv6FromObject
 createIPv6Prefix
 IPv6NetworkCmp

IPv6Address class:
 new field-proxy function toBin()
 magic method __toString was substituted by temporary backtrace-showing code to find hidden calls to magic method before the release occurs.

8 years agor4228 Use local addresses in IPv6 samples instead of Google's
Alexey Andriyanov [Mon, 14 Feb 2011 19:11:32 +0000 (19:11 +0000)] 
r4228 Use local addresses in IPv6 samples instead of Google's

8 years agor4227 bugfix: #394: Can't add object throw "Same type, same tags"
Alexey Andriyanov [Mon, 14 Feb 2011 19:05:02 +0000 (19:05 +0000)] 
r4227 bugfix: #394: Can't add object throw "Same type, same tags"

addLotOfObjects: call to addLotOfObjects was not changed to reflect function prototype change

8 years agor4226 Changelog change for prev. commit
Alexey Andriyanov [Mon, 14 Feb 2011 19:03:26 +0000 (19:03 +0000)] 
r4226 Changelog change for prev. commit

8 years agor4225 Added IPv6 samples into init-sample-racks SQL file
Alexey Andriyanov [Mon, 14 Feb 2011 18:19:49 +0000 (18:19 +0000)] 
r4225 Added IPv6 samples into init-sample-racks SQL file

8 years agor4224 bugfix: 'Invalid argument supplied for foreach' PHP error was appearing when...
Alexey Andriyanov [Mon, 14 Feb 2011 16:50:24 +0000 (16:50 +0000)] 
r4224 bugfix: 'Invalid argument supplied for foreach' PHP error was appearing when adding vlan

tableHandler: checks for existence of setup subarrays added

8 years agor4223 bugfix: got rid of using the current() and key() PHP funcs: it is not reliable...
Alexey Andriyanov [Mon, 14 Feb 2011 16:36:16 +0000 (16:36 +0000)] 
r4223 bugfix: got rid of using the current() and key() PHP funcs: it is not reliable on every PHP ver (see mantis:391)

getSelect: replced calls to current() and key() with foreach and array_shift
renderSearchResults: idem
getPortIIFStats: idem

8 years agor4222 produceUplinkPorts(): fix recent commit to return unique values again
Denis Ovsienko [Mon, 14 Feb 2011 10:18:17 +0000 (10:18 +0000)] 
r4222 produceUplinkPorts(): fix recent commit to return unique values again

8 years agor4221 bugfix: undefined variable $hl_port_name message was appearing
Alexey Andriyanov [Sun, 13 Feb 2011 14:55:39 +0000 (14:55 +0000)] 
r4221 bugfix: undefined variable $hl_port_name message was appearing

renderObject8021QPorts: added check for defined before using the var
renderObject8021QSync: refactored check for unification