Image.java - Added "hidden" variable. We do not want to show the picture to the LocationScout unitl the photo is approved by admin.
Location.java - Added the OrderBy annotation to the Images collection.
AdminController.java - Added the setupReviewPhotoHistory method to prepare for viewing a history of photos in the system.
FileController.java - Added setting the uploaded Image hidden to true for the newly uploaded pictures. Added message to display to the user if they need to pay for the next uploaded image.
LocationProviderController.java - Added checking for duplicate Locations. If is duplicate show warning to the user and do not add the location. This was put into prevent the user from adding multiple locations for the same property to get around paying for images. Changed the name of gotoAddPhoto to setupAddPhoto to be consistent with other methods when going to a new page. In setupAddPhoto check for max free photos. If at max add error message to display to the user.
LocationType.java - Added new locations to the enum.
PhotoPLayType.java - Added String functionality.
DuplicationLocationException.java - New exception that is thrown if the user tries to add duplicate locations.
LocationProviderServiceImpl.java - New validateLocation method to prevent add duplicate locations.
GlobalVars.java - Added new LocationTypes to the dropdown displayed to the LocationScout. Added new String object for displaying Credit Card messages. The variables are currently empty Strings.
lmStyle.css - Added new font size of 14.
addLocation.jsp - Added error message to display adding duplicate Locations.
addPhoto.jsp - Added displaying the number of free photos remaining. Changed the name of the nextPage variable to be that of the template name. Added message to display if the user needs to start paying for photos.
editLocation.jsp - Changed the name of addPhoto button to Add New Photos. Changed the deletePhoto button to managePhotos instead. The user is not longer allowed to delete photos. They can hide photos they do not want to show on the managePhotos.jsp page.
managePhotos.jsp - New page for managing photos for a particular Location.
viewLocationPhotos.jsp - Added the Location information displayed above the pictures. Only display Approved and unhidden photos.