openc3 5.17.1 → 5.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -4
  3. data/bin/cstol_converter +14 -14
  4. data/bin/openc3cli +190 -8
  5. data/data/config/_interfaces.yaml +5 -5
  6. data/data/config/command_modifiers.yaml +59 -0
  7. data/data/config/interface_modifiers.yaml +19 -9
  8. data/data/config/item_modifiers.yaml +34 -26
  9. data/data/config/microservice.yaml +4 -1
  10. data/data/config/param_item_modifiers.yaml +17 -1
  11. data/data/config/parameter_modifiers.yaml +30 -13
  12. data/data/config/plugins.yaml +9 -5
  13. data/data/config/screen.yaml +9 -9
  14. data/data/config/table_manager.yaml +2 -2
  15. data/data/config/telemetry_modifiers.yaml +9 -4
  16. data/data/config/tool.yaml +4 -1
  17. data/data/config/widgets.yaml +44 -17
  18. data/ext/openc3/ext/config_parser/config_parser.c +1 -1
  19. data/ext/openc3/ext/packet/packet.c +7 -1
  20. data/ext/openc3/ext/platform/platform.c +3 -3
  21. data/ext/openc3/ext/structure/structure.c +56 -76
  22. data/lib/openc3/accessors/accessor.rb +1 -0
  23. data/lib/openc3/accessors/binary_accessor.rb +174 -15
  24. data/lib/openc3/accessors/form_accessor.rb +2 -2
  25. data/lib/openc3/accessors/http_accessor.rb +1 -1
  26. data/lib/openc3/accessors/json_accessor.rb +6 -4
  27. data/lib/openc3/accessors/template_accessor.rb +6 -9
  28. data/lib/openc3/accessors/xml_accessor.rb +1 -1
  29. data/lib/openc3/api/cmd_api.rb +72 -44
  30. data/lib/openc3/api/config_api.rb +10 -10
  31. data/lib/openc3/api/interface_api.rb +28 -21
  32. data/lib/openc3/api/limits_api.rb +30 -30
  33. data/lib/openc3/api/metrics_api.rb +3 -3
  34. data/lib/openc3/api/offline_access_api.rb +5 -5
  35. data/lib/openc3/api/router_api.rb +25 -19
  36. data/lib/openc3/api/settings_api.rb +10 -10
  37. data/lib/openc3/api/stash_api.rb +10 -10
  38. data/lib/openc3/api/target_api.rb +10 -10
  39. data/lib/openc3/api/tlm_api.rb +44 -44
  40. data/lib/openc3/config/config_parser.rb +1 -1
  41. data/lib/openc3/conversions/bit_reverse_conversion.rb +60 -0
  42. data/lib/openc3/conversions/ip_read_conversion.rb +59 -0
  43. data/lib/openc3/conversions/ip_write_conversion.rb +61 -0
  44. data/lib/openc3/conversions/object_read_conversion.rb +88 -0
  45. data/lib/openc3/conversions/object_write_conversion.rb +38 -0
  46. data/lib/openc3/conversions/segmented_polynomial_conversion.rb +7 -7
  47. data/lib/openc3/conversions.rb +6 -1
  48. data/lib/openc3/core_ext/array.rb +5 -5
  49. data/lib/openc3/core_ext/exception.rb +9 -2
  50. data/lib/openc3/core_ext/string.rb +2 -2
  51. data/lib/openc3/interfaces/http_server_interface.rb +1 -0
  52. data/lib/openc3/interfaces/interface.rb +1 -1
  53. data/lib/openc3/interfaces/linc_interface.rb +3 -3
  54. data/lib/openc3/io/json_api.rb +11 -6
  55. data/lib/openc3/io/json_drb.rb +19 -21
  56. data/lib/openc3/io/json_rpc.rb +15 -14
  57. data/lib/openc3/logs/buffered_packet_log_writer.rb +3 -3
  58. data/lib/openc3/logs/log_writer.rb +7 -8
  59. data/lib/openc3/logs/packet_log_writer.rb +7 -7
  60. data/lib/openc3/logs/text_log_writer.rb +4 -4
  61. data/lib/openc3/microservices/decom_microservice.rb +19 -4
  62. data/lib/openc3/microservices/interface_microservice.rb +41 -3
  63. data/lib/openc3/microservices/microservice.rb +11 -11
  64. data/lib/openc3/microservices/reaction_microservice.rb +2 -2
  65. data/lib/openc3/microservices/scope_cleanup_microservice.rb +1 -1
  66. data/lib/openc3/microservices/timeline_microservice.rb +70 -45
  67. data/lib/openc3/microservices/trigger_group_microservice.rb +3 -3
  68. data/lib/openc3/migrations/20240915000000_activity_uuid.rb +28 -0
  69. data/lib/openc3/models/activity_model.rb +124 -92
  70. data/lib/openc3/models/auth_model.rb +31 -2
  71. data/lib/openc3/models/cvt_model.rb +11 -5
  72. data/lib/openc3/models/gem_model.rb +8 -8
  73. data/lib/openc3/models/plugin_model.rb +3 -3
  74. data/lib/openc3/models/reducer_model.rb +2 -2
  75. data/lib/openc3/models/scope_model.rb +45 -14
  76. data/lib/openc3/models/sorted_model.rb +5 -5
  77. data/lib/openc3/models/target_model.rb +7 -4
  78. data/lib/openc3/models/tool_config_model.rb +1 -1
  79. data/lib/openc3/models/tool_model.rb +4 -4
  80. data/lib/openc3/models/widget_model.rb +11 -5
  81. data/lib/openc3/operators/microservice_operator.rb +2 -2
  82. data/lib/openc3/operators/operator.rb +14 -12
  83. data/lib/openc3/packets/command_validator.rb +48 -0
  84. data/lib/openc3/packets/commands.rb +6 -14
  85. data/lib/openc3/packets/packet.rb +49 -16
  86. data/lib/openc3/packets/packet_config.rb +47 -25
  87. data/lib/openc3/packets/packet_item.rb +5 -0
  88. data/lib/openc3/packets/parsers/packet_parser.rb +3 -3
  89. data/lib/openc3/packets/structure.rb +87 -15
  90. data/lib/openc3/packets/structure_item.rb +76 -53
  91. data/lib/openc3/packets/telemetry.rb +6 -27
  92. data/lib/openc3/script/api_shared.rb +7 -5
  93. data/lib/openc3/script/calendar.rb +2 -2
  94. data/lib/openc3/script/commands.rb +6 -4
  95. data/lib/openc3/script/extract.rb +5 -3
  96. data/lib/openc3/script/metadata.rb +2 -2
  97. data/lib/openc3/script/suite.rb +17 -17
  98. data/lib/openc3/script/web_socket_api.rb +11 -0
  99. data/lib/openc3/streams/serial_stream.rb +2 -3
  100. data/lib/openc3/streams/stream.rb +2 -2
  101. data/lib/openc3/tools/cmd_tlm_server/interface_thread.rb +10 -10
  102. data/lib/openc3/tools/table_manager/table_manager_core.rb +11 -11
  103. data/lib/openc3/tools/table_manager/table_parser.rb +2 -3
  104. data/lib/openc3/topics/command_decom_topic.rb +2 -1
  105. data/lib/openc3/topics/command_topic.rb +3 -3
  106. data/lib/openc3/topics/decom_interface_topic.rb +4 -3
  107. data/lib/openc3/topics/system_events_topic.rb +40 -0
  108. data/lib/openc3/topics/telemetry_decom_topic.rb +1 -1
  109. data/lib/openc3/utilities/authentication.rb +2 -1
  110. data/lib/openc3/utilities/authorization.rb +4 -3
  111. data/lib/openc3/utilities/cli_generator.rb +15 -8
  112. data/lib/openc3/utilities/cosmos_rails_formatter.rb +60 -0
  113. data/lib/openc3/utilities/crc.rb +6 -6
  114. data/lib/openc3/utilities/local_mode.rb +2 -1
  115. data/lib/openc3/utilities/logger.rb +44 -34
  116. data/lib/openc3/utilities/metric.rb +1 -2
  117. data/lib/openc3/utilities/quaternion.rb +18 -18
  118. data/lib/openc3/utilities/target_file.rb +4 -4
  119. data/lib/openc3/version.rb +6 -6
  120. data/lib/openc3/win32/win32_main.rb +2 -2
  121. data/templates/tool_angular/package.json +22 -22
  122. data/templates/tool_react/package.json +13 -13
  123. data/templates/tool_svelte/package.json +14 -14
  124. data/templates/tool_svelte/src/services/openc3-api.js +17 -17
  125. data/templates/tool_vue/package.json +13 -13
  126. data/templates/widget/package.json +11 -12
  127. data/templates/widget/src/Widget.vue +0 -1
  128. metadata +25 -2
@@ -17,7 +17,7 @@
17
17
  # All changes Copyright 2022, OpenC3, Inc.
18
18
  # All Rights Reserved
19
19
  #
20
- # This file may also be used under the terms of a commercial license
20
+ # This file may also be used under the terms of a commercial license
21
21
  # if purchased from OpenC3, Inc.
22
22
 
23
23
  require 'openc3/core_ext/matrix'
@@ -38,7 +38,7 @@ module OpenC3
38
38
  @data = array.clone
39
39
  elsif array.length == 3 and angle
40
40
  a = 0.5 * angle
41
- s = sin(a) / sqrt(array[0] * array[0] + array[1] * array[1] + array[2] * array[2])
41
+ s = sin(a) / sqrt((array[0] * array[0]) + (array[1] * array[1]) + (array[2] * array[2]))
42
42
  @data = []
43
43
  @data[0] = array[0] * s
44
44
  @data[1] = array[1] * s
@@ -116,7 +116,7 @@ module OpenC3
116
116
  end
117
117
 
118
118
  # @param other [Quaternion] Quaternion to multiply with
119
- # @return [Quaternion] New quaternion resulting from the muliplication
119
+ # @return [Quaternion] New quaternion resulting from the multiplication
120
120
  def *(other)
121
121
  q = Quaternion.new()
122
122
 
@@ -141,7 +141,7 @@ module OpenC3
141
141
 
142
142
  # @return [Quaternion] The normalized version of the current quaternion
143
143
  def normalize
144
- t = @data[0] * @data[0] + @data[1] * @data[1] + @data[2] * @data[2] + @data[3] * @data[3]
144
+ t = (@data[0] * @data[0]) + (@data[1] * @data[1]) + (@data[2] * @data[2]) + (@data[3] * @data[3])
145
145
  if t > 0.0
146
146
  f = 1.0 / sqrt(t)
147
147
  @data[0] *= f
@@ -162,7 +162,7 @@ module OpenC3
162
162
  end
163
163
 
164
164
  def self.arc(f, t)
165
- dot = f[0] * t[0] + f[1] * t[1] + f[2] * t[2]
165
+ dot = (f[0] * t[0]) + (f[1] * t[1]) + (f[2] * t[2])
166
166
  if dot > 0.999999
167
167
  x = 0.0
168
168
  y = 0.0
@@ -170,20 +170,20 @@ module OpenC3
170
170
  w = 1.0
171
171
  elsif dot < -0.999999
172
172
  if (f.z.abs < f.x.abs) && (f.z.abs < f.y.abs)
173
- x = f[0] * f[2] - f[2] * f[1]
174
- y = f[2] * f[0] + f[1] * f[2]
175
- z = -f[1] * f[1] - f[0] * f[0]
173
+ x = (f[0] * f[2]) - (f[2] * f[1])
174
+ y = (f[2] * f[0]) + (f[1] * f[2])
175
+ z = (-f[1] * f[1]) - (f[0] * f[0])
176
176
  elsif f.y.abs < f.x.abs
177
- x = f[1] * f[2] - f[0] * f[1]
178
- y = f[0] * f[0] + f[2] * f[2]
179
- z = -f[2] * f[1] - f[1] * f[0]
177
+ x = (f[1] * f[2]) - (f[0] * f[1])
178
+ y = (f[0] * f[0]) + (f[2] * f[2])
179
+ z = (-f[2] * f[1]) - (f[1] * f[0])
180
180
  else
181
- x = -f[2] * f[2] - f[1] * f[1]
182
- y = f[1] * f[0] - f[0] * f[2]
183
- z = f[0] * f[1] + f[2] * f[0]
181
+ x = (-f[2] * f[2]) - (f[1] * f[1])
182
+ y = (f[1] * f[0]) - (f[0] * f[2])
183
+ z = (f[0] * f[1]) + (f[2] * f[0])
184
184
  end
185
185
 
186
- dot = x * x + y * y + z * z
186
+ dot = (x * x) + (y * y) + (z * z)
187
187
  div = sqrt(dot)
188
188
  x /= div
189
189
  y /= div
@@ -191,9 +191,9 @@ module OpenC3
191
191
  w = 0.0
192
192
  else
193
193
  div = sqrt((dot + 1.0) * 2.0)
194
- x = (f[1] * t[2] - f[2] * t[1]) / div
195
- y = (f[2] * t[0] - f[0] * t[2]) / div
196
- z = (f[0] * t[1] - f[1] * t[0]) / div
194
+ x = ((f[1] * t[2]) - (f[2] * t[1])) / div
195
+ y = ((f[2] * t[0]) - (f[0] * t[2])) / div
196
+ z = ((f[0] * t[1]) - (f[1] * t[0])) / div
197
197
  w = div * 0.5
198
198
  end
199
199
  return Quaternion.new([x, y, z, w])
@@ -64,8 +64,8 @@ module OpenC3
64
64
  end
65
65
 
66
66
  # Concat any remaining modified files (new files not in original target)
67
- result.concat(modified)
68
- result.concat(temp.uniq)
67
+ result = result.merge(modified)
68
+ result = result.merge(temp.uniq)
69
69
  result.sort
70
70
  end
71
71
 
