mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
Merge branch 'develop' of https://github.com/sleuthkit/autopsy into 6985-MiniTimelineDiscovery
This commit is contained in:
commit
186ca85b45
@ -198,13 +198,13 @@ final class PostgresCentralRepo extends RdbmsCentralRepo {
|
|||||||
if (connectionPool == null) {
|
if (connectionPool == null) {
|
||||||
setupConnectionPool();
|
setupConnectionPool();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
try {
|
try {
|
||||||
return connectionPool.getConnection();
|
return connectionPool.getConnection();
|
||||||
} catch (SQLException ex) {
|
} catch (SQLException ex) {
|
||||||
throw new CentralRepoException("Error getting connection from connection pool.", Bundle.PostgresEamDb_connectionFailed_message(), ex); // NON-NLS
|
throw new CentralRepoException("Error getting connection from connection pool.", Bundle.PostgresEamDb_connectionFailed_message(), ex); // NON-NLS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String getConflictClause() {
|
protected String getConflictClause() {
|
||||||
|
@ -67,7 +67,7 @@ final class CentralRepoIngestModule implements FileIngestModule {
|
|||||||
|
|
||||||
private static final String MODULE_NAME = CentralRepoIngestModuleFactory.getModuleName();
|
private static final String MODULE_NAME = CentralRepoIngestModuleFactory.getModuleName();
|
||||||
|
|
||||||
static final boolean DEFAULT_FLAG_TAGGED_NOTABLE_ITEMS = true;
|
static final boolean DEFAULT_FLAG_TAGGED_NOTABLE_ITEMS = false;
|
||||||
static final boolean DEFAULT_FLAG_PREVIOUS_DEVICES = false;
|
static final boolean DEFAULT_FLAG_PREVIOUS_DEVICES = false;
|
||||||
static final boolean DEFAULT_CREATE_CR_PROPERTIES = true;
|
static final boolean DEFAULT_CREATE_CR_PROPERTIES = true;
|
||||||
|
|
||||||
|
@ -460,7 +460,6 @@ public class DataResultViewerTable extends AbstractDataResultViewer {
|
|||||||
* If one of the child nodes of the root node is to be selected, select
|
* If one of the child nodes of the root node is to be selected, select
|
||||||
* it.
|
* it.
|
||||||
*/
|
*/
|
||||||
SwingUtilities.invokeLater(() -> {
|
|
||||||
if (rootNode instanceof TableFilterNode) {
|
if (rootNode instanceof TableFilterNode) {
|
||||||
NodeSelectionInfo selectedChildInfo = ((TableFilterNode) rootNode).getChildNodeSelectionInfo();
|
NodeSelectionInfo selectedChildInfo = ((TableFilterNode) rootNode).getChildNodeSelectionInfo();
|
||||||
if (null != selectedChildInfo) {
|
if (null != selectedChildInfo) {
|
||||||
@ -468,18 +467,20 @@ public class DataResultViewerTable extends AbstractDataResultViewer {
|
|||||||
for (int i = 0; i < childNodes.length; ++i) {
|
for (int i = 0; i < childNodes.length; ++i) {
|
||||||
Node childNode = childNodes[i];
|
Node childNode = childNodes[i];
|
||||||
if (selectedChildInfo.matches(childNode)) {
|
if (selectedChildInfo.matches(childNode)) {
|
||||||
|
SwingUtilities.invokeLater(() -> {
|
||||||
try {
|
try {
|
||||||
this.getExplorerManager().setSelectedNodes(new Node[]{childNode});
|
this.getExplorerManager().setExploredContextAndSelection(this.rootNode, new Node[]{childNode});
|
||||||
} catch (PropertyVetoException ex) {
|
} catch (PropertyVetoException ex) {
|
||||||
LOGGER.log(Level.SEVERE, "Failed to select node specified by selected child info", ex);
|
LOGGER.log(Level.SEVERE, "Failed to select node specified by selected child info", ex);
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
((TableFilterNode) rootNode).setChildNodeSelectionInfo(null);
|
((TableFilterNode) rootNode).setChildNodeSelectionInfo(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The table setup is done, so any added/removed events can now be
|
* The table setup is done, so any added/removed events can now be
|
||||||
|
Loading…
x
Reference in New Issue
Block a user