DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:archiveupload

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:archiveupload [2013-09-18 18:55] Aleksandrplugin:archiveupload [2024-02-07 22:39] (current) Aleksandr
Line 1: Line 1:
-====== Plugin ArchiveUpload ======+====== ArchiveUpload Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Allows to extract an archive (.zip/.tgz/.tar/.tar.gz/.gz) on upload.+description: Allows to extract an archive (.zip/.tgz/.tar/.tar.gz/.gz) on upload
 author     : Michael Klier author     : Michael Klier
 email      : chi@chimeric.de email      : chi@chimeric.de
 type       : action type       : action
-lastupdate : 2009-05-21 +lastupdate : 2020-08-26 
-compatible : > 2009-02-14, 2008-05-05+compatible : Ponder Stibbons
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : upload, archive +tags       : upload, archive, !discontinued 
-downloadurl: http://cloud.github.com/downloads/chimeric/dokuwiki-plugin-archiveupload/plugin-archiveupload.tgz + 
-bugtracker : https://github.com/chimeric/dokuwiki-plugin-archiveupload/issues +downloadurl: https://github.com/turnermm/dokuwiki-plugin-archiveupload/archive/master.zip 
-sourcerepo : https://github.com/chimeric/dokuwiki-plugin-archiveupload/+bugtracker : https://github.com/turnermm/dokuwiki-plugin-archiveupload/issues 
 +sourcerepo : https://github.com/turnermm/dokuwiki-plugin-archiveupload
 ---- ----
 +====  The current download has limitations ====
  
-^ Download | [[http://cloud.github.com/downloads/chimeric/dokuwiki-plugin-archiveupload/plugin-archiveupload.tgz|plugin-archiveupload.tgz]] | +The original author's version does not work with the upgraded media managerThe ''Forked Update'' currently addresses this issueIf the new media manager is updated and then works with this plugin the fork will no longer be needed.
-^ Github URL | [[https://github.com/chimeric/dokuwiki-plugin-archiveupload]] | +
-Forked Update  | [[https://github.com/turnermm/dokuwiki-plugin-archiveupload/archive/master.zip]]|+
  
-The original author's version does not work with the upgraded media manager.  The ''Forked Update'' currently addresses this issue If the new media manager is updated and then works with this plugin the fork will no longer be needed.+Additionally, there are issues with the TARLib module employed by this pluginConsequently, in these cases it will unpack only zip files. 
 +--- [[user>turnermm|Myron Turner]] //2013/06/03 17:25//
  
-Additionally, there seem are issues with the TARLib module employed by this plugin.  Consequently, in these cases it will unpack only zip files. +Not functional in current versions of media mananger. --- [[user>turnermm|Myron Turner]] //2016-08-26 11:26//
---- [[user>turnermm|Myron Turner]] //2013/06/03 17:25//  +
- +
  
 ===== Description ===== ===== Description =====
 +
 This Plugin allows you to extract an archive directly on upload. It does all the mime-type and security checks DokuWiki normally does. Currently supported archive types are: ''.zip .tgz .tar .tar.gz .gz''. Once installed, it adds another checkbox to the upload form which, when ticked, will cause the plugin to try to extract the uploaded file as an archive. This Plugin allows you to extract an archive directly on upload. It does all the mime-type and security checks DokuWiki normally does. Currently supported archive types are: ''.zip .tgz .tar .tar.gz .gz''. Once installed, it adds another checkbox to the upload form which, when ticked, will cause the plugin to try to extract the uploaded file as an archive.
  
-{{http://www.chimeric.de/_media/projects/dokuwiki/plugin/archiveupload/screenshot.png}} +{{https://trello.com/1/cards/5afe99cb256ee371033f4730/attachments/5afe9a41166f5c6239e5d70e/download/archiveupload.png?recache}}
  
 ===== Installation ===== ===== Installation =====
-Download the archive and unpack it into ''<dokuwiki>/lib/plugins''+Install using the Extension Manager.
- +
-  * [[http://cloud.github.com/downloads/chimeric/dokuwiki-plugin-archiveupload/plugin-archiveupload.tgz|.tgz]] Plugin Manager. +
-   +
-The plugin is also available via git. +
- +
-<code> +
-% cd <dokuwiki>/lib/plugins +
-% git clone git://github.com/chimeric/dokuwiki-plugin-archiveupload.git archiveupload +
-</code>+
  
 + 
 ===== Configuration ===== ===== Configuration =====
 +
 This plugin has no configuration options. This plugin has no configuration options.
  
 ===== Changelog ===== ===== Changelog =====
-A complete changelog can be found [[http://github.com/chimeric/dokuwiki-plugin-archiveupload/commits/|here]]. 
  
-{{rss>https://github.com/chimeric/dokuwiki-plugin-archiveupload/commits/master.atom 10 1d date}}+A complete changelog can be found [[https://github.com/chimeric/dokuwiki-plugin-archiveupload/commits/|here]]. 
 + 
 +{{rss>https://github.com/chimeric/dokuwiki-plugin-archiveupload/commits/master.atom date}}
  
 ===== Bugs / Feature Requests ===== ===== Bugs / Feature Requests =====
 +
 Please report bugs and feature requests at the [[https://github.com/chimeric/dokuwiki-plugin-archiveupload/issues|bug tracker]]. Please report bugs and feature requests at the [[https://github.com/chimeric/dokuwiki-plugin-archiveupload/issues|bug tracker]].
  
Line 60: Line 54:
 ==== Ignoring Directories ==== ==== Ignoring Directories ====
  
-I've made a slight modification to my version: giving the option for directories to be ignored.  Essentially, the user might have zipped the files in the current directory, might have zipped them from the directory above... there is no way of knowing until the files have been uploaded, and then it's a bit of a pain to move them.+I've made a slight modification to my version: giving the option for directories to be ignored. Essentially, the user might have zipped the files in the current directory, might have zipped them from the directory above... there is no way of knowing until the files have been uploaded, and then it's a bit of a pain to move them.
  
 So, a few minor tweaks:- So, a few minor tweaks:-
Line 91: Line 85:
 ==== Firing MEDIA_UPLOAD_FINISH? ==== ==== Firing MEDIA_UPLOAD_FINISH? ====
  
-One thought that I've had - and I've not looked at whether this works or is feasible - I reckon that the ''MEDIA_UPLOAD_FINISH'' event should be fired for all of the uploaded files.  For example, if I want to resize uploaded images to conform to a maximum size, I can't upload them by archive.  +One thought that I've had - and I've not looked at whether this works or is feasible - I reckon that the ''MEDIA_UPLOAD_FINISH'' event should be fired for all of the uploaded files. For example, if I want to resize uploaded images to conform to a maximum size, I can't upload them by archive.
  
-So, is it technically feasible to modify the action plugin to repeatedly fire MEDIA_UPLOAD_FINISH for each file uploaded?  (Or am I talking nonsense and it does this already :-P)  -- [[public@ssbd.net|Andy Turner 2009-07-14 13:42]]+So, is it technically feasible to modify the action plugin to repeatedly fire MEDIA_UPLOAD_FINISH for each file uploaded? (Or am I talking nonsense and it does this already :-P)  -- [[public@ssbd.net|Andy Turner 2009-07-14 13:42]]
plugin/archiveupload.1379523355.txt.gz · Last modified: 2013-09-18 18:55 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki