Skip to content

Releases: AdvancedPhotonSource/ComponentDB

Release v3.17.0

27 Sep 01:22

Choose a tag to compare

General

  • Property type metadata keys with allowed values now support sort order.
  • Improved core metadata functionality with ability to support allowed values defined in the internal property type.
  • Standardized check for allowed values when saving items with core metadata fields.

Machine design

  • New icon for IOC type machine elements.
  • Restricted editing of IOC items to only allow the ioc view and ioc API for editing.
    • Redirect to IOC view page for edit.

IOC Specific Functionality

  • General
    • DB static data now includes a new IOC entity type.
    • Standard ioc metadata such as:
      • Machine Tag
      • Function Tag
      • Deployment Status
      • Preboot, postboot, powercycle, and addtional markdown instructions.
    • Ability to simply link and unlink a machine parent.
    • Simplified removal of IOC items without needing to detach from hierarchy as other machine items.
    • Ensure that IOC names are unique within the machine design.
    • Machine parent not required for an IOC item.
  • Portal
    • Ability to search for IOCs and some metadata (machine, function, deployment status) from list page.
    • Specialized IOC create page with machine tags, function tags, deployment status and parent.
    • Ability to clone IOC items along with all the metadata by default.
    • Ability to save configured columns for IOC list.
    • Promoted owner user of the IOC on the IOC details section.
    • Specialized IOC instructions dialog
      • Static sections for preboot, post boot, and powercycle with relevant placeholder examples.
      • An addition markdown free entry section.
      • Uses standard text field part of markdown property type.
      • Uses a parser to appropriately split the data into seperate fields for UI and API.
      • Restricted to no uploads within ioc instructions.
      • Standardized way to creating customized markdown dialog extension with support for pasting URLs similarly as the standard markdown dialog.
  • API
    • Ability to add and update IOC items and its metadata
    • Ability to fetch all IOC items
    • Ability to fetch allowed metadata values such as machine tags, function tags, and deployment statues.
    • Admin API to convert an existing machine IOC to an IOC type machine. Cleans up IOC item to ensure no special machine functionality exists.

Cable Design

  • Add support for clone
    • Clones endpoints by default
    • Clones cable metadata by default.

App Domain

  • Add support for clone

CLI

  • Migration to click for prompting interactive choices. Removed inquirerpy dependency.

Bug fixes

  • Clone properties now supports cloning markdown property

Patch Release v3.16.2

04 Jun 18:33
44ad209

Choose a tag to compare

General

  • Add a local Conda build of API/CLI and not rely on pypi deployed version.

API

  • Ability to fetch item connectors.
  • Ability to add/modify/delete cable endpoints in cable design.
  • Ability to update primary cable endpoints in cable design.
  • Ability to fetch machine design item with location.
  • Ability to fetch cable design by id with connection locations.
  • Ability to detach machine design from hierarchy.
  • Improved cable design endpoint validation such as connector used only once, cable end needs matching, prevent delete primary endpoint, etc.
  • Updated docs for new APIs
  • Tests for all new APIs

Cable Design

  • Cable designs now support qrids (column disabled by default).
  • Improved Cable Design add wizard
    • Add functionality to set a default values for a new cable design per user.
    • Resolve stuck on cable type selection screen.
    • Remove links on cable type selection screen.
    • Resolve "cancel" on enter key press.
    • Improved defaults.

Bug fixes

  • Resolve Item Membership bug showing invalid parent item when same catalog item is displayed more than once. #1704
  • Resolve CDB CLI session key permission. #1711
  • Resolve text attribute of property value not syncing from API. #1707

Full Changelog: v3.16.1...v3.16.2

Patch Release v3.16.1

17 Mar 19:37

Choose a tag to compare

API Enhancements

  • Add ability to add a cable design item with endpoints defined.
  • Add ability to modify a cable design item with endpoints.
  • Ability to update cable design metadata.
  • Ability to fetch all cable designs with optional flag to fetch connections.
    • Cable design by id and name return with connections.
  • Cable catalog items (from cable catalog API) now returned connectors.
  • Tests and documentation for new functionality.
  • Improve Structure of python API tests.

Bug Fixes

  • Resolve error 500 when accessing certain IOC machine details pages.

Release v3.16.0

21 Oct 19:56

Choose a tag to compare

Markdown Property Type Handler

  • DB Changes
    • Text field for property values.
    • Property value attachment list reference and retention of original file name.
  • Markdown functionality
    • Edit/Preview Mode
    • Render markdown in dialog.
    • Markdown help dialog and placeholder text.
    • Ability to paste images into markdown text and upload/reference attachments.
    • Separate filesystem directory for uploads.
    • Application specific reference for attachments independent of application deployment configuration.

General

  • Improved browser re-loading of resources such as css and js files by providing a unique version number. (No shift+refresh required)
  • Utilize original filename storage for log attachments

