TYPO3CMS/Extensions/dam.git
4 years ago[TASK] Set version to 1.3.3 76/29176/2 master 1.3.3
Lorenz Ulrich [Fri, 4 Apr 2014 16:31:05 +0000 (16:31 +0000)]
[TASK] Set version to 1.3.3

Resolves: 51899
Releases: 1.3
Change-Id: I258dbb8e5509229a70f5fcdb26b5f8093e6099d7
Reviewed-on: https://review.typo3.org/29176
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
4 years ago[BUGFIX] use media type name in metaExtract service calls 08/26508/2
Christian Weiske [Fri, 20 Dec 2013 08:30:23 +0000 (09:30 +0100)]
[BUGFIX] use media type name in metaExtract service calls

When no metaExtract service for a file's extension exists,
the media type ("image:*") is used as fallback.

This was broken as it only used the numeric media type ID instead
of the name ("2:*" instead of "image:*").

Change-Id: Idb56d88904842546b361a887511c2103ffd6324d
Fixes: #54149
Releases: 1.3
Reviewed-on: https://review.typo3.org/26508
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
4 years ago[BUGFIX] Do not remove timezone offset from file dates on upload 99/24899/3
Marian Pollzien [Fri, 18 Oct 2013 13:40:31 +0000 (15:40 +0200)]
[BUGFIX] Do not remove timezone offset from file dates on upload

When inserting database records during upload, there is no need
to remove the timezone offset from the date fields since we already
have UTC dates.

Change-Id: I072b5999183adf40af2e98a120fc3337d6df7d23
Resolves: #47868
Releases: 1.3
Reviewed-on: https://review.typo3.org/24899
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
4 years ago[BUGFIX] Unable to see more files for "Usage" tab 43/24443/2
Christian Weiske [Mon, 7 Oct 2013 06:50:42 +0000 (08:50 +0200)]
[BUGFIX] Unable to see more files for "Usage" tab

Use the provided GET parameter to initialize the page pointer
with the page number.
Now the correct page is shown in the media object info usage tab
references list.

Change-Id: I3e521e62e2cb7250d8d7a3e95aab430dfa4071a4
Fixes: #49536
Releases: 1.3
Reviewed-on: https://review.typo3.org/24443
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
5 years ago[BUGFIX] uppercase code after language detection 42/24142/2
Christian Weiske [Mon, 30 Sep 2013 05:19:23 +0000 (07:19 +0200)]
[BUGFIX] uppercase code after language detection

TYPO3 expects the two-letter language code to be uppercase,
while at least the tika extension delivers lowercase codes.

To be safe, we simply uppercase the language code.

Change-Id: Icaeb7d2544eada64190c2474f1e15f0b5ac72378
Fixes: #52157
Releases: 1.3
Reviewed-on: https://review.typo3.org/24142
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
5 years ago[BUGFIX] Indexing broken for editors with limited access rights 48/23848/4
Andre Hähnel [Mon, 16 Sep 2013 09:04:52 +0000 (11:04 +0200)]
[BUGFIX] Indexing broken for editors with limited access rights

Since #43308, DAM respects the TCAdefaults for indexing of files.
Since the default UserTS config is not necessarily set, the array
containing this data is not initialized. To prevent
array_merge_recursive from throwing an exception, an empty array
must be initialized before the UserTS config is possibily set.

Fixes: #51969
Releases: 1.3

Change-Id: I540d84cbf8485c0c90bf6c2f3b5221b641400f00
Reviewed-on: https://review.typo3.org/23848
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
5 years ago[TASK] Set version to 1.3.2 37/23737/2 1.3.2
Lorenz Ulrich [Tue, 10 Sep 2013 19:30:15 +0000 (19:30 +0000)]
[TASK] Set version to 1.3.2

Releases: 1.3
Resolves: #51898
Change-Id: Ic79d2b5f190a89cced60ba37ade7ae2007d301e8
Reviewed-on: https://review.typo3.org/23737
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
5 years ago[TASK] Set TYPO3 dependency to 4.5.0-4.7.99 36/23736/2
Lorenz Ulrich [Tue, 10 Sep 2013 19:08:27 +0000 (19:08 +0000)]
[TASK] Set TYPO3 dependency to 4.5.0-4.7.99

Releases: 1.3
Resolves: #51898

Change-Id: I76631174ca1d691c6e7f77a7f35b0ef095b443f1
Reviewed-on: https://review.typo3.org/23736
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
5 years ago[TASK] Place link to Git changelog in ChangeLog 35/23735/2
Lorenz Ulrich [Tue, 10 Sep 2013 18:59:45 +0000 (18:59 +0000)]
[TASK] Place link to Git changelog in ChangeLog

The ChangeLog in the extension is no longer maintained.

Resolves: #51898
Releases: 1.3
Change-Id: I22b6c6e676fd231b60e27aa4078086772a034c77
Reviewed-on: https://review.typo3.org/23735
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
5 years ago[BUGFIX] Set indexing defaults when using Flash uploader 65/20865/3
Michiel Roos [Fri, 17 May 2013 10:33:22 +0000 (12:33 +0200)]
[BUGFIX] Set indexing defaults when using Flash uploader

- Avoid pollution of the defaultSetup in ext_localconf.
- After fetching the config, actually assign it to the $config variable
- Declare the defaultSetup variable
- Uncomment $index->setDefaultSetup

Resolves: #41902
Releases: 1.3
Change-Id: I1e192416a0cce4165384c0c4155bf93945658c7b
Reviewed-on: https://review.typo3.org/20865
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
5 years ago[FEATURE] Show a warning if tx_dam_media_type is missing 14/21414/4
Michael Stucki [Fri, 14 Jun 2013 01:10:26 +0000 (03:10 +0200)]
[FEATURE] Show a warning if tx_dam_media_type is missing

If the table "tx_dam_media_type" is missing or incomplete, a warning
should be displayed to the user to make him aware of the situation.

Change-Id: Ib8c10affb191e2911f2864470094e02f13628382
Resolves: #49114
Releases: 1.3
Reviewed-on: https://review.typo3.org/21414
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
5 years ago[BUGFIX] Fix endless loop if tx_dam_media_type is missing 12/21412/3
Michael Stucki [Fri, 14 Jun 2013 01:01:14 +0000 (03:01 +0200)]
[BUGFIX] Fix endless loop if tx_dam_media_type is missing

If the table "tx_dam_media_type" is missing or incomplete, an endless
recursion occurs during file upload from the element browser (e.g. filelinks).

Change-Id: I87dfc2a7eb6c973d88cf2324758356f5dd93299c
Resolves: #49113
Releases: 1.3
Reviewed-on: https://review.typo3.org/21412
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
5 years ago[BUGFIX] Fix fatal error in frontend after file deletion 30/21430/3
Christian Zenker [Fri, 14 Jun 2013 15:50:37 +0000 (17:50 +0200)]
[BUGFIX] Fix fatal error in frontend after file deletion

If you delete a file from DAM, but it is still used in the
FE there will be a fatal error in the frontend.

The code that causes this error is syntactically no valid PHP
so the code could never have worked.

Releases: 1.3
Fixes: #49138
Change-Id: Icdeed08b5af809d51a218578e8ea9d0e9d6ca8bc
Reviewed-on: https://review.typo3.org/21430
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
5 years ago[BUGFIX] DAM breaks Element Browser tab change 50/18550/2
Lorenz Ulrich [Fri, 1 Mar 2013 12:54:38 +0000 (13:54 +0100)]
[BUGFIX] DAM breaks Element Browser tab change

When the Element Browser is called from a TCEform field (such as
header_link/image_link), switching from the Media tab to another
tab makes the Element Browser lose context.

This is because the function jumpToUrl was overwritten from a
DAM function with the same name that is used in the backend modules.
An additional check for the context needs to be added to prevent this
error.

Additionally, the JavaScript code for the context menu is removed from
browse_media class to prevent a JavaScript error.

Change-Id: Ie2d1a7b1710f605e84383e2538bd0fd1d7e9a74b
Resolves: #43714
Releases: 1.3
Reviewed-on: https://review.typo3.org/18550
Tested-by: Karsten Madsen
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
6 years ago[BUGFIX] Replacing a file can destroy the file of another DAM record 81/18381/2
Lorenz Ulrich [Tue, 19 Feb 2013 15:00:15 +0000 (16:00 +0100)]
[BUGFIX] Replacing a file can destroy the file of another DAM record

Replacing a file with a file whose name is identical to the file name of
another record leads to database inconsistency because the file of the
other record is overwritten.

Example:
File1.jpg -> Title "Example"
File2.jpg -> Title "Example2"

If you choose "Replace File" on Example2 and upload a file with the
filename "File1.jpg" you'll end up with two entrys that reference to the
same (new) file.
File1.jpg -> Title "Example2"
File1.jpg -> Title "Example2"

This is because DAM doesn't check if the file to be replaced is
overwritten or a file from any other record that by chance has the
same file name.

Change-Id: Ic07f48e72553f104e026c58e33674387645bd50c
Releases: 1.3
Fixes: #42040
Reviewed-on: https://review.typo3.org/18381
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
6 years ago[BUGFIX] Tools > Check Index: Not all files checked when deleting 15/17915/3
Alexander Opitz [Fri, 1 Feb 2013 10:26:30 +0000 (11:26 +0100)]
[BUGFIX] Tools > Check Index: Not all files checked when deleting

The index file check happens in steps of 200 files each.
When files get marked as "deleted", the database query's "LIMIT" clause
needs to be adjusted by the number of deleted files - otherwise
files get skipped in the checking process.

The query also sorts by "uid" now to get stable result sets from the
database.

Change-Id: I7abd6b81edd7415736a4115ebb8767ea06aa1d91
Fixes: #44953
Reviewed-on: https://review.typo3.org/17915
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
Reviewed-by: Lorenz Ulrich
6 years ago[TASK] On replacing a file, cache of the pages using it should be cleared 03/16603/3
Lorenz Ulrich [Tue, 20 Nov 2012 13:28:52 +0000 (14:28 +0100)]
[TASK] On replacing a file, cache of the pages using it should be cleared

The the DAM backend module you can replace a file with another file.
All links to the file stay intact.

If the file name of the new file differs from the original file name,
you'll run into the problem that the cache is not cleared after
replacing. The old file doesn't exist anymore, but the page linking to
it is still cached and therefore you will have a dead link until the
cache of the page is rebuilt.

The solution is to clear the page of affected pages after replacing the
file.

Change-Id: I0a9c7bc824ef3a3d7358ff1b9cebe51de61d1b13
Release: 1.3
Fixes: #43149
Reviewed-on: https://review.typo3.org/16603
Reviewed-by: Stefan Neufeind
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
6 years ago[BUGFIX] Respect TCAdefaults 41/16741/5
Francois Suter [Mon, 26 Nov 2012 15:18:38 +0000 (16:18 +0100)]
[BUGFIX] Respect TCAdefaults

In tx_dam_db::insertUpdateData(), some code exists to read TCAdefaults
set per User TSconfig, but it is not used. Indeed one more call to
TCEmain must be made to get an "empty" data array prefilled with TCA
default override values. This data must be retrieved and merged with
the Page TSconfig and the meta data.

Furthermore this operation should be performed be performed only
for a new record (test is currently incomplete).

Resolves: #43308
Releases: 1.3

Change-Id: I12822b542353d76c3917ac8c8d6a28aa9d6d56c9
Reviewed-on: https://review.typo3.org/16741
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
6 years ago[TASK] Allow editing live version when in workspace 04/16604/2
Lorenz Ulrich [Tue, 20 Nov 2012 14:03:49 +0000 (15:03 +0100)]
[TASK] Allow editing live version when in workspace

If the usage for versioning and workspaces are disabled in the extension
configuration of DAM and users are nevertheless working in an
enviromnent with workspaces, they should be able to edit the live version
of DAM records.

This needs to be enabled.

Change-Id: Ib981dda70648e41706c02705ce037240423b260c
Release: 1.3
Fixes: #43095
Reviewed-on: https://review.typo3.org/16604
Reviewed-by: Lorenz Ulrich
Tested-by: Lorenz Ulrich
6 years ago[BUGFIX] Log messages for move and delete miss file information 48/15948/3
Christian Weiske [Fri, 2 Nov 2012 12:39:09 +0000 (13:39 +0100)]
[BUGFIX] Log messages for move and delete miss file information

When DAM log messages contain data about files with long names or paths,
those data do not get fully stored in the sys_log table because the
log_data field is limited to 255 characters.

This patch removes a part of the file paths, namely PATH_site.
With this shorter paths, there is a higher chance of the log data being
stored in full length.

Change-Id: Ie293572b4c14f3092bfbd1df06926ed9b9ba11e1
Fixes: #42418

6 years agoMerge "[BUGFIX] DAM category sublevelDepth not working properly"
Lorenz Ulrich [Tue, 20 Nov 2012 09:09:04 +0000 (10:09 +0100)]
Merge "[BUGFIX] DAM category sublevelDepth not working properly"

6 years ago[BUGFIX] Auto indexing must be disabled in FE mode 25/16125/1
Lorenz Ulrich [Fri, 2 Nov 2012 12:12:19 +0000 (13:12 +0100)]
[BUGFIX] Auto indexing must be disabled in FE mode

Auto indexing is enabled by default in DAM. Due to a bug this setting
was not respected until DAM 1.3.1. This led to another bug: DAM is
trying to index in FE mode. But without a logged in backend user
writing to the tables and logs is not possible.

Therefore auto indexing must be disabled in frontend mode.

Change-Id: I5df74e45749859b72f170053ff4a5fafe07f53b4
Release: 1.3
Fixes: #41619

6 years agoMerge "[BUGFIX] title attribute of shortened file name gets shortened"
Lorenz Ulrich [Fri, 2 Nov 2012 11:48:43 +0000 (12:48 +0100)]
Merge "[BUGFIX] title attribute of shortened file name gets shortened"

6 years ago[BUGFIX] title attribute of shortened file name gets shortened 44/15944/3
Christian Weiske [Fri, 26 Oct 2012 09:06:11 +0000 (11:06 +0200)]
[BUGFIX] title attribute of shortened file name gets shortened

The DAM file list gives files with too long names a title attribute
that is displayed on hovering. This patch makes the title show the
full filename instead of the abbreviated one.

Change-Id: If18e06c38691f87bd47e349417c7804e767d154e
Fixes: #42006

6 years ago[BUGFIX] DAM category sublevelDepth not working properly 23/16123/1
Lorenz Ulrich [Fri, 2 Nov 2012 10:42:59 +0000 (11:42 +0100)]
[BUGFIX] DAM category sublevelDepth not working properly

The sublevel depth for category selection must be respected for
SELECT query parts.

Change-Id: Ia08048f2eb774a111d8260ff102d3ac32a2508db
Release: 1.3
Fixes: #42425

6 years agoMerge "[BUGFIX] Media > Tools > Media Types does not show existing media types"
Lorenz Ulrich [Thu, 1 Nov 2012 15:19:24 +0000 (16:19 +0100)]
Merge "[BUGFIX] Media > Tools > Media Types does not show existing media types"

6 years agoMerge "[BUGFIX] Delete file doesn't work when _recycler_ folder exists"
Lorenz Ulrich [Thu, 1 Nov 2012 15:12:27 +0000 (16:12 +0100)]
Merge "[BUGFIX] Delete file doesn't work when _recycler_ folder exists"

6 years ago[BUGFIX] Media/Tools/Check Index: Do not show files that are OK 59/15959/3
Michael Kunze [Fri, 26 Oct 2012 15:22:56 +0000 (17:22 +0200)]
[BUGFIX] Media/Tools/Check Index: Do not show files that are OK

Adds a configuration checkbox to the "Check Index" tool to not list files
that are properly indexed.
This reduces clutter on your screen when there are many files in the TYPO3
installation.

Change-Id: Iff45117bf3d3173e8fef7282420a45e550223d38
Fixes: #42426

6 years ago[BUGFIX] Media > Tools > Media Types does not show existing media types 10/16010/2
Andy Grunwald [Mon, 29 Oct 2012 13:16:20 +0000 (14:16 +0100)]
[BUGFIX] Media > Tools > Media Types does not show existing media types

The BE module "Media > Tools > Media Types" does not show existing
media types, due to a wrong template path.

Fixes: #42477
Releases: 1.3

Change-Id: I900ab60c7eb67e63ccce7cd6d327c22bd8b51b0f

6 years ago[BUGFIX] Delete file doesn't work when _recycler_ folder exists 45/15945/1
Christian Weiske [Fri, 26 Oct 2012 09:45:21 +0000 (11:45 +0200)]
[BUGFIX] Delete file doesn't work when _recycler_ folder exists

When a folder called "_recycler_", the TYPO3 log shows a warning
that a parameter is missing.
This patch fixes this, as well as proper @param entries for the
methods requiring it.

Change-Id: Iaba69a2b5360054e63a4eefbcf95eff085bb5bb8
Fixes: #42411

6 years ago[BUGFIX] Auto indexing does not read indexing configuration 32/15432/1
Lorenz Ulrich [Tue, 9 Oct 2012 11:34:27 +0000 (13:34 +0200)]
[BUGFIX] Auto indexing does not read indexing configuration

When auto indexing is enabled and the suggested TSConfig is added to a
page or user, the defaultSetup xml is not read.

This is due to the incorrect value being retrieved from the config.

Change-Id: If8dccfdad3110e98bd2491c821d3a9aa2dad7056
Fixes: #41709
Releases: 1.3

6 years ago[TASK] Update ext_emconf.php after release 32/15132/1
Lorenz Ulrich [Fri, 28 Sep 2012 09:45:21 +0000 (11:45 +0200)]
[TASK] Update ext_emconf.php after release

Change-Id: Ia0c571e3232d880d55ca2df14851cb73a5cc9f64

6 years ago[TASK] ext_emconf.php for DAM 1.3.1 31/15131/1 1.3.1
Lorenz Ulrich [Fri, 28 Sep 2012 09:42:04 +0000 (11:42 +0200)]
[TASK] ext_emconf.php for DAM 1.3.1

Change-Id: Id9a63a3de12a613f78bb757e02cb6e2698400f68

6 years ago[TASK] Update changelog before release 26/15126/1
Lorenz Ulrich [Fri, 28 Sep 2012 09:21:11 +0000 (11:21 +0200)]
[TASK] Update changelog before release

Change-Id: Id216a272cdcbe37b38f1858affb208413c3b8ff6

6 years agoMerge "[BUGFIX] Media > File has no default sorting"
Lorenz Ulrich [Fri, 28 Sep 2012 09:06:49 +0000 (11:06 +0200)]
Merge "[BUGFIX] Media > File has no default sorting"

6 years ago[BUGFIX] Media > File has no default sorting 25/15125/1
Lorenz Ulrich [Fri, 28 Sep 2012 08:57:48 +0000 (10:57 +0200)]
[BUGFIX] Media > File has no default sorting

Since #M18573 the configuration for DAM modules is taken from the
user configuration, this includes the information about sorting
columns.

As long as the user didn't set a sorting column, the entries are mixed
up. Therefore a default sorting column (folder name/file name) must be
added to the extension.

Change-Id: I2b1706792ed98a380f6fbe53590c05c8ed3342d6
Fixes: #M18608
Release: 1.3

6 years ago[BUGFIX] Directory tree is not sorted alphabetically anymore 24/15124/1
Lorenz Ulrich [Fri, 28 Sep 2012 08:23:07 +0000 (10:23 +0200)]
[BUGFIX] Directory tree is not sorted alphabetically anymore

Since DAM 1.3, the directory tree in the Media > File module is not
sorted alphabetically anymore.

