bruvellu / cifonauta

Marine biology image database by CEBIMar/USP
http://cifonauta.cebimar.usp.br
GNU General Public License v3.0
21 stars 5 forks source link

Fix/coauthor table #248

Closed Felyppe1 closed 10 months ago

Felyppe1 commented 11 months ago

In this branch, I've added the license field to be reviewed when a published media is modified, but the user can only change this field to a less restrictive option. I've removed the model LoadedMedia, now the process is handled by the new status loaded, eliminating the need to delete the record from one model and creating it in another when finishing the upload. Additionally, the media files now go into a subfolder named after the user who uploaded them. The list pages now include actions to overwrite the field taxa (the only one for now) and change the status depending on the view. These pages also have pagination (12 records per page). An email is also sent to the user who uploaded the media to notify whether it was edited or published (this functionality works on both the individual page and the list page).