[<]Es folgt demnächst die Version 3.3.0 mit einigen Neuerungen. Da in 3.2.9 "nur" die Sordierung angepasst wurde, muss das Modul noch nicht zwingend aktualisiert werden. Der Fehler bei der Sortierung tritt nur bei Sortierung nach Dateiname und leerem Titel der Datei auf.[/b]
2013-01-30 Neue Version 3.3 erschienen.
2013-01-28 Neue Version 3.2.9 erschienen.
2012-05-25 Neue Version 3.2.8 erschienen.
2010-06-08 Neue Version 3.2.7 erschienen.
2010-04-22 Neue Version 3.2.6 erschienen.
2010-03-01 Neue Version 3.2.4 erschienen.
2010-02-14 Neue Version 3.2.3 erschienen.
2009-08-23 Neue Version 3.2.2 erschienen.
2009-08-13 Neue Version 3.2.1 erschienen.
2009-06-19 Neue Version 3.2 erschienen. Bei Upgrade unbedingt README Punkt 6 lesen!
2009-06-06 Neue Version 3.1 erschienen. Diese ist nur mit PHP 5 und höher und Contenido 4.8.x und höher kompatibel. Bei Upgrade unbedingt README Punkt 6 lesen!
2009-02-28 Neue Version 3.0 erschienen. Diese ist nur mit PHP 5 und höher kompatibel.
Den direkten Download der aktuellen Version gibt es hier.
Die Übersicht über alle Versionen gibt es hier.
Readme:
Code: Alles auswählen
/***********************************************
* README + INSTALLATIONSANLEITUNG
* MODUL Up-Download
*
* Modulname : Up-Download
* Author : Andreas Dinkelacker
* Copyright : Andreas Dinkelacker
* Created : 30.01.2013
* Version : 3.3
* License : GNU/GPLv2 only (http://www.gnu.org/licenses/gpl-2.0.html#TOC1)
************************************************/
1. Lizenzinformationen
2. Voraussetzungen
3. Installation
4. ToDos
5. Known BUGs
---------------------------------------------------------------------------------------------------
1. Lizenzinformationen & Allgemeines
Das Modul Up-Download steht unter der GNU/GPLv2 only.
Für die private und kommerzielle Nutzung müssen keine Lizenzgebühren entrichtet werden.
Bei Weitergabe der originalen oder einer abgeänderten Version müssen alle Hinweise auf das
Copyright erhalten bleiben.
Das Modul darf nicht gegen Geld veräußert werden. Davon ausgenommen ist die Arbeitszeit das
Modul z.B. bei einem Kunden zu installieren und einzurichten.
---------------------------------------------------------------------------------------------------
2. Voraussetzungen
Getestet ist das Modul mit folgenden Contenido-Versionen:
* 4.8.11 mit und ohne ModRewrite 0.5.3
* 4.8.12 mit und ohne ModRewrite 0.5.4
Das Modul ist nicht mit Contenido 4.6.x kompatibel!
Desweiteren gelten die Systemvoraussetzungen von Contenido selbst.
Durch die Benutzung der PHP-Funktion scandir() ist PHP 5 vorausgesetzt.
---------------------------------------------------------------------------------------------------
3. Installation
a. Entweder die Datei up-download.css in die Seite einbinden oder den Inhalt in den eigenen
Stylesheet, der verwendet wird einfügen.
b. Zwei Modul-Templates anlegen und jeweils den Code von up-download.html oder
up-download_forms.html einfügen
c. Neues Modul erstellen und die Datei Up-Download_3.1.xml importieren und speichern.
d. Alle Dateien im Ordner cms/images/ des ZIPs in das entsprechende Mandantenverzeichnis
auf dem Server kopieren
e. Ggf. einen neuen Ordner im Mandantenverzeichnis im Unterordner "upload" erstellen
f. Template mit diesem Modul anlegen
g. Kategorie und/oder Artikel anlegen und das entsprechende Template zuweisen und nach
eigenem Bedarf konfigurieren
---------------------------------------------------------------------------------------------------
4. ToDos
* Reload-Erkennung einbauen
* Suche einbinden (dafür sind die Keywords gedacht)
---------------------------------------------------------------------------------------------------
5. Known BUGs
---------------------------------------------------------------------------------------------------
Code: Alles auswählen
CHANGELOG
=========
v. 3.3 (30.01.2013)
* [new] added salt for fileID not to be guessable (value 23)
* [new] define user group who is allowed to download files per link, even if the download is invisible (value 24)
* [new] send an email on download to the admins to be informed (value 25)
* [new] rename folders if the FE-User is admin or editor
* [new] replace special characters for files and folders (especially umlauts and "linux-unfriendly" characters)
* [new] delete folders including all files and subfolders
* [update] restructured variable inialization (set them on top of code with comments)
* [update] removed upgrade mechanism from 3.x and 3.1 to 3.2
* [update] removed unused function sys_get_temp_dir()
* [bugfix] remove HTML in description and title of a file, if editor mode is set to plain text
* [bugfix] FE-Users who are editors are only allowed to set on-/offline and edit and create folders
* [bugfix] FE-Users who are delete users are allowed to delete files and empty folders
v. 3.2.9 (28.01.2013)
* [bugfix] fixed sorting by filename, if medianame is not set (order by medianame, then by filename)
v. 3.2.8 (25.05.2012)
* [new] Show status of upload (based in granted access to the temporary directory
of your webserver - should work if uploads via HTTP are possible)
* [new] Admins now can be notified without giving their approval of the file.
It can be defined, what information should be contained in the mail.
Added a seperate checkbox to enable approval of a file.
* [new] For FE-Users now a separate upload folder is created (in the upload folder
given in the config of the template). The FE-User only is able to up- and
download files into his own folder. Admins can see all folders and browse
them. The FE-Users only have permissions to upload, download and delete files.
* [update] If non admins are allowed to upload, but no filesize for upload is defined, an error is displayed
* [bugfix] if a file is deleted stay in current folder
* [bugfix] fixes issue while using mod_rewrite
* [bugfix] changed calculation of maximum filesize (using factor 1024 instead of 1000)
v. 3.2.7 (08.06.2010)
* [bugfix] again: improved sorting (considering used language)
v. 3.2.6 (22.04.2010)
* [update] improved sorting (considering filename and medianame)
v. 3.2.5 (22.03.2010)
* [bugfix] built correct URL on using AMR
v. 3.2.4 (01.03.2010)
* [bugfix] on mod_rewrite usage the bas URL was build with errors on using
folder option
v. 3.2.3 (14.02.2010)
* [bugfix] increase id in table con_sequence (was wrong field name)
* [bugfix] download same files on different language pages with according language meta data
v. 3.2.2 (23.08.2009)
* [bugfix] if no subfolder exist but some files, no new folder could be created
v. 3.2.1 (13.08.2009)
* [bugfix] save next id in database to avoid problems on uploading files
via "Dateiverwaltung"
* [bugfix] when option for creating and deleting folders is set to "nein",
the template placeholder is not set.
* [bugfix] when no folder exists the "add folder" button is invisible
v. 3.2 (19.06.2009)
* [new] option to add files which are in the filesystem but not
in the database automatically (for admins and editors only)
* [new] add and delete folders when configured (deletion of empty
folders only). This option is for admins only.
* [new] set files online or offline by clicking image
* [new] show or hide sorting arrows in Frontend
* [new] define default sorting and show active sorting
headline in bold letters
* [update] merged two functions getMime() and getFileTitle()
* [update] removed WYSIWYG option from title field (not useful)
* [update] show only read-, write- and executable folders in module config
* [bugfix] when metadata is inserted in "Dateiverwaltung" the output
was not correct
* [bugfix] used internal_notice (table con_upl_meta) for file status
instead of status (table con_upl) to avoid problems in
"Dateiverwaltung"
* [bugfix] sort files by status (using table con_upl_meta field internal_notice)
* [bugfix] write uploaded file after file was uploaded successfully
v. 3.1 (06.06.2009)
* [new] show file icons for known types (thus added new funtion)
* [new] choose between "show files of one folder" and "even show subfolders"
* [new] show loading bar on uploading file (and hide formular)
* [new] sort files which are present in the database
* [new] show files which are not present in the database in a
separate box below the other files
* [new] count number of downloads and show them
* [new] add keywords to a file
* [new] options (configuration) now are exactly shown. Unneeded
options are faded out (especially on configuring Upload)
* [new] images now are base64 embedded
* [new] don't show upload form in backend
* [new] fold and expand upload dialog (NOT in editing mode)
* [new] show date of last change
* [new] description now can be plain text or WYSIWYG text
* [new] if a file is edited, this line is highlited (class .edit)
* [update] if you edit a file, the filename is displayed below the browse field
* [update] improved user rights management
* [update] fixed margin and padding around "Last Change" paragraph
* [update] improved rights management and replaced separators for entries
* [update] show linebreaks on not using plain text (title/description)
* [update] fixed sorting for size (filesize is provided as string)
* [update] moved online/offline image to the other action
* [update] now using images for sorting list
* [bugfix] show tinyMCE only if wysiwyg is active and user is allowed to upload/edit
v. 3.0 (27.02.2009)
* [new] added translation for english
* [new] added new button to save admins on the fly
* [new] define sender name and email on activated notification
* [new] added new button to activate new files (only if according option is activated)
* [new] notify selected Admins on new upload (via e-Mail)
* [new] file status is set to "1" in DB con_upl for inactive files
* [new] edit users and admin are able to confirm uploads (with the according settings)
* [new] add/remove file to/from DB
* [new] confirm file deletion
* [new] did some layouting stuff
* [update] renamed filesize 'Bytes' to 'B' in function parseByteSize()
* [update] optimized and aggregated several if-loops into one big if-elseif loop
* [update] folders are listed by using scandir() (folder depth=4) - only PHP5 compatible
* [update] read files from database and from filesystem
* [update] enhanced detection of folders "." and ".."
* [bugfix] case insensitively sort files (even files read from filesystem)
v. 2.6 (23.01.2009)
* [new] put all styles into a stylesheet file
* [new] added templates up-download.html and up-download_forms.html
* [new] detect mime-type (deliberated I didn't use mime_content_type() )
* [new] distinguish between Contenido using and not using mod_rewrite
* [new] use database to handle all files
* [new] add a description to the uploaded file
* [new] edit each file and replace the file or change the description (if the user is allowed to do)
* [update] optimized user management to use user ID instead of username
* [update] deletion was performed by clicking a lilnk, now it is a button
* [update] added forum link to the module thread
* [update] all texts now can be translated
* [bugfix] fixed umlauts
v. 2.5 (05.11.2008)
* [update] XML File konnte in Contenido 4.8.x nicht eingebunden werden. HTML-Tags wurden entfernt.
v. 2.4 (12.09.2008):
* [new] Wenn keine Datei angegeben wird und auf "upload" geklickt wird,kommt eine Fehlermeldung
* [new] Bei Klick auf herunterladen wird über der Download über die headers aufgerufen (Pfad kann verdeckt werden)
* [update] Anpassungen fuer Ordnerauswahl (getestet mit PHP5)
v. 2.3:
* [update] Aufruf des Formulars nach idcat, idart und idcatart wird nun unterschieden
v. 2.2:
* [bugfix] JavaScript-Problem bei User-Auswahl behoben (danke an tinof)
* [bugfix] Dateisystem auslesen fuer Ordnerauswahl in PHP5 korrigiert (danke auch an tinof)
* [bugfix] Download per Meta-Tag auch fuer PHP5 angepasst (wieder tinof)
v. 2.1 (15.03.2007):
* [update] Einstellung der Tabellenbreite per Konfiguration
* [bugfix] Bei leeren Ordnern kann in der Konfiguration eine Fehlermeldung angegeben werden
* [bugfix] Dateien werden ueber den IE direkt angezeigt, daher ist der Name der Datei nun auch ein Link fuer einen Rechtsklick gedacht
v. 2.0 (01.12.2006):
* [new] Anzeige aller FE-User in SELECT-Box (Drag'n'Drop per Klick auf FE-User)
* [new] Download einer Datei erfolg ueber META-Tag (speichern ohne "Rechtsklick -> Ziel speichern unter..." moeglich)