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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

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

9 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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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