8544 Commits

Author SHA1 Message Date
jmillman
16fe7db1e7 make sure all code is using the correct TagsManager (DrawableTagsManager) from controller; more cleanup 2015-06-25 10:04:33 -04:00
jmillman
d587e1c53e clean up and refactor code related to Tagging and actions;
move away from singleton by injecting controller rather than using getDefault();
 use EventBus in DrawableTagsManager (used to be TagUtils)

requires equal and hashcode method implemented on TagName
2015-06-25 10:04:01 -04:00
jmillman
edfe858dd8 cleanup Follow Up tag and Category TagNames (prevent short name version from being added, by removing commas) 2015-06-25 10:03:14 -04:00
jmillman
e1e5e78bd0 make new DeleteFollowUpTag action; use Set instead of List to prevent duplicate files in groups 2015-06-25 10:03:12 -04:00
Richard Cordovano
d7cac20824 Merge pull request #1381 from millmanorama/tag_events
Tag Events
2015-06-25 09:45:27 -04:00
Richard Cordovano
6187bf0f8f Merge pull request #1396 from sidheshenator/add_text_report_to_DB
Text FileReport added to databse. Logger format changed
2015-06-24 16:20:07 -04:00
Sidhesh Mhatre
10f66173a0 Not logging invalidpathException 2015-06-24 16:19:16 -04:00
Sidhesh Mhatre
9b021d5adb Throw TskCoreException if localPath is invalid 2015-06-24 15:42:45 -04:00
Brian Carrier
a7a0c803c4 Show max file count window only once - not each refresh 2015-06-24 15:39:33 -04:00
sidheshenator
67ff3ee7cd Text FileReport added to databse. Logger format changed 2015-06-24 15:30:11 -04:00
jmillman
aff60bd329 fix hashset display
move return out of loop so we get all hashset names; use getHashSetsForFileFromAutopsy directly rather than circuitously through HashSetManager
2015-06-24 12:58:17 -04:00
jmillman
9a64cac4de Merge remote-tracking branch 'origin/events_tags_categories_rework' into events_tags_categories_rework 2015-06-24 11:13:01 -04:00
jmillman
a42426de2b Merge branch 'tag_events' into events_tags_categories_rework
Conflicts:
	Core/src/org/sleuthkit/autopsy/casemodule/services/TagsManager.java
2015-06-24 11:12:26 -04:00
jmillman
bce619b50e catch IllegalStateException from Case.getCurrentCase() in TagsManager methods 2015-06-24 11:11:29 -04:00
jmillman
2e034c19fd use private notifyPropertyChangeEvent() method in notifyNewDataSource 2015-06-24 11:11:26 -04:00
jmillman
2ee9b50c62 remove TagAction class since it provides no value 2015-06-24 11:11:25 -04:00
jmillman
c5622c2282 SlideShow toggle is disabled when there is no group selected; fix relative paths to images in fxml 2015-06-24 11:11:23 -04:00
jmillman
33586fd071 SlideShow toggle is disabled initialy; fix relative paths to images in fxml 2015-06-24 11:11:21 -04:00
jmillman
5dfae177db clean up add tag action, use invokeLater not invokeAndWait; getNonCategoryTagNames returns TagNames in alphabetical order by displayname 2015-06-24 11:11:20 -04:00
jmillman
c93f80fd58 only add new cat tag if there is no existing cat tag. put adding and removing fileids to/from group on jfx thread; remove file from groups when adding to new catagory based on new tag 2015-06-24 11:09:37 -04:00
jmillman
3e45191012 better handling of exceptions in event bus eventhandlers 2015-06-24 11:09:35 -04:00
jmillman
8be4600f5c move classes to better packages; remove FileUpdateEvent 2015-06-24 11:09:34 -04:00
jmillman
20eaa0d82a remove unneeded interface 2015-06-24 11:09:31 -04:00
jmillman
8918bea329 move DrawableView and GroupPane to a new package 2015-06-24 11:09:30 -04:00
jmillman
ab8e68435d reduce duplicate code 2015-06-24 11:09:28 -04:00
jmillman
7dfc17268e Tag Events
- created new Case.Event enum values for BlackBoard/Content tags added/deleted
- created new PropertyChangeEvent subclasses for  BlackBoard/Content tags added/deleted
- replaced ModuleDataEvent hack  with new Tag Events
- removed [in] from javadocs, other minor cleanup
2015-06-24 11:09:27 -04:00
jmillman
68d28db500 rename method in CategoryManager to be more descriptive; fix tag and category grouping when tags aer added / removed 2015-06-24 11:06:31 -04:00
jmillman
ff11258e9c fix bugs updating tags/categpries in slideshowview and metadata pane
make new abstract base calss DrawableUIBase and move fileid and file object access to it.
2015-06-24 11:06:29 -04:00
jmillman
2c879f43bf remove uneeded notification code; let event handlers do it all. optionalize DrawableView 2015-06-24 11:06:27 -04:00
jmillman
b5216cc87b use new Autopsy Tag events, don't fire extra events from ig, but listen to events from autopsy 2015-06-24 11:06:26 -04:00
jmillman
335b82bbc2 Tag Events
- created new Case.Event enum values for BlackBoard/Content tags added/deleted
- created new PropertyChangeEvent subclasses for  BlackBoard/Content tags added/deleted
- replaced ModuleDataEvent hack  with new Tag Events
- removed [in] from javadocs, other minor cleanup
2015-06-24 11:04:16 -04:00
jmillman
dabcec9e27 more granular synchronization in DrawableTagsManager 2015-06-24 11:02:01 -04:00
jmillman
6d12aec7ae new Tag event system 2015-06-24 11:01:59 -04:00
jmillman
b430039c1b more tag/category autopsy integeration
update CategoryCounts, FollowUp and Category border on general Tag Event
use most severe category if multiple categories are present for a file
enforce category ordering via enum declaration order
2015-06-24 11:01:57 -04:00
jmillman
8b26c43b20 rename method; add synchronization; remove singletonness from SummaryTablePane 2015-06-24 11:01:55 -04:00
jmillman
2916f60dc7 refactor in GroupManager, to make logic and flow cleaner
split FileUpdateEvent handlers to seperate update and removed methods
name DbWorkerThread, Thread
2015-06-24 11:00:41 -04:00
jmillman
b195499830 more work to keep autopsy and ImageGallery tags in sync
add setFiles method to DrawableGroup;
don't clear groups from GroupMap except for CaseChange; reuse groups via setFiles method when regrouping
reselect group in navpanel after regroup
2015-06-24 11:00:39 -04:00
jmillman
2be00f7694 more cleanup of Categories/Tags and listening to autopsy generated "Tag Events"
-remove unused code from Category.java
-use Category.isCategoryTagName instead of .getDisplayName().startsWith(Category.CATEGORY_PREFIX)

-regroup when notified of Tag Change from autopsy
2015-06-24 11:00:38 -04:00
jmillman
1e9d6c54c4 make sure all code is using the correct TagsManager (DrawableTagsManager) from controller; more cleanup 2015-06-24 10:59:54 -04:00
jmillman
4960980c0d clean up and refactor code related to Tagging and actions;
move away from singleton by injecting controller rather than using getDefault();
 use EventBus in DrawableTagsManager (used to be TagUtils)

requires equal and hashcode method implemented on TagName
2015-06-24 10:58:56 -04:00
jmillman
dc65b8ae2f cleanup Follow Up tag and Category TagNames (prevent short name version from being added, by removing commas) 2015-06-24 10:57:43 -04:00
jmillman
e30bc537a1 make new DeleteFollowUpTag action; use Set instead of List to prevent duplicate files in groups 2015-06-24 10:57:41 -04:00
jmillman
334bd901cd Merge remote-tracking branch 'upstream/develop' into events_tags_categories_rework
Conflicts:
	ImageGallery/src/org/sleuthkit/autopsy/imagegallery/actions/AddTagAction.java
2015-06-24 10:42:50 -04:00
jmillman
6f89e80b53 Merge branch 'tag_events' into events_tags_categories_rework 2015-06-24 10:40:48 -04:00
jmillman
8808496f83 catch IllegalStateException from Case.getCurrentCase() in TagsManager methods 2015-06-24 10:29:03 -04:00
jmillman
f9f1c7db94 use private notifyPropertyChangeEvent() method in notifyNewDataSource 2015-06-24 10:17:51 -04:00
jmillman
2d7cc05e30 remove TagAction class since it provides no value 2015-06-24 10:13:59 -04:00
jmillman
5308dc1230 SlideShow toggle is disabled when there is no group selected; fix relative paths to images in fxml 2015-06-24 09:59:23 -04:00
sidheshenator
ef50ce604b setDataViewByOffset() and setDataViewByPageNumber() in DataContentViewerHex refactored 2015-06-23 17:03:26 -04:00
Richard Cordovano
52c9e16f5a Merge pull request #1395 from millmanorama/close_fxmenu_behind_tag_dialog
use SwingUtilities.invokeLater rather than invokeandWait so that show…
2015-06-23 16:30:24 -04:00