Feature #38821

Add signal to process public URL of file

Added by Oliver Hader over 7 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2012-07-09
Due date:
% Done:

100%

PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

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

Revision 61892aa9 (diff)
Added by Benni Mack over 7 years ago

[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

Revision 3d67d0c3 (diff)
Added by Benni Mack over 7 years ago

[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

#1 Updated by Gerrit Code Review over 7 years 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

#2 Updated by Benni Mack over 7 years ago

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

#3 Updated by Riccardo De Contardi about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF