34 Commits

Author SHA1 Message Date
jmillman
f7e56bebcc Merge branch 'develop' into include_all_drawable_mimetypes
Conflicts:
	ImageGallery/src/org/sleuthkit/autopsy/imagegallery/datamodel/DrawableDB.java
2015-07-02 17:20:46 -04:00
jmillman
47d6318ecd Merge remote-tracking branch 'upstream/develop' into include_all_drawable_mimetypes
Conflicts:
	ImageGallery/src/org/sleuthkit/autopsy/imagegallery/datamodel/DrawableDB.java
2015-07-02 14:14:07 -04:00
jmillman
bf68bea824 Merge remote-tracking branch 'upstream/develop' into include_all_drawable_mimetypes
Conflicts:
	ImageGallery/src/org/sleuthkit/autopsy/imagegallery/datamodel/DrawableDB.java
2015-07-02 12:56:32 -04:00
jmillman
beb8efaa6a Extract FileTypeUtils from ImageGalleryModule
remove FileTypeIcons
remove deprecated method from GroupManager
2015-07-01 15:58:37 -04:00
jmillman
5866b88a35 improve synchronization and guard the videoFileMap from null keys to eliminate NPE 2015-07-01 15:52:12 -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
8be4600f5c move classes to better packages; remove FileUpdateEvent 2015-06-24 11:09:34 -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
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
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
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
efd19fc56f allow marking grouos as seen or unseen, update next unseen appropriatly 2015-06-11 15:52:15 -04:00
jmillman
26076037f1 fix illegalstate exception from DrawableDB 2015-06-11 13:46:25 -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
06e0a33499 interim refactor of towards HashSetManager 2015-06-10 10:11:37 -04:00
jmillman
eb9f4750ad refactor CategoryCounts 2015-06-10 10:11:27 -04:00
jmillman
9c98dbabe4 cleanup and verify NextUnseenGroup and related functionality. Add seen status to GroupTreeCell 2015-06-04 13:06:49 -04:00
jmillman
7e260f6818 cleanup 2015-06-04 13:04:25 -04:00
jmillman
ceeab5223b fix comment formatting 2015-06-02 16:48:24 -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
7bf122e1d6 rename DrawableDB.isImagefile() => isDrawableFile(), and other minor cleanup 2015-06-02 12:36:26 -04:00
APriestman
6c7f10a68d Added comments about caching. 2015-05-22 10:30:59 -04:00
APriestman
24bc7c14f7 Fixed bug where the incorrect category name was being displayed when grouping by category.
For speed, now stores hash set hits in memory.
Fixed bug where hash hit count would never update after a group was created, even if files were added/removed
Changed category zero count to be bases on other counts and not stored separately.
2015-05-22 09:35:50 -04:00
APriestman
5887076259 Sorting by file count now works correctly.
Changing sort method and ascending/descending now updates the GUI immediately.
Properly decrement uncategorized file count.
Fixed a few case-closing exceptions.
2015-05-08 09:12:44 -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
4f526d39cb More cleanup 2015-04-20 14:36:51 -04:00
APriestman
383a070e6d Cleanup 2015-04-20 13:19:40 -04:00
APriestman
61184d792c Merge remote-tracking branch 'upstream/image_gallery_fixes' into iaNPE 2015-04-17 09:24:54 -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
2f0f0e37fc removed uneeded index 2015-04-09 12:14:20 -04:00
APriestman
09671b5ba8 Finishing renaming. 2015-03-23 14:14:24 -04:00