41 Commits

Author SHA1 Message Date
jmillman
1665dc11b9 use new Autopsy Tag events, don't fire extra events from ig, but listen to events from autopsy 2015-06-25 10:44:36 -04:00
jmillman
e126aee4cb new Tag event system 2015-06-25 10:38:36 -04:00
jmillman
5432309c2f rename method; add synchronization; remove singletonness from SummaryTablePane 2015-06-25 10:35:59 -04:00
jmillman
e336dccfb2 refactor in GroupManager, to make logic and flow cleaner
split FileUpdateEvent handlers to seperate update and removed methods
name DbWorkerThread, Thread
2015-06-25 10:34:32 -04:00
jmillman
2eecaa297e 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-25 10:29:22 -04:00
jmillman
1be231107d 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:24:08 -04:00
jmillman
7dba4be3cc 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-25 10:09:23 -04:00
jmillman
376c6c4a33 move classes to better packages; remove FileUpdateEvent 2015-06-25 10:09:20 -04:00
jmillman
e4811246ba reduce duplicate code 2015-06-25 10:09:14 -04:00
jmillman
22868333a0 use new Autopsy Tag events, don't fire extra events from ig, but listen to events from autopsy 2015-06-25 10:09:07 -04:00
jmillman
762037c649 new Tag event system 2015-06-25 10:05:42 -04:00
jmillman
aec6c222e8 rename method; add synchronization; remove singletonness from SummaryTablePane 2015-06-25 10:05:39 -04:00
jmillman
34eb726551 refactor in GroupManager, to make logic and flow cleaner
split FileUpdateEvent handlers to seperate update and removed methods
name DbWorkerThread, Thread
2015-06-25 10:05:05 -04:00
jmillman
2552196891 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-25 10:05:02 -04:00
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
b9f25256c3 Lots of cleanup and comments
rename and comment DrawableViewBase

more cleanup of category related code

comments

license header;  cleanup in DrawableDB, GroupManager, and ImageGalleryController

cleanup HashSetManager and DrawableGroup

cleanup/commetns DrawableTile, DrawableView, DrawableViewBase

more cleanup ind DrawableDB
2015-06-10 12:12:29 -04:00
jmillman
a20f040066 use event bus for category change events 2015-06-10 10:11:38 -04:00
jmillman
06e0a33499 interim refactor of towards HashSetManager 2015-06-10 10:11:37 -04:00
Richard Cordovano
825559baf3 Merge pull request #1312 from millmanorama/options_panel_review
cleanup and add explanation to ImageGalleryOptionsPanel
2015-06-05 12:07:29 -04:00
jmillman
1aad1dfb78 cleanup and add explanation to ImageGalleryOptionsPanel 2015-06-05 10:42:16 -04:00
jmillman
7e260f6818 cleanup 2015-06-04 13:04:25 -04:00
jmillman
ea610c51ae fix db creation at case change by creating ModuleOutput/Image Gallery folder if needed.
use Path api instead of strings.
2015-06-02 16:35:48 -04:00
jmillman
e7a9aa7a12 comments 2015-06-02 14:03:33 -04:00
jmillman
6e4107a72b simplify CategorizeAction 2015-06-02 12:36:35 -04:00
jmillman
8359528f71 show progress of categorization tasks 2015-06-02 12:36:33 -04:00
jmillman
c123bb991a Move Image Gallery files to ModuleOutput folder
- replace ImageGalleryModule.MODULE_NAME with getter
- move drawable.db to ModuleOutput folder
- move per case ImageGallery properties to ModuleOutput folder.  cleanup PerCaseProperties.java
2015-05-27 15:38:44 -04:00
APriestman
0ac2bde11a Clear tag data between cases.
Changed lock on tag listener to prevent deadlocks.
2015-05-06 08:54:41 -04:00
APriestman
113a15b0b7 Various Image Gallery performance improvements.
- Keep some file data in memory to avoid excessive database queries (list of image file IDs, image/video, and category counts)
- When categorizing/tagging a group, don't create tiles (including thumbnails) for images that aren't on the screen
- Changed locking around Category and Tag listeners to prevent slowdown/deadlocks
2015-05-05 13:13:28 -04:00
APriestman
cad123d9ea Clear out Image Gallery thumbnail cache to prevent images from closed cases from being re-used. 2015-04-23 13:29:20 -04:00
APriestman
4f526d39cb More cleanup 2015-04-20 14:36:51 -04:00
APriestman
383a070e6d Cleanup 2015-04-20 13:19:40 -04:00
APriestman
8ae696c5b6 Reset groupPane properly between cases 2015-04-20 08:51:56 -04:00
APriestman
61184d792c Merge remote-tracking branch 'upstream/image_gallery_fixes' into iaNPE 2015-04-17 09:24:54 -04:00
APriestman
93c2065722 Remote listeners on TagUtils 2015-04-17 09:09:17 -04:00
Brian Carrier
1ac7f3f534 Changes to make case closing get pushed down into GroupPane to reset tiles. Not complete yet 2015-04-17 08:59:09 -04:00
APriestman
8a1c142f5f Made locks in DrawableDB not static.
Added method to clear out Category listeners.
Testing using one dbWorkerThread instead of a new one for each case.
2015-04-15 11:25:20 -04:00
APriestman
689fbec719 Fixing exceptions in Image Gallery caused by the case closing. 2015-04-10 12:33:12 -04:00
Brian Carrier
72b5f96125 fixed query when new data source is added to get files from only the new data source 2015-04-09 12:13:17 -04:00
APriestman
09671b5ba8 Finishing renaming. 2015-03-23 14:14:24 -04:00