History log of /dokuwiki/inc/media.php (Results 301 – 325 of 337)
Revision Date Author Comments
# c44b968d 20-Jul-2008 Anika Henke <a.c.henke@arcor.de>

removed all occurrences of onkeypress (FS#1449)

darcs-hash:20080720110738-d5083-50a92498622bd6ca9850da8f9417974fb39ccc3d.gz


# 9676dc23 15-Jul-2008 Andreas Gohr <andi@splitbrain.org>

Check file size of uploaded data

This will abort the upload process when the uploaded temp file has zero bytes.
This can occur when the disk is full.

darcs-hash:20080715215345-7ad00-1a2b45b77d59b1b

Check file size of uploaded data

This will abort the upload process when the uploaded temp file has zero bytes.
This can occur when the disk is full.

darcs-hash:20080715215345-7ad00-1a2b45b77d59b1b39d0133ec1737dbb0054368c1.gz

show more ...


# 49ac3837 18-May-2008 hakan.sandell <hakan.sandell@mydata.se>

show xmp metadata in default template

darcs-hash:20080518152928-9a5f4-a1594ec08a2006ee2b94f68e766abbf6ad32701c.gz


# d00ec455 06-Jun-2008 Andreas Gohr <andi@splitbrain.org>

experimental Flash based multi upload

This patch adds experimental support for uploading multiple files in one go.
This is achieved by using Flash for selecting multiple images and intitiating
the H

experimental Flash based multi upload

This patch adds experimental support for uploading multiple files in one go.
This is achieved by using Flash for selecting multiple images and intitiating
the HTTP upload.

When Flash 8 or higher is detected, an additional icon is added to the usual
upload form. Clicking it will swith the form to the Flash based upload queue.

Things that need work:

* Better Icon
* Feedback if Flash detection works on all Flash 8 supported platforms
* Progress feedback seems not to work on Linux (might be Adobe bug)
* No final feedback how many images were uploaded correctly

The flash sources are located in lib/_fla/

Any feedback and help would be appreciated.

darcs-hash:20080606222849-7ad00-738083445af275752aaebc29bfa51430f3d94459.gz

show more ...


# a05e297a 23-Feb-2008 Andreas Gohr <andi@splitbrain.org>

use fulltext index to search for used media files FS#1336 FS#1275

This changes how DokuWiki looks for reference toa media file which is
about to deleted. Instead of doing a full grep through all pag

use fulltext index to search for used media files FS#1336 FS#1275

This changes how DokuWiki looks for reference toa media file which is
about to deleted. Instead of doing a full grep through all pages it now
uses the fulltext index first, then does an exact match on the found
pages.

This speeds up the search significantly on larger wikis. However the
fulltext search limits now apply: images with names shorter than 3 charcters
may not be found.

This needs extensive testing!

darcs-hash:20080223205254-7ad00-486de0a4125d51b4e7999827f710d1d9de8bc60d.gz

show more ...


# e656dcd4 23-Feb-2008 Andreas Gohr <andi@splitbrain.org>

use strftime() instead of date() FS#1335 :!:

This patch replaces the use of the date() function with the strftime()
function. The latter will respect a set locale and will use localized
strings for

use strftime() instead of date() FS#1335 :!:

This patch replaces the use of the date() function with the strftime()
function. The latter will respect a set locale and will use localized
strings for things like month names.

Because the format options for strftime differ from the ones used in date,
DokuWiki will rest the value of $conf['dformat'] if it contains an old
date format string (detected by missing % characters).

Plugins or templates using the $conf['dformat'] need to be updated.

darcs-hash:20080223124045-7ad00-6afb2b839afc58781463e25577e06adb675fff79.gz

show more ...


# d186898b 15-Feb-2008 Andreas Gohr <andi@splitbrain.org>

redirect to root namespace in mediamanager when namespace was deleted FS#1286

darcs-hash:20080215105251-7ad00-b7ac1bfc0e2d1eccf079f4ff2f0db8876896b79d.gz


# ca6a0701 15-Feb-2008 Andreas Gohr <andi@splitbrain.org>

fix line endings for meta data editing in media manager FS#1324

darcs-hash:20080215091527-7ad00-181de33e08256577fec9cb52ff11811ad0f4fc01.gz


# 64807c84 18-Jan-2008 Andreas Gohr <andi@splitbrain.org>

skip invalid filenames in media directory list (related to FS#1312 FS#1306)

Invalid media files (like uppercase names) are no longer listed in the media
manager. Instead a warning is shown.

darcs-h

skip invalid filenames in media directory list (related to FS#1312 FS#1306)

Invalid media files (like uppercase names) are no longer listed in the media
manager. Instead a warning is shown.

darcs-hash:20080118205511-7ad00-01625475e055be71628fd68aaaad786959420dce.gz

show more ...


# 9f5dde7f 29-Oct-2007 Michael Klier <chi@chimeric.de>

refactored media upload form

darcs-hash:20071029134739-23886-a5f5dfa7cf1e5b029958ba67a44f3df19bcaa3bf.gz


# 00976812 30-Sep-2007 Andreas Gohr <andi@splitbrain.org>

don't use realpath() anymore (FS#1261 and others)

The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure

don't use realpath() anymore (FS#1261 and others)

The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure setups.

This patch replaces all realpath() calls with a PHP only replacement
which should solve those problems.

darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz

show more ...


# 0b308644 26-Sep-2007 Otto Vainio <oiv@iki.fi>

media meta chmod fix

Media metadata update changes file permissions to default.
Should call chmod if needed.

darcs-hash:20070926190419-58dfb-8405fd4d62e7dc337d1257ca282ac8c05bbea30f.gz


# 11d9dfa5 09-Sep-2007 Michael Klier <chi@chimeric.de>

New event MEDIA_UPLOAD_FINISH

This adds a new event MEDIA_UPLOAD_FINISH which is triggered
when a media file is uploaded via the mediamanager.
(The event is preventable)

Event data:

New event MEDIA_UPLOAD_FINISH

This adds a new event MEDIA_UPLOAD_FINISH which is triggered
when a media file is uploaded via the mediamanager.
(The event is preventable)

Event data:
data[0] temporary file name (read from $_FILES)
data[1] file name of the file being uploaded
data[2] future directory id of the file being uploaded
data[3] the mime type of the file being uploaded

darcs-hash:20070909003843-23886-182d42a34f254fd8e63486210c458c34dd953b5d.gz

show more ...


# e681fae7 14-Sep-2007 Michael Klier <chi@chimeric.de>

Variable typo fix in inc/media.php

darcs-hash:20070914202618-23886-694cfafea7ff86e7aa12da7bdcd646e4dbb4e05c.gz


# f2ea8432 08-Sep-2007 Andreas Gohr <andi@splitbrain.org>

CSRF SecurityToken added to the media manager

darcs-hash:20070908143307-7ad00-50730dd67239a2faaced2dfa0dee8de7c1db05e6.gz


# 55b2b31b 13-Jun-2007 Andreas Gohr <andi@splitbrain.org>

fixed URL in file upload notify mail FS#1160

darcs-hash:20070613191542-7ad00-0e72b3c40f9593838641be5c4e728a8e1a68d550.gz


# f495da32 13-May-2007 Anika Henke <a.c.henke@arcor.de>

fixed xhtml validity issues in media manager

darcs-hash:20070513212129-d5083-7ec1048f96fbd4588db6fa2a1d2e22355a3d4961.gz


# 26ceae18 24-Feb-2007 Andreas Gohr <andi@splitbrain.org>

Test uploaded files for HTML tags FS#1077

Following the problem with IE's mimetype handling described at
http://www.splitbrain.org/blog/2007-02/12-internet_explorer_facilitates_cross_site_scripting

Test uploaded files for HTML tags FS#1077

Following the problem with IE's mimetype handling described at
http://www.splitbrain.org/blog/2007-02/12-internet_explorer_facilitates_cross_site_scripting
this patch adds a new option (on by default) to check the first 256
bytes of uploaded files against a list of a few HTML tags and denies
the upload of such a file. In rare occasions this may block harmless
and valid files, but that's price we have to pay for Microsoft's
stupidity.

Users who need HTML uploads should disable this check. (Don't do that on
open Wikis!)

darcs-hash:20070224124458-7ad00-0ced616d06f563515b36a0a6871b5ba50229c946.gz

show more ...


# 75030359 12-Feb-2007 Andreas Gohr <andi@splitbrain.org>

send notify mails for uploaded files

darcs-hash:20070212190216-7ad00-7be9443a13ab0e885e569f4bdae166fcd00ab836.gz


# 8cb1eb01 11-Feb-2007 Andreas Gohr <andi@splitbrain.org>

check if uploaded content matches the given mime type

A first attempt at fixing FS#1077

currently checks images and spam

darcs-hash:20070211223230-7ad00-ba8186c5e848e8783acabb9bf598739617aabdf2.gz


# 5e7fa82e 06-Jan-2007 Andreas Gohr <andi@splitbrain.org>

show lastmod datetime in mediamanager FS#964

darcs-hash:20070106125603-7ad00-a10d366e8a3c7d58aacbffbe333b4fccba340f4a.gz


# ee7b5a62 03-Nov-2006 Andreas Gohr <andi@splitbrain.org>

don't show .txt files as medianamespaces #963

darcs-hash:20061103150850-7ad00-9b6936efb8dd47eb366e5cd34a3149f4d81caa14.gz


# 1440e523 15-Oct-2006 Anika Henke <a.c.henke@arcor.de>

a bit of strictness for mediamgr + login form

darcs-hash:20061015222040-d5083-afb1c38f5bb2610260bbc51fbff816a8ed2e5f49.gz


# 18d69493 31-Jul-2006 Andreas Gohr <andi@splitbrain.org>

replaced inlinestyle with class

darcs-hash:20060731182514-7ad00-25984c9370bb43abe52e6c17fb1a5eb701c3e6da.gz


# 44e099ad 31-Jul-2006 Andreas Gohr <andi@splitbrain.org>

another try at the uploadform

darcs-hash:20060731175331-7ad00-7cfe2aa927bb837368c07e01a85ad9ffe697956d.gz


1...<<11121314