Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added sonarcloud as linter and also .editorconfig file for the formatter (#2) * Added sonarcloud as linter and also .editorconfig file for the formatter * Moved github actions * Changed project structure to work * Updated to java 17 * Fixed smells * Added exclusion for sonarcloud * Added root for config file Co-authored-by: Joshua Lehmann <[email protected]> * Add md-file to explain gui mockups The gui.md file explains the library, album, attribute-editor sidebar and update mockups. * Add javafx and maven plugins, javafx dependencies * Add directories, classes and fxml file for javafx * ImageMetaManager-5 Updated to the latest javaFX version to fix build issue. * Added logger (#7) * Add logging dependencies * Added slf4j and logback for logging * Added configuration file for logback Co-authored-by: leonardo.lang <[email protected]> * Add use case diagram (#9) * ImageMetaManager-4 Added files for use case diagram * ImageMetaManager-4 Added diagram and some description * ImageMetaManager-4 Added description for use case diagram * Beschreibung für Metadaten UseCases hinzugefügt. * Updated table of contents * Image meta manager 8 json storage (#10) * ImageMetaManager-8 Removed the module-info.java since it is no longer needed * ImageMetaManager-8 Added album entity and first test to write jo json file * #8 Added a unit test * #8 Configured code coverage report * #8 Changing test to work in pipeline and added album file * #8 Removed test code from main method * Fix fxml path argument Added the parent folder to the fxml path for it to work on VSCode. * #8 Added new methods to interact with albums and images * #5 Added tests and improved file handling * #5 Improved Test coverage * #5 Improved Test coverage Co-authored-by: leonardo.lang <[email protected]> * Update gitignore to exclude logs * Add logging dependencies * Added slf4j and logback for logging * Added configuration file for logback * Add basic scenes layout * #8 Configured code coverage report * #8 Changing test to work in pipeline and added album file * #8 Added new methods to interact with albums and images * Add scenes and controller methods * Remove unused primary view * Removed module info * Change to scenes instead of tabs * #13 Added first draft of album gui * #13 Added first draft of album gui * #13 Added first version of album overview page and possibility to open an album * #13 Lower code coverage, can be increased again later * #13 Removed controllers form code coverage for now * #13 Fixed tests * wip: Update album view to display images * wip: Add initialize and createImagePane methods * Remove unused imports * wip: Update createImagePane, initializeAlbum methods Refactor the initialize method to initializeAlbum because initialize is executed before the album is received through the SceneController. * wip: Update album view to display images * Remove unused GridPane from album view * Update createImagePane method to utilize ColumnConstraints ColumnConstraints allow an easier layout setup for the imageMetaPane. * Fix column overflow in initializeAlbum method * Fix code smells * Refactor album controller to use a method for the label creation * 17 improve library gui (#18) * #17 Albums are now placed correctly in the grid * #13 You can now add a new album to the library * #13 Removed unnecessary method * #13 Fixed tests * #13 Fixed code smell * Add delete button to album view * Update imports * Update imagePane method to style selected images * Add method to update album status * Add method to delete selected images * Fix initializeAlbum method After deleting the selected images, they were still shown. This is not a desired state to be in, so the imageGrid's children get cleared to avoid this behavior. * Fix deleteImage method If the deletion process was cancelled the selected images were still selected. This selection should be removed after cancelling the deleltion process. If the user tried to delete no images, he was not alerted that this is an invalid operation. * Fix bugs String was compared using equals operator instead of equals method. The confirmation choice has to be present before it's value can be compared to a desired value. * Fix code smells Remove unnecessary System.out usages. Use the isEmpty method to check if a list is empty or not. * Refactor to use descriptive variable names * Refactor to use a class level ImageService * Refactor deleteImage method for readability * #17 Removed static * Added placeholder image * Album add image (#20) * Add an add button in the GUI to add new images * Add an addImage method to add new images * Fix status label alignment Within an HBox the status label can not be positioned in the center (vertically and horizontally). A VBox resolves this issue. * Remove unused IOException * Add method to write default directory to JSON The default directory is used to open the explorer in the last directory it was opened, when an image was added. The directory was not stored permanently and afer every restart of the application the default directory would be reset. * Add method to get the default directory from JSON * Remove unused imports and variables * Fix code smells * Add image view to edit an image's metadata * Add ImageController * Add changeScene method Because the AlbumController will not use an Event to change scenes the current changeScene method can't be used. A new changeScene method with a Scene instead of an Event as a parameter solves this. * Add empty method and set ImageController as view controller * Add edit button to album controller * Add editImage method * Fix column constraint usage * Update initializeImage method to display metadata * Change layout of image view The horizontal layout with the image and the metadata description next to each other only allowed a small image. A vertical layout allows the image to be bigger while still having enough space to display metadata descriptions. * Refactor warnUser to alertUser method By passing the AlertType as an argument the alertUser method can be used for all kinds of alerts. * Fix minor code smell * Fix instanceof check and cast with pattern matching * #12 Improved the changeScene method to only one method used * #12 Allow preview features to allow switch statement in SceneController.java * Revert "#12 Allow preview features to allow switch statement in SceneController.java" This reverts commit 180850e. * Refactor switch to if-else statement The switch statement would only work with the preview feature but VSCode doesn't support it correctly. * Fix addImage method After adding an image a case occured where a selected image couldn't be edited, because more than one image was selected. Clearing the image selection after adding an image resolves this issue. * Add go back button (#23) * Add condition to check if data is null * Add Library button to go back to the library * Add goToLibrary method Currently there's no way to go back to the library view, once we're in the album view. The goToLibrary method allows the user to go back to the library view. * Add Album button to go back to the album * Add method to get Album by id * Add goToAlbum method * Added test to full fill test coverage --------- Co-authored-by: joshua-lehmann <[email protected]> * Add method to get the default directory from JSON * #16 Added imaging library and created empty service * #16 First draft of exif service * #16 first draft of exif service * #16 Added methods to get standard and extended tags in a map together with the label * #16 Removed unused ENUM * #16 Fixed duplicate var * #16 Fixed tests * #16 Fixed tests * Refactor to display actual exif tags * Remove unused method exportImageValues * Add initialize method to ImageController * Refactor to display actual exif tags * Remove done TODO * Add documentation (#26) * Remove unused md-file * Add md for documentation * Add link to documentation in README * Add user documentation for each view * wip:Documentate implementation * Add application images * wip:Add images to documentation * wip:Documentate implementation * Add condition to check if album image capcity is reached * Add isLibraryFull method * doc:Add hints about max capacity of library and album * Fix code smell * #16 implement exif tag writing (#28) * #16 First version * #16 Added possibility to write exif tags * #16 Added possibility to write exif tags * #16 You can now update exif tags in the GUI * doc:Update image view documentation --------- Co-authored-by: leonardo.lang <[email protected]> * Add interface (#29) * #16 Added more documentation and an interface * Fix wrong names * Fixed typos * Added TOC * Removed border --------- Co-authored-by: Joshua Lehmann <[email protected]> Co-authored-by: leonardo.lang <[email protected]> Co-authored-by: theGreyPilgrim42 <[email protected]>
- Loading branch information