View Source Elph.Contents.MediaUpload (elph v0.9.1)

MediaUpload is the abstract representation for files that can be uploaded to the server. MediaUploads have to be transformed into concrete content types later on. Those types can be found in Elph.Content.Types.* or be defined by the user. Right now uploading only handles elph media types. This has to be made configurable.

Link to this section Summary

Link to this section Functions

Link to this function

add_title_filename_and_extension(changeset)

View Source
Link to this function

move_file_to_storage(changeset)

View Source
Link to this function

validate_file_exists(changeset)

View Source
Link to this function

validate_filetype(changeset)

View Source
Link to this function

validate_new_path(changeset)

View Source