Skip to content

Dalton v4.0.0#253

Open
whartond wants to merge 16 commits intosecureworks:masterfrom
whartond:dalton_v4
Open

Dalton v4.0.0#253
whartond wants to merge 16 commits intosecureworks:masterfrom
whartond:dalton_v4

Conversation

@whartond
Copy link
Contributor

  • Bumped to version 4.0.0
  • Upgraded jQuery from 2.0.3 to 3.7.1
  • Fixed annoying UI issue where custom rules text area would be incorrectly hidden when browsing back to the submission page
  • Added dynamic polling to queue and sensors pages for real-time updates
  • Added status coloring and animation to queue page for better visual feedback
  • Added /clear_queue API endpoint to expire all jobs and delete job files
  • Flipped the chronological order of the CHANGELOG entries so you don't have to scroll to the bottom to see the latest changes

whartond and others added 15 commits January 24, 2026 23:10
- Replace jQuery 2.0.3 with jQuery 3.7.1
- Patch Bootstrap 2.3.2 for jQuery 3.x compatibility:
  - Convert deprecated .delegate() to .on() in modal code
  - Fix href="#" selector handling in alert, dropdown, and tab
    components (jQuery 3.x throws syntax error for $("#") instead
    of returning empty set)
- Fix deprecated $(window).unload() in coverage.html by using
  $(window).on('beforeunload', ...) instead

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Queue page now auto-refreshes every 3 seconds via AJAX
- Sensors page now auto-refreshes every 5 seconds via AJAX
- Added /dalton/controller_api/get-queue-json API endpoint
- Refactored page_queue_default() to use shared get_queue_data() function
- Added "last updated" indicators to both pages
- Polling pauses when browser tab is hidden
- Queue page num_jobs selector works without page reload
- Added unit tests for the new queue JSON API

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Color-code job status cells using Bootstrap semantic colors (green for
success, red for error, blue for running, yellow for timeout/interrupted,
white for queued). Status cells override table striping for consistent
appearance. Brief yellow highlight animation plays when status changes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Gated behind enable_queue_clearing config option (default False).
Includes confirmation page with cancel/continue buttons; programmatic
callers can bypass with force=true parameter. Requires authentication.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Replace jQuery 2.0.3 with jQuery 3.7.1
- Patch Bootstrap 2.3.2 for jQuery 3.x compatibility:
  - Convert deprecated .delegate() to .on() in modal code
  - Fix href="#" selector handling in alert, dropdown, and tab
    components (jQuery 3.x throws syntax error for $("#") instead
    of returning empty set)
- Fix deprecated $(window).unload() in coverage.html by using
  $(window).on('beforeunload', ...) instead

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Queue page now auto-refreshes every 3 seconds via AJAX
- Sensors page now auto-refreshes every 5 seconds via AJAX
- Added /dalton/controller_api/get-queue-json API endpoint
- Refactored page_queue_default() to use shared get_queue_data() function
- Added "last updated" indicators to both pages
- Polling pauses when browser tab is hidden
- Queue page num_jobs selector works without page reload
- Added unit tests for the new queue JSON API

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Color-code job status cells using Bootstrap semantic colors (green for
success, red for error, blue for running, yellow for timeout/interrupted,
white for queued). Status cells override table striping for consistent
appearance. Brief yellow highlight animation plays when status changes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Gated behind enable_queue_clearing config option (default False).
Includes confirmation page with cancel/continue buttons; programmatic
callers can bypass with force=true parameter. Requires authentication.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Should have bumped minor version on the agent with the Dalton 3.6.0
changes; bumping it here with the Dalton 4.0 release, even though
the agent didn't change.
@rkoumis
Copy link
Collaborator

rkoumis commented Feb 18, 2026

There's a lot of new js in queue.html and sensor.html and it's almost the same in both places.

Please eliminate the duplication, if at all possible.

@whartond
Copy link
Contributor Author

Good call on the code reuse. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments