478 Commits

Author SHA1 Message Date
Greg DiCristofaro
c7c23babcc refactor and working through components 2020-10-08 14:09:25 -04:00
Greg DiCristofaro
343fbfe523 used import 2020-09-29 14:09:08 -04:00
Greg DiCristofaro
dd0c81d83e Merge branch 'develop' of github.com:sleuthkit/autopsy into 6733-getArtifactsTest 2020-09-29 14:02:08 -04:00
Greg DiCristofaro
e6c5685a21 address codacy remarks 2020-09-29 14:01:57 -04:00
U-BASIS\dsmyda
f1f8c02d64 Randomized the test values a bit more 2020-09-25 13:43:53 -04:00
U-BASIS\dsmyda
fd792b3a5b Updated Assert.fail text 2020-09-25 13:33:37 -04:00
U-BASIS\dsmyda
d1f93721fd Added artifacts API, created tests, updated old tests and comments 2020-09-25 13:29:21 -04:00
U-BASIS\dsmyda
e7cc8d710c Fixed broken domain search tests 2020-09-24 17:02:10 -04:00
Greg DiCristofaro
2299960964 formatting 2020-09-23 15:47:54 -04:00
Greg DiCristofaro
281258ddc5 remaining unit tests 2020-09-23 15:35:19 -04:00
Greg DiCristofaro
f83102913e updates to get initial tests working 2020-09-23 13:34:30 -04:00
Greg DiCristofaro
4c8e7afc4f updates to get initial tests working 2020-09-23 13:34:20 -04:00
Greg DiCristofaro
39dec08f28 working through bad attr test 2020-09-23 12:24:32 -04:00
Greg DiCristofaro
2e67ee6044 test utils 2020-09-23 10:26:13 -04:00
Greg DiCristofaro
cf7c808f65 working through tests; refactoring 2020-09-23 10:19:38 -04:00
Greg DiCristofaro
c0d2da3eae began mocks 2020-09-22 09:40:53 -04:00
U-BASIS\dsmyda
fa3c168922 Merged in upstream 2020-09-16 14:41:30 -04:00
U-BASIS\dsmyda
8ace04ae83 Minor changes and fixed tests 2020-09-15 18:30:26 -04:00
U-BASIS\dsmyda
39cb3424cf Fixed tests and added cache for thumbnails 2020-09-14 16:45:37 -04:00
U-BASIS\dsmyda
c2e2f1fea8 Fixed tests 2020-09-11 15:49:10 -04:00
U-BASIS\dsmyda
9cbc432aae Merged in develop 2020-09-11 15:48:12 -04:00
U-BASIS\dsmyda
e36e32fd6d Added tests, removed some logic added for data source domains table 2020-09-11 10:02:25 -04:00
U-BASIS\dsmyda
a1e79bbced Updated reference to ExifModule in CR tests 2020-08-25 14:02:49 -04:00
Raman Arora
ec267b0006 Fixed merge conflict edits.
Handle new exception in tests.
2020-07-16 18:05:29 -04:00
Raman Arora
4426bba358 6579: Input from user can cause SQL exceptions in Personas
Modified persona classes to run SQL as prepared statements.
2020-07-08 10:48:40 -04:00
Ethan Roseman
7d1813476a 6399 Persona editing functionality 2020-06-02 10:59:56 -04:00
Raman Arora
ae75ac0162 6419: Incorrect results from getAliases() & getMetadata() 2020-05-27 18:56:40 -04:00
Raman Arora
b9ce3d7e37 Addressed Codacy comments. 2020-05-22 11:05:04 -04:00
Raman Arora
03c8c2ec8b createPersonaForAccount() returns the Persona created, instead of PersonaAccount. 2020-05-21 18:38:04 -04:00
Raman Arora
6a4a4fad06 - Added APIs to get all accounts, and search for accounts by account identifier.
- Renamed some methods.
2020-05-21 17:26:45 -04:00
Raman Arora
83a7905369 - Deleted unused method updateExaminers()
- Added escaping of examiner name
- Added a unit test for getOrInsertExaminer() method.
2020-05-05 08:25:05 -04:00
Raman Arora
c852d6bdeb Addressed review comments. 2020-05-04 14:11:15 -04:00
Raman Arora
0deb182bc6 - Removed pre-population of the examiner table.
- Replaced getCurrentExaminer() method with getOrInsertExaminer()
2020-05-04 10:30:29 -04:00
Raman Arora
c682739d8e Addressed Codacy comments. 2020-05-01 14:50:00 -04:00
Raman Arora
2b75a00256 Added APIS to query persona by:
- persona name substring
 - account identifier substring.
2020-05-01 13:10:23 -04:00
Raman Arora
d542ac7ce9 Addressed review comments:
- Moved d/b queries to corresponding suitable datamodel classes.
 - Dissolved and deleted PersonaHelper class.
2020-04-28 15:34:30 -04:00
Raman Arora
b2e8b1319d Addressed Codacy review comments. 2020-04-27 13:56:04 -04:00
Raman Arora
7ede903088 Added APIS to:
- get all Persona in a Case/dataSource.
 - get all cases/data sources for a persona.

Added additional test cases.
2020-04-27 13:05:50 -04:00
Raman Arora
cb08eac551 - Added more tests to the functional test - creating cases and datasources, and account_instance attributes so that Persona could be traced back to a case/data source.
- Fixed an issue with tests failing because Central Repo cache was not being cleared between tests, even though the underlying database itself was being recreated.
- Fixed a bug in the Persona query.
2020-04-23 19:51:32 -04:00
Raman Arora
184382f2b7 Use a default persona name when one isn't specified. 2020-04-23 09:34:56 -04:00
Raman Arora
6e0ff29969 Removed unused imports. 2020-04-23 07:53:36 -04:00
Raman Arora
818a0cbc9f Addressed Codacy comments. 2020-04-22 17:05:44 -04:00
Raman Arora
ccdd3651d6 6095: Persona API. 2020-04-22 15:43:15 -04:00
U-BASIS\dsmyda
0775c238ea Merged in develop and addressed codacy 2020-03-26 12:19:13 -04:00
U-BASIS\dsmyda
f0af471ed1 Added a teardown functionality so that the last test cleans up after itself 2020-03-13 15:51:32 -04:00
U-BASIS\dsmyda
8125b6102a Implemented tests for the current accounts API in the CR 2020-03-13 15:44:33 -04:00
Greg DiCristofaro
94d6a8c012 working through bugs in 6035 implementation 2020-02-28 13:47:49 -05:00
Raman Arora
7de33d4b35 6014: Update central repository database creation to make personas tables. 2020-02-24 13:40:09 -05:00
Richard Cordovano
dd3a9a744d Rename central repository data model classes 2020-01-29 17:29:23 -05:00
Richard Cordovano
614505b91d
Merge branch 'elastic-computing' into develop 2019-09-18 13:45:57 -04:00