Feature #38821
Add signal to process public URL of file
| Status: | Resolved | Start date: | 2012-07-09 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | File Abstraction Layer (FAL) | |||
| Target version: | 6.0.0-alpha3 | |||
| TYPO3 Version: | 6.0 | Complexity: | ||
| PHP Version: | 5.3 | |||
| Votes: | 0 |
Description
By using the File Abstraction Layer (FAL), resources can be put to remote storages like Amazon S3 or WebDAV.
However, in those cases a protected URI (containing user credentials) is used for uploading which shall not be accessible for any user of course.
This change introduces the possibility to pre-process the public URL generation and allows i.e. to substitute by an alternative dispatcher URL.
Example for registering the slot:
$this->getSignalSlotDispatcher()->connect(
't3lib_file_Storage',
t3lib_file_Storage::SIGNAL_PreGeneratePublicUrl,
'Tx_MyExtension_HandlerSlot',
'preGeneratePublicUrl'
);
Associated revisions
[FEATURE] Add signal to process public URL of file
By using the File Abstraction Layer (FAL), resources can be put
to remote storages like Amazon S3 or WebDAV. However, in those
cases a protected URI (containing user credentials) is used for
uploading which shall not be accessible for any user of course.
This change introduces the possibility to pre-process the public
URL generation and allows i.e. to substitute by an alternative
dispatcher URL.
Example for registering the slot:
$this->getSignalSlotDispatcher()->connect(
't3lib_file_Storage',
t3lib_file_Storage::SIGNAL_PreGeneratePublicUrl,
'Tx_MyExtension_HandlerSlot',
'preGeneratePublicUrl'
);
Change-Id: I9365831208dc90427aed29cff5672cc8ba5d6261
Resolves: #38821
Releases: 6.0
Reviewed-on: http://review.typo3.org/12732
Reviewed-by: Daniel Sattler
Tested-by: Daniel Sattler
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
[FEATURE] Add signal to process public URL of file
By using the File Abstraction Layer (FAL), resources can be put
to remote storages like Amazon S3 or WebDAV. However, in those
cases a protected URI (containing user credentials) is used for
uploading which shall not be accessible for any user of course.
This change introduces the possibility to pre-process the public
URL generation and allows i.e. to substitute by an alternative
dispatcher URL.
Example for registering the slot:
$this->getSignalSlotDispatcher()->connect(
't3lib_file_Storage',
t3lib_file_Storage::SIGNAL_PreGeneratePublicUrl,
'Tx_MyExtension_HandlerSlot',
'preGeneratePublicUrl'
);
Change-Id: I9365831208dc90427aed29cff5672cc8ba5d6261
Resolves: #38821
Releases: 6.0
Reviewed-on: http://review.typo3.org/12732
Reviewed-by: Daniel Sattler
Tested-by: Daniel Sattler
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
History
Updated by Gerrit Code Review 10 months ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12732
Updated by Benjamin Mack 10 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 61892aa9b5533edb0b5115b08ef601cd8289566b.