Task #59294

More & improved signals (hooks) in ResourceStorage

Added by Alexander Stehlik almost 6 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2014-06-02
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

Currently not all file actions emit a signal in the ResourceStorage class.

Additionally in the post file / folder move signals the original folder is not accessible.

This could be improved.

The reason behind this request: I'm currently developing an Extension that tries to optimize the caching behavior of TYPO3: https://github.com/Intera/typo3-extension-cacheopt. Basically every time a file is modified, the cache for all pages pointing to the file or the parent directory (via a file collection) is cleared.

Associated revisions

Revision d15687b7 (diff)
Added by Alexander Stehlik almost 6 years ago

[TASK] Enhance resource storage hooks

Emit postFileCreate and postFileSetContents signals and add
provide the original folder in the postFileMove and the
postFolderMove signals.

Resolves: #59294
Releases: 6.2
Change-Id: Ia4096b38671f3312a1488587972d4883368de05c
Reviewed-on: https://review.typo3.org/30525
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Markus Klein
Tested-by: Markus Klein

History

#1 Updated by Gerrit Code Review almost 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30525

#2 Updated by Alexander Stehlik almost 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#3 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF