Skip to content
代码片段 群组 项目
该项目从 https://github.com/project-chip/zap 镜像。 拉取镜像更新于
  1. 4月 11, 2024
    • Bharat Raju's avatar
      Revert "Revert a reverted multi-protocol commit 61d328ca" (#1299) · 203522dd
      Bharat Raju 创作于
      This reverts commit 61d328ca.
      
      Fixing Custom XML issues:
      - Cleaning up the custom xml UI update as well as the custom xml package uploading such that there are no duplicates
      - Fixing the custom xml UI for attributes, commands and events when cluster extensions are added through custom xml. Needed the custom xml package ids to be included
      - Fixing the duplicate attributes and commands which show up in the attribute and command UI when a custom cluster with custom attributes and commands is added. This is solved by using a set in : reduceAndConcatenateZclEntity(db, id, [...new Set([...standAlonePackageIds, clusterInfo.packageRef])],
      - Adding unique constraint to Attribute table and adding insert or replace to attribute insert query such that custom cluster extensions are not reloaded into the db.
      - Making sure the global attributes are part of the custom clusters in static-zcl.js while calling reduceAndConcatenateZclEntity
      - Making sure that session partition numbering is correct for the partitionNumber column
      - For loading custom cluster extensions such as attributes and commands. Making sure they are loaded into the database based on the top level zcl package loaded. This is needed for sdk upgrades or custom xml in multi-protocol. See changes to zcl-loader-silabs and zcl-loader
      - When adding custom xml, there are instances where multiple zcl packages are loaded for the same xml file. This was an issue with the mutation observer. Getting the load new package call out of the observer to fix this. Reproducer: Open zap, add custom xml from extensions, close extensions pane, add another xml from extensions and you will see two instances of the xml added. If you add another xml then you see 3 instances. This is fixed in ZclCustomZclView.vue
      - Making sure that the delete button appears across custom xml for removal and doing some minor UI cleanup
      - Add more unit tests for custom xml
      - Cleaning up zap toolbar UI for logos
      - JIRA: ZAPP-1351
      203522dd
  2. 4月 09, 2024
    • paulr34's avatar
      Studio V6 Integration (#1288) · 0af72506
      paulr34 创作于
      * changing session storage depending on what is given from parent iframe
      
      * add stsApplicationId as a prefix to sessio uuid
      
      * keeping session uuid code together
      
      * PR review
      0af72506
  3. 4月 04, 2024
    • paulr34's avatar
      Revert multi protocol (#1298) · 61d328ca
      paulr34 创作于
      * Revert "Fixing the theme based on the zcl package chosen (#1295)"
      
      This reverts commit 5cc76149.
      
      * Revert "Using getAllSessionPartitionInfoForSession instead of getSessionPartitionInfo for more stability (#1294)"
      
      This reverts commit c9ca9f71.
      
      * Revert "Fixing the ZAP GUI for blank configurations and opening category based configurations (#1289)"
      
      This reverts commit fba76592.
      
      * Revert "ZAP: Multi-protocol Configurator Integration (#1276)"
      
      This reverts commit 06d14282.
      2 个标签
      61d328ca
  4. 4月 03, 2024
  5. 3月 30, 2024
  6. 3月 29, 2024
  7. 3月 28, 2024
  8. 3月 26, 2024
    • Bharat Raju's avatar
      ZAP: Multi-protocol Configurator Integration (#1276) · 06d14282
      Bharat Raju 创作于
      > - Schema changes such that sessions now have session partitions to allow multiple zcl and template config files.
      > - Session packages and endpoint types are now linked to a session partition such that generation and UI can be made exclusive to the device type selected on an endpoint
      > - All relevant queries have been updated with session partition
      > - imp-exp of .zap files is taken into account here as well
      > - ZAP Generation can now generate the corresponding templates based on the category of the device type and the category of the generation templates eg: matter or zigbee. The same goes for UI
      > - All existing tests pass with these changes
      - Fixing the cluster view when multiple zcl device types are selected
      - ZAP: Opening existing .zap files does not allow multi-device type selection
      - Fixing sessionAttempt in initialize.js and cleaning up the packages from the session in jsonDataLoader function in import-json fixed this
      - Other minor cleanup
      - Fixing CMP generation for command line in startup.js#generateSingleFile such that it generates for all generation template json files and not just one of them
      - bumping the feature level of zap
      - Adding the reference to parentEndpointRef in endpoint extended in db-mapping due to rebase and also fixing the selectAllEndpointsBasedOnTemplateCategory for the same
      - Cleaning up session package and session partitions to avoid having the wrong session packages and partitions in deleteAllSessionPackages
      - Cleaning up query-session#ensureBlankSession
      - Fixing the zap schema for command trigger warnings when adding endpoints
      - Fixing the parent-endpoint.test.js just like the rest with session partition info
      - Fixing the default attribute enablement based on catgeory such as matter/zigbee for global attributes
      other minor cleanup
      - Not showing the extensions tab in case of multi-protocol since it is currently not supported, see ZCLToolbar.vue
      - Showing all logos based on the categories from the zcl files selected, see ZCLToolbar.vue
      - Added multi-protocol tests, see multi-protocol.test.js, multi-protocol.zap, test-utils.js
      - Removed lo-devices.xml from the zcl-with-extensions.json matter file to test multi-protocol more efficiently since for generation as is the case in reality as well.
      - Fixing calls to insertEndpointType with device type params in query.test.js
      - Fix cypress tests for vue tour which was happening due to category(zigbee/matter) not being picked from zcl properties files. Also handling the default use case when category is not found
      - Calling this..dispatch('zap/updateClusters') in vue tour after update to endpoint type due to multi-protocol changes
      - Fixing the default use case for showing and not showing UI elements in ui-options.js
      - Fixing server-bare.test.js when inserting a package along with some other minor cleanup which is needed
      - Fix the server-bare.test.js
      - Improving the session creation and package selection process in the UI via ZapConfig.vue changes
      - Pre-selecting the package files which exist in ZapConfig.vue. Also now showing package selection view if the packages which exist in the db are the same as the ones in the .zap file.
      - Showing a warning in the custom xml page when a multi-proptocol config is open since custom xml is not currently supported for custom xml. See ZclCustomZclView.vue
      - JIRA: ZAPP-1216
  9. 3月 23, 2024
    • Timotej Ecimovic's avatar
      Include latest Matter XML (#1271) · a7b61414
      Timotej Ecimovic 创作于
      * Update XML with latest from Matter.
      
      * Add initial unit test skeleton for the new ZCL files.
      
      * Got all the new XML files to load in.
      
      * Ignore the XML files which do not have an ID in cluster element.
      
      * Propagate errors to the context from the new XML files.
      a7b61414
  10. 3月 19, 2024
  11. 3月 16, 2024
  12. 3月 14, 2024
  13. 3月 08, 2024
  14. 3月 07, 2024
  15. 3月 04, 2024
  16. 3月 01, 2024
  17. 2月 27, 2024
  18. 2月 15, 2024
  19. 2月 14, 2024
  20. 2月 08, 2024
  21. 2月 07, 2024
  22. 2月 06, 2024
  23. 1月 22, 2024
  24. 1月 20, 2024
    • paulr34's avatar
      Default disable (#1249) · 75cb1df1
      paulr34 创作于
      * disabing default if storage is manually changed to external
      
      * if Storage set to External the default field should be set to null along with not be editable.
      
      * add comments and better descriptions of methods 
  25. 1月 06, 2024
  26. 1月 03, 2024
  27. 12月 16, 2023
  28. 12月 14, 2023
  29. 12月 13, 2023
  30. 12月 12, 2023
    • Bharat Raju's avatar
      Show the tootip with path to the json files so that user can distinguish the... · ddd5760c
      Bharat Raju 创作于
      Show the tootip with path to the json files so that user can distinguish the packages when the name and description are the same (#1235)
      
      JIRA: ZAPP-1288
      ddd5760c
    • Bharat Raju's avatar
      Feature/spec compliance feature/zap 1194 (#1221) · 15f632a6
      Bharat Raju 创作于
      * Adding the session notification messages with respect to Device Type specification:
      - When a ZAP file is imported the spec compliance messages will be output into the console and will also be loaded into the session_notice table so that they can be viewed in the UI. See import-json.js
      - When the user enables/disables the clusters, attributes or commands in the UI the sql triggers will check for compliance and remove the spec compliance messages from the session notification table if they are satisfied. See the sql triggers in the schema.
      - Adding some color coding for session notice messages in the UI
      * Adding the session notification messages tests:
      - Adding a new zap file for testing spec compliance
      - Adding the spec-check.test.js to test the above
      - Adding additional test queries to test-query.js
      - Fixing attribute tests to return the correct output counts in  query.test.js and importexport.test.js based on cluster side and not just the cluster itself as a whole which includes client and server
      - Formatting the spec compliance message better for more readability on the console
      -  Fixing the sql triggers for notifications in the case of clusters
      - Minor cleanup
      * Adding a polling mechanism for new notifications such that the UI can show the notifications coming from SQL triggers:
      - Updating the sql schema with NEW_NOTIFICATION flag
      - Creating a trigger on Session notice table which updates the new notification flag within session table
      - Creating a polling mechanism in async reporting for session notice flag
      - Updating db-mapping appropriately
      - Update the schema
      * Changing the schema such that triggers only log session notice warnings based on device type requirements:
      * - Fixing the sql schema to delete messages appropriately
      - Having the import spec check messages to show device type requirements as well
      - Fixing the tests accordingly
      * - Updating the schema to log cluster compliance messages to session_notice table
      - Updating the import file logic to log cluster compliance messages to the console and session_notice table
      - Adding the cluster compliance message tests apart from the device type compliance message tests
      - Cleaning up importEndpointTypes
      - Github: ZAP-1194
      15f632a6
  31. 12月 09, 2023
    • Bharat Raju's avatar
      Adding more logic to pick a better package before picking up the first package... · 1665f6cc
      Bharat Raju 创作于
      Adding more logic to pick a better package before picking up the first package in the list of available packages (#1233)
      
      - Using the zcl and templates json file which is passed as arguments by UC when a file within the .zap file is not found as part of the fuzzy logic. This makes sure that zap is not picking template files from different sdks during the initial project creation and generation
      - Adding more logic to pick a better package before picking up the first package in the list of available packages
      - Minor cleanup
加载中