racktables
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

11 years agor2611 - mergeLogs(): new generic helper
Denis Ovsienko [Tue, 7 Apr 2009 13:21:25 +0000 (13:21 +0000)] 
r2611  - mergeLogs(): new generic helper

11 years agor2610 - getNarrowObjectList(): bugfix, use provided filter name instead of hardcoded one
Denis Ovsienko [Tue, 7 Apr 2009 11:50:45 +0000 (11:50 +0000)] 
r2610  - getNarrowObjectList(): bugfix, use provided filter name instead of hardcoded one
 - ibid: use parsing cache

11 years agor2609 change findFileByName(), File table has UNIQUE index now
Aaron Dummer [Tue, 7 Apr 2009 00:42:19 +0000 (00:42 +0000)] 
r2609 change findFileByName(), File table has UNIQUE index now

11 years agor2607 ensure that filenames are unique (closes: 196)
Aaron Dummer [Sun, 5 Apr 2009 18:43:43 +0000 (18:43 +0000)] 
r2607 ensure that filenames are unique (closes: 196)

11 years agor2606 added ability to toggle entire column or row of checkboxes (closes: 67)
Aaron Dummer [Sun, 5 Apr 2009 17:47:07 +0000 (17:47 +0000)] 
r2606 added ability to toggle entire column or row of checkboxes (closes: 67)

11 years agor2605 - getObjectInfo(): clean up and resolve "parallel queries" issue
Denis Ovsienko [Fri, 3 Apr 2009 18:07:05 +0000 (18:07 +0000)] 
r2605  - getObjectInfo(): clean up and resolve "parallel queries" issue

11 years agor2604 - renderRackObject(): speed up by requesting as little data from getResidentRa...
Denis Ovsienko [Fri, 3 Apr 2009 17:56:22 +0000 (17:56 +0000)] 
r2604  - renderRackObject(): speed up by requesting as little data from getResidentRacksData() as is sufficient for renderRack()

11 years agor2603 - trigger_ipv4(): show otherwisely hidden tab, until there's at least one...
Denis Ovsienko [Fri, 3 Apr 2009 17:45:20 +0000 (17:45 +0000)] 
r2603  - trigger_ipv4(): show otherwisely hidden tab, until there's at least one address allocated

11 years agor2602 - performance: introduce global parse cache and use it in considerConfiguredCo...
Denis Ovsienko [Fri, 3 Apr 2009 17:14:35 +0000 (17:14 +0000)] 
r2602  - performance: introduce global parse cache and use it in considerConfiguredConstraint()
 - performance: make predicate table global var and compute it only once
 - performance: getObjectInfo(): add "faster" mode and employ it where appropriate
 - bugfix: generateEntityAutoTags(): fetch less data about current object to desist stack overflow provocation
 - generateEntityAutoTags(): validate the same string we are going to actually use just to be sure
 - scanIPv4Space(): set 'id' field in structure passed to displayedName(), because it expects it there
 - getFileLinks(): use 'dname' field, since it was provided anyways
 - getObjectPortsAndLinks(): don't call displayedName(), the data is already in structure

11 years agor2601 - "objtype" autotag doesn't exist, use correct "typeid" instead
Denis Ovsienko [Fri, 3 Apr 2009 13:32:33 +0000 (13:32 +0000)] 
r2601  - "objtype" autotag doesn't exist, use correct "typeid" instead

11 years agor2600 - updated message text at "reset UI options" tab
Denis Ovsienko [Fri, 3 Apr 2009 13:03:10 +0000 (13:03 +0000)] 
r2600  - updated message text at "reset UI options" tab

11 years agor2599 - considerConfiguredConstraint(): move constraint handling here from trigger_i...
Denis Ovsienko [Fri, 3 Apr 2009 12:56:35 +0000 (12:56 +0000)] 
r2599  - considerConfiguredConstraint(): move constraint handling here from trigger_isloadbalancer(), which becomes trivial
 - trigger_ipv4(): employ considerConfiguredConstraint()
 - trigger_natv4(): idem
 - getIPv4LBList(): phased out, its code merged into getNarrowObjectList()
 - getNarrowObjectList(): expect constraint name instead of type list
 - IPV4LB_LISTSRC: adjusted default value
 - NAMEFUL_OBJTYPES: replaced with NAMEWARN_LISTSRC
 - REQUIRE_ASSET_TAG_FOR: replaced with ASSETWARN_LISTSRC
 - IPV4_PERFORMERS: replaced with IPV4OBJ_LISTSRC
 - NATV4_PERFORMERS: replaced with IPV4NAT_LISTSRC

11 years agor2598 - display CTXMOD counter in RackCode stats
Denis Ovsienko [Thu, 2 Apr 2009 16:51:57 +0000 (16:51 +0000)] 
r2598  - display CTXMOD counter in RackCode stats
 - introduce {$unmounted} autotag

