Alexey Andriyanov [Thu, 10 Mar 2011 16:29:53 +0000 (16:29 +0000)]
r4318 bugfix: undefined index in renderIPv4SpaceRecords
Alexey Andriyanov [Thu, 10 Mar 2011 16:27:21 +0000 (16:27 +0000)]
r4317 bugfix: typo in setPortVLAN ('vlanind' instead of 'vlanid')
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
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
Alexey Andriyanov [Thu, 10 Mar 2011 12:06:06 +0000 (12:06 +0000)]
r4314 jun10Read8021QConfig: minor bugfixes
Alexey Andriyanov [Thu, 10 Mar 2011 11:19:40 +0000 (11:19 +0000)]
r4313 bugfix: queryLDAPServer: Undefined offset: 1
Alexey Andriyanov [Thu, 10 Mar 2011 11:03:58 +0000 (11:03 +0000)]
r4312 bugfix: undefined index: 'mode' in ios12PickSwitchportCommand
Alexey Andriyanov [Thu, 10 Mar 2011 10:57:02 +0000 (10:57 +0000)]
r4311 bugfix: produceDownlinkPort was not working properly
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
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
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
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
Denis Ovsienko [Wed, 9 Mar 2011 16:49:28 +0000 (16:49 +0000)]
r4306 justify datadir path
Denis Ovsienko [Wed, 9 Mar 2011 16:43:12 +0000 (16:43 +0000)]
r4305 initial revision
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
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
Aaron Dummer [Tue, 8 Mar 2011 06:23:09 +0000 (06:23 +0000)]
r4302 renderAddMultipleObjectsForm(): fix spelling
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
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
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
Denis Ovsienko [Sun, 6 Mar 2011 22:10:43 +0000 (22:10 +0000)]
r4298 remove require(), which is no longer needed here
Denis Ovsienko [Sun, 6 Mar 2011 22:08:43 +0000 (22:08 +0000)]
r4297 renderError(): rename to renderErrorImage()
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
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
Denis Ovsienko [Sun, 6 Mar 2011 15:35:28 +0000 (15:35 +0000)]
r4294 updated comment block
Denis Ovsienko [Sat, 5 Mar 2011 14:29:12 +0000 (14:29 +0000)]
r4293 getDBUpgradePath(): fix to return correct result on equal arguments
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
Denis Ovsienko [Sat, 5 Mar 2011 13:23:30 +0000 (13:23 +0000)]
r4291 fix redirection URI
Denis Ovsienko [Sat, 5 Mar 2011 13:10:47 +0000 (13:10 +0000)]
r4290 redirectIfNecessary(): remove obsolete redirection maps
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
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
Denis Ovsienko [Fri, 4 Mar 2011 12:08:02 +0000 (12:08 +0000)]
r4287 tableHandler(): access opspec structure in a way without PHP warning
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
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
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
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
Denis Ovsienko [Thu, 3 Mar 2011 16:37:24 +0000 (16:37 +0000)]
r4282 addRack(): use the right message code
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
Denis Ovsienko [Thu, 3 Mar 2011 15:10:20 +0000 (15:10 +0000)]
r4280 fix a recently introduced issue with local.php
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
Denis Ovsienko [Thu, 3 Mar 2011 12:24:37 +0000 (12:24 +0000)]
r4278 add unset() back
Denis Ovsienko [Thu, 3 Mar 2011 12:23:35 +0000 (12:23 +0000)]
r4277 getFile(): simplify
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
Denis Ovsienko [Thu, 3 Mar 2011 10:27:19 +0000 (10:27 +0000)]
r4275 formatPortLinkHints(): add TSURI() wrapping
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
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
Denis Ovsienko [Wed, 2 Mar 2011 19:28:31 +0000 (19:28 +0000)]
r4272 renderTagRowForEditor(): increase SIZE attribute of tag_name INPUT
renderTagTreeEditor(): idem
Alexey Andriyanov [Wed, 2 Mar 2011 17:42:23 +0000 (17:42 +0000)]
r4271 bugfix: getMessagesCount was returning trash
fixed return value of getMessagesCount
Denis Ovsienko [Wed, 2 Mar 2011 17:17:59 +0000 (17:17 +0000)]
r4270 render8021QReport(): output header rows twice more often
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
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
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()
Denis Ovsienko [Mon, 28 Feb 2011 18:12:30 +0000 (18:12 +0000)]
r4266 also process 'resync_ready' deploy queue during a 'push' cycle
Denis Ovsienko [Mon, 28 Feb 2011 17:15:34 +0000 (17:15 +0000)]
r4265 considerGivenConstraint(): new helper function for a better RackCode API
Denis Ovsienko [Mon, 28 Feb 2011 14:12:33 +0000 (14:12 +0000)]
r4264 fix bits specific to 0.19.2
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
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
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
Denis Ovsienko [Fri, 25 Feb 2011 10:44:48 +0000 (10:44 +0000)]
r4260 renderVLANDomainListEditor(): add explicit size to INPUT elements
renderVSTListEditor(): idem
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
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
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"
Denis Ovsienko [Thu, 24 Feb 2011 12:45:28 +0000 (12:45 +0000)]
r4256 add release notes for 0.19.2
Denis Ovsienko [Thu, 24 Feb 2011 12:20:51 +0000 (12:20 +0000)]
r4255 move "gateways" part of the path to racktables_gwdir variable
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.
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
Aaron Dummer [Tue, 22 Feb 2011 16:05:37 +0000 (16:05 +0000)]
r4252 database.php: add closeCursor call to linkPorts()
Denis Ovsienko [Tue, 22 Feb 2011 12:31:33 +0000 (12:31 +0000)]
r4251 save8021QPorts(): remove unused variable
Denis Ovsienko [Tue, 22 Feb 2011 08:02:45 +0000 (08:02 +0000)]
r4248 pre-release changes
Aaron Dummer [Mon, 21 Feb 2011 18:47:59 +0000 (18:47 +0000)]
r4245 ChangeLog: add reference to barcode migration fix, #402
Aaron Dummer [Mon, 21 Feb 2011 16:47:38 +0000 (16:47 +0000)]
r4244 upgrade.php: fix barcode migration code, #402
Alexey Andriyanov [Mon, 21 Feb 2011 16:14:48 +0000 (16:14 +0000)]
r4243 removed debug function __toString from IPv6Address (mantis #396)
Denis Ovsienko [Sat, 19 Feb 2011 17:40:50 +0000 (17:40 +0000)]
r4242 justified and cleaned up the text a bit
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
Denis Ovsienko [Sat, 19 Feb 2011 12:08:04 +0000 (12:08 +0000)]
r4240 employ OB trick to hide contents
Denis Ovsienko [Sat, 19 Feb 2011 10:19:33 +0000 (10:19 +0000)]
r4239 clarify recent HTTP timestamp fix
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
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
Denis Ovsienko [Thu, 17 Feb 2011 11:05:09 +0000 (11:05 +0000)]
r4236 gwSendFile(): add type check
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)
Denis Ovsienko [Wed, 16 Feb 2011 06:17:48 +0000 (06:17 +0000)]
r4234 change CODE_VERSION back and explain the reasons
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)
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
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
Alexey Andriyanov [Tue, 15 Feb 2011 11:51:30 +0000 (11:51 +0000)]
r4230 Changelog entry for prev.commit
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.
Alexey Andriyanov [Mon, 14 Feb 2011 19:11:32 +0000 (19:11 +0000)]
r4228 Use local addresses in IPv6 samples instead of Google's
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
Alexey Andriyanov [Mon, 14 Feb 2011 19:03:26 +0000 (19:03 +0000)]
r4226 Changelog change for prev. commit
Alexey Andriyanov [Mon, 14 Feb 2011 18:19:49 +0000 (18:19 +0000)]
r4225 Added IPv6 samples into init-sample-racks SQL file
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
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
Denis Ovsienko [Mon, 14 Feb 2011 10:18:17 +0000 (10:18 +0000)]
r4222 produceUplinkPorts(): fix recent commit to return unique values again
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
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
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
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
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
Denis Ovsienko [Sat, 12 Feb 2011 11:11:32 +0000 (11:11 +0000)]
r4215 updated release notes and dates
Denis Ovsienko [Sat, 12 Feb 2011 11:10:45 +0000 (11:10 +0000)]
r4214 getDictStats(): justify list of stock chapters