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

remove JSON type config support #1580

Merged
merged 1 commit into from
Apr 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions app/search/flows/next-page-viewer-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,14 @@ function nextPageArgs(
const index = indexOfLastChange(logs, (log) => log.try("ts")?.toString())
if (index >= 0) {
const ts = logs[index].get("ts") as zng.Primitive
const prevTs = ts.toDate()
nextSpan[1] = brim
.time(prevTs)
.add(1, "ms")
.toDate()
spliceIndex = index + 1
if (ts.getType() == "time") {
const prevTs = ts.toDate()
nextSpan[1] = brim
.time(prevTs)
.add(1, "ms")
.toDate()
spliceIndex = index + 1
}
}
}
return [spliceIndex, nextSpan]
Expand Down
1 change: 0 additions & 1 deletion docs/Query-Library-Transfer.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ change having been made to the presentation of time values in the
```
$ cat appState.json | jq '.data.globalState.prefs'
{
"jsonTypeConfig": "",
"timeFormat": "dddd, MMMM Do YYYY, h:mm:ss a",
"suricataRunner": "",
"suricataUpdater": "",
Expand Down
62 changes: 0 additions & 62 deletions docs/Zeek-JSON-Import.md

This file was deleted.

Binary file removed docs/media/JSON-import-errors.png
Binary file not shown.
Binary file removed docs/media/Preferences-JSON-Type-Config.png
Binary file not shown.
Loading