Yukki::Web::Controller::Attachment - Controller for uploading, downloading, and viewing attachments
version 0.991_005
Handles uploading, downloading, and viewing attachments.
Maps download requests to "download_file", upload requests to "upload_file", and view requestst to "view_file".
my $file = $self->lookup_file($repository, $path);
This is a helper for locating and returning a Yukki::Model::File for the requested repository and path.
Returns the file in the response with a MIME type of "application/octet". This should force the browser to treat it like a download.
Returns the file in the response with a MIME type reported by "media_type" in Yukki::Model::File.
Handles attachment renaming via the page rename controller.
Displays the remove confirmation.
This uploads the file given into the wiki.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
This software is copyright (c) 2017 by Qubling Software LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Yukki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yukki
CPAN shell
perl -MCPAN -e shell install Yukki
For more information on module installation, please visit the detailed CPAN module installation guide.