This is a regression of a change introduced with #M14504 and must be
fixed.

Change-Id: Id46d32cdeb0299ae509fcbeed7ffe46366139c90
Fixes: #M18603
Releases: 1.3

6 years agoMerge "[!][BUGFIX] Link title attribute from RTE cannot be overridden"
Lorenz Ulrich [Fri, 28 Sep 2012 08:01:20 +0000 (10:01 +0200)]
Merge "[!][BUGFIX] Link title attribute from RTE cannot be overridden"

6 years ago[!][BUGFIX] Link title attribute from RTE cannot be overridden 31/15031/3
Lorenz Ulrich [Tue, 25 Sep 2012 11:10:02 +0000 (13:10 +0200)]
[!][BUGFIX] Link title attribute from RTE cannot be overridden

DAM automatically sets title attributes for links set in RTE. The fields
taken to generate this attribute can be configured in the RTE
configuration.

Caurrently, a title tag set in RTE, cannot be overriden for frontend
rendering. The title configuration of the media tag
(plugin.tx_tsfemediatag) is only considered when there is no title set in
the RTE.

The title from the RTE is now set to
plugin.tx_dam_tsfemediatag.tag.typolink.title.dataWrap

Therefore it can be overriden in any case:
dataWrap.override = {field:txdam_file_name}

A fallback can be defined:
dataWrap.ifEmpty = {field:txdam_file_name}

This is only a breaking change if you use a custom TS configuration for the
media tag. Then you need to rename dataWrap to dataWrap.ifEmpty to restore
the previous behaviour.

Change-Id: Ic286adae2d65b26482bc26358f5f38c59e4c9cc0
Fixes: #M18641
Release: 1.3

6 years agoMerge "[BUGFIX] Current folder in element browser must be highlighted"
Lorenz Ulrich [Tue, 25 Sep 2012 12:29:39 +0000 (14:29 +0200)]
Merge "[BUGFIX] Current folder in element browser must be highlighted"

6 years ago[BUGFIX] Current folder in element browser must be highlighted 18/14718/4
Lorenz Ulrich [Tue, 18 Sep 2012 20:52:19 +0000 (22:52 +0200)]
[BUGFIX] Current folder in element browser must be highlighted

For visual orientation the current folder in the element browser must
be highlighted.

Change-Id: I09c3700f16c72ae88e6725085c9e269705e6e232
Fixes: #M18607
Release: 1.3

6 years ago[BUGFIX] TSconfig for generating custom title attribute is not respected 28/15028/1
Lorenz Ulrich [Tue, 25 Sep 2012 09:21:24 +0000 (11:21 +0200)]
[BUGFIX] TSconfig for generating custom title attribute is not respected

It is possible to use DAM columns for generating custom title values for
links to media files.

This is not working due to a wrong variable name and is fixed by this
change.

Change-Id: If9ef2b41ae7e064d03311ae34e2e9f04cb2a9df4
Fixes: #M18432
Release: 1.3

6 years agoMerge "[BUGFIX] Remove dependency on ['BE']['forceCharset']"
Lorenz Ulrich [Tue, 25 Sep 2012 09:11:39 +0000 (11:11 +0200)]
Merge "[BUGFIX] Remove dependency on ['BE']['forceCharset']"

6 years agoMerge "[BUGFIX] Media link handler doesn't respect Typolink configuration"
Lorenz Ulrich [Tue, 25 Sep 2012 09:11:03 +0000 (11:11 +0200)]
Merge "[BUGFIX] Media link handler doesn't respect Typolink configuration"

6 years ago[BUGFIX] Batch edit broken in Media > List 28/14028/3
Rico Sonntag [Fri, 24 Aug 2012 11:15:51 +0000 (13:15 +0200)]
[BUGFIX] Batch edit broken in Media > List

Due to a change introduced with #M11331 batch edit didn't work in
Media > List anymore.

This patch fixes the issue und still allows to batch edit files that
have comma in their file name.

Change-Id: I6c7c68ce52c290319bb85685d7927804555fe3af
Fixes: #M18622
Release: 1.3

6 years ago[BUGFIX] Media link handler doesn't respect Typolink configuration 20/14720/1
Lorenz Ulrich [Tue, 18 Sep 2012 21:30:39 +0000 (23:30 +0200)]
[BUGFIX] Media link handler doesn't respect Typolink configuration

The media link handler that enables TYPO3 to set header links and image
links to DAM items, drops the Typolink configuration before generating
the link to the file.

This makes e.g. the jumpurl feature unusable. In fact only the default
parameter must be unset and replaced by the DAM item uid.

Change-Id: I98ce0cd1f9e9e85748549fe384f9438f1a9bc37f
Fixes: #M18617
Release: 1.3

6 years ago[BUGFIX] Remove dependency on ['BE']['forceCharset'] 89/14589/3
Rico Sonntag [Fri, 14 Sep 2012 08:14:54 +0000 (10:14 +0200)]
[BUGFIX] Remove dependency on ['BE']['forceCharset']

forceCharset was removed in TYPO3 4.7. The indexing progress bar still
depends on this configuration when determing the enconding of the iFrame.
This must be removed.

DAM now defaults to utf-8 if forceCharset is not set because the core
works on UTF-8 internally.

Change-Id: I009c5c2f728bd00b439ad11d269943a3dd980a92
Fixes: #M18639
Release: 1.3

6 years ago[BUGFIX] Folder named 0 not shown, not creatable 35/14635/2
Christian Weiske [Mon, 17 Sep 2012 06:47:02 +0000 (08:47 +0200)]
[BUGFIX] Folder named 0 not shown, not creatable

Folders with name "0" could not be created, nor would they (when created
via FTP or the shell) be shown in the tree and file list.

Change-Id: I797c6d9528cee3bdd90cbc6e36f2da05b6195060
Fixes: #M12038
Release: 1.3

6 years ago[BUGFIX] formToken missing for batch edit features 38/14038/2
Rico Sonntag [Fri, 24 Aug 2012 12:46:22 +0000 (14:46 +0200)]
[BUGFIX] formToken missing for batch edit features

All tce actions require a form token for security reasons. This is
missing for the batch edit options of DAM and must be added.

Change-Id: Ia6703c48fbdc0de1733bd500ab3fbc79c519922d
Fixes: #M18627
Release: 1.3

6 years ago[BUGFIX] File list: Auto indexing does not work 27/14027/2
Christian Weiske [Fri, 24 Aug 2012 11:01:42 +0000 (13:01 +0200)]
[BUGFIX] File list: Auto indexing does not work

According to the manual, auto indexing is set to TRUE by default.
This is not respected in the code, where the check for auto indexing
returns FALSE if the value isn't set.