@@ -154,8 +154,8 @@ module OpenC3
154
154
  # protected
155
155
 
156
156
  def self.remote_target_files(bucket_client:, prefix:, include_temp: false, path_matchers: nil)
157
- result = []
158
- temp = []
157
+ result = Set.new
158
+ temp = Set.new
159
159
  resp = bucket_client.list_objects(
160
160
  bucket: ENV['OPENC3_CONFIG_BUCKET'],
161
161
  prefix: prefix,
@@ -1,14 +1,14 @@
1
1
  # encoding: ascii-8bit
2
2
 
3
- OPENC3_VERSION = '5.17.1'
3
+ OPENC3_VERSION = '5.19.0'
4
4
  module OpenC3
5
5
  module Version
6
6
  MAJOR = '5'
7
- MINOR = '17'
8
- PATCH = '1'
7
+ MINOR = '19'
8
+ PATCH = '0'
9
9
  OTHER = ''
10
- BUILD = 'd9faf62407367633807c83b60446f92f0c06ecb0'
10
+ BUILD = 'af741bca7c2c591e1bceace639d66ac9e6a21ca4'
11
11
  end
12
- VERSION = '5.17.1'
13
- GEM_VERSION = '5.17.1'
12
+ VERSION = '5.19.0'
13
+ GEM_VERSION = '5.19.0'
14
14
  end
@@ -17,7 +17,7 @@
17
17
  # All changes Copyright 2022, OpenC3, Inc.
18
18
  # All Rights Reserved
19
19
  #
20
- # This file may also be used under the terms of a commercial license
20
+ # This file may also be used under the terms of a commercial license
21
21
  # if purchased from OpenC3, Inc.
22
22
 
23
23
  module OpenC3
@@ -61,7 +61,7 @@ module OpenC3
61
61
  # Convert argument into array of longs
62
62
  args[index], = [arg].pack("p").unpack(POINTER_TYPE)
63
63
  when 'I'
64
- # Handle intergers larger than 2^31 - 1
64
+ # Handle integers larger than 2^31 - 1
65
65
  args[index], = [arg].pack("I").unpack("i")
66
66
  end
67
67
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "<%= tool_name %>",
3
- "version": "5.17.1",
3
+ "version": "5.19.0",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "start": "ng serve",
@@ -12,37 +12,37 @@
12
12
  },
13
13
  "private": true,
14
14
  "dependencies": {
15
- "@angular/animations": "^17.0.8",
16
- "@angular/cdk": "^17.0.4",
17
- "@angular/common": "^17.0.8",
18
- "@angular/compiler": "^17.0.8",
19
- "@angular/core": "^17.0.8",
20
- "@angular/forms": "^17.0.8",
21
- "@angular/material": "17.3.6",
22
- "@angular/platform-browser": "^17.0.8",
23
- "@angular/platform-browser-dynamic": "^17.0.8",
24
- "@angular/router": "^17.0.8",
15
+ "@angular/animations": "^18.2.6",
16
+ "@angular/cdk": "^18.2.6",
17
+ "@angular/common": "^18.2.6",
18
+ "@angular/compiler": "^18.2.6",
19
+ "@angular/core": "^18.2.6",
20
+ "@angular/forms": "^18.2.6",
21
+ "@angular/material": "18.2.6",
22
+ "@angular/platform-browser": "^18.2.6",
23
+ "@angular/platform-browser-dynamic": "^18.2.6",
24
+ "@angular/router": "^18.2.6",
25
25
  "@astrouxds/astro-web-components": "7.22.1",
26
- "@openc3/tool-common": "5.17.1",
26
+ "@openc3/tool-common": "5.19.0",
27
27
  "rxjs": "~7.8.0",
28
28
  "single-spa": "5.9.5",
29
- "single-spa-angular": "^9.0.1",
30
- "tslib": "^2.6.2",
31
- "zone.js": "~0.14.3"
29
+ "single-spa-angular": "^9.2.0",
30
+ "tslib": "^2.7.0",
31
+ "zone.js": "~0.15.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@angular-builders/custom-webpack": "17.0.2",
35
- "@angular-devkit/build-angular": "^17.0.6",
36
- "@angular/cli": "~17.3.6",
37
- "@angular/compiler-cli": "^17.0.6",
34
+ "@angular-builders/custom-webpack": "18.0.0",
35
+ "@angular-devkit/build-angular": "^18.2.6",
36
+ "@angular/cli": "~18.2.6",
37
+ "@angular/compiler-cli": "^18.2.6",
38
38
  "@types/jasmine": "~5.1.4",
39
- "jasmine-core": "~5.1.1",
40
- "karma": "~6.4.0",
39
+ "jasmine-core": "~5.3.0",
40
+ "karma": "~6.4.4",
41
41
  "karma-chrome-launcher": "~3.2.0",
42
42
  "karma-coverage": "~2.2.0",
43
43
  "karma-jasmine": "~5.1.0",
44
44
  "karma-jasmine-html-reporter": "~2.1.0",
45
45
  "style-loader": "^4.0.0",
46
- "typescript": "~5.5.2"
46
+ "typescript": "~5.6.2"
47
47
  }
48
48
  }
@@ -13,24 +13,24 @@
13
13
  "coverage": "cross-env BABEL_ENV=test jest --coverage"
14
14
  },
15
15
  "dependencies": {
16
- "@emotion/react": "^11.11.3",
16
+ "@emotion/react": "^11.13.3",
17
17
  "@emotion/styled": "^11.11.0",
18
- "@mui/material": "^5.15.3",
18
+ "@mui/material": "^6.1.1",
19
19
  "react": "^18.2.0",
20
20
  "react-dom": "^18.2.0",
21
21
  "single-spa-react": "^5.1.4"
22
22
  },
23
23
  "devDependencies": {
24
- "@babel/core": "^7.23.7",
25
- "@babel/eslint-parser": "^7.23.3",
26
- "@babel/plugin-transform-runtime": "^7.23.7",
27
- "@babel/preset-env": "^7.23.8",
24
+ "@babel/core": "^7.25.2",
25
+ "@babel/eslint-parser": "^7.25.1",
26
+ "@babel/plugin-transform-runtime": "^7.25.4",
27
+ "@babel/preset-env": "^7.25.4",
28
28
  "@babel/preset-react": "^7.23.3",
29
- "@babel/runtime": "^7.23.8",
30
- "@testing-library/jest-dom": "^6.2.0",
31
- "@testing-library/react": "^14.1.2",
29
+ "@babel/runtime": "^7.25.6",
30
+ "@testing-library/jest-dom": "^6.5.0",
31
+ "@testing-library/react": "^16.0.1",
32
32
  "babel-jest": "^29.7.0",
33
- "concurrently": "^8.2.2",
33
+ "concurrently": "^9.0.1",
34
34
  "cross-env": "^7.0.3",
35
35
  "eslint": "^8.56.0",
36
36
  "eslint-config-prettier": "^9.1.0",
@@ -41,10 +41,10 @@
41
41
  "jest-cli": "^29.7.0",
42
42
  "prettier": "^3.1.1",
43
43
  "pretty-quick": "^4.0.0",
44
- "webpack": "^5.89.0",
44
+ "webpack": "^5.95.0",
45
45
  "webpack-cli": "^5.1.4",
46
46
  "webpack-config-single-spa-react": "^4.0.5",
47
- "webpack-dev-server": "^5.0.4",
48
- "webpack-merge": "^5.10.0"
47
+ "webpack-dev-server": "^5.1.0",
48
+ "webpack-merge": "^6.0.1"
49
49
  }
50
50
  }
@@ -12,36 +12,36 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@astrouxds/astro-web-components": "7.22.1",
15
- "@openc3/tool-common": "5.17.1",
15
+ "@openc3/tool-common": "5.19.0",
16
16
  "@smui/button": "^7.0.0-beta.16",
17
17
  "@smui/card": "^7.0.0-beta.16",
18
18
  "@smui/list": "^7.0.0-beta.16",
19
19
  "@smui/menu": "^7.0.0-beta.16",
20
- "axios": "1.7.2",
20
+ "axios": "1.7.7",
21
21
  "single-spa-svelte": "^2.1.1",
22
22
  "sirv-cli": "^2.0.2",
23
23
  "svelte-portal": "^2.2.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@babel/core": "^7.23.7",
27
- "@babel/preset-env": "^7.23.8",
28
- "@rollup/plugin-commonjs": "^25.0.7",
29
- "@rollup/plugin-node-resolve": "^15.2.3",
30
- "@testing-library/jest-dom": "^6.2.0",
31
- "@testing-library/svelte": "^4.0.5",
26
+ "@babel/core": "^7.25.2",
27
+ "@babel/preset-env": "^7.25.4",
28
+ "@rollup/plugin-commonjs": "^28.0.0",
29
+ "@rollup/plugin-node-resolve": "^15.3.0",
30
+ "@testing-library/jest-dom": "^6.5.0",
31
+ "@testing-library/svelte": "^5.2.1",
32
32
  "babel-jest": "^29.7.0",
33
- "concurrently": "^8.2.2",
33
+ "concurrently": "^9.0.1",
34
34
  "jest": "^29.7.0",
35
- "postcss": "^8.4.33",
35
+ "postcss": "^8.4.47",
36
36
  "prettier": "^3.1.1",
37
- "prettier-plugin-svelte": "^3.1.2",
38
- "rollup": "^4.9.4",
37
+ "prettier-plugin-svelte": "^3.2.7",
38
+ "rollup": "^4.22.4",
39
39
  "rollup-plugin-livereload": "^2.0.5",
40
40
  "rollup-plugin-postcss": "^4.0.2",
41
41
  "rollup-plugin-svelte": "^7.1.6",
42
42
  "rollup-plugin-terser": "^7.0.2",
43
43
  "smui-theme": "^7.0.0-beta.16",
44
- "svelte": "^4.2.8",
45
- "svelte-jester": "^3.0.0"
44
+ "svelte": "^4.2.19",
45
+ "svelte-jester": "^5.0.0"
46
46
  }
47
47
  }
@@ -58,9 +58,9 @@ export class OpenC3Api {
58
58
  },
59
59
  },
60
60
  )
61
- // var data = response.data
61
+ // let data = response.data
62
62
  // if (data.error) {
63
- // var err = new Error()
63
+ // let err = new Error()
64
64
  // err.name = data.error.data.class
65
65
  // err.message = data.error.data.message
66
66
  // console.log(data.error.data.backtrace.join('\n'))
@@ -68,7 +68,7 @@ export class OpenC3Api {
68
68
  // }
69
69
  return response.data.result
70
70
  } catch (error) {
71
- var err = new Error()
71
+ let err = new Error()
72
72
  if (error.response) {
73
73
  // The request was made and the server responded with a
74
74
  // status code that falls out of the range of 2xx
@@ -232,8 +232,8 @@ export class OpenC3Api {
232
232
  return this.exec('get_all_tlm', [target_name])
233
233
  }
234
234
 
235
- get_all_tlm_names(target_name) {
236
- return this.exec('get_all_tlm_names', [target_name])
235
+ get_all_tlm_names(target_name, hidden = false) {
236
+ return this.exec('get_all_tlm_names', [target_name], { hidden: hidden })
237
237
  }
238
238
 
239
239
  async get_tlm_packet(target_name, packet_name, value_type, stale_time = 30) {
@@ -243,9 +243,9 @@ export class OpenC3Api {
243
243
  })
244
244
  // Make sure data isn't null or undefined. Note this is the only valid use of == or !=
245
245
  if (data != null) {
246
- var len = data.length
247
- var converted = null
248
- for (var i = 0; i < len; i++) {
246
+ let len = data.length
247
+ let converted = null
248
+ for (let i = 0; i < len; i++) {
249
249
  converted = this.decode_openc3_type(data[i][1])
250
250
  if (converted !== null) {
251
251
  data[i][1] = converted
@@ -267,9 +267,9 @@ export class OpenC3Api {
267
267
  const data = await this.exec('get_tlm_values', [items], {
268
268
  stale_time: stale_time,
269
269
  })
270
- var len = data[0].length
271
- var converted = null
272
- for (var i = 0; i < len; i++) {
270
+ let len = data[0].length
271
+ let converted = null
272
+ for (let i = 0; i < len; i++) {
273
273
  converted = this.decode_openc3_type(data[0][i])
274
274
  if (converted !== null) {
275
275
  data[0][i] = converted
@@ -294,7 +294,7 @@ export class OpenC3Api {
294
294
  ) {
295
295
  data = await this.exec('tlm', [target_name], { type: packet_name })
296
296
  } else {
297
- var err = new Error()
297
+ let err = new Error()
298
298
  err.name = 'TypeError'
299
299
  err.message = `Invalid data type ${packet_name}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`
300
300
  throw err
@@ -304,7 +304,7 @@ export class OpenC3Api {
304
304
  type: value_type,
305
305
  })
306
306
  }
307
- var converted = this.decode_openc3_type(data)
307
+ let converted = this.decode_openc3_type(data)
308
308
  if (converted !== null) {
309
309
  data = converted
310
310
  }
@@ -352,8 +352,8 @@ export class OpenC3Api {
352
352
  return this.exec('get_all_cmds', [target_name])
353
353
  }
354
354
 
355
- get_all_cmd_names(target_name) {
356
- return this.exec('get_all_cmd_names', [target_name])
355
+ get_all_cmd_names(target_name, hidden = false) {
356
+ return this.exec('get_all_cmd_names', [target_name], { hidden: hidden })
357
357
  }
358
358
 
359
359
  get_cmd(target_name, command_name) {
@@ -384,8 +384,8 @@ export class OpenC3Api {
384
384
 
385
385
  // Implementation of functionality shared by cmd methods with param_lists.
386
386
  _cmd(method, target_name, command_name, param_list, headerOptions) {
387
- var converted = null
388
- for (var key in param_list) {
387
+ let converted = null
388
+ for (let key in param_list) {
389
389
  if (Object.prototype.hasOwnProperty.call(param_list, key)) {
390
390
  converted = this.encode_openc3_type(param_list[key])
391
391
  if (converted !== null) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "<%= tool_name %>",
3
- "version": "5.17.1",
3
+ "version": "5.19.0",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -12,9 +12,9 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@astrouxds/astro-web-components": "7.22.1",
15
- "@openc3/tool-common": "5.17.1",
16
- "axios": "1.7.2",
17
- "date-fns": "3.6.0",
15
+ "@openc3/tool-common": "5.19.0",
16
+ "axios": "1.7.7",
17
+ "date-fns": "4.1.0",
18
18
  "portal-vue": "2.1.7",
19
19
  "single-spa-vue": "2.5.1",
20
20
  "sprintf-js": "1.1.3",
@@ -25,7 +25,7 @@
25
25
  "vuex": "3.6.2"
26
26
  },
27
27
  "devDependencies": {
28
- "@babel/eslint-parser": "7.24.7",
28
+ "@babel/eslint-parser": "7.25.1",
29
29
  "@vue/babel-preset-app": "5.0.8",
30
30
  "@vue/cli": "5.0.8",
31
31
  "@vue/cli-plugin-babel": "5.0.8",
@@ -35,19 +35,19 @@
35
35
  "@vue/cli-service": "5.0.8",
36
36
  "@vue/eslint-config-prettier": "9.0.0",
37
37
  "@vue/test-utils": "1.3.0",
38
- "babel-loader": "9.1.3",
39
- "babel-plugin-istanbul": "6.1.1",
38
+ "babel-loader": "9.2.1",
39
+ "babel-plugin-istanbul": "7.0.0",
40
40
  "eslint": "8.56.0",
41
41
  "eslint-config-prettier": "9.1.0",
42
- "eslint-plugin-prettier": "5.1.3",
43
- "eslint-plugin-vue": "9.26.0",
42
+ "eslint-plugin-prettier": "5.2.1",
43
+ "eslint-plugin-vue": "9.28.0",
44
44
  "html-webpack-plugin": "^5.6.0",
45
- "prettier": "3.3.2",
46
- "sass": "1.77.6",
47
- "sass-loader": "14.2.1",
45
+ "prettier": "3.3.3",
46
+ "sass": "1.79.3",
47
+ "sass-loader": "16.0.2",
48
48
  "vue-cli-plugin-single-spa": "3.3.0",
49
49
  "vue-cli-plugin-vuetify": "2.5.8",
50
50
  "vue-template-compiler": "2.7.16",
51
- "webpack": "5.92.1"
51
+ "webpack": "5.95.0"
52
52
  }
53
53
  }
@@ -1,36 +1,35 @@
1
1
  {
2
2
  "name": "widget",
3
- "version": "5.17.1",
3
+ "version": "5.19.0",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "build": "vue-cli-service build --target lib --dest tools/widgets/<%= widget_name %> --formats umd-min <%= widget_path %> --name <%= widget_name %>"
7
7
  },
8
8
  "dependencies": {
9
9
  "@astrouxds/astro-web-components": "7.22.1",
10
- "@openc3/tool-common": "5.17.1",
11
10
  "vue": "2.7.16",
12
11
  "vuetify": "2.7.1"
13
12
  },
14
13
  "devDependencies": {
15
- "@babel/eslint-parser": "7.24.7",
16
- "@rushstack/eslint-patch": "1.10.3",
14
+ "@babel/eslint-parser": "7.25.1",
15
+ "@rushstack/eslint-patch": "1.10.4",
17
16
  "@vue/babel-preset-app": "5.0.8",
18
17
  "@vue/cli": "5.0.8",
19
18
  "@vue/cli-plugin-babel": "5.0.8",
20
19
  "@vue/cli-plugin-eslint": "5.0.8",
21
20
  "@vue/cli-service": "5.0.8",
22
21
  "@vue/eslint-config-prettier": "9.0.0",
23
- "babel-loader": "9.1.3",
24
- "babel-plugin-istanbul": "6.1.1",
22
+ "babel-loader": "9.2.1",
23
+ "babel-plugin-istanbul": "7.0.0",
25
24
  "eslint": "8.56.0",
26
25
  "eslint-config-prettier": "9.1.0",
27
- "eslint-plugin-prettier": "5.1.3",
28
- "eslint-plugin-vue": "9.26.0",
29
- "prettier": "3.3.2",
30
- "sass": "1.77.6",
31
- "sass-loader": "14.2.1",
26
+ "eslint-plugin-prettier": "5.2.1",
27
+ "eslint-plugin-vue": "9.28.0",
28
+ "prettier": "3.3.3",
29
+ "sass": "1.79.3",
30
+ "sass-loader": "16.0.2",
32
31
  "vue-cli-plugin-vuetify": "2.5.8",
33
32
  "vue-template-compiler": "2.7.16",
34
- "webpack": "5.92.1"
33
+ "webpack": "5.95.0"
35
34
  }
36
35
  }
@@ -16,7 +16,6 @@
16
16
  single-line
17
17
  hide-no-data
18
18
  hide-details
19
- placeholder="Value"
20
19
  :value="_value"
21
20
  :class="valueClass"
22
21
  :style="computedStyle"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openc3
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.17.1
4
+ version: 5.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Melton
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-06-27 00:00:00.000000000 Z
12
+ date: 2024-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -557,6 +557,20 @@ dependencies:
557
557
  - - "~>"
558
558
  - !ruby/object:Gem::Version
559
559
  version: '1.0'
560
+ - !ruby/object:Gem::Dependency
561
+ name: listen
562
+ requirement: !ruby/object:Gem::Requirement
563
+ requirements:
564
+ - - "~>"
565
+ - !ruby/object:Gem::Version
566
+ version: '3.9'
567
+ type: :runtime
568
+ prerelease: false
569
+ version_requirements: !ruby/object:Gem::Requirement
570
+ requirements:
571
+ - - "~>"
572
+ - !ruby/object:Gem::Version
573
+ version: '3.9'
560
574
  - !ruby/object:Gem::Dependency
561
575
  name: benchmark-ips
562
576
  requirement: !ruby/object:Gem::Requirement
@@ -872,8 +886,13 @@ files:
872
886
  - lib/openc3/config/config_parser.rb
873
887
  - lib/openc3/config/meta_config_parser.rb
874
888
  - lib/openc3/conversions.rb
889
+ - lib/openc3/conversions/bit_reverse_conversion.rb
875
890
  - lib/openc3/conversions/conversion.rb
876
891
  - lib/openc3/conversions/generic_conversion.rb
892
+ - lib/openc3/conversions/ip_read_conversion.rb
893
+ - lib/openc3/conversions/ip_write_conversion.rb
894
+ - lib/openc3/conversions/object_read_conversion.rb
895
+ - lib/openc3/conversions/object_write_conversion.rb
877
896
  - lib/openc3/conversions/packet_time_formatted_conversion.rb
878
897
  - lib/openc3/conversions/packet_time_seconds_conversion.rb
879
898
  - lib/openc3/conversions/polynomial_conversion.rb
@@ -979,6 +998,7 @@ files:
979
998
  - lib/openc3/migrations/20230615000000_autonomic.rb
980
999
  - lib/openc3/migrations/20230915000002_no_scope_log_messages.rb
981
1000
  - lib/openc3/migrations/20231022000000_tlm_viewer_config.rb
1001
+ - lib/openc3/migrations/20240915000000_activity_uuid.rb
982
1002
  - lib/openc3/models/activity_model.rb
983
1003
  - lib/openc3/models/auth_model.rb
984
1004
  - lib/openc3/models/cvt_model.rb
@@ -1018,6 +1038,7 @@ files:
1018
1038
  - lib/openc3/operators/microservice_operator.rb
1019
1039
  - lib/openc3/operators/operator.rb
1020
1040
  - lib/openc3/packets/binary_accessor.rb
1041
+ - lib/openc3/packets/command_validator.rb
1021
1042
  - lib/openc3/packets/commands.rb
1022
1043
  - lib/openc3/packets/json_packet.rb
1023
1044
  - lib/openc3/packets/limits.rb
@@ -1090,6 +1111,7 @@ files:
1090
1111
  - lib/openc3/topics/interface_topic.rb
1091
1112
  - lib/openc3/topics/limits_event_topic.rb
1092
1113
  - lib/openc3/topics/router_topic.rb
1114
+ - lib/openc3/topics/system_events_topic.rb
1093
1115
  - lib/openc3/topics/telemetry_decom_topic.rb
1094
1116
  - lib/openc3/topics/telemetry_reduced_topics.rb
1095
1117
  - lib/openc3/topics/telemetry_topic.rb
@@ -1104,6 +1126,7 @@ files:
1104
1126
  - lib/openc3/utilities/bucket_require.rb
1105
1127
  - lib/openc3/utilities/bucket_utilities.rb
1106
1128
  - lib/openc3/utilities/cli_generator.rb
1129
+ - lib/openc3/utilities/cosmos_rails_formatter.rb
1107
1130
  - lib/openc3/utilities/crc.rb
1108
1131
  - lib/openc3/utilities/csv.rb
1109
1132
  - lib/openc3/utilities/local_bucket.rb