Closed dboling19 closed 2 years ago
Addresses issue #45
Added a .php-version
file to specify the php version Symfony uses. This is easily changed later should the project ever be updated to a newer PHP version.
The .gitignore
file had to be updated to better fit the directory structure and keep the required directory /public/uploads/files/
in git files, while leaving any user/test files within behind.
Description
Adds the ability for users to add files to announcements. Only one file can be added currently. File deletion, updating, and reupload all works. Moderators can view the files and remove or change files as needed during moderation. Files are opened in a new tab in the user's browser, and can be downloaded through the browser after opened.
Type of change
How Has This Been Tested?
Tests are added to confirm when a file is added, the correct file was added. If the contents or filename is different, the test confirms that there was a change and will fail.
Checklist: