racktables
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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()

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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"

10 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

10 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

10 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.

10 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

10 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()

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

10 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

10 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

10 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

10 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)

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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)

10 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

10 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)

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years agor4220 update: 802.1q: fixed pruning of mgmt vlan.
Alexey Andriyanov [Sun, 13 Feb 2011 14:49:38 +0000 (14:49 +0000)] 
r4220 update: 802.1q: fixed pruning of mgmt vlan.

produceUplinkPorts: added extra parameter '$object_id', added searchig for mgmt vlans
save8021QPorts: added extra parameter to produceUplinkPorts call
renderObject8021QPorts: idem
exec8021QDeploy: idem
recalc8021QPorts: idem, twice

10 years agor4219 update: UI: rack lists are now reduced by common tags with object on Rackspace tab
Alexey Andriyanov [Sun, 13 Feb 2011 10:15:58 +0000 (10:15 +0000)] 
r4219 update: UI: rack lists are now reduced by common tags with object on Rackspace tab

renderRackSpaceForObject: reducing rack lists by common tags with object on Rackspace tab
ophandlers.php, install.php, upgrade.php: new config var FILTER_RACKLIST_BY_TAGS introduced

10 years agor4217 upgrade.php: justify update of IPV4OBJ_LISTSRC RackTables-0.19.0
Denis Ovsienko [Sat, 12 Feb 2011 13:25:52 +0000 (13:25 +0000)] 
r4217 upgrade.php: justify update of IPV4OBJ_LISTSRC
install.php: fix column order for VLANSwitchTemplate

10 years agor4216 add handling of records generated by external ObjectLog code and update release...
Denis Ovsienko [Sat, 12 Feb 2011 13:05:47 +0000 (13:05 +0000)] 
r4216 add handling of records generated by external ObjectLog code and update release notes respectively

10 years agor4215 updated release notes and dates
Denis Ovsienko [Sat, 12 Feb 2011 11:11:32 +0000 (11:11 +0000)] 
r4215 updated release notes and dates

10 years agor4214 getDictStats(): justify list of stock chapters
Denis Ovsienko [Sat, 12 Feb 2011 11:10:45 +0000 (11:10 +0000)] 
r4214 getDictStats(): justify list of stock chapters

10 years agor4210 update change log and copyright clause for 2011 and 0.19
Denis Ovsienko [Wed, 9 Feb 2011 14:43:30 +0000 (14:43 +0000)] 
r4210 update change log and copyright clause for 2011 and 0.19

10 years agor4209 remove VIRTUAL_OBJ_LISTSRC config option, replace with an array defined in...
Aaron Dummer [Wed, 9 Feb 2011 05:09:12 +0000 (05:09 +0000)] 
r4209 remove VIRTUAL_OBJ_LISTSRC config option, replace with an array defined in functions.php

10 years agor4208 dictionary.php: added Debian squeeze
Aaron Dummer [Tue, 8 Feb 2011 20:34:05 +0000 (20:34 +0000)] 
r4208 dictionary.php: added Debian squeeze

10 years agor4206 make JSON test critical, update release notes and add missing 0.18.7 waypoint
Denis Ovsienko [Mon, 7 Feb 2011 21:38:24 +0000 (21:38 +0000)] 
r4206 make JSON test critical, update release notes and add missing 0.18.7 waypoint

10 years agor4205 bugfix: fixed broken national characters in tag names in init-sample-racks.sql
Alexey Andriyanov [Mon, 7 Feb 2011 21:23:37 +0000 (21:23 +0000)] 
r4205 bugfix: fixed broken national characters in tag names in init-sample-racks.sql

10 years agor4204 database.php: getEntityRelatives: fix sorting error by moving function to globa...
Aaron Dummer [Sun, 6 Feb 2011 16:34:25 +0000 (16:34 +0000)] 
r4204 database.php: getEntityRelatives: fix sorting error by moving function to global scope

10 years agor4203 drop the barcode column
Aaron Dummer [Sun, 6 Feb 2011 01:53:48 +0000 (01:53 +0000)] 
r4203 drop the barcode column

10 years agor4202 reformat sample code to make it easier to copy
Denis Ovsienko [Sat, 5 Feb 2011 12:26:44 +0000 (12:26 +0000)] 
r4202 reformat sample code to make it easier to copy

10 years agor4201 just figured out, that "chdir" works better outside of the script
Denis Ovsienko [Sat, 5 Feb 2011 10:41:22 +0000 (10:41 +0000)] 
r4201 just figured out, that "chdir" works better outside of the script

10 years agor4199 add "scripts" directory and move CLI files there
Denis Ovsienko [Sat, 5 Feb 2011 10:21:32 +0000 (10:21 +0000)] 
r4199 add "scripts" directory and move CLI files there

10 years agor4198 add chdir to make it work again
Denis Ovsienko [Sat, 5 Feb 2011 10:18:05 +0000 (10:18 +0000)] 
r4198 add chdir to make it work again

