Initial commit for mediaController and mediaRoutes
Implemented getModelType and getModelInstance methods
Using multer to process multipart/form-data
Added Media model. MediaController saves file uploads as media instances
Fully implemented media upload
Moved permissions-generation related code out of EventsSchema and into baseContentModel
Media is attached to content upon save
Added permissions related properties to Media model
Added media property to baseContentModel
Media creation cleanup
Removed media property from base model, added back to event model
Granting media creator elevated permissions
Media instances generate slug
Media creation requires login
Added other basic CRUD API operations to media routes + controller
Fixed error in baseContentModel. Added TODO to bootstrapped
Added ability to get media info without rendering the file. Added ability to exclude fields from base.show response.
Added ability to specify permissions granted to anonymous users
Fixed typo
Media Model specifies permissions to grant to anonymous users