Fixes: #M18626
Change-Id: Ib6f8e280dbae1e9d5266225c6943b92aad6ca645
Release: 1.3

6 years ago[BUGFIX] tx_dam_tsfemediatag: call to typoLink() with missing 3rd parameter 40/14040/2
Christian Weiske [Fri, 24 Aug 2012 14:13:11 +0000 (16:13 +0200)]
[BUGFIX] tx_dam_tsfemediatag: call to typoLink() with missing 3rd parameter

The missing 3rd parameter leads to a PHP warning and thus to a log entry
in TYPO3. $cObj can be set to NULL as default value, since it is only
used if there is no $this->cObj present anyway.

Change-Id: I83d1bad4fa215b04fe739c89b40072036c0e3475
Fixes: #M18601
Release: 1.3

6 years ago[BUGFIX] Undefined variable $softRef_ident in tx_dam_db::getMediaUsageReferences 29/14029/2
Andre Hähnel [Fri, 24 Aug 2012 11:29:13 +0000 (13:29 +0200)]
[BUGFIX] Undefined variable $softRef_ident in tx_dam_db::getMediaUsageReferences

This missing variable leads to a PHP notice. Setting it to an empty
string solves the problem. Obviously there is no query to
tx_dam_db::getMediaUsageReferences which uses a softRef_ident.

Change-Id: I61a2e4564ec30f627cc8ed1ee9bc3760ded36fd3
Fixes: #M18614
Releases: 1.3

6 years ago[BUGFIX] DAM TCEFORM fields displayed multiple times 03/13003/1
Lorenz Ulrich [Mon, 23 Jul 2012 16:03:01 +0000 (18:03 +0200)]
[BUGFIX] DAM TCEFORM fields displayed multiple times

Some palettes and fields in the TCA of a DAM item are displayed
multiple times.

Change-Id: I6ba22562f3b45cc01531ca7b98279be3f6afb617
Fixes: #18600
Releases: 1.3

6 years ago[TASK] Update ext_emconf.php after release 02/13002/1
Lorenz Ulrich [Mon, 23 Jul 2012 14:42:11 +0000 (16:42 +0200)]
[TASK] Update ext_emconf.php after release

Change-Id: Ic5fca0d3805e079f1eb7e2222d9bf113cf8a3200

6 years ago[TASK] Update changelog 53/12953/1 1.3.0
Lorenz Ulrich [Fri, 20 Jul 2012 21:56:38 +0000 (23:56 +0200)]
[TASK] Update changelog

Change-Id: If1965357d49895ed0d9efc86e97aa3cdd70f6c6f

6 years ago[FEATURE] Set browserMaxPages to 999 41/12941/1
Lorenz [Fri, 20 Jul 2012 19:17:08 +0000 (21:17 +0200)]
[FEATURE] Set browserMaxPages to 999

DAM defaults to display a maximum of 20 pages in the list which means
that more than 400 files won't be displayed by default (unless setting
the items per page higher). This has no obvious reason and could/does
distract users. Therefore, the limit is raised to 999.

Change-Id: I6282dff56cdb8ea91bec47462790dd146b91a283
Relates: #M18598
Releases: 1.3

6 years ago[BUGFIX] Regression: No file uploaded notice with empty file inputs 40/12940/1
Lorenz [Fri, 20 Jul 2012 19:09:26 +0000 (21:09 +0200)]
[BUGFIX] Regression: No file uploaded notice with empty file inputs

This is a regression from #M15809. In #M15809 a post-upload check was
implemented to find out whether a file was sent with the POST request
or not. This leads to notices that "No file was uploaded" when a user
uploads only one file in a form of more than one file.

This is fixed with this changeset and the error message is outsourced
to the language file.

Change-Id: Id619030c519c351b71d9b9229b89fa95d99cc2ae
Relates: #M15809
Fixes: #M18566
Releases: 1.3

6 years ago[BUGFIX] keepFileName does not respect change of file extension 36/12936/1
Lorenz [Fri, 20 Jul 2012 17:36:00 +0000 (19:36 +0200)]
[BUGFIX] keepFileName does not respect change of file extension

When the indexing option keepFileName is set, the file name of a
file is kept on replacing. This only makes sense if the file type
of the new file is the same file type as the old one.

Therefore the setting keepFileName is ignored when the file types
don't match.

Change-Id: Id36e1fb1fa987209b182602f6ea8218088f8b90a
Relates: #M13455
Resolves: #M18595
Releases: 1.3

6 years ago[TASK] Update documentation for DAM 1.3 34/12934/1
Lorenz [Fri, 20 Jul 2012 17:12:28 +0000 (19:12 +0200)]
[TASK] Update documentation for DAM 1.3

Manual needs to be updated to reflect changes in DAM 1.3.

Change-Id: I3be7fa548b5e34f0444fd79d4eba87cd7750fdd4
Relates: #M18542
Releases: 1.3

6 years agoMerge "[FEATURE] DAM references for Media CE"
Lorenz Ulrich [Fri, 20 Jul 2012 14:28:54 +0000 (16:28 +0200)]
Merge "[FEATURE] DAM references for Media CE"

6 years ago[FEATURE] DAM references for Media CE 85/11685/3
Lorenz Ulrich [Tue, 29 May 2012 14:01:05 +0000 (16:01 +0200)]
[FEATURE] DAM references for Media CE

This adds a new media wizard provider for DAM elements. The path to the
audio or video file must have the syntax "media:[UID]".

The changes in http://bugs.typo3.org/view.php?id=14893 provide a media
tab for the normal TYPO3 link wizard to reference DAM records in that
syntax.

Change-Id: I2248d2a4310987fe98b36134aff3b307ea65e05a
Resolves: #M11909
Releases: 1.3

6 years ago[BUGFIX] Wrong categories upon translation 45/12845/1
Francois Suter [Tue, 17 Jul 2012 12:26:40 +0000 (14:26 +0200)]
[BUGFIX] Wrong categories upon translation

When a Media (tx_dam) element is translated, the translation
is assigned wrong categories in the tx_dam_mm_cat table.
In fact it should not be assigned any categories at all, since
it is just a translation. This can be fixed by really excluding
the field from translation by dropping usage of "l10n_display".

Change-Id: I4822c73df266e272f456e9c92bcc0dc2eac2799a
Fixes: #M18414
Releases: 1.3

6 years ago[FEATURE] Options for replace: Keep original file name and existing meta data 80/11280/2
Lorenz Ulrich [Fri, 18 May 2012 11:40:38 +0000 (13:40 +0200)]
[FEATURE] Options for replace: Keep original file name and existing meta data

New TSconfig options:

tx_dam.indexing.replaceFile.keepFileName = 1

tx_dam.indexing.replaceFile.keepMetaFields = title, caption, description

Change-Id: Ifb16aee0a841e8326f1b03c67b40100cb0bd354d
Resolves: #M13455
Releases: 1.3

6 years ago[TASK] Optional disabling of workspaces for DAM records 51/12751/1
Lorenz [Wed, 11 Jul 2012 11:04:54 +0000 (13:04 +0200)]
[TASK] Optional disabling of workspaces for DAM records

As discussed with the workspaces team, versioning for DAM records and
DAM category records should not be versioned anymore because there
are a lot of problems with workspaces and DAM.

This change introduces a switch in the extension configuration to
turn versioning off, thus it remains backwards compatible with
installation that are actually using DAM and workspaces.

At the same time the old, no longer working "versioning" configuration
is removed from tx_dam_selection and tx_dam_media_types.

Change-Id: Ib57bbd5ee0f0e7738501c01d50a5b3088dea98fb
Releases: 1.3
Fixes: #M18405

6 years ago[FEATURE] Hide folders by regex 85/5385/3
Lorenz Ulrich [Tue, 27 Sep 2011 20:13:35 +0000 (22:13 +0200)]
[FEATURE] Hide folders by regex

Similar to the possibility to hide files in the list
by regex, this enables the tree and folder list to
hide folders by a regex passed by TSconfig.

User TSconfig:
mod.txdamM1_file.foldersDisplayExcludeByRegex =

Change-Id: I373c616dd49ba7e11c16f6ea20ba303b1de5053b
Resolves: #M14504
Releases: 1.3

6 years ago[BUGFIX] Regression: Fatal error in Media > List 31/12531/1
Lorenz [Tue, 3 Jul 2012 09:39:21 +0000 (11:39 +0200)]
[BUGFIX] Regression: Fatal error in Media > List

in the Media > List module when pagination is used. Due to a missing
check for existence of the search string, the module throws a fatal
error when checking display options.

Change-Id: I37b251f270872ae073c46b78960eca405fd86267
Releases: 1.3
Relates: #M12952

6 years ago[BUGFIX] Icon for read-only folder missing 91/12391/3
Lorenz [Wed, 27 Jun 2012 11:34:57 +0000 (13:34 +0200)]
[BUGFIX] Icon for read-only folder missing

The change in #M18495 breaks displaying the icon for a read-only folder.
This regression if fixed with this change that also converts some
more icons to PNG files.

Change-Id: I6e407ff8336747fe3278624502a6b3c811fdf7eb
Fixes: #M18495
Releases: 1.3

6 years ago[FEATURE] Store module settings in user configuration 46/12346/1
Lorenz [Mon, 25 Jun 2012 12:48:32 +0000 (14:48 +0200)]
[FEATURE] Store module settings in user configuration

Module settings like additional fields, sorting, items per page should
be stored permanently (and not only per-session) in user configuration.

Change-Id: I096617bb72e53748eed7ddc5589b189d71210896
Resolves: #M18573
Releases: 1.3

6 years agoMerge "[BUGFIX] tx_dam_simpleforms does not respect TCEFORM configuration"
Lorenz [Tue, 12 Jun 2012 18:09:49 +0000 (20:09 +0200)]
Merge "[BUGFIX] tx_dam_simpleforms does not respect TCEFORM configuration"

6 years agoMerge "[FEATURE] Usage information items should display page path"
Lorenz Ulrich [Tue, 12 Jun 2012 18:03:57 +0000 (20:03 +0200)]
Merge "[FEATURE] Usage information items should display page path"

6 years ago[FEATURE] Replace and rename action for DAM file reference 12/11412/2
Lorenz Ulrich [Mon, 21 May 2012 20:14:31 +0000 (22:14 +0200)]
[FEATURE] Replace and rename action for DAM file reference

When using a DAM media field (e.g. in tt_content with dam_ttcontent
installed), there is a clickmenu next to each referenced item. This
clickmenu needs to offer some useful functions as replacing a file
and renaming it.

Change-Id: Ia59c8e31a68cbb675d5ba1ea88d0c0be0f4a5b6b
Resolves: #M15126
Releases: 1.3

6 years ago[BUGFIX] Upload must be impossible when no permission to write to filesystem 14/11314/2
Lorenz Ulrich [Sat, 19 May 2012 22:17:46 +0000 (00:17 +0200)]
[BUGFIX] Upload must be impossible when no permission to write to filesystem

No upload form should be presented to the user if the folder is not
writeable or the user doesn't have permissions to upload files.

Besides that the flash uploader should not be displayed if the user has
no permissions to upload files.

Change-Id: I8250282c7174f8a152eb4f747eb946c729255644
Resolves: #M10302
Releases: 1.3

6 years ago[FEATURE] Media tab on header and image links 27/11227/3
Lorenz Ulrich [Tue, 25 Oct 2011 17:52:28 +0000 (19:52 +0200)]
[FEATURE] Media tab on header and image links

This patch introduces the possibility to link to a DAM asset from
the header_link or image_link field in a content element. Handling
and syntax is inspired by EXT:linkhandler. Compatible and tested
also with EXT:linkhandler.

Change-Id: I9e58080bdda1aebcb4aa6024b1d8574813b268c0
Resolves: #M14893
Releases: 1.3

6 years ago[BUGFIX] tx_dam_simpleforms does not respect TCEFORM configuration 93/11893/1
Lorenz [Fri, 8 Jun 2012 17:17:05 +0000 (19:17 +0200)]
[BUGFIX] tx_dam_simpleforms does not respect TCEFORM configuration

tx_dam_simpleforms, the class that generates forms for virtual tables
(e.g. record information, process form after uploading) must respect
the TCEFORM configuration in PageTS. If not, fields that are disabled
in PageTS are rendered nevertheless.

(Thanks Georg Ringer)

Change-Id: I022aaa73a73a857f14ab8737b09e973b0bb5985e
Resolves: #M13337
Releases: 1.3

6 years ago[BUGFIX] Files with comma in filename break batch-edit mode 50/7650/2
Lorenz Ulrich [Mon, 2 Jan 2012 02:20:56 +0000 (03:20 +0100)]
[BUGFIX] Files with comma in filename break batch-edit mode

The selected files are passed to the script in a checkbox array.
On the way to become parameters of the folder the user selects for
moving/copying the file to this array is imploded to a string with
comma as a delimiter. Later it is exploded and so if a filename
has got commas, the references are wrong.

So the delimitier was changed to ###ITEMSEPARATOR###.

Change-Id: I9a08761da17306be5502120a4faf788b277bb95e
Resolves: #M11331
Releases: 1.2

