Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCAP Date Picker #758

Merged
merged 2 commits into from
Feb 28, 2025
Merged

PCAP Date Picker #758

merged 2 commits into from
Feb 28, 2025

Conversation

coreyogburn
Copy link
Contributor

Replace "start time" and "end time" inputs on the New Job dialog with a single input powered by the same DateRangePicker we use elsewhere in SOC.

Updated golang.org/x/crypto version in response to a discovered vulnerability.

Replace "start time" and "end time" inputs on the New Job dialog with a single input powered by the same DateRangePicker we use elsewhere in SOC.

Updated golang.org/x/crypto version in response to a discovered vulnerability.
Fixed a bug where `timeframe` was assumed to be filled out even though it might not be.

New test.

Preformatted the dates instead of passing date objects in the API request payload.

Removed unused functions getStartDate and getEndDate. Splitting and then parsing/formatting with moment gives more consistent results that don't fall back to a default value.

Fixed how we import moment so we have moment+timezones. Removed polyfills. Set timezone to UTC for deterministic tests.
@coreyogburn coreyogburn force-pushed the cogburn/new-pcap-calendar branch from 736088e to ad1edbb Compare February 28, 2025 18:36
@coreyogburn coreyogburn merged commit 1630869 into 2.4/dev Feb 28, 2025
3 checks passed
@coreyogburn coreyogburn deleted the cogburn/new-pcap-calendar branch February 28, 2025 18:47
@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants