v5.17.1
OpenC3 COSMOS 5.17.1 - Rollup Widget, Dependency Update, and Bug Fixes
Welcome to OpenC3 COSMOS 5.17.1!
New ROLLUP Widget
We've added a new ROLLUP widget for TlmViewer that allows you to pick an icon, assign multiple telemetry items to it, and then it will change color based on the overall limits state of those items. Clicking on the icon can also bring up a telemetry screen of your choice.
ScriptRunner now role aware (Enterprise)
The ScriptRunner frontend is now role aware in Enterprise edition, which allows it to make the scripts readonly for users who can't edit scripts, and disable the start button for users who can't run scripts.
VALUE Widgets now support array indexing
You can now select individual array items for display on TlmViewer screens!
IMPORTANT Bug Fix in ScriptRunner
ScriptRunner could save over a file with an old version of the file's contents under certain circumstances when pressing Ctrl-S to save. This required: 1. Leaving ScriptRunner to another tool, 2. Returning to ScriptRunner, 3. Saving the file with Ctrl-S, 4. All without refreshing the webpage. This has been corrected.
Other Bug Fixes
- ScriptRunner can now properly import python modules with an init.py file.
- Several fixes with applying Global settings in screens
- Calendar events are now properly cleaned up and expired over time
- Python "break" now works in ScriptRunner
- Plugin Download button on the Admin Plugins tab now works
- Python range checking given a string no longer crashes
- Python code now handles limits event notifications
- Dockerfiles updated to same case FROM and AS statements
All Pull Requests in this Release
- update typing and cleanup in scripts by @GerhardOfRivia in #1296
- Codecov action v4 with token by @jmthomas in #1306
- Fix python version and update on release by @jmthomas in #1305
- ROLLUP notification widget by @jmthomas in #1322
- Make SR aware of roles by @jmthomas in #1308
- Import python target modules by @jmthomas in #1330
- Allow array index in VALUE widget by @jmthomas in #1332
- Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 by @dependabot in #1349
- Fix applying global settings to widgets by @jmthomas in #1350
- Allow EXPIRE activities in the past by @jmthomas in #1333
- Prevent ScriptRunner Ctrl-S Save from Saving Old Buffers by @ryanmelt in #1356
- Fix python break and plugin download and calendar reserve type by @ryanmelt in #1358
- Check for string param when doing range checking by @jmthomas in #1337
- Fix limits event handling by @jmthomas in #1346
- update dependencies by @ryanmelt in #1367
- fix "FromAsCasing" buildkit check by @JoshuaNeely in #1368
Prerequisites:
Docker - Running OpenC3 requires a working Docker or Podman installation. Typically Docker Desktop on Windows / Mac. Plain Docker or Podman also works on linux. We actively develop and run with Docker Desktop on Mac/Windows, and Linux on Raspberry Pi, so if you have any issues on another platform, please let us know by submitting a ticket!
Minimum Resources allocated to Docker: 4GB RAM, 1 CPU, 80GB Disk
Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk
Also requires docker compose version 1.27+
To Run:
- git clone https://github.com/openc3/cosmos-project.git cosmos-myproject
- cd cosmos-myproject
- Run Linux/Mac: ./openc3.sh run
- Run Windows: openc3.bat run
- Connect a web browser to http://localhost:2900/
- Have fun running OpenC3 COSMOS!
Please see our documentation at https://openc3.com
Try it out and let us know what you think! Please submit any issues as Github tickets, or any generic feedback to [email protected].
Thanks!
Full Changelog: v5.16.2...v5.17.1