racktables
11 years agor2761 - getIPv4RSPoolSearchResult(): return standard cell list as result
Denis Ovsienko [Sun, 17 May 2009 12:48:45 +0000 (12:48 +0000)] 
r2761  - getIPv4RSPoolSearchResult(): return standard cell list as result
 - renderSearchResults(): switch from renderRSPoolCell() to renderCell()
 - renderRackObject(): idem
 - renderVirtualService(): idem
 - renderVServiceLBForm(): idem
 - renderObjectSLB(): idem
 - renderUserCell(): phase out, code merged into renderCell()
 - renderRSPoolCell(): idem

11 years agor2760 - getRackSearchResult(): another variation of a standard helper (cloned from...
Denis Ovsienko [Sat, 16 May 2009 16:06:24 +0000 (16:06 +0000)] 
r2760  - getRackSearchResult(): another variation of a standard helper (cloned from getFileSearchResult())
 - renderCell(): initial implementation in the 'rack' realm
 - renderSearchResults(): enable searching the 'rack' realm

11 years agor2759 - listCells(): push whole cell to autotag generator
Denis Ovsienko [Sat, 16 May 2009 15:08:36 +0000 (15:08 +0000)] 
r2759  - listCells(): push whole cell to autotag generator
 - spotEntity(): idem
 - generateEntityAutoTags(): save on getObjectInfo() and getResidentRacksData() calls

11 years agor2758 - fixContext(): use spotEntity() instead of generateEntityAutoTags()
Denis Ovsienko [Sat, 16 May 2009 14:29:28 +0000 (14:29 +0000)] 
r2758  - fixContext(): use spotEntity() instead of generateEntityAutoTags()
 - generateEntityAutoTags(): expect a cell instead of key in 'ipv4net', ignore 'ipaddress'
 - listCells(): pass the whole 'ipv4net' cell to autotags generator, so it doesn't have to re-get extra data
 - spotEntity(): idem
 - etype_by_pageno: don't list 'ipaddress', it breaks things
 - getIPv4NetworkInfo(): sayonara

11 years agor2757 - displayedName(): accept both objectInfo and cell arguments for now
Denis Ovsienko [Sat, 16 May 2009 12:46:44 +0000 (12:46 +0000)] 
r2757  - displayedName(): accept both objectInfo and cell arguments for now
 - getNarrowObjectList(): employ filterCellList()
 - filterEntityList(): sayonara
 - interpretPredicate(): sayonara
 - judgeEntity(): sayonara
 - considerConfiguredConstraint(): accept cell as argument, employ judgeCell()
 - renderRackObject(): adjust to the current considerConfiguredConstraint() declaration
 - trigger_isloadbalancer(): idem
 - trigger_ipv4(): idem
 - trigger_natv4(): idem

11 years agor2756 - applyObjectProblemMask(): drop unused function
Denis Ovsienko [Sat, 16 May 2009 00:36:38 +0000 (00:36 +0000)] 
r2756  - applyObjectProblemMask(): drop unused function
 - getRackRows(): don't call parseWikiLink

11 years agor2755 - getIPv4VServiceSearchResult(): return standard cell list w/help of getSearch...
Denis Ovsienko [Fri, 15 May 2009 18:08:06 +0000 (18:08 +0000)] 
r2755  - getIPv4VServiceSearchResult(): return standard cell list w/help of getSearchResultByField()
 - getIPv4PrefixSearchResult(): idem
 - getFileSearchResult(): idem
 - listCells(): employ getExplicitTagsOnly() like loadEntityTags() does
 - spotEntity(): idem
 - renderVSCell(): sayonara
 - renderIPv4VSCell(): sayonara, code merged into renderCell()
 - renderIPv4NetCell(): idem
 - renderFileCell(): idem
 - renderRackObject(): switch to renderCell()
 - renderIPv4ForObject(): idem
 - renderIPv4SLB(): idem
 - renderIPv4Network(): idem
 - renderSearchResults(): idem
 - renderRSPoolLBForm(): idem
 - renderRSPool(): idem
 - renderObjectSLB(): idem
 - renderFile(): idem
 - renderFilesPortlet(): idem
 - renderFilesForEntity(): idem

11 years agor2754 - tagNameOnChain(): new helper function
Denis Ovsienko [Fri, 15 May 2009 15:23:36 +0000 (15:23 +0000)] 
r2754  - tagNameOnChain(): new helper function

11 years agor2752 - renderCell(): handle 'ipv4net' realm
Denis Ovsienko [Fri, 15 May 2009 12:55:56 +0000 (12:55 +0000)] 
r2752  - renderCell(): handle 'ipv4net' realm

11 years agor2751 - listCells(): initialise additional fields in 'ipv4net' like getIPv4NetworkIn...
Denis Ovsienko [Thu, 14 May 2009 22:13:39 +0000 (22:13 +0000)] 
r2751  - listCells(): initialise additional fields in 'ipv4net' like getIPv4NetworkInfo() does
 - spotEntity(): ditto
 - getFileLinks(): switch from getIPv4NetworkInfo() to spotEntity()
 - renderRackObject(): ditto
 - renderIPv4ForObject(): ditto
 - renderIPv4Space(): ditto
 - renderIPv4SpaceEditor(): ditto
 - renderIPv4NetworkProperties(): ditto
 - renderSearchResults(): ditto
 - renderLivePTR(): ditto
 - dynamic_title_decoder(): ditto
 - renderIPv4Network(): ditto, and also save on spotEntity() calls

11 years agor2748 - trigger_snmpportfinder(): quick fix after previous changeset
Denis Ovsienko [Thu, 14 May 2009 11:55:53 +0000 (11:55 +0000)] 
r2748  - trigger_snmpportfinder(): quick fix after previous changeset

11 years agor2747 - trigger_snmpportfinder(): employ spotEntity() and getObjectPortsAndLinks()
Denis Ovsienko [Thu, 14 May 2009 11:54:07 +0000 (11:54 +0000)] 
r2747  - trigger_snmpportfinder(): employ spotEntity() and getObjectPortsAndLinks()
 - trigger_autoports(): idem
 - objectIsPortless(): sayonara
 - saveUserPassword(): phase out unused function
 - getObjectPortsAndLinks(): remove useless assertion

11 years agor2746 - rework trigger functions to return either empty string or CSS class name
Denis Ovsienko [Thu, 14 May 2009 10:55:58 +0000 (10:55 +0000)] 
r2746  - rework trigger functions to return either empty string or CSS class name
 - eliminate $tabextraclass array

11 years agor2745 - stuffInRackspace(): sayonara, this data is in rack structure already
Denis Ovsienko [Wed, 13 May 2009 18:47:51 +0000 (18:47 +0000)] 
r2745  - stuffInRackspace(): sayonara, this data is in rack structure already
 - renderRackInfoPortlet(): use "mountedObjects" field
 - generateMiniRack(): return status code, don't suppress lower level errors
 - renderRackThumb(): don't push mime-type header before status is cleared
 - amplifyCell(): handle 'rack' realm
 - getRackData(): sayonara, obsoleted by amplifyCell()
 - getRSUforRackRow(): switch from getRackData() to spotEntity() and/or amplifyCell()
 - generateMiniRack(): idem
 - getFileLinks(): idem
 - updateObjectAllocation(): idem
 - rollTags(): idem
 - deleteRack(): idem
 - updateRackDesign(): idem
 - updateRackProblems(): idem
 - getResidentRacksData(): idem
 - renderRack(): idem
 - renderEditRackForm(): idem
 - renderGridForm(): idem
 - renderRackSpaceForObject(): idem
 - renderMolecule(): idem
 - renderRackPage(): idem
 - dynamic_title_decoder(): idem

11 years agor2743 - renderIPv4Space(): preserve current filter, when expanding tree or reverting...
Denis Ovsienko [Wed, 13 May 2009 15:11:41 +0000 (15:11 +0000)] 
r2743  - renderIPv4Space(): preserve current filter, when expanding tree or reverting to auto-collapse

11 years agor2736 - renderLivePTR(): restore function argument lost in changeset:2704
Denis Ovsienko [Wed, 13 May 2009 10:52:10 +0000 (10:52 +0000)] 
r2736  - renderLivePTR(): restore function argument lost in changeset:2704

11 years agor2734 Bugfix: installation breaks if init-scripts contain space after ";" (merge...
Denis Yeldandi [Wed, 13 May 2009 10:10:18 +0000 (10:10 +0000)] 
r2734 Bugfix: installation breaks if init-scripts contain space after ";" (merge to trunk)

11 years agor2732 - renderEditAttrMapForm(): restore chapter list SELECT (lost in recent changesets)
Denis Ovsienko [Tue, 12 May 2009 17:11:02 +0000 (17:11 +0000)] 
r2732  - renderEditAttrMapForm(): restore chapter list SELECT (lost in recent changesets)

11 years agor2730 - amplifyCell(): also operate on 'ipv4vs'
Denis Ovsienko [Mon, 11 May 2009 20:01:54 +0000 (20:01 +0000)] 
r2730  - amplifyCell(): also operate on 'ipv4vs'
 - dynamic_title_decoder(): switch from getVServiceInfo() to spotEntity()
 - renderVSCell(): idem
 - renderVirtualService(): idem
 - renderVServiceLBForm(): idem
 - renderEditVService(): idem
 - getVServiceInfo(): sayonara

11 years agor2728 - getNarrowObjectList(): work around SQL buffer issue
Denis Ovsienko [Mon, 11 May 2009 18:56:18 +0000 (18:56 +0000)] 
r2728  - getNarrowObjectList(): work around SQL buffer issue
 - recordExists(): gone, replaced by spotEntity()
 - spotEntity(): new data access function like listCells()
 - trigger_poolrscount(): switch from getRSPoolInfo() to spotEntity()
 - findAutoTagWarnings(): ditto
 - updateRSInService(): ditto
 - renderRSPoolServerForm(): ditto
 - renderRSPoolLBForm(): ditto
 - renderRSPool(): ditto
 - renderRSPoolRSInServiceForm(): ditto
 - renderEditRSPool(): ditto
 - dynamic_title_decoder(): ditto
 - getRSPoolInfo(): gone

11 years agor2709 - adjust context to the current navigation and split it for two helpers
Denis Ovsienko [Fri, 8 May 2009 18:21:47 +0000 (18:21 +0000)] 
r2709  - adjust context to the current navigation and split it for two helpers

11 years agor2708 - employ unset to make further queries work
Denis Ovsienko [Fri, 8 May 2009 18:10:28 +0000 (18:10 +0000)] 
r2708  - employ unset to make further queries work

11 years agor2707 - make PortCompat pairs unique
Denis Ovsienko [Fri, 8 May 2009 18:01:40 +0000 (18:01 +0000)] 
r2707  - make PortCompat pairs unique

11 years agor2706 - renderTagStats(): update generated URLs to current navigation
Denis Ovsienko [Fri, 8 May 2009 17:17:41 +0000 (17:17 +0000)] 
r2706  - renderTagStats(): update generated URLs to current navigation

11 years agor2705 - renderRackspace(): let upper layer call showMessageOrError()
Denis Ovsienko [Fri, 8 May 2009 17:06:03 +0000 (17:06 +0000)] 
r2705  - renderRackspace(): let upper layer call showMessageOrError()
 - renderRackspaceRowEditor(): idem
 - renderNewRackForm(): idem
 - renderEditObjectForm(): idem
 - renderEditRackForm(): idem
 - renderGridForm(): idem
 - renderPortsForObject(): idem
 - renderIPv4ForObject(): idem
 - renderRackSpaceForObject(): idem
 - renderDepot(): idem
 - renderIPv4SpaceEditor(): idem
 - renderIPv4NetworkProperties(): idem
 - renderIPv4AddressProperties(): idem
 - renderIPv4AddressAllocations(): idem
 - renderNATv4ForObject(): idem
 - renderAddMultipleObjectsForm(): idem
 - renderUserListEditor(): idem
 - renderPortMap(): idem
 - renderChapterEditor(): idem
 - renderChaptersEditor(): idem
 - renderEditAttributesForm(): idem
 - renderEditAttrMapForm(): idem
 - renderUIConfig(): idem
 - renderUIConfigEditForm(): idem
 - renderVLANMembership(): idem
 - renderSNMPPortFinder(): idem
 - renderLVSConfig(): idem
 - renderRSPoolServerForm(): idem
 - renderRSPoolLBForm(): idem
 - renderVServiceLBForm(): idem
 - renderVSListEditForm(): idem
 - editRSPools(): idem
 - renderRSPoolRSInServiceForm(): idem
 - renderLivePTR(): idem
 - renderAutoPortsForm(): idem
 - renderTagTreeEditor(): idem
 - renderEntityTags(): idem
 - renderTagRollerForRow(): idem
 - renderObjectSLB(): idem
 - renderEditRSPool(): idem
 - renderEditVService(): idem
 - renderRackCodeEditor(): idem
 - renderMyPasswordEditor(): idem
 - renderFileReuploader(): idem
 - renderFileProperties(): idem
 - renderFileManager(): idem
 - renderFilesForEntity(): idem
 - renderTextEditor(): idem

11 years agor2704 - renderRow(): assertion has already been checked at this point, remove
Denis Ovsienko [Fri, 8 May 2009 16:50:40 +0000 (16:50 +0000)] 
r2704  - renderRow(): assertion has already been checked at this point, remove
 - renderRack(): idem
 - renderRackObject(): idem
 - renderPortsForObject(): idem
 - renderIPv4ForObject(): idem
 - renderRackSpaceForObject(): idem
 - renderRackPage(): idem
 - renderRSPoolServerForm(): idem
 - renderRSPool(): idem
 - renderRSPoolRSInServiceForm(): idem
 - renderLivePTR(): idem
 - renderAutoPortsForm(): idem
 - renderEntityTags(): idem
 - renderFile(): idem
 - renderFilesForEntity(): idem
 - renderGridForm(): idem
 - renderSNMPPortFinder(): idem
 - renderLVSConfig(): idem

11 years agor2703 - fixed INSERT in demo data
Denis Ovsienko [Fri, 8 May 2009 15:06:42 +0000 (15:06 +0000)] 
r2703  - fixed INSERT in demo data

11 years agor2702 - drop unused "deleted" column completely
Denis Ovsienko [Fri, 8 May 2009 15:02:38 +0000 (15:02 +0000)] 
r2702  - drop unused "deleted" column completely

11 years agor2701 - switchvlans: don't let tr fail on binary data under certain locales
Denis Ovsienko [Fri, 8 May 2009 13:40:13 +0000 (13:40 +0000)] 
r2701  - switchvlans: don't let tr fail on binary data under certain locales

11 years agor2700 - finally drop chapter number 3 (RackRow)
Denis Ovsienko [Fri, 8 May 2009 13:14:28 +0000 (13:14 +0000)] 
r2700  - finally drop chapter number 3 (RackRow)
 - getChapterList(): also retrieve word count and sticky flag
 - renderDictionary(): switch from getDict() to a cheaper call of getChapterList()
 - renderChaptersEditor(): idem
 - renderEditAttrMapForm(): idem

11 years agor2699 - updateObjectAllocation(): cleanup
Denis Ovsienko [Fri, 8 May 2009 11:57:09 +0000 (11:57 +0000)] 
r2699  - updateObjectAllocation(): cleanup
 - renderRackSpaceForObject(): idem
 - deleteObject(): discard thumbnail cache of related racks

11 years agor2698 - renderEditObjectForm(): always include num_attrs in the form, even if it's 0
Denis Ovsienko [Thu, 7 May 2009 21:11:50 +0000 (21:11 +0000)] 
r2698  - renderEditObjectForm(): always include num_attrs in the form, even if it's 0
 - updateObject(): tolerate num_attrs == 0 (ticket:218)

11 years agor2697 - listCells(): accept optional parent ID, handle 'rack' realm
Denis Ovsienko [Thu, 7 May 2009 18:50:28 +0000 (18:50 +0000)] 
r2697  - listCells(): accept optional parent ID, handle 'rack' realm
 - getCellFilter(): fill in 'urlextra' like getTagFilterStr() used to
 - renderRackSpaceForObject(): switch from getRacksForRow() to listCells()
 - getPrevIDforRack(): idem
 - getNextIDforRack(): idem
 - rollTags(): idem
 - renderRackspace(): idem
 - renderRow(): idem
 - getRacksForRow(): sayonara
 - renderIPv4Space(): fix expansion/collapsion of filtered tree with 'urlextra'
 - getTagFilter(): sayonara
 - getTagFilterStr(): sayonara
 - renderTagFilterPortlet(): sayonara
 - serializeTags(): finally switch from "tagfilter" to "cft"
 - renderTagStats(): ditto
 - getWhereClause(): sayonara
 - getObjectList(): sayonara

11 years agor2696 - renderRackspace(): fixed erroneous RACKS_PER_ROW handling
Denis Ovsienko [Thu, 7 May 2009 17:01:37 +0000 (17:01 +0000)] 
r2696  - renderRackspace(): fixed erroneous RACKS_PER_ROW handling
 - renderRow(): justified portlets layour

11 years agor2695 - trigger_emptyRackspace(): phase out
Denis Ovsienko [Thu, 7 May 2009 16:11:25 +0000 (16:11 +0000)] 
r2695  - trigger_emptyRackspace(): phase out

11 years agor2694 - renderRackspace(): don't use getRackspace()
Denis Ovsienko [Thu, 7 May 2009 16:06:51 +0000 (16:06 +0000)] 
r2694  - renderRackspace(): don't use getRackspace()
 - getRackspace(): phased out
 - renderRackspaceRowEditor(): fix message text

11 years agor2693 - buildWideRedirectURL(): move to ophandlers.php, where it's actually used
Denis Ovsienko [Thu, 7 May 2009 15:26:14 +0000 (15:26 +0000)] 
r2693  - buildWideRedirectURL(): move to ophandlers.php, where it's actually used
 - buildRedirectURL(): idem
 - $msgcode message array: idem
 - assertUIntArg(): move to interface.php
 - assertStringArg(): idem
 - assertBoolArg(): idem
 - assertIPv4Arg(): idem
 - only include ophandlers.php from process.php
 - only include snmp.php from querySNMPData()

11 years agor2692 - dynamic_title_decoder(): new dispatcher for trivial lookups
Denis Ovsienko [Thu, 7 May 2009 14:30:22 +0000 (14:30 +0000)] 
r2692  - dynamic_title_decoder(): new dispatcher for trivial lookups
 - dynamic_title_chapter(): replaced by dynamic_title_decoder()
 - dynamic_title_user(): idem
 - dynamic_title_rspool(): idem
 - dynamic_title_vservice(): idem
 - dynamic_title_object(): idem
 - dynamic_title_rack(): idem
 - dynamic_title_search(): idem
 - dynamic_title_file(): idem
 - dynamic_title_ipaddress(): idem
 - pagetitles.php is gone
 - showPathAndSearch(): use dynamic_title_decoder(), move to interface.php
 - getTitle(): idem
 - getPath(): employ standard self-recursion trick
 - 'title_handler' key of page list is now obsolete
 - getDirectChildPages(): phased out
 - getAllChildPages(): phased out
 - renderConfigMainpage(): compute sub-pages locally
 - getPath(): pushed into showPathAndSearch() for now
 - showTabs(): move to interface.php

11 years agor2691 - renderRackspaceRowEditor(): don't use getRackspace(), but getRackRows()...
Denis Ovsienko [Thu, 7 May 2009 11:38:16 +0000 (11:38 +0000)] 
r2691  - renderRackspaceRowEditor(): don't use getRackspace(), but getRackRows()+getRacksForRow()

11 years agor2690 - fixed network security and wireless hardware not being displayed
Denis Ovsienko [Wed, 6 May 2009 22:18:51 +0000 (22:18 +0000)] 
r2690  - fixed network security and wireless hardware not being displayed

11 years agor2689 - fixed missing quoting in INSERT args
Denis Ovsienko [Wed, 6 May 2009 21:54:12 +0000 (21:54 +0000)] 
r2689  - fixed missing quoting in INSERT args

11 years agor2688 - upgrader fixes according to remarks by Panagiotis Christias
Denis Ovsienko [Wed, 6 May 2009 21:47:38 +0000 (21:47 +0000)] 
r2688  - upgrader fixes according to remarks by Panagiotis Christias

11 years agor2686 - printOpFormIntro(): generate HTML elements only, because extra noise screws...
Denis Ovsienko [Wed, 6 May 2009 11:21:04 +0000 (11:21 +0000)] 
r2686  - printOpFormIntro(): generate HTML elements only, because extra noise screws visual positioning up

11 years agor2685 - adjust user_password_hash for 20-bytes (40-chars) wide SHA1 value
Denis Ovsienko [Tue, 5 May 2009 16:54:24 +0000 (16:54 +0000)] 
r2685  - adjust user_password_hash for 20-bytes (40-chars) wide SHA1 value

11 years agor2684 - renderRSPoolList(): reduce to a wrapper
Denis Ovsienko [Tue, 5 May 2009 16:44:14 +0000 (16:44 +0000)] 
r2684  - renderRSPoolList(): reduce to a wrapper
 - getIPv4RSPoolOptions(): one more temporary slow helper func
 - getRSPoolList(): obsoleted by listCells()

11 years agor2683 - discardLDAPCache(): fix quoting in query to make it actually work
Denis Ovsienko [Tue, 5 May 2009 14:06:17 +0000 (14:06 +0000)] 
r2683  - discardLDAPCache(): fix quoting in query to make it actually work
 - renderVSList(): reduce to a renderCellList() wrapper
 - renderVSListEditForm(): switch to listCells()
 - getIPv4VSOptions(): put helper cycle here for now, use 'dname'
 - renderRSPoolLBForm(): make use of getIPv4VSOptions()
 - renderObjectSLB(): idem
 - renderCell(): handle 'ipv4vs' realm
 - scanRealmByText(): idem
 - listCells(): idem, plus put VS 'dname' calculation on SQL server side
 - renderIPv4VSCell(): don't recalculate 'dname', if already provided
 - getVSList(): replaced by listCells()

11 years agor2682 - listCells(): employ custom ORDER BY column(s) in each realm
Denis Ovsienko [Tue, 5 May 2009 05:04:24 +0000 (05:04 +0000)] 
r2682  - listCells(): employ custom ORDER BY column(s) in each realm

11 years agor2681 - renderVirtualService(): fixed generated URL
Denis Ovsienko [Mon, 4 May 2009 22:44:42 +0000 (22:44 +0000)] 
r2681  - renderVirtualService(): fixed generated URL

11 years agor2680 - findAutoTagWarnings(): treat page, tag, op, fromvlan and tovlan correctly
Denis Ovsienko [Mon, 4 May 2009 18:23:12 +0000 (18:23 +0000)] 
r2680  - findAutoTagWarnings(): treat page, tag, op, fromvlan and tovlan correctly
 - renderDepot(): fixed error message text
 - scanRealmByText(): new function, API prototype

11 years agor2679 - getCellFilter(): signal upwards about code parse error
Denis Ovsienko [Sat, 2 May 2009 10:04:30 +0000 (10:04 +0000)] 
r2679  - getCellFilter(): signal upwards about code parse error
 - renderCellFilterPortlet(): handle "extra" class, if it is provided; highlight initial value of and/or selector

11 years agor2678 - deleteObject(): don't use URL hint for object name, compute dname ourselves
Denis Ovsienko [Sat, 2 May 2009 09:16:55 +0000 (09:16 +0000)] 
r2678  - deleteObject(): don't use URL hint for object name, compute dname ourselves
 - renderEditObjectForm(): fix URL
 - renderSearchResults(): idem
 - renderCellFilterPortlet(): remove unnecessary HR row
 - fixContext(): handle 'objects'-'depot' switch

11 years agor2677 - getObjectGroupInfo(): phased out
Denis Ovsienko [Sat, 2 May 2009 08:33:59 +0000 (08:33 +0000)] 
r2677  - getObjectGroupInfo(): phased out
 - dynamic_title_objgroup(): phased out
 - renderTagRowForCloud(): phased out
 - renderTagCloud(): phased out
 - renderObjectGroup(): phased out
 - renderObjectSpace(): phased out
 - renderRackObject(): adjust generated URLs
 - renderIndex(): list "depot" page, "objects" page is gone

11 years agor2676 - buildCellFilter(): replaced by getCellFilter()
Denis Ovsienko [Thu, 30 Apr 2009 10:57:03 +0000 (10:57 +0000)] 
r2676  - buildCellFilter(): replaced by getCellFilter()
 - getCellFilter(): toss code around once more
 - renderCellFilterPortlet(): idem
 - renderDepot(): new prototype function
 - listCells(): master 'object' real to replace getObjectList()
 - getAllIPv4Allocations(): not a function any more, code moves to popup.php

11 years agor2674 - bugfix: don't generate warning about {$unmounted} autotag
Denis Ovsienko [Wed, 29 Apr 2009 13:15:38 +0000 (13:15 +0000)] 
r2674  - bugfix: don't generate warning about {$unmounted} autotag
 - introduce DEFAULT_FILTER_FORMAT and DEFAULT_FILTER_BOOLOP
 - getCellFilter(): toss code around once more
 - renderCellFilterPortlet(): idem
 - renderIPv4Space(): switch to renderCellFilterPortlet()

11 years agor2673 - new config option: FILTER_PREDICATE_SIEVE
Denis Ovsienko [Wed, 29 Apr 2009 11:24:25 +0000 (11:24 +0000)] 
r2673  - new config option: FILTER_PREDICATE_SIEVE
 - getCellFilter(): always set pnamelist key for versions 1 and 2
 - getObjectList(): removed unused tag filter mode
 - renderCellFilterPortlet(): justify predicate rendering code
 - renderPredicateCheckbox(): gone
 - renderObjectGroup(): cleaned up a bit
 - renderCellList(): completely switch to renderCellFilterPortlet()
 - getTFMode(): gone
 - getFileList(): gone
 - getAllFiles(): gone
 - tagExistsInDatabase(): gone
 - commitCreateTag(): handle MySQL error code
 - commitUpdateTag(): idem
 - commitAddFile(): fixed condition
 - createTag(): rely on commitCreateTag() and UNIQUE
 - updateTag(): clarify error message
 - getDictStats(): updated stock chapter list
 - getUnmountedObjects(): gone
 - getProblematicObjects(): gone
 - renderUnmountedObjectsPortlet(): gone
 - renderProblematicObjectsPortlet(): gone
 - commitAddRow(): don't ignore return code
 - printRefsOfType(): gone

11 years agor2672 - getCellFilter(): new function
Denis Ovsienko [Tue, 28 Apr 2009 18:27:42 +0000 (18:27 +0000)] 
r2672  - getCellFilter(): new function
 - renderTagCheckbox(): remove experimental code
 - renderCellFilterPortlet(): new function
 - renderPredicateCheckbox(): temporary helper function
 - renderIPv4Space(): employ getCellFilter()
 - renderCellList(): idem, for files only

11 years agor2671 - discardLDAPCache(): treat provided (optional) argument
Denis Ovsienko [Tue, 28 Apr 2009 14:56:00 +0000 (14:56 +0000)] 
r2671  - discardLDAPCache(): treat provided (optional) argument
 - authenticated_via_ldap(): request cache maintenance on occasion
 - authenticated_via_database(): simplify expression

11 years agor2669 - getUserIDByUsername(): new function
Denis Ovsienko [Tue, 28 Apr 2009 12:40:41 +0000 (12:40 +0000)] 
r2669  - getUserIDByUsername(): new function
 - getUserInfo(): new function
 - getHashByID(): gone, replaced by getUserInfo()
 - getUsernameByID(): idem
 - removed useless globals
 - findAutoTagWarnings(): employ standard self-recursion pattern
 - require_valid_user is renamed to require_local_account
 - authenticate(): handle tags; speed up by loading necessary data only
 - authenticated_via_httpd(): phase out

11 years agor2668 - moved all LDAP options into LDAP_options array
Denis Ovsienko [Mon, 27 Apr 2009 16:49:20 +0000 (16:49 +0000)] 
r2668  - moved all LDAP options into LDAP_options array
 - displayname_attrs: change format from array of strings to more convenient one string with space delimiters
 - discardLDAPCache(): new helper function
 - authenticated_via_ldap(): discard LDAP cache on LDAP options change

11 years agor2667 - renderCellList(): indicate list size in the title
Denis Ovsienko [Mon, 27 Apr 2009 16:29:59 +0000 (16:29 +0000)] 
r2667  - renderCellList(): indicate list size in the title

11 years agor2666 - introduced LDAPCache table (ticket:193)
Denis Ovsienko [Mon, 27 Apr 2009 15:22:49 +0000 (15:22 +0000)] 
r2666  - introduced LDAPCache table (ticket:193)
 - authenticated_via_ldap(): only deal with higher-level cache decisions
 - queryLDAPServer(): new function is the place for LDAP code
 - acquireLDAPCache(): new function
 - releaseLDAPCache(): idem
 - touchLDAPCacheRecord(): idem
 - replaceLDAPCacheRecord(): idem
 - deleteLDAPCacheRecord(): idem
 - explicitly state local account records as such

11 years agor2658 - last finish for ticket:181 (HP switches SNMP support)
Denis Ovsienko [Wed, 22 Apr 2009 20:23:32 +0000 (20:23 +0000)] 
r2658  - last finish for ticket:181 (HP switches SNMP support)

11 years agor2657 - etype_by_pageno: list "ipaddress" pseudo-realm, because we generate stuff...
Denis Ovsienko [Wed, 22 Apr 2009 14:02:08 +0000 (14:02 +0000)] 
r2657  - etype_by_pageno: list "ipaddress" pseudo-realm, because we generate stuff in it
 - fixContext(): only attemp autotags generation for pages listed in the mapper

11 years agor2656 - renderEntityTags(): don't refer to unused $etype_by_pageno
Denis Ovsienko [Wed, 22 Apr 2009 12:36:30 +0000 (12:36 +0000)] 
r2656  - renderEntityTags(): don't refer to unused $etype_by_pageno
 - addFileToEntity(): don't rely on entity_type and entity_id args
 - renderFileReuploader(): remove unused MAX_FILE_SIZE
 - renderFileManager(): idem
 - renderFilesForEntity(): idem
 - addFileToEntity(): justify message codes
 - unlinkFile(): idem
 - saveEntityTags(): idem

11 years agor2655 - findAutoTagWarnings(): produce warnings for martian autotags (ticket:216)
Denis Ovsienko [Wed, 22 Apr 2009 00:19:32 +0000 (00:19 +0000)] 
r2655  - findAutoTagWarnings(): produce warnings for martian autotags (ticket:216)

11 years agor2654 - initial code for HP switches support (ticket:181)
Denis Ovsienko [Tue, 21 Apr 2009 14:39:29 +0000 (14:39 +0000)] 
r2654  - initial code for HP switches support (ticket:181)

11 years agor2651 - added new option RACKS_PER_ROW
Denis Ovsienko [Thu, 16 Apr 2009 14:20:54 +0000 (14:20 +0000)] 
r2651  - added new option RACKS_PER_ROW
 - renderRackspace(): treat RACKS_PER_ROW, when rendering
 - renderRow: ditto

11 years agor2650 - don't display preselect above tag tree, cause it's already highlighted
Denis Ovsienko [Thu, 16 Apr 2009 11:47:35 +0000 (11:47 +0000)] 
r2650  - don't display preselect above tag tree, cause it's already highlighted
 - only display effective chain, when it differs from given one

11 years agor2649 - fix lettercase
Denis Ovsienko [Thu, 16 Apr 2009 11:12:09 +0000 (11:12 +0000)] 
r2649  - fix lettercase

11 years agor2648 - renderEditObjectForm(): converge static attrs and stickers, employ styling...
Denis Ovsienko [Thu, 16 Apr 2009 11:05:20 +0000 (11:05 +0000)] 
r2648  - renderEditObjectForm(): converge static attrs and stickers, employ styling for latter
 - renderTagCheckbox(): highlight preselect with style, use standard spacing

11 years agor2647 -lListed Cisco and Foundry access points and controllers (ticket:202)
Denis Ovsienko [Thu, 16 Apr 2009 10:28:25 +0000 (10:28 +0000)] 
r2647  -lListed Cisco and Foundry access points and controllers (ticket:202)

11 years agor2646 - renderAddMultipleObjectsForm(): display message log
Denis Ovsienko [Wed, 15 Apr 2009 18:00:52 +0000 (18:00 +0000)] 
r2646  - renderAddMultipleObjectsForm(): display message log
 - addMultipleObjects(): fix message generation
 - addLotOfObjects(): idem
 - renderRackObject(): revert to original (before changeset:2339) style for stickers and tags
 - renderUser(): idem
 - printTagTRs(): idem
 - renderAccessDenied(): idem

11 years agor2645 - employ OPTGROUPs for Cronyx, RAD & Tainet MUXes
Denis Ovsienko [Wed, 15 Apr 2009 17:24:34 +0000 (17:24 +0000)] 
r2645  - employ OPTGROUPs for Cronyx, RAD & Tainet MUXes

11 years agor2644 - addMultipleObjects(): removed obsolete code, employed log format 2
Denis Ovsienko [Wed, 15 Apr 2009 16:59:49 +0000 (16:59 +0000)] 
r2644  - addMultipleObjects(): removed obsolete code, employed log format 2
 - addLotOfObjects(): idem

11 years agor2643 - renderAddMultipleObjectsForm(): removed obsolete code, fixed tabindex for...
Denis Ovsienko [Wed, 15 Apr 2009 16:21:26 +0000 (16:21 +0000)] 
r2643  - renderAddMultipleObjectsForm(): removed obsolete code, fixed tabindex for INPUT elements

11 years agor2642 - make file deletion only possible from file manager
Denis Ovsienko [Wed, 15 Apr 2009 15:54:17 +0000 (15:54 +0000)] 
r2642  - make file deletion only possible from file manager
 - renderFilesForEntity(): toss layout once more

11 years agor2641 - added gray version of "big trash" icon
Denis Ovsienko [Wed, 15 Apr 2009 14:59:41 +0000 (14:59 +0000)] 
r2641  - added gray version of "big trash" icon
 - serializeFileLinks(): accept "scissors" argument
 - getFileLinks(): first sort by entity_id
 - filesbylink: no more such page (from Aaron's working copy)
 - listCells(): handle files
 - amplifyCell: idem
 - renderFileCell(): handle references and tags smarter
 - renderFileSpace(): replaced by renderFileBrowser()
 - renderFilesByLink: phased out
 - renderFileManager(): new function
 - renderFileUploadForm(): code merged into renderFileManager()
 - renderTagRowForViewer(): employ standard "self" trick
 - renderTagRowForCloud(): idem
 - renderTagRowForEditor(): idem
 - printImageHREF(): split into real getImageHREF() and wrapper function
 - renderCellList(): accept "do_amplify" option
 - unlinkFile(): drop message argument, there is no data in it
 - printLog(): exclude arg from "link removed" message, the op handler doesnt pass it

11 years agor2640 - renderAccessDenied(): removed duplicate LINK element
Denis Ovsienko [Wed, 15 Apr 2009 09:38:46 +0000 (09:38 +0000)] 
r2640  - renderAccessDenied(): removed duplicate LINK element

11 years agor2638 - doSNMPmining(): initial support for Nexus hardware and NX-OS software (ticke...
Denis Ovsienko [Tue, 14 Apr 2009 19:06:40 +0000 (19:06 +0000)] 
r2638  - doSNMPmining(): initial support for Nexus hardware and NX-OS software (ticket:198)

11 years agor2637 - record Cisco NX-OS
Denis Ovsienko [Tue, 14 Apr 2009 18:25:54 +0000 (18:25 +0000)] 
r2637  - record Cisco NX-OS

11 years agor2636 - fixed IIS-specific issues with accessing via HTTP or from docroot (reported...
Denis Ovsienko [Tue, 14 Apr 2009 17:22:18 +0000 (17:22 +0000)] 
r2636  - fixed IIS-specific issues with accessing via HTTP or from docroot (reported by Sean Brown)

11 years agor2635 - added Cisco Nexus records (ticket:198)
Denis Ovsienko [Tue, 14 Apr 2009 16:55:29 +0000 (16:55 +0000)] 
r2635  - added Cisco Nexus records (ticket:198)

11 years agor2634 - SGI Altix update: remove outdated URL, add 3 more server records
Denis Ovsienko [Tue, 14 Apr 2009 15:09:36 +0000 (15:09 +0000)] 
r2634  - SGI Altix update: remove outdated URL, add 3 more server records

11 years agor2633 - enforce specific INSERT syntax, where appropriate
Denis Ovsienko [Tue, 14 Apr 2009 14:47:35 +0000 (14:47 +0000)] 
r2633  - enforce specific INSERT syntax, where appropriate
 - update Debian records

11 years agor2632 - traceEntity(): unused, phase out
Denis Ovsienko [Tue, 14 Apr 2009 10:32:31 +0000 (10:32 +0000)] 
r2632  - traceEntity(): unused, phase out
 - attachChildTag(): rename to pokeNode(), perform no search, use supplied trace
 - treeFromList(): maintain and use node trace cache, reducing algorythm cost from O(N^3) to O(N^2)
 - getOrphanedTags(): decommission own code and rely on treeFromList()

11 years agor2631 - judgeEntityRecord(): rename to judgeCell()
Denis Ovsienko [Mon, 13 Apr 2009 15:18:46 +0000 (15:18 +0000)] 
r2631  - judgeEntityRecord(): rename to judgeCell()
 - filterEntityRecordList(): rename to filterCellList()
 - prepareIPv4Tree(): perform parent_id processing locally instead of relying on getIPv4NetworkList()
 - buildCellFilter(): initial implementation of $_REQUEST to RackCode mapping
 - getUserAccounts(): replaced by listCells()
 - getIPv4NetworkList(): idem
 - loadFullEntityInfo(): rename to amplifyCell() and add IPv4 prefixes processing
 - listCells(): split columns into alias/expression pairs, toss column order a bit
 - init: load tags before trying to build user list, so the latter computation doesn't break
 - authenticate(): switch from getUserAccounts() to listCells() and add necessary temporary transformation
 - renderUserCell(): use workaround to display data returned by search
 - renderCell(): new function for record rendering
 - renderCellList(): new function for list rendering
 - renderUserList(): use renderCellList()
 - renderIPv4Space(): switch to cell framework
 - renderIPv4SpaceEditor(): idem
 - renderSearchResults(): employ renderCell()

11 years agor2629 - judgeEntityRecord(): new loader/filter code
Denis Ovsienko [Sat, 11 Apr 2009 18:30:25 +0000 (18:30 +0000)] 
r2629  - judgeEntityRecord(): new loader/filter code
 - filterEntityRecordList(): idem
 - listEntities(): idem
 - loadFullEntityInfo(): idem

11 years agor2628 - interpretPredicate(): make use of pre-built predicate table
Denis Ovsienko [Sat, 11 Apr 2009 13:30:54 +0000 (13:30 +0000)] 
r2628  - interpretPredicate(): make use of pre-built predicate table

11 years agor2627 - deleteRow(): don't use row name from request
Denis Ovsienko [Thu, 9 Apr 2009 15:11:42 +0000 (15:11 +0000)] 
r2627  - deleteRow(): don't use row name from request
 - renderRackspaceRowEditor(): don't put row name into delete request
 - ibid: fix forms table layout
 - use quotes in messages 69~79

11 years agor2626 - phase out rtwidth_0, rtwidth_1 and rtwidth_2
Denis Ovsienko [Thu, 9 Apr 2009 14:42:13 +0000 (14:42 +0000)] 
r2626  - phase out rtwidth_0, rtwidth_1 and rtwidth_2

11 years agor2624 - fixed a typo in README
Denis Ovsienko [Thu, 9 Apr 2009 09:45:51 +0000 (09:45 +0000)] 
r2624  - fixed a typo in README
 - switched to builtin sha1() function, so we don't depend on HASH extension any more
 - fixed query in installer to send admin password hash instead of password

11 years agor2623 move user-modifiable files to a separate dir (closes: 39)
Aaron Dummer [Thu, 9 Apr 2009 03:22:04 +0000 (03:22 +0000)] 
r2623 move user-modifiable files to a separate dir (closes: 39)

11 years agor2622 don't allow a rack to be shrunk if rows being deleted have objects mounted...
Aaron Dummer [Thu, 9 Apr 2009 02:59:18 +0000 (02:59 +0000)] 
r2622 don't allow a rack to be shrunk if rows being deleted have objects mounted there (closes: 45)

11 years agor2621 - getObjectList(): work around parallel queries one more time
Denis Ovsienko [Wed, 8 Apr 2009 18:26:02 +0000 (18:26 +0000)] 
r2621  - getObjectList(): work around parallel queries one more time

11 years agor2620 - renderLivePTR(): feature "toggle selection"
Denis Ovsienko [Wed, 8 Apr 2009 17:50:21 +0000 (17:50 +0000)] 
r2620  - renderLivePTR(): feature "toggle selection"

11 years agor2619 - renderChaptersEditor(): check each chapter, if it is referenced by sticker...
Denis Ovsienko [Wed, 8 Apr 2009 17:31:46 +0000 (17:31 +0000)] 
r2619  - renderChaptersEditor(): check each chapter, if it is referenced by sticker map or not (ticket:47)
 - ibid: use create/destroy/nodestroy icons instead of add/delete/nodelete

11 years agor2618 - renderEntityTags(): don't push bypass arg to printOpFormIntro(), which alrea...
Denis Ovsienko [Wed, 8 Apr 2009 16:55:17 +0000 (16:55 +0000)] 
r2618  - renderEntityTags(): don't push bypass arg to printOpFormIntro(), which already handles that itself
 - ibid: place closing FORM element properly
 - renderTagSelect(): rename to renderNewEntityTags()
 - fixContext(): use etype_by_pageno mapping just to be sure it won't break unexpectedly
 - renderTagCheckbox(): add two more args for more flexible behaviour
 - renderTagFilterPortlet(): justify "no data" display, switch to renderTagCheckbox() (ticket:186)
 - renderTagOptionForFilter(): phased out
 - renderTagOption(): idem

11 years agor2617 - fixed getRackRowInfo() to return correct data
Denis Ovsienko [Wed, 8 Apr 2009 13:59:11 +0000 (13:59 +0000)] 
r2617  - fixed getRackRowInfo() to return correct data

11 years agor2616 - list F5
Denis Ovsienko [Wed, 8 Apr 2009 10:57:25 +0000 (10:57 +0000)] 
r2616  - list F5

11 years agor2615 - printLog(): don't tell message class in its text for generic messages
Denis Ovsienko [Tue, 7 Apr 2009 15:08:01 +0000 (15:08 +0000)] 
r2615  - printLog(): don't tell message class in its text for generic messages