11 years agor2597 - spotPayload(): adjust error message
Denis Ovsienko [Thu, 2 Apr 2009 16:23:36 +0000 (16:23 +0000)] 
r2597  - spotPayload(): adjust error message
 - getRackCode(): use correct node type (SYNT_CODETEXT)

11 years agor2596 - initial P-filter draft code
Denis Ovsienko [Thu, 2 Apr 2009 15:56:57 +0000 (15:56 +0000)] 
r2596  - initial P-filter draft code

11 years agor2595 - printSelect(): quote OPTION value
Denis Ovsienko [Thu, 2 Apr 2009 15:09:53 +0000 (15:09 +0000)] 
r2595  - printSelect(): quote OPTION value
 - printNiftySelect(): idem

11 years agor2594 - eval_expression(): $silent arg to hide error messages
Denis Ovsienko [Thu, 2 Apr 2009 13:44:25 +0000 (13:44 +0000)] 
r2594  - eval_expression(): $silent arg to hide error messages
 - ibid: return NULL on error and pass returned NULL upwards w/o converting to FALSE
 - getSentencesFromLexems(): rename to getParseTreeFromLexems()
 - getParseTreeFromLexems(): move ACK/NAK decision making to a more general spotPayload()
 - getLexemsFromRackCode(): rename to getLexemsFromRawText()
 - getLexemsFromRawText(): add mock character for better scanner syncing
 - lexError3(): tell scanner state in error message
 - filterEntityList(): moved most of the code into new buildPredicateTable() and new judgeEntity()
 - getIPv4LBList(): new function makes use of the new code to enhance renderVServiceLBForm() and renderRSPoolLBForm()
 - trigger_lvsconfig(): replaced with trigger_isloadbalancer(), which uses IPV4LB_LISTSRC
 - renamed 'LVS config' tab to 'keepalived.conf'

11 years agor2593 - trigger_emptyRackspace(): adjust to use correct data source
Denis Ovsienko [Thu, 2 Apr 2009 13:29:21 +0000 (13:29 +0000)] 
r2593  - trigger_emptyRackspace(): adjust to use correct data source

11 years agor2592 - introduce IPV4LB_LISTSRC configuration variable
Denis Ovsienko [Thu, 2 Apr 2009 08:44:41 +0000 (08:44 +0000)] 
r2592  - introduce IPV4LB_LISTSRC configuration variable

11 years agor2591 - filterEntityList(): first working version
Denis Ovsienko [Wed, 1 Apr 2009 18:39:46 +0000 (18:39 +0000)] 
r2591  - filterEntityList(): first working version

11 years agor2590 - COOKIE_TTL config option wasn't used any more
Denis Ovsienko [Wed, 1 Apr 2009 17:55:07 +0000 (17:55 +0000)] 
r2590  - COOKIE_TTL config option wasn't used any more

11 years agor2589 - phase out 'tagloader' and 'autotagloader' keys from $page array
Denis Ovsienko [Wed, 1 Apr 2009 17:38:51 +0000 (17:38 +0000)] 
r2589  - phase out 'tagloader' and 'autotagloader' keys from $page array
 - loadRackTags(): completely replaced by existing loadEntityTags()
 - loadRackObjectTags(): idem
 - loadIPv4PrefixTags(): idem
 - loadIPv4VSTags(): idem
 - loadIPv4RSPoolTags(): idem
 - loadUserTags(): idem
 - loadFileTags(): idem
 - loadRackAutoTags(): completely replaced by new generateEntityAutoTags()
 - loadRackObjectAutoTags(): idem
 - loadIPv4PrefixAutoTags(): idem
 - loadIPv4AddressAutoTags(): idem
 - loadIPv4VSAutoTags(): idem
 - loadIPv4RSPoolAutoTags(): idem
 - getUserAutoTags(): idem
 - loadFileAutoTags(): idem
 - loadEntityTags(): don't fail, when there is no data to return
 - getIPv4PrefixTags(): discontinued
 - fixContext(): work around user's auto tags issue
 - ibid: make use of generateEntityAutoTags() and loadEntityTags()
 - filterEntityList(): new function draft

11 years agor2587 - bugfix in permitted(): don't generate {$any_op} and {$op_} autotags, when...
Denis Ovsienko [Wed, 1 Apr 2009 11:06:36 +0000 (11:06 +0000)] 
r2587  - bugfix in permitted(): don't generate {$any_op} and {$op_} autotags, when $op variable isn't set (IOW, not in ophandler dispatching)

11 years agor2585 add confirmation to file deletion, allow deletion of unlinked files
Aaron Dummer [Fri, 27 Mar 2009 18:05:46 +0000 (18:05 +0000)] 
r2585 add confirmation to file deletion, allow deletion of unlinked files