History log of /dokuwiki/inc/media.php (Results 251 – 275 of 323)
Revision Date Author Comments
# ffb291f2 06-Feb-2011 Adrian Lang <dokuwiki@adrianlang.de>

Use common media_save in media_upload and putAttachment

Changes:
* XML-RPC now correctly allows leading and trailing _
* Error messages from XML-RPC are correct
* MEDIA_UPLOAD_FINISH has a six

Use common media_save in media_upload and putAttachment

Changes:
* XML-RPC now correctly allows leading and trailing _
* Error messages from XML-RPC are correct
* MEDIA_UPLOAD_FINISH has a sixth param specifying the move function
* Not having upload rights when using media_upload throws a msg

show more ...


# 87229c84 06-Feb-2011 Adrian Lang <dokuwiki@adrianlang.de>

XML-RPC deleteAttachment now uses media_delete

Functionality changes:
* deleteAttachment now triggers MEDIA_DELETE_FILE (closes FS#1568)
* deletion success msg in mediamanager is correct, even w

XML-RPC deleteAttachment now uses media_delete

Functionality changes:
* deleteAttachment now triggers MEDIA_DELETE_FILE (closes FS#1568)
* deletion success msg in mediamanager is correct, even when the ns dir
was deleted
* media_delete changed quite a bit

show more ...


# 5ec3fefc 05-Nov-2010 Andreas Gohr <andi@splitbrain.org>

handle mailfrom replacements in a central place FS#2091


# 231b8c34 23-Sep-2010 Pierre Spring <pierre.spring@caillou.ch>

added a TODO


# de3eb1d7 28-Sep-2010 Adrian Lang <lang@cosmocode.de>

Small fixes / cleanup


# 0af14a6e 01-Feb-2010 Andreas Gohr <andi@splitbrain.org>

removed more unneeded require_once() calls


# 16905344 31-Jan-2010 Andreas Gohr <andi@splitbrain.org>

first attempt to centralize all include loading

Classes are loaded throug PHP5's class autoloader, all other
includes are just loaded by default. This skips a lot of
require_once calls.

Parser and

first attempt to centralize all include loading

Classes are loaded throug PHP5's class autoloader, all other
includes are just loaded by default. This skips a lot of
require_once calls.

Parser and Plugin stuff isn't handled by the class loader yet.

show more ...


# 99766eef 15-Nov-2009 Andreas Gohr <andi@splitbrain.org>

don't check filesize but rely on error on upload FS#1716

Ignore-this: adff36f3e49963a6682b5faabf6cb63e

darcs-hash:20091115153119-7ad00-2c20c420faeea08c113a76acc05917621f361880.gz


# e351c80d 22-Oct-2009 Adrian Lang <lang@cosmocode.de>

Make Doku_Form constructor more flexible

The Doku_Form constructor used to take up to four arguments setting specific
parameters of the resulting form HTML element. Instead, a generic array is
passe

Make Doku_Form constructor more flexible

The Doku_Form constructor used to take up to four arguments setting specific
parameters of the resulting form HTML element. Instead, a generic array is
passed to the constructor specifying HTML parameters.

darcs-hash:20091022120138-e4919-3a42baf8c12b15e6df20e1f28152a992e347859d.gz

show more ...


# db959ae3 20-Oct-2009 Andreas Gohr <andi@splitbrain.org>

Coding Standard Cleanup

Ignore-this: 259cb5773c3144c6c706d87298dcf674

darcs-hash:20091020212338-7ad00-6bf1c5c403491f136a1c02af5ecd9f84d7227107.gz


# f2263577 07-Oct-2009 Andreas Gohr <gohr@cosmocode.de>

New dformat() function for fuzzy date support

Ignore-this: 7193cd788fee2c05a9068bf6edd5dc17

It is now possible to use the %f placeholder in $conf['dformat']
to add a fuzzy age string.

Template dev

New dformat() function for fuzzy date support

Ignore-this: 7193cd788fee2c05a9068bf6edd5dc17

It is now possible to use the %f placeholder in $conf['dformat']
to add a fuzzy age string.

Template developers and plugin authors should replace their strftime +
$conf['dformat'] calls with calls to the new dformat() function.

Example:

%Y/%m/%d %H:%M (%f) produces dates like this:

2009/09/16 10:36 (3 weeks ago)

darcs-hash:20091007133614-6e07b-677108d1b43928ef8fd886813e43514507b5e073.gz

show more ...


# 27bf7924 25-Sep-2009 Tom N Harris <tnharris@whoopdedo.org>

Use all available icons for file links (FS#1759)

All PNG and GIF images in the lib/images/fileicons directory will be used
for media file links. The conf/mime.conf file continues to restrict
which f

Use all available icons for file links (FS#1759)

All PNG and GIF images in the lib/images/fileicons directory will be used
for media file links. The conf/mime.conf file continues to restrict
which file types may be uploaded. File types not in the configuration
list are download-only.

darcs-hash:20090925231746-6942e-299a52772f67e265a8702bda3686f495e4337a8f.gz

show more ...


# 56fe6664 21-Sep-2009 Andreas Gohr <gohr@cosmocode.de>

media file name search completed

Ignore-this: c04f76bbe3d6817e876e721e4fcf7252

Note: development is part of ICKE 2.0 project
http://www.icke-projekt.de

darcs-hash:20090921095532-6e07b-bcf491

media file name search completed

Ignore-this: c04f76bbe3d6817e876e721e4fcf7252

Note: development is part of ICKE 2.0 project
http://www.icke-projekt.de

darcs-hash:20090921095532-6e07b-bcf49154135c393a42352190dd929ddea3de3a29.gz

show more ...


# c9f56829 01-Sep-2009 Andreas Gohr <gohr@cosmocode.de>

Some changes to the media file search

Ignore-this: 95042b9e60f807e046f93a362444a551

darcs-hash:20090901151703-6e07b-2c2d5a9a381b7ab6a19d1f74ba99aecb1e724181.gz


# 3516221c 24-Aug-2009 sarnowski <sarnowski@cosmocode.de>

media manager search: do not show messages about files

darcs-hash:20090824114911-8c5bd-0939197f73e42f1cedbe83dcfa8073880758417d.gz


# bf1f3ac4 24-Aug-2009 sarnowski <sarnowski@cosmocode.de>

Search capabilities for the media manager added.

darcs-hash:20090824112230-8c5bd-7b8d8ba14e7533c1035b7b732983a0e3de8251a1.gz


# b166ccbc 30-Aug-2009 Andreas Gohr <andi@splitbrain.org>

do not prepend colon via javascript in media manager

Ignore-this: 67ae7589474461a1279720865f0d18b9
Just moves the prepending of the colon (for absolute namespaces) from the
javascript to the PHP bac

do not prepend colon via javascript in media manager

Ignore-this: 67ae7589474461a1279720865f0d18b9
Just moves the prepending of the colon (for absolute namespaces) from the
javascript to the PHP backend code - makes reusing the javascript for
non local files easier.

darcs-hash:20090830130823-7ad00-2b53e48edd8e117ac3f7814c50ea429e06284809.gz

show more ...


# 58b091de 04-Jun-2009 Andreas Gohr <andi@splitbrain.org>

Multiple enhancements in the flash uploader

Ignore-this: 9f05194de64b5e5d47fa45bb45814f8d

darcs-hash:20090604230010-7ad00-118e3b31589f882440eaa35509bf2126cf49d9a9.gz


# 2f9daf16 10-Apr-2009 Andreas Gohr <andi@splitbrain.org>

Make more use of clientIP() FS#1668

Ignore-this: 13616da575fbe56064b2aa3d1d803bf5

darcs-hash:20090410181613-7ad00-b74c82c1f9296a2cb0d00b03316141b19821bda1.gz


# 1a7f560e 01-Mar-2009 Andreas Gohr <andi@splitbrain.org>

fixed media listing for recent change in search_media

darcs-hash:20090301192547-7ad00-818f401038e24de8c7edcf030db98c6ee59acd78.gz


# 6dae2464 05-Feb-2009 Andreas Gohr <andi@splitbrain.org>

fixed media deletion when reference check is enabled FS#1582

Ignore-this: 7b8e3c664077e5069f00a0a10a6a7ad4

darcs-hash:20090205172601-7ad00-ca3ec217a6b19d310c608c2e69b33572f56c281b.gz


# af2408d5 27-Jan-2009 Andreas Gohr <andi@splitbrain.org>

Work around IIS bug for redirects FS#1576

Ignore-this: 37b33f575e4c0b31e4af93185bf74f0f

When IIS is running PHP in CGI mode it will not send cookie headers on 302
redirections. This is a known bug

Work around IIS bug for redirects FS#1576

Ignore-this: 37b33f575e4c0b31e4af93185bf74f0f

When IIS is running PHP in CGI mode it will not send cookie headers on 302
redirections. This is a known bug (KB176113).

This patch will detect affected servers. Instead of a 302 redirect a Refresh:
header is issued. This is supported by all known browsers should have the same
effect as a real redirect.

darcs-hash:20090127204506-7ad00-ce474f3b0db003e86e09d5e9a9bd7c96887ac01c.gz

show more ...


# d578eae7 22-Jan-2009 Andreas Gohr <andi@splitbrain.org>

added missing closing parenthesis

darcs-hash:20090122184149-7ad00-bcde222d4166c6c63b2c798251e2686e4288487a.gz


# f8121585 22-Jan-2009 Chris Smith <chris.eureka@jalakai.co.uk>

further updates to config_cascade patch

- add mediameta and license config files into the cascade
- update the cache validity code in cache.php, css.php & js.php to use config_cascade
- redo inclusi

further updates to config_cascade patch

- add mediameta and license config files into the cascade
- update the cache validity code in cache.php, css.php & js.php to use config_cascade
- redo inclusion of main config files to avoid suppression of errors in config files
- add getConfigFiles($type) function
- minor updates elsewhere to use config_cascade rather than hardcoded config file names

darcs-hash:20090122114457-f07c6-98ad5627fd5df93edf8dd03289b9cf6d81962afe.gz

show more ...


# 99c8d7f2 18-Jan-2009 michael <michael@content-space.de>

Media changelog added

There is a new media changelog now, with the flag RECENTS_MEDIA_CHANGES media changes can be requested from the getRecents()-function or the new getRecentsSince()-function, tha

Media changelog added

There is a new media changelog now, with the flag RECENTS_MEDIA_CHANGES media changes can be requested from the getRecents()-function or the new getRecentsSince()-function, that returns all changes since a given timestamp and optionally before a given timestamp. The media upload and the XML-RPC-server have been changed to use these functions.

Additionally, the event MEDIA_UPLOAD_FINISH has been extended, it has a new $data-attribute (the 5th), that contains a boolean if the file does already exist and will be overwritten.

darcs-hash:20090118154345-074e0-5d9a90d269e86d8c6a156ecce5cf63115c827433.gz

show more ...


1...<<111213