Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
Merge branch 'version_1231' into testing
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhemmarchand committed Jan 14, 2021
2 parents 32b1c52 + 9c33d68 commit 018ebe9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/releasenotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ https://trackme.readthedocs.io/en/latest/configuration.html

- Feature: REST API endpoint for Data Sampling - allow rest and run sampling
- Fix - Issue #217 - Activity alerts view results link would result to 404 page not found for out of the box alerts
- Fix - Issue #218 - Data sampling - creating custom rule from main then clicking on back leads to wrong window
- Change: Icons change

Version 1.2.30
Expand Down
16 changes: 14 additions & 2 deletions trackme/default/data/ui/html/TrackMe.html
Original file line number Diff line number Diff line change
Expand Up @@ -35347,7 +35347,10 @@ <h2 class="panel-title">Search for audit changes:</h2>

// free searches
setToken("show_data_sampling_custom_rules", "true");


// define a token that will be used to determine where in the UI we came from
setToken("show_data_sampling_custom_rules_from_home", "true");

// force re-run the search each time the button is clicked
searchDataSamplingShowCustomRules.startSearch();

Expand Down Expand Up @@ -36475,7 +36478,16 @@ <h2 class="panel-title">Search for audit changes:</h2>
comment = tk_comment;
auditRecord(action, change_type, object, object_category, object_attrs, result, comment);

$("#data_sampling_manage").modal();
// Take a decision depending on where we come from
var tk_data_sampling_custom_rule_name = tokens.get("show_data_sampling_custom_rules_from_home");

if ( tk_data_sampling_custom_rule_name == "true") {
$("#data_sampling_show_custom_rules").modal();
}
else {
$("#data_sampling_manage").modal();
}

},
failed: function(properties) {
let errorStr = "Unknown Error!";
Expand Down
Binary file modified trackme_1231.tgz
Binary file not shown.

0 comments on commit 018ebe9

Please sign in to comment.