6 years agoMerge "[BUGFIX] File replaced with empty file input deletes file"
Lorenz Ulrich [Fri, 8 Jun 2012 12:11:22 +0000 (14:11 +0200)]
Merge "[BUGFIX] File replaced with empty file input deletes file"

6 years ago[BUGFIX] File replaced with empty file input deletes file 67/11367/2
Lorenz Ulrich [Mon, 21 May 2012 12:24:20 +0000 (14:24 +0200)]
[BUGFIX] File replaced with empty file input deletes file

If a file is replaced with an empty file (no file selected in file
input), DAM needs to throw an error instead of deleting the old file
without replacement.

Change-Id: Ib9a7994e792b8565d0d6d90c318dd8c1bffbe977
Resolves: #M15809
Releases: 1.3

6 years ago[TASK] Cleanup TCA of tx_dam 40/10540/4
Lorenz Ulrich [Sun, 15 Apr 2012 21:50:44 +0000 (23:50 +0200)]
[TASK] Cleanup TCA of tx_dam

The TCA of tx_dam has an extensive first tab. Similar to the TCA in
pages or tt_content, the access information should better be in a
separate tab.

At the same time the category selector should have a bigger default
size (10 instead of 6).

Due to missing styles in T3SKIN, some palette headers were not indented
correctly. This is fixed as well.

Change-Id: I6308ced56f54f421a9360ed3c952aab13fd0dff4
Resolves: #M6919
Releases: 1.3

6 years ago[TASK] Replace getMaxUploadSize in tx_dam_tce_extfilefunc 49/7649/3
Lorenz Ulrich [Mon, 2 Jan 2012 00:55:05 +0000 (01:55 +0100)]
[TASK] Replace getMaxUploadSize in tx_dam_tce_extfilefunc

There is a method getMaxUploadSize() in
class.tx_dam_tce_extfilefunc.php that shouldn't be used. Instead,
getMaxUploadFileSize from t3lib_div should be used.

Change-Id: I152a0fa30aa981cb07b6481a4881995f4c804082
Resolves: #M10815
Releases: 1.2

6 years ago[BUGFIX] All translated deleted when checking the index 48/7648/2
Lorenz Ulrich [Sun, 1 Jan 2012 23:40:42 +0000 (00:40 +0100)]
[BUGFIX] All translated deleted when checking the index

When you use the "Check index" function in the "Tools" module and you
check the "Mark entries with missing files as deleted" box, all
translation DB entries will also be marked as deleted.

The language overlay doesn't hold the path and name of the file,
therefore the file is not found and the language overlay is deleted.

This change fixes these it by doing the following:
- DAM does not check anymore for file existence of records with
sys_language_uid other than 0
- If a DAM record needs to be deleted because a file is missing,
its language overlays is be deleted as well

Change-Id: I16a9d7d2ebe5c5748dadd0249c4700093a86fc17
Resolves: #M18402
Releases: 1.2

6 years ago[BUGFIX] File rename dialog does not consider user access rights 07/11307/2
Lorenz Ulrich [Sat, 19 May 2012 20:32:41 +0000 (22:32 +0200)]
[BUGFIX] File rename dialog does not consider user access rights

When a file is renamed, the fields file_name and file_dl_name only
should be displayed if the logged in user has rights to edit them.

Change-Id: I3ba795f3ba69dbb3098809dae17155955dd80f67
Resolves: #M18214
Releases: 1.3

6 years ago[TASK] Remove calls to deprecated/removed functions 13/11213/2
Lorenz Ulrich [Tue, 15 May 2012 12:01:26 +0000 (14:01 +0200)]
[TASK] Remove calls to deprecated/removed functions

DAM still has some calls to functions that are deprecated since 4.5
and therefore not present in 4.7 anymore. Those calls need to be
replaced to make DAM 4.7 compatible.

Change-Id: Idc60f9016371a4291eb17bebb2a6a7875143106c
Resolves: #M18539
Releases: 1.3

6 years ago[TASK] tx_dam_indexing::getImageDimensions() is too costly 26/11226/2
Lorenz Ulrich [Thu, 5 Apr 2012 21:17:21 +0000 (23:17 +0200)]
[TASK] tx_dam_indexing::getImageDimensions() is too costly

getImageDimensions() function calls imagemagic to get the size of the
image. This is too costly because it is an exec() of the slow command.

The improved method uses getimagesize() for pixel height and pixel
width and color_space and exif_read_data() for the resolution.

Change-Id: I75843e652dcc6678bea72bca79a5823bf64d6ae6
Resolves: #M18457
Releases: 1.3

6 years ago[TASK] Adjust styling of dam_index to TYPO3 4.5+ 10/11210/5
Lorenz Ulrich [Tue, 10 Apr 2012 11:11:54 +0000 (13:11 +0200)]
[TASK] Adjust styling of dam_index to TYPO3 4.5+

dam_index needs to be adjusted to fit to the TYPO3 4.5+ backend look.

These are the changes necessary to DAM itself since the stylesheet
and some parts of indexing are part of the DAM "core".

Change-Id: Ia6424a6f495e59aad0fe9e6ee618b73ada5ca09f
Resolves: #M18538
Releases: 1.3

6 years ago[FEATURE] Usage information items should display page path 14/11414/1
Lorenz Ulrich [Mon, 21 May 2012 21:35:38 +0000 (23:35 +0200)]
[FEATURE] Usage information items should display page path

In the usage information tab of an item the name of the page where
the item is used is displayed. If you have may pages with the same
page title it's hard to find out on which page the item is
referenced.

Therefore the page path needs to be displayed on hovering the page
title.

Change-Id: If01ef1f1f5a418974296fbfed80b2b820b8bb940
Resolves: #M10233
Releases: 1.3

6 years ago[BUGFIX] Regression: Selections don't work properly anymore 95/11395/2
Lorenz Ulrich [Mon, 21 May 2012 18:29:22 +0000 (20:29 +0200)]
[BUGFIX] Regression: Selections don't work properly anymore

Due to a regression in #M18294 the selection of categories, index runs,
media types and status didn't work properly anymore throughout DAM.

Change-Id: If5cf75638d07fc1b5bd55cc9b620a0e3c1cad912
Resolves: #M18544
Releases: 1.3

6 years agofile_usage does not display softreferences (DAM usage in RTE content) 90/7690/6
Martin Holtz [Wed, 4 Jan 2012 13:16:54 +0000 (14:16 +0100)]
file_usage does not display softreferences (DAM usage in RTE content)

MySQL evaluates NOT with and without parentheses differently in
different versions. So the softref statement needs to be adjusted
to a DBAL compliant statement that works with all versions.

Fixes: #M18413
Releases: 1.3
Change-Id: Ic762b8461e81fc6158a4062e01ec43c4feec9160

6 years agoMerge "[TASK] Update icons to fit t3skin"
Lorenz Ulrich [Mon, 21 May 2012 09:57:00 +0000 (11:57 +0200)]
Merge "[TASK] Update icons to fit t3skin"

6 years ago[TASK] Update icons to fit t3skin 78/10678/2
Ingo Renner [Sat, 21 Apr 2012 19:02:22 +0000 (21:02 +0200)]
[TASK] Update icons to fit t3skin

Update gif icons to look like the modern ones.
Replace icons with sprite icons.
Replace gif icons with png icons.
Create new icons.
Make icon size 16x16

Resolves: #M18495
Change-Id: I90e4d172b562e5bfc63a932e3205ddc677d90450

6 years ago[BUGFIX] Fatal error when clicking on info icon in Media > File 21/11121/1
Lorenz Ulrich [Wed, 9 May 2012 21:32:41 +0000 (23:32 +0200)]
[BUGFIX] Fatal error when clicking on info icon in Media > File

With DAM and TYPO3 4.7.0, clicking on the info icon of a file in the
Media > File module in list mode opens a popup that shows the following
error message:

Fatal error: Call to undefined method template::getDynTabMenuJScode()

This method is deprecated since TYPO3 4.5 and is no longer necessary
since the DynTabMenu JavaScript code is inserted automatically if there
is one. Therefore the call can be removed without replacement.

Change-Id: I35103a275cd93861c6413f00994f41db590a92c4
Resolves: #M18526
Releases: 1.3

6 years agoMerge "[FEATURE] Configuration to hide files from subfolders in EB and List"
Lorenz Ulrich [Thu, 5 Apr 2012 18:01:01 +0000 (20:01 +0200)]
Merge "[FEATURE] Configuration to hide files from subfolders in EB and List"

6 years ago[BUG] Indexing fails when TYPO3 lockingMode is set to "semaphore" 16/5416/5
Bjoern Pedersen [Wed, 28 Sep 2011 14:57:07 +0000 (16:57 +0200)]
[BUG] Indexing fails when TYPO3 lockingMode is set to "semaphore"

t3lib_lock->aquire() always returns false for mode 'semaphore',
this causes DAM indexing to fail.

The check for succesful lock aquisition should not use the
return value of aquire, as this returns true only if the lock
could be aquired without waiting.

Setting $success from $this->fileLock->getLockStatus() fixes this.

Releases: 1.3
Resolves: #M16419
Change-Id: Icb7e370be4dd874ecca071282840deefd8514300

6 years ago[BUGFIX] Fileupload from context menu fails (with flash uploader) 95/6495/3
Lorenz Ulrich [Tue, 1 Nov 2011 22:09:32 +0000 (23:09 +0100)]
[BUGFIX] Fileupload from context menu fails (with flash uploader)

If the user has activated the flash uploader in the user settings and
clicks on the icon in front of a directory and chooses "Upload Files"
from the contextmenue the following JavaScript error occurs:

initFlashUploader is not defined

This is because in the DAM implementation of the flash uploader, the
functions to call the uploader are only loaded if there is a click
event on a link <a id="button-upload">.

The bug is fixed by restructuring the affected JavaScript.

Change-Id: I9dcc81e3d06c81827bd2af2630025ba5517a5265
Resolves: #M18212
Releases: 1.3

6 years agoMerge "Update ext_emconf.php after the release"
Lorenz Ulrich [Thu, 5 Apr 2012 17:31:13 +0000 (19:31 +0200)]
Merge "Update ext_emconf.php after the release"

6 years agoMerge "[TASK] Remove Tools>Services information"
Lorenz Ulrich [Thu, 5 Apr 2012 17:22:58 +0000 (19:22 +0200)]
Merge "[TASK] Remove Tools>Services information"

6 years ago[FEATURE] Add hook in tx_dam_tsfemediatag 72/6172/6
Jochen Rieger [Fri, 21 Oct 2011 13:04:27 +0000 (15:04 +0200)]
[FEATURE] Add hook in tx_dam_tsfemediatag

In some cases you want to modify the file URL before it's rendered.
Therefore a hook in the typolink generation is needed. The hook
is identical to the one in class.tslib_content.php of sysext:cms.

Resolves: #M18320
Releases: 1.3
Change-Id: I9d3b917bf057d86432c73729ef7678afd944255a

6 years ago[BUGFIX] Search string in list lost when using pagination 42/5642/2
Lorenz Ulrich [Sat, 8 Oct 2011 20:51:50 +0000 (22:51 +0200)]
[BUGFIX] Search string in list lost when using pagination

If the DAM list is filtered by a search term and the pagination is
used, the search term is lost on the target page. This is because
the search term is not passed to the target page.

This change checks if a search term is set. If that's the case, it's
added to the link parameters of the previous/next links/buttons in
the list module.

While investigating, I found out that the previous/next links
on the top and bottom of the list (e.g. [21-40]) display wrong numbers.
This is also fixed.

Change-Id: I2052a30b37847a04a936c3ae5ebd0a7b608d655c
Resolves: #M12952
Releases: 1.2

6 years ago[BUGFIX] No result when processing a file command 05/8605/2
Lorenz Ulrich [Fri, 20 Jan 2012 16:44:37 +0000 (17:44 +0100)]
[BUGFIX] No result when processing a file command

DAM XCLASSes class t3lib_basicFileFunctions but doesn't return
the outcome of the file operation.

This change fixes that problem.

Change-Id: I9eb17751dbdef7bfcb1be499c41f6020e927ce25
Resolves: #18238
Releases: 1.3

7 years ago[FEATURE] Configuration to hide files from subfolders in EB and List 53/7653/1
Lorenz Ulrich [Mon, 2 Jan 2012 21:25:34 +0000 (22:25 +0100)]
[FEATURE] Configuration to hide files from subfolders in EB and List

This change adds a TSconfig to manipulate the output of the Element
browser and List / List:

mod.txdamM1_SHARED.listFilesFromSubfolders (default: 1)

Default behaviour is that files from subfolders are listed (to
maintain compatibility on upgrading). Setting this config to
0 will only display files that are in the selected folder.

Change-Id: I03f1ac3fbff061ad3763e9ab1456b8fb2425597d
Resolves: #M13231
Releases: 1.3

7 years agoMerge "[TASK] Adjust DAM look to TYPO3 4.5+"
Lorenz Ulrich [Sun, 1 Jan 2012 23:59:23 +0000 (00:59 +0100)]
Merge "[TASK] Adjust DAM look to TYPO3 4.5+"