10 years agor4197 moving files, #39
Denis Ovsienko [Sat, 5 Feb 2011 09:31:36 +0000 (09:31 +0000)] 
r4197 moving files, #39

10 years agor4196 moving files, #39
Denis Ovsienko [Sat, 5 Feb 2011 09:30:50 +0000 (09:30 +0000)] 
r4196 moving files, #39

10 years agor4195 moving files, #39
Denis Ovsienko [Sat, 5 Feb 2011 09:29:06 +0000 (09:29 +0000)] 
r4195 moving files, #39

10 years agor4193 moving files, #39
Denis Ovsienko [Sat, 5 Feb 2011 09:05:10 +0000 (09:05 +0000)] 
r4193 moving files, #39

10 years agor4191 bugfix: removed debug output in buildWideRedirectURL
Alexey Andriyanov [Fri, 4 Feb 2011 19:36:05 +0000 (19:36 +0000)] 
r4191 bugfix: removed debug output in buildWideRedirectURL

10 years agor4190 bugfix: added forgotten ipv6net realm checks
Alexey Andriyanov [Fri, 4 Feb 2011 16:04:51 +0000 (16:04 +0000)] 
r4190 bugfix: added forgotten ipv6net realm checks

10 years agor4189 getTerminalNetworks(): new utility function
Denis Ovsienko [Fri, 4 Feb 2011 15:11:00 +0000 (15:11 +0000)] 
r4189 getTerminalNetworks(): new utility function

10 years agor4188 update: UI: ability to clear object ports list at one blow
Alexey Andriyanov [Fri, 4 Feb 2011 12:31:06 +0000 (12:31 +0000)] 
r4188 update: UI: ability to clear object ports list at one blow

renderPortsForObject: added link to clear ports list

10 years agor4187 bugfix: Huawei VRP 5.70 SW type was not detected by SNMP sync procedure
Alexey Andriyanov [Fri, 4 Feb 2011 12:09:52 +0000 (12:09 +0000)] 
r4187 bugfix: Huawei VRP 5.70 SW type was not detected by SNMP sync procedure

10 years agor4186 renderNewSLBItemForm(): justify tabindex across inputs
Denis Ovsienko [Wed, 2 Feb 2011 22:18:47 +0000 (22:18 +0000)] 
r4186 renderNewSLBItemForm(): justify tabindex across inputs

10 years agor4185 Fixed upgrade from 0.18.5 -> 0.19.0
Jonathan Thurman [Wed, 2 Feb 2011 05:36:04 +0000 (05:36 +0000)] 
r4185 Fixed upgrade from 0.18.5 -> 0.19.0

10 years agor4184 move require_once to setDevice8021QConfig(), where it is really needed
Denis Ovsienko [Tue, 1 Feb 2011 22:51:22 +0000 (22:51 +0000)] 
r4184 move require_once to setDevice8021QConfig(), where it is really needed

10 years agor4183 updateUser(): fix message code
Denis Ovsienko [Tue, 1 Feb 2011 15:15:54 +0000 (15:15 +0000)] 
r4183 updateUser(): fix message code

10 years agor4182 commitUpdateVSTRules(): change to generate "soft" error
Denis Ovsienko [Tue, 1 Feb 2011 13:07:04 +0000 (13:07 +0000)] 
r4182 commitUpdateVSTRules(): change to generate "soft" error
trigger_8021q_configured(): new function to hide 802.1Q order tabs until necessary records are in place
cloneVSTRule(): rename to cloneVST() and fix error handling

10 years agor4181 upgrade script was broken in several ways, fix it
Denis Ovsienko [Tue, 1 Feb 2011 12:38:56 +0000 (12:38 +0000)] 
r4181 upgrade script was broken in several ways, fix it

10 years agor4180 editPortForObject(): was generating incorrect message, fixed
Denis Ovsienko [Tue, 1 Feb 2011 12:16:40 +0000 (12:16 +0000)] 
r4180 editPortForObject(): was generating incorrect message, fixed

10 years agor4179 install.php: added missing attributes to the network chassis object type
Aaron Dummer [Tue, 1 Feb 2011 03:27:33 +0000 (03:27 +0000)] 
r4179 install.php: added missing attributes to the network chassis object type
upgrade.php: idem

10 years agor4178 bugfix: PHP warnings were appearing before rackspace on SLB object page, defaul...
Alexey Andriyanov [Mon, 31 Jan 2011 19:37:41 +0000 (19:37 +0000)] 
r4178 bugfix: PHP warnings were appearing before rackspace on SLB object page, default tab

renderRackObject: fixed buggy reusing of $info var

10 years agor4177 cloneVSTRule(): add missing argument to commitUpdateVSTRules()
Denis Ovsienko [Mon, 31 Jan 2011 17:32:57 +0000 (17:32 +0000)] 
r4177 cloneVSTRule(): add missing argument to commitUpdateVSTRules()

10 years agor4176 upgrade.php: remove SQL which changes objtype_id of existing chassis objects
Aaron Dummer [Mon, 31 Jan 2011 16:52:49 +0000 (16:52 +0000)] 
r4176 upgrade.php: remove SQL which changes objtype_id of existing chassis objects

10 years agor4175 bugfix: call to undefined getImageHREF() in standalone scripts
Alexey Andriyanov [Mon, 31 Jan 2011 13:11:11 +0000 (13:11 +0000)] 
r4175 bugfix: call to undefined getImageHREF() in standalone scripts

formatAttributeValue: reduced parameters number, added logic to render external href
renderRackObject: removed parameter in call to formatAttributeValue
renderSearchResults: idem
parseWikiLink: changed function logic, now it sets additional fields in record and does not try to render HTML
readChapter: changed call to parseWikiLink
fetchAttrsForObjects: idem

10 years agor4174 update: dictionary attribute values with external links are formatted different...
Alexey Andriyanov [Sun, 30 Jan 2011 14:35:10 +0000 (14:35 +0000)] 
r4174 update: dictionary attribute values with external links are formatted differently to distinguish the filter and external info links

formatAttributeValue: checks if attr value already contains href to prevent nested hrefs
parseWikiLink: the formatting of external link changed to single image href in the end of text value

new CSS class and library image were added

10 years agor4173 Reduce config.php in a way:
Denis Ovsienko [Sun, 30 Jan 2011 12:36:09 +0000 (12:36 +0000)] 
r4173 Reduce config.php in a way:

move PCRE pattern constants to functions.php
loadConfigDefaults(): move to functions.php
alterConfigWithUserPreferences(): idem
isConfigVarChanged(): idem
getConfigVar(): idem
setConfigVar(): move to database.php
setUserConfigVar(): idem
resetUserConfigVar(): idem

10 years agor4172 removed unused navigation items (see prev.commit)
Alexey Andriyanov [Sun, 30 Jan 2011 12:22:50 +0000 (12:22 +0000)] 
r4172 removed unused navigation items (see prev.commit)

10 years agor4171 bugfix: creating vlan template was not possible due to invalid arg assertion.
Alexey Andriyanov [Sun, 30 Jan 2011 12:18:04 +0000 (12:18 +0000)] 
r4171 bugfix: creating vlan template was not possible due to invalid arg assertion.
removed max_local_vlans DB field completely (it was not used)

install.php: removed max_local_vlans DB field from VLANSwitchTemplate table
addVLANSwitchTemplate: removed check of max_local_vlans
renderVSTListEditor: removed form input named vst_maxvlans
-renderVSTEditor: unused
getVSTStats: removed max_local_vlans field from select query
upgrade.php: updating SQL schema respectively

10 years agor4170 getDatabaseVersion(): move to upgrade.php, where it fits better
Denis Ovsienko [Sun, 30 Jan 2011 11:49:43 +0000 (11:49 +0000)] 
r4170 getDatabaseVersion(): move to upgrade.php, where it fits better
init.php: get DB version from configuration variable
upgrade.php: add own copy of showError() and eliminate dependency on functions.php and database.php

10 years agor4169 bugfix: when editing empty Vlan template, unsaved warning was displayed twice
Alexey Andriyanov [Sun, 30 Jan 2011 11:41:18 +0000 (11:41 +0000)] 
r4169 bugfix: when editing empty Vlan template, unsaved warning was displayed twice

10 years agor4168 gateways.php: move vendor-specific functions to deviceconfig.php and require...
Denis Ovsienko [Sun, 30 Jan 2011 10:11:13 +0000 (10:11 +0000)] 
r4168 gateways.php: move vendor-specific functions to deviceconfig.php and require the latter on demand only

10 years agor4167 trigger_liveports(): make a better decision with $gwrxlator
Denis Ovsienko [Sun, 30 Jan 2011 08:28:50 +0000 (08:28 +0000)] 
r4167 trigger_liveports(): make a better decision with $gwrxlator

10 years agor4166 merge comments from secret-sample.php into install.php and delete the former
Denis Ovsienko [Sat, 29 Jan 2011 23:10:56 +0000 (23:10 +0000)] 
r4166 merge comments from secret-sample.php into install.php and delete the former

10 years agor4165 add support for "container" objects to handle blades, VMs, etc.
Aaron Dummer [Sat, 29 Jan 2011 01:42:38 +0000 (01:42 +0000)] 
r4165 add support for "container" objects to handle blades, VMs, etc.

10 years agor4164 delete SQL comments in "dictbase" text, which the current code doesn't support
Denis Ovsienko [Fri, 28 Jan 2011 23:34:15 +0000 (23:34 +0000)] 
r4164 delete SQL comments in "dictbase" text, which the current code doesn't support

10 years agor4163 commitUpdateObject(): enforce NULL value for "label"
Denis Ovsienko [Fri, 28 Jan 2011 13:52:41 +0000 (13:52 +0000)] 
r4163 commitUpdateObject(): enforce NULL value for "label"
upgrade.php: convert older records