485 Commits

Author SHA1 Message Date
jmillman
51f6b05980 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-23 15:46:12 -04:00
jmillman
4db34a412a use SwingUtilities.invokeLater rather than invokeandWait so that showing the swing dialog does not block hiding the fx menu. 2015-06-23 14:19:55 -04:00
jmillman
dac18bf6da fix npe by optionalizing getCachefile 2015-06-23 13:20:52 -04:00
jmillman
1c16f9e405 better handling of exceptions in event bus eventhandlers 2015-06-22 16:42:44 -04:00
jmillman
567abf7948 move classes to better packages; remove FileUpdateEvent 2015-06-22 15:42:48 -04:00
jmillman
e21ad201ff remove unneeded interface 2015-06-22 15:23:36 -04:00
jmillman
05cefa388a move DrawableView and GroupPane to a new package 2015-06-22 15:22:14 -04:00
jmillman
b8f22991a4 reduce duplicate code 2015-06-22 15:11:16 -04:00
jmillman
4fdac3a8be rename method in CategoryManager to be more descriptive; fix tag and category grouping when tags aer added / removed 2015-06-22 14:46:04 -04:00
jmillman
d19dbbeaba 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-22 13:33:07 -04:00
jmillman
3337e6a880 remove uneeded notification code; let event handlers do it all. optionalize DrawableView 2015-06-19 17:29:35 -04:00
jmillman
c6834afb4a use new Autopsy Tag events, don't fire extra events from ig, but listen to events from autopsy 2015-06-19 13:53:53 -04:00
jmillman
7f6bbf1ebc more granular synchronization in DrawableTagsManager 2015-06-19 10:18:08 -04:00
jmillman
1fc618f0df new Tag event system 2015-06-18 16:57:28 -04:00
jmillman
48d455bf29 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-18 15:20:02 -04:00
jmillman
961e08501f Merge remote-tracking branch 'upstream/develop' into multiple_tag/follow_up_fixes 2015-06-18 14:03:35 -04:00
jmillman
b572ac4742 rename method; add synchronization; remove singletonness from SummaryTablePane 2015-06-18 13:51:37 -04:00
jmillman
7d68ed1b66 refactor in GroupManager, to make logic and flow cleaner
split FileUpdateEvent handlers to seperate update and removed methods
name DbWorkerThread, Thread
2015-06-18 13:12:14 -04:00
jmillman
d39644687b 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-17 17:42:00 -04:00
jmillman
4ae9eaf019 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-17 15:54:34 -04:00
jmillman
36b727e94d make sure all code is using the correct TagsManager (DrawableTagsManager) from controller; more cleanup 2015-06-17 15:51:15 -04:00
Karl Mortensen
be9fd906a4 Warn if failure, allow retry 2015-06-17 09:26:00 -04:00
jmillman
fe95cc21d7 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-16 16:53:16 -04:00
jmillman
aad2335b34 cleanup Follow Up tag and Category TagNames (prevent short name version from being added, by removing commas) 2015-06-16 12:51:06 -04:00
jmillman
86e1ca1886 make new DeleteFollowUpTag action; use Set instead of List to prevent duplicate files in groups 2015-06-16 11:14:44 -04:00
Richard Cordovano
0443e1d6e6 Merge develop branch into collaborative branch and resolve conflicts 2015-06-12 11:28:42 -04:00
Richard Cordovano
b09138f236 Merge pull request #1352 from millmanorama/next_unseen_dynamic_groups
properly persist the seen state of user defined groups (tags, categories)
2015-06-12 11:14:23 -04:00
Richard Cordovano
510ddf81ae Merge pull request #1350 from millmanorama/slideshowview_npe
disable slidehsow mode toggle when there are no files in group
2015-06-12 11:14:03 -04:00
jmillman
44e40a2a2e create new groups as needed when marking seen 2015-06-11 17:00:52 -04:00
jmillman
7212cdf951 properly save group viewed state to db
create category groups on initialization
don't replace groups only insert
read seen state at group construction
2015-06-11 16:57:55 -04:00
jmillman
ce4ff627fb disable slidehsow mode toggle when there are no files in group 2015-06-11 16:02:49 -04:00
Richard Cordovano
19592a9994 Merge pull request #1348 from millmanorama/stop_garbage_collection_listeners
keep a reference to public unmodifiable view of fileids so that liste…
2015-06-11 15:57:30 -04:00
Richard Cordovano
411e6f6015 Merge pull request #1347 from millmanorama/unseen_status_fix
don't mark groups as unseen unless a file was actually added or removed
2015-06-11 15:57:00 -04:00
Richard Cordovano
963415c609 Merge pull request #1346 from millmanorama/remove_duplicate_category_entries
remove duplicate Category value form values list
2015-06-11 15:56:49 -04:00
jmillman
efd19fc56f allow marking grouos as seen or unseen, update next unseen appropriatly 2015-06-11 15:52:15 -04:00
jmillman
0a61ad02f7 Merge branch 'stop_garbage_collection_listeners' into develop 2015-06-11 15:16:39 -04:00
jmillman
6c40864803 Merge branch 'unseen_status_fix' into develop 2015-06-11 15:16:33 -04:00
jmillman
c350d419a1 Merge branch 'remove_duplicate_category_entries' into develop 2015-06-11 15:16:27 -04:00
jmillman
13fefb1c17 keep a reference to public unmodifiable view of fileids so that listeners are not immediately garbage colelcted 2015-06-11 14:48:50 -04:00
jmillman
a87a665993 don't mark groups as unseen unless a file was actually added or removed 2015-06-11 14:30:35 -04:00
jmillman
ccf2af40ca remove duplicate Category value form values list 2015-06-11 14:29:07 -04:00
jmillman
048c44cde2 rebuild the list of tagnames each time the list is shown 2015-06-11 14:09:05 -04:00
Richard Cordovano
e090ff7a5a Merge pull request #1341 from millmanorama/GroupPane_realted_bug_fixes
Group pane realted bug fixes
2015-06-11 13:54:21 -04:00
Richard Cordovano
3498cf675d Merge pull request #1344 from millmanorama/DrawableDB_illegalstateexception
fix illegalstate exception from DrawableDB
2015-06-11 13:53:52 -04:00
jmillman
26076037f1 fix illegalstate exception from DrawableDB 2015-06-11 13:46:25 -04:00
jmillman
2ba6847c80 fix npe in GroupTreeCell 2015-06-11 13:34:12 -04:00
jmillman
1e6c97ce84 remove references to obsolete .css file 2015-06-11 13:27:48 -04:00
jmillman
f4f568bff1 GroupPane bug fixes: don't show context menu when right clicking empty group; create new slideshowpane to force category border update
cleanup DrawableTile, DrawableView, DrawableViewBase, GroupPane. SlideShowView
2015-06-11 13:27:31 -04:00
jmillman
33d1231c5c fix npe caused by attempting to select all files in an empty group 2015-06-11 13:24:41 -04:00
Richard Cordovano
d57c16d97f Merge pull request #1340 from millmanorama/option_panel_missing_string
fix npe resulting from mising bundle property
2015-06-11 12:01:04 -04:00