Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#23 UI 4 config proc #1341

Open
wants to merge 282 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
62057bc
-Evidences tab translation
thiagofuer Dec 9, 2022
87d54bb
-Added com.github.oshi.oshi-core dependency to list local disk drives
thiagofuer Dec 12, 2022
81f8151
-Processes task options was changed from tab to modal dialog
thiagofuer Dec 20, 2022
f990c18
-Processes start initial implementation
thiagofuer Dec 21, 2022
6685ae1
Merge branch 'sepinf-inc:master' into #23_UI_4_config_proc
thiagofuer Dec 21, 2022
2405ef8
-Start iped over a new thread
thiagofuer Dec 21, 2022
e645737
Merge branch 'sepinf-inc:master' into #23_UI_4_config_proc
thiagofuer Dec 22, 2022
ff8f8ae
-Now the application is able to start an iped process
thiagofuer Dec 22, 2022
e93140c
-Processes task options refactorings
thiagofuer Dec 28, 2022
cceff19
-Open case translation and refactorings
thiagofuer Jan 1, 2023
edbd8c5
-Some refactorings
thiagofuer Jan 2, 2023
8917a6b
-Evidences Table refactoring and bug corrections
thiagofuer Jan 3, 2023
a58804e
Merge branch 'master' into #23_UI_4_config_proc
thiagofuer Jan 3, 2023
5338d60
-Home localization merge
thiagofuer Jan 4, 2023
1364723
-Code improvements
thiagofuer Jan 4, 2023
83ff81b
-First implementation of a bootstrat to start iped home
thiagofuer Jan 8, 2023
2bcdd66
Merge branch '#23_UI_4_config_proc' of
patrickdalla Jan 31, 2023
b38bfb1
More validation code.
patrickdalla Jan 31, 2023
5702685
Improving json and xml formatting and validation.
patrickdalla Feb 1, 2023
422d892
Creating a reset method on the configurable interface and stub
patrickdalla Feb 1, 2023
dd434bd
Adds the task to the saved taskinstaller.xml profile file even if it not
patrickdalla Feb 2, 2023
03dd5fd
Add unique XSD rule as to not allow distinct CarverTypes with the same
patrickdalla Feb 2, 2023
a851af4
Permit task order modification of python or javascript scripts.
patrickdalla Feb 2, 2023
938c0b3
Initial implementations to save profile in java serialization format.
patrickdalla Feb 2, 2023
347f08a
Persists and loads serialized profile as a file.
patrickdalla Feb 3, 2023
0f3d246
Adds the new script task to the end of the task list.
patrickdalla Feb 6, 2023
87d75e8
Use the more generical interface to start the processing.
patrickdalla Feb 6, 2023
9fdd91e
Searches for a profile with extension defined in
patrickdalla Feb 6, 2023
89a7403
In case a serialized profile file was used instead of a directory, copy
patrickdalla Feb 6, 2023
8eca323
Loads configuration from serialized profile file in case one of a kind
patrickdalla Feb 6, 2023
769812a
Simple XML and JSON format if text is recognizable as XML.
patrickdalla Feb 6, 2023
85bdb4c
Removes unnecessary key listener.
patrickdalla Feb 7, 2023
180e63e
Removes unnecessary method override once font was specified as
patrickdalla Feb 7, 2023
6fa3bc4
Adds a specific Panel class to handle MakePreviewConfig
patrickdalla Feb 7, 2023
7ad68b9
Implements applyChanges to MakePreviewConfigurablePanel.
patrickdalla Feb 7, 2023
7d3030e
removes unused references.
patrickdalla Feb 7, 2023
9b54b72
1) Implements deletion of custom profiles files.
patrickdalla Feb 7, 2023
81b779d
- Adds support for using RSyntaxTextArea component from
patrickdalla Feb 8, 2023
324c380
- creation of getAvailableCarverTypes to distinct from getCarverTypes in
patrickdalla Feb 8, 2023
45eb29e
Adding a class hierarchy layer to control complex configurables with an
patrickdalla Feb 9, 2023
429c9fc
Corrects the name of the layer to AdvancedTextConfigurablePanel.
patrickdalla Feb 9, 2023
20d6260
Adding custom panel to category to expand configurable that shows
patrickdalla Feb 9, 2023
9781c98
Creates panels for editing categories and categories to expand tasks.
patrickdalla Feb 10, 2023
7829fe4
Removes parsers with iped:disabled="true" tag from XML before passing it
patrickdalla Feb 10, 2023
b9c0bdd
It was set up the resize listener to the config panel and implemented
patrickdalla Feb 10, 2023
c7ec3ef
Removes unused variable.
patrickdalla Feb 10, 2023
b935266
Adding some constants strings used to handle parsers config xml.
patrickdalla Feb 10, 2023
b48dbd4
Implemented componentShown event handling.
patrickdalla Feb 10, 2023
0cd8128
Created configurable panel for ParsersConfig.xml.
patrickdalla Feb 10, 2023
be3324e
As the class name can be used multiple times, it was used a position
patrickdalla Feb 10, 2023
e466de9
Adds support for parser list filtering based on selected category.
patrickdalla Feb 14, 2023
dbf472a
Show lines number on text area of advanced config.
patrickdalla Feb 14, 2023
be7f96c
Removing unused fields.
patrickdalla Feb 14, 2023
7598402
Correcting buggy logic if visible predicate is not configured.
patrickdalla Feb 14, 2023
4bfcdf2
ParserTreeCellEditor object field to inform if is to include parser
patrickdalla Feb 14, 2023
28c65f1
External parsers panel implementation.
patrickdalla Feb 15, 2023
c1f6dae
Add panel to create new external parser.
patrickdalla Feb 15, 2023
c0d9156
Load icons if src location is a class path (for example, when debbuging
patrickdalla Feb 15, 2023
1f8ab7e
Show icons for categories.
patrickdalla Feb 15, 2023
274070a
Add text input for mime-type filtering.
patrickdalla Feb 15, 2023
ba9273f
Adds checkbox to list tika registered mime-types.
patrickdalla Feb 15, 2023
a5fda9d
Improves MakePreviewConfigurablePanel.
patrickdalla Feb 16, 2023
0f13bae
Creates superclass to permit implementation of other kind search lists
patrickdalla Feb 16, 2023
6e4757d
MimeSearchList implementation extending IPEDSearchList.
patrickdalla Feb 16, 2023
6e9c4a5
Creates a size cache to avoid unnecessary many size recalculation during
patrickdalla Feb 22, 2023
0aab73e
Create generic list model to easy implementation of new types of
patrickdalla Feb 22, 2023
2861b5c
Implement a cell renderer to remove component creation from table model,
patrickdalla Feb 22, 2023
e9222e1
Missing class from prior commit.
patrickdalla Feb 22, 2023
f0f873e
Removing deprecated class after prior commit.
patrickdalla Feb 22, 2023
b8de602
Adds a error message dialog if HashDBLookupTask is enabled before
patrickdalla Feb 22, 2023
571788c
Removes unused references.
patrickdalla Feb 22, 2023
139c21c
Copy the selected script file to the IPED task scripts folder.
patrickdalla Feb 22, 2023
5b88f75
Throws ScriptException if an Script engine is not found for the selected
patrickdalla Feb 22, 2023
ae2b646
Removing unused class.
patrickdalla Feb 22, 2023
0ae341a
Returns a localized task name, if there is one configured in resource
patrickdalla Feb 22, 2023
f730a9f
Add method to return a default value in case a resource is missing in
patrickdalla Feb 22, 2023
e290540
Finds the localized name of the configurable using the configurable
patrickdalla Feb 22, 2023
8c84eb7
Revert localization logic, as it is a resource from iped-app, not
patrickdalla Feb 22, 2023
c676b2c
Localized task name.
patrickdalla Feb 22, 2023
f8479a6
Localized property names.
patrickdalla Feb 22, 2023
1b3f07a
Localization bug correction.
patrickdalla Feb 22, 2023
8407131
Maintains a insertion order key list so the method keySet returns in
patrickdalla Feb 22, 2023
568e53f
Creates properties to load comments associated with properties.
patrickdalla Feb 22, 2023
247f921
Loads tooltip comment first from resource files and if not found from
patrickdalla Feb 22, 2023
65b5d7f
Some string externalization implementations
patrickdalla Feb 24, 2023
b9a5802
Some improvements of list search component.
patrickdalla Feb 24, 2023
3b74e97
Remoaval of unused references.
patrickdalla Feb 24, 2023
3f6fb2d
Shows localized tooltip for task.
patrickdalla Feb 24, 2023
efdd635
Notify selected config manager about the script task addition.
patrickdalla Feb 24, 2023
3eeb21b
Some more string localization.
patrickdalla Feb 24, 2023
4d99811
More string externalization.
patrickdalla Feb 24, 2023
34851cb
More string externalization code.
patrickdalla Feb 24, 2023
7cf3e6c
More string externalization
patrickdalla Feb 27, 2023
eee8d21
Script Task add implementations.
patrickdalla Feb 27, 2023
b8786b7
Improve add Script task UI.
patrickdalla Feb 28, 2023
7d373dd
Some string externalization.
patrickdalla Feb 28, 2023
1ff763c
Factory method removes to specific factory class. IConfigurablePanel
patrickdalla Mar 1, 2023
687b23a
Show again the checkbox as the setIcon made the checkbox hidden.
patrickdalla Mar 1, 2023
d765633
Changes the name of CategoriesToExpand config panel to a more generic
patrickdalla Mar 1, 2023
29e0e49
Correct configurable object loading and EnableTaskProperty lookup.
patrickdalla Mar 1, 2023
98f62dc
Created a class wrapper to identify configurables "equality". As
patrickdalla Mar 2, 2023
4ca1560
Adds checkbox to the panel tab if the respective configurable implements
patrickdalla Mar 2, 2023
d38417c
Adjust background color.
patrickdalla Mar 3, 2023
1824440
Reverting DefaultTaskPropertiesConfig incorrect abstract declaration.
patrickdalla Mar 7, 2023
5785b9f
Reverting personal local development environment adaptations erroneously
patrickdalla Mar 9, 2023
ea1fb6f
Using an already defined constant in IIPEDSource thoe represent the
patrickdalla Mar 9, 2023
7ca131f
Move component.
patrickdalla Mar 10, 2023
d8d8fe9
Correction of references to prior commit moved component.
patrickdalla Mar 10, 2023
5849897
Adaptations to prior commit moved component reference.
patrickdalla Mar 10, 2023
62761c6
Moving reusable component to more appropriate package.
patrickdalla Mar 10, 2023
3cc34e9
Complement of last commit.
patrickdalla Mar 10, 2023
9b49a79
Complementation to last commit.
patrickdalla Mar 10, 2023
50a50d2
wrap object configurable before removing it
FelipeFcosta Mar 10, 2023
1334845
-Some fixs to config panel
thiagofuer Mar 16, 2023
40d4763
save isEnableHashDb value only on saveConfiguration, read and write s…
FelipeFcosta Mar 20, 2023
1edbab3
save path even when hashesDB is disabled
FelipeFcosta Mar 21, 2023
5071d7b
load path of hashesDB from .txt file even when it's commented out
FelipeFcosta Mar 22, 2023
af6c179
Trying to solve UTF-8 encoding problems on loading xml files.
patrickdalla Apr 4, 2023
57d9235
Merge branch 'master'
lfcnassif Apr 25, 2023
df78e34
'#23: add missing save() method from Configurable interface
lfcnassif Apr 25, 2023
bd83e0b
'#23: fix NPE avoid UI to start, simplify CasePathManager code
lfcnassif Apr 25, 2023
1ac9b19
'#23: fix ClassNotFoundException avoiding UI to start
lfcnassif Apr 25, 2023
e9df752
'#23: fix IndexOutOfBoundsException causing UI to stop working
lfcnassif Apr 26, 2023
b56ef7e
'#23: simplify BootstrapHome class reusing code from Bootstrap
lfcnassif Apr 26, 2023
c4a51cd
-Update terminal output on processing
thiagofuer Apr 26, 2023
1193b0f
-Added Block size option for evidence
thiagofuer Apr 26, 2023
51977de
'#23: fix NPE in ThemeManager, adapt MainFrame to use current Look&Feel
lfcnassif Apr 26, 2023
6cd59e1
'#23: fix a NPE and enable current Look & Feel on config UI
lfcnassif Apr 26, 2023
a1f80e2
'#23: configure proper background colors on Tasks selection table
lfcnassif Apr 26, 2023
25d5fbb
'#23: fix NPE with some Look & Feels
lfcnassif Apr 26, 2023
0cadcbb
'#23: disable Theme setup for config UI
lfcnassif Apr 26, 2023
8d579c0
'#23: minor change to make Tab titles more readable (should be improved)
lfcnassif Apr 26, 2023
7edff34
Shows disabled checkbox for mandatory tasks.
patrickdalla May 22, 2023
30d7ca2
Adds spinner or checkbox components when the encountered parameter value
patrickdalla May 22, 2023
b7e8bcf
Merge branch '#23_UI_4_config_proc' of
patrickdalla May 22, 2023
0071de3
'#1341 Correcting last manual merge errors.
patrickdalla May 22, 2023
d31aadf
Changes event handling to a more appropriate one to monitor configurable
patrickdalla May 23, 2023
96567ea
Creates a singleton method to ConfigurablePanelFactory.
patrickdalla May 23, 2023
cef0e70
Creates a panel to handle FileSystemConfig object.
patrickdalla May 23, 2023
8035438
Implements persistence of FileSystemConfig changes via "evidence
patrickdalla May 24, 2023
0e85601
Adding some localization translations.
patrickdalla May 24, 2023
d41cfc5
Corrects parser name tree rendering.
patrickdalla May 24, 2023
ad69c44
Show categories tree node expanded on first opening.
patrickdalla May 24, 2023
59336e0
Shows root nodes expand handles
patrickdalla May 24, 2023
e58c4b9
Some more translations to portuguese.
patrickdalla May 24, 2023
b90b7ed
Shows veto message when changing tab while creating external parser.
patrickdalla May 24, 2023
f2e2a27
More string localization/translation. Refreshes textarea content when
patrickdalla May 24, 2023
e35f54e
last commit missing localization string.
patrickdalla May 24, 2023
8ffb8cd
Identify UI component to edit a property based on configurable class
patrickdalla May 25, 2023
cd3fbaa
Create default value method for property numImageReaders.
patrickdalla May 25, 2023
b9da6fd
Some more localization/translation.
patrickdalla May 25, 2023
18423b4
Creates default value method for numExternalParsers property.
patrickdalla May 25, 2023
8e8e2bb
Creates default value method for numThreads property.
patrickdalla May 25, 2023
cef7fc7
Implements field change event response to put profile in edit mode.
patrickdalla May 26, 2023
79457b3
Resets FileSystemConfig UI panel when profile edition is canceled.
patrickdalla May 26, 2023
8c3cc8d
Changes num of threads spinner model to AutoCalcSpinnerModel that show
patrickdalla May 26, 2023
3f0f71d
Enable direct value editing of spinners with AutoCalcSpinnerModel. If
patrickdalla May 26, 2023
02a6b4a
If textfield content of AutoCalcSpinnerModel spinner is blank, set the
patrickdalla May 26, 2023
69c7abc
Reverting the translation of commit, as it is a term more commonly used
patrickdalla May 29, 2023
993098c
Translation of carve related strings
patrickdalla May 29, 2023
c6b4788
Setup layout in away that only the tab panel is vertically resized on
patrickdalla May 29, 2023
76866ca
Corrects code to show selected profile correspondent configurable for
patrickdalla May 30, 2023
778fb74
Removes redundant call to profile selection event.
patrickdalla May 30, 2023
5ba24b0
Corrects script task loading logic.
patrickdalla May 30, 2023
b462512
Loads task config dialog configurables from current selected profile.
patrickdalla May 30, 2023
d545a7a
Localized message to warn about script editing scope.
patrickdalla May 31, 2023
9bdb5fb
Adding missing localization keys.
patrickdalla May 31, 2023
ef2373c
Adds missing localization key.
patrickdalla May 31, 2023
bdd0105
Removes wrong message key.
patrickdalla May 31, 2023
0e0215f
Add some task description tooltips
patrickdalla May 31, 2023
0764d14
Uses task title in tooltip if specific task tooltip does not exist in
patrickdalla May 31, 2023
37677bb
Updates photo dna search task title.
patrickdalla May 31, 2023
8d597b5
Localization for script tasks.
patrickdalla May 31, 2023
68f6f3a
Correct bugs on script loading.
patrickdalla May 31, 2023
5e61ee9
Delay script configuration loading util task list is shown. If any error
patrickdalla Jun 1, 2023
4a83d00
Prevents user from moving script tasks in task execution pipeline
patrickdalla Jun 2, 2023
0249ce3
Disable script edition when not inserting a new one.
patrickdalla Jun 2, 2023
c1dbd79
Replace RegRipperParser class reference access with repeated constant
patrickdalla Jul 10, 2023
bbac2f0
Puts the processing watch window as a fourth tab in the new case
patrickdalla Jul 10, 2023
bea9330
Separate stdout from stderr processing.
patrickdalla Jul 10, 2023
8be3e58
Adding comments to inform that the constants declared must have the same
patrickdalla Jul 10, 2023
7f46b73
Saves custom added script tasks in custom subfolder. Make logic to let
patrickdalla Jul 13, 2023
284e594
For python scripts checks compliance before saving. For javascripts,
patrickdalla Jul 13, 2023
e9742b8
Puts the relative path to the script in taskinstaller.
patrickdalla Jul 13, 2023
7b6830f
Does not enable the add task script button as this funcionality will be
patrickdalla Jul 14, 2023
f710b75
Removes erroneously pushed classes from other local branch.
patrickdalla Jul 26, 2023
0570ecc
Merge branch 'master' into #23_UI_4_config_proc
thiagofuer Jul 26, 2023
2303758
-In the final screen, change the "View Console Log" button to "View P…
thiagofuer Jul 26, 2023
1993b0a
Prepare the localization for all languages to send them to foreign co…
thiagofuer Aug 17, 2023
35988ed
-Bootstrap now initialize the gui if no args are passed
thiagofuer Aug 22, 2023
d4b4d39
Merge branch 'master' into Config_UI
lfcnassif Aug 23, 2023
abd47b5
-First modification of caseinfo on report
thiagofuer Sep 14, 2023
cae62f7
-Correção do BootStrap
thiagofuer Sep 14, 2023
ab455f5
-Report parcial refactoring
Sep 15, 2023
421ec26
-Primeira versão funcional do novo layout do arquivo caseinfo.json tr…
thiagofuer Sep 17, 2023
31e69d1
-automatically creates an -asap parameter to load caseinfo.json and a…
thiagofuer Sep 17, 2023
a096966
-Bug fix (update case info wrong data)
Sep 18, 2023
fe9f278
-Report parcial refactoring
Sep 18, 2023
2620634
-Localization bundle adjusts
Sep 19, 2023
fb0df43
-ProccesOption backbutton refactoring
thiagofuer Sep 19, 2023
5b5593a
-Added a refresh button to caseinfotab
Sep 20, 2023
52505c8
-Some improviments and bug fixs
thiagofuer Sep 20, 2023
b25f0db
-Some improvement refactoring
thiagofuer Sep 21, 2023
a0c27d3
Merge remote-tracking branch 'origin/master' into #23_UI_4_config_proc
patrickdalla Jun 5, 2024
f24a065
'#2088 Sets the current dir of File chooser of output folder to the
patrickdalla Jun 6, 2024
67ddfe4
'#2088 initializes script name class field variable executing getName
patrickdalla Jun 6, 2024
774a427
'#2088 Ignores null pointer exception when tooltip text does not exists
patrickdalla Jun 6, 2024
304de1f
'#1341 refactors OCRConfig not to exposes all IPEDConfig.txt properties
patrickdalla Jun 6, 2024
f0c24ab
'#1341 Calls setupParsingOptions earlier configuring Python env var.
patrickdalla Jun 6, 2024
56a3ae7
'#1341 loads enableOCR from OCRConfig only if it was not configured in
patrickdalla Jun 6, 2024
b19c50a
'#1347 Reverting to force the "true" value of enableOCR, be it defined
patrickdalla Jun 6, 2024
b0c1ef6
'#1341 If processing IPEDConfig.txt from profile, it applies enableOCR
patrickdalla Jun 6, 2024
15c4dd9
'#1341 Removes delayed python parser load, as it was making processing
patrickdalla Jun 10, 2024
5516de8
'#1341 Sets ipedRoot system variable as it is used to initialize JEP.
patrickdalla Jun 10, 2024
342cbe5
'#1341 Does not proceed with case info saving if cancel is clicked in
patrickdalla Jun 10, 2024
1133de7
'#1341 Does not load case when cancel is clicked in file chooser dialog.
patrickdalla Jun 10, 2024
7a353e9
'#1341 Avoid IndexOutOfBoundsException when rowindex passed is out of
patrickdalla Jun 10, 2024
1df5b4a
'#1341 Skip inaccessible folders when searching recursivelly for
patrickdalla Jun 11, 2024
1c4980e
'#1341 Corrects TempFileTask getConfigurables to return already created
patrickdalla Jun 11, 2024
3f9e66f
'#1341 Corrects resize logic not to crop last column carver text
patrickdalla Jun 11, 2024
9dfa139
'#1341 Do not show (...) in front of category names in UI Config.
patrickdalla Jun 11, 2024
373a3a7
'#1341 Creates a checkbox to represent a properties value if no
patrickdalla Jun 11, 2024
b041565
'#1341 Use JTextArea for text values greater than 100 caracters.
patrickdalla Jun 11, 2024
aa02633
'#1341 Correctly sync table task checkbox state with internal panel main
patrickdalla Jun 11, 2024
30ffd1e
'#1341 Uses checkboxes also for properties where configurable
patrickdalla Jun 12, 2024
3f77cad
'#1341 Moves enabledInterface panel checkbox to a position internal to
patrickdalla Jun 12, 2024
0b347e2
'#1341 List selection check before case removal to avoid index out of
patrickdalla Jun 12, 2024
bba1fe5
'#1341 Restore Messages class as in master.
patrickdalla Jun 12, 2024
4aade1d
'#1341 Align components at top.
patrickdalla Jun 12, 2024
067a1b0
'#1341 If exception message is null, shows exception class name.
patrickdalla Jun 13, 2024
f2cdb21
'#1341 Prepare for internationalization. Add key for Face Recognition
patrickdalla Jun 13, 2024
b389a6e
'#1341 Restoring CarverConfig from master.
patrickdalla Jun 13, 2024
fb4684a
'#1341 removing TBT from already translated entries
patrickdalla Jun 13, 2024
cb663ed
'#1341 removing unused imports
patrickdalla Jun 13, 2024
5171087
'#1341 removing unused list
patrickdalla Jun 13, 2024
b7753b1
'#1341 Updates CarverConfig.xsd
patrickdalla Jun 13, 2024
b00e387
Merge branch 'master' into Config_UI
lfcnassif Jun 29, 2024
72d9d25
'#23: create a new iped-gui.exe to make users aware about the new UI
lfcnassif Jun 29, 2024
d782418
'#23: update code to accept adding cases from last versions to multicase
lfcnassif Jun 29, 2024
50ec657
'#23: don't allow adding cases from iped v3
lfcnassif Jun 29, 2024
65578d7
'#23: fix multicase opening
lfcnassif Jun 29, 2024
236919f
'#23: removes unnused class
lfcnassif Jun 30, 2024
60c3d76
'#23: update iped-gui.exe to not open the console while running
lfcnassif Jun 30, 2024
ed5a187
'#23: organize imports and code formatting
lfcnassif Jun 30, 2024
f9c3594
'#23: warn and avoid adding physical drives when not running as admin
lfcnassif Jun 30, 2024
11c1097
'#23: update localization files with missing props, including French
lfcnassif Jun 30, 2024
501c138
'#23: removes UFD from supported types, add 000 and 001
lfcnassif Jun 30, 2024
b3ef5c9
'#1341 Enqueue onChange procedure in Swing thread to avoid NPE
patrickdalla Jul 1, 2024
18711ab
'#1341 Corrects autoCalcSpinner to accept "default" as an alternate
patrickdalla Jul 1, 2024
adf72ec
'#1341 Avoid NPE when JEP is to initialized.
patrickdalla Jul 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions iped-api/src/main/java/iped/configuration/Configurable.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,22 @@ default public void processConfigs(List<Path> resources) throws IOException {
*/
void setConfiguration(T config);

/**
* Writes a configuration resource found after applying the lookup filter.
*
* @param resource
* a configuration path where to save the necessary data.
*/
public void save(Path resource);


/**
* Resets the configurable state. Configurables that implements loading tecniques from multiple
* sources should use this to reset before reload, clearing any old loaded source.
*
* @param resource
* a configuration path where to save the necessary data.
*/
public void reset();

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@
public interface IConfigurationDirectory {

public static final String IPED_CONF_PATH = "iped.configPath";

public static final String IPED_ROOT = "iped.root";

public static final String IPED_APP_ROOT = "iped.app.root";

public void addPath(Path path);

public List<Path> getResourceLookupFolders();

public List<Path> lookUpResource(Predicate<Path> predicate) throws IOException;

public List<Path> lookUpResource(Configurable<?> configurable) throws IOException;

public String getName();
}
15 changes: 15 additions & 0 deletions iped-api/src/main/java/iped/exception/UIException.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package iped.exception;

/*
* @created 02/09/2022
* @project IPED
* @author Thiago S. Figueiredo
*/

public class UIException extends Throwable{


public UIException(String s) {
super(s);
}
}
55 changes: 22 additions & 33 deletions iped-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,29 @@

<artifactId>iped-app</artifactId>
<packaging>jar</packaging>

<properties>
<release.dir>${project.parent.build.directory}/release/iped-${project.version}</release.dir>
<parent.root>${resources.dir}/../..</parent.root>
</properties>

<dependencies>
<dependency>
<groupId>iped</groupId>
<artifactId>iped-engine</artifactId>
<version>${project.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.fifesoft/rsyntaxtextarea -->
<dependency>
<groupId>com.fifesoft</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>3.3.2</version>
</dependency>
<dependency>
<groupId>com.fifesoft</groupId>
<artifactId>autocomplete</artifactId>
<version>3.3.1</version>
</dependency>
<dependency>
<groupId>iped</groupId>
<artifactId>iped-geo</artifactId>
Expand Down Expand Up @@ -53,7 +64,7 @@
<version>5d6b903557dac49a925a7a62d5c6592bd07482c5</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -94,7 +105,7 @@
<goals>
<goal>analyze</goal>
</goals>
</execution>
</execution>
<execution>
<id>unpack-jre</id>
<phase>package</phase>
Expand Down Expand Up @@ -571,7 +582,7 @@
</artifactItem>
</artifactItems>
</configuration>
</execution>
</execution>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
Expand Down Expand Up @@ -632,7 +643,7 @@
<finalName>iped</finalName>
<outputDirectory>${release.dir}</outputDirectory>
<forceCreation>true</forceCreation>
<archive>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
<manifest>
<addClasspath>true</addClasspath>
Expand All @@ -641,32 +652,10 @@
</manifest>
<manifestEntries>
<SplashScreen-Image>iped/app/splash/iped.png</SplashScreen-Image>
</manifestEntries>
</manifestEntries>
</archive>
</configuration>
</execution>
<!--execution>
<id>create-gui-jar</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<excludes>
<exclude>*.netbeans_automatic_build*</exclude>
</excludes>
<finalName>iped-gui</finalName>
<outputDirectory>${release.dir}</outputDirectory>
<forceCreation>true</forceCreation>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>br.gov.pf.labld.cases.CaseManagement</mainClass>
</manifest>
</archive>
</configuration>
</execution-->
<execution>
<id>create-search-jar</id>
<goals>
Expand All @@ -676,15 +665,15 @@
<finalName>iped-search-app</finalName>
<outputDirectory>${lib.dir}</outputDirectory>
<forceCreation>true</forceCreation>
<archive>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>iped.app.bootstrap.BootstrapUI</mainClass>
</manifest>
<manifestEntries>
<SplashScreen-Image>iped/app/splash/iped.png</SplashScreen-Image>
</manifestEntries>
</manifestEntries>
</archive>
</configuration>
</execution>
Expand Down Expand Up @@ -729,7 +718,7 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
Expand Down Expand Up @@ -859,5 +848,5 @@
</configuration>
</plugin>
</plugins>
</build>
</build>
</project>
2 changes: 1 addition & 1 deletion iped-app/resources/config/conf/CarverConfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -432,4 +432,4 @@
-->
</carverTypes>

</carverconfig>
</carverconfig>
Loading