Bug Fixes

  • Resolve issue with editing connector ends on cable catalog details page.

Full Changelog: v3.15.9...v3.16.0

Patch Release v3.15.9

07 Aug 17:48
fa49f34

Choose a tag to compare

Deployment Procedure Improvements

  • Remove dependency of python2.
    • Disable building of python2 for standard cdb deployment.
    • Update supporting scripts for deployment of cdb plugins.
    • Update supporting script for generating local password hash during the db creation.
    • "soft" deprecate the legacy python web service by removing it from the deployment instructions.
  • Better documentation in Readme for dependencies, deployment and new documentation for troubleshooting, upgrading, etc.
  • Update the scripts to use mariadb client binaries instead of mysql.
  • Resolve db connection string to use the updated mariadb lib in the payara configuration script.

Other

  • Resolve filtering of property values from machine design details page.
  • Add additional MAARC fields to ensure MAARC item name uniqueness.

Patch Release v3.15.8

20 Oct 23:23

Choose a tag to compare

General Improvements

  • Assembly element representing machine element now show appropriate membership to machine design.
    • Also get redirected to machine design when qr code of such inventory is scanned.
  • Jump to qrid text box in menubar now supports jump to id as well as jump to QrId.
  • Allow editing of "installed qrid" on the machine details page in addition to the current list page.

API Enhancements

  • Add new MAARC API to support
    • Ability to search MAARC item by name and id.
    • Ability to create a new maarc parent/child item.
    • Ability to create a MAARC relationship.
  • API to un-assign a machine from its template.

Bug Fixes.

  • Use the relevant element name in the tooltip for promoted machine elements (Represented by part name: ..).
  • Prevent promoted machine elements on multiple levels.

Other

  • Improve the style to line up all fields on item details panel grid.
  • Add support to populate additional columns in the preImport.py cable import script. @nda-anl

Patch Release v3.15.7

30 Jul 18:40
d82df48

Choose a tag to compare

General

  • Hide 'update installed qrid' button from machine list view when machine is representing assembly element.

Bug Fixes

  • Resolve unable to fulfill machine elements from template multi-edit when list property column is enabled.
  • Handle processing element representation for machines without assembly parents.
  • Handle unlinking represented element from machine hierarchy import spreadsheet.

Patch Release v3.15.6

29 Jun 14:30
67d73da

Choose a tag to compare

General

  • Allow sort order for item category and item type.

Machine Design

  • Provide a way to scan in new installed item directly in machine design hierarchy.
  • Add ability to update represented item element from import spreadsheet.
  • Redirect installed inventory directly to machine element when qr code scanned for installed inventory.
  • Allow assignment of app items as installed items in machine design.
  • Un-assign machine from template
    • Provide dialog that allows selection of which machines in a branch should be unassigned from machine template.

App Domain

  • Add 'Browse by Apps'
    • Filter by app type and tag.
    • Also allow filtering by owner user.
  • Rename category/type to app type + tag.
  • Updated cdbcli set properties module to allow property deletion. @jpqatanl

Bug fixes

  • Use item permission of parent item for item element delete on assembly item edit page instead of item element permission.
  • Resolve possible null exception on browse by page when checking item type list.

Patch Release v3.15.5

19 Apr 22:16
09d80d6

Choose a tag to compare

General

  • Added administrative page for fetching any import template. Thanks @craigmcchesney
  • New link in menubar for applications.

Control Hierarchy

  • Resolve issues with adding multilevel non-global control relationship with similar nodes in both variations.
    • Use parent relationship id instead of parent name to identify the relationship.
    • Update the import script to use the relationship id for entering new control relationships.
    • Update fetching children to provide relationship to parent id and use it for fetching children.
    • Resolve fetching parents from search results to follow parent relationship id if applicable.
    • Resolve API to support new way of fetching relationships for items as well as sort relationship lists by top level parent.
    • Resolve adding non-global control relationship to search result node.
  • Support XLSX format for the control hierarchy import utility.

API

  • Add ability to Delete Properties using API.
  • Add ability to create apps using API.

CLI

  • Added a few extra commands for adding, getting and setting properties. Thanks @jpqatanl

Bug fixes

  • Resolve issue with conversion of wildcard to regex used by CDB.
  • Resolve issue with searching item metadata field and the filter sometimes ignoring other filters.
  • Resolve issue with importing users. Thanks @craigmcchesney
  • Resolve issue with exporting name column for inventory elements list.
  • Resolve issue with generating PDMLink json in the CDB API wrapper for PDMLink plugin.

Patch Release v3.15.4

14 Mar 18:14
83f2ca2

Choose a tag to compare

Bug Fixes.

  • Resolve issue with parsing results from PDMLink Plugin.
  • Resolve circular reference check stored procedures giving false positives.

Other

  • Update gson lib to latest version.