Feature #67545

Add AJAX method to check if file exists

Added by Andreas Fernandez over 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2015-06-17
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Related issues

Related to TYPO3 Core - Feature #68197: Show a dialog for existing files on upload Closed 2015-07-16
Related to TYPO3 Core - Bug #68235: Several bugs in DragDrop Uploader Closed 2015-07-16
Related to TYPO3 Core - Task #68600: Change ResourceStorage::processUploadedFilename to sanitizeFileName Closed 2015-07-28
Precedes Resize images automatically - Bug #68339: Cannot upload file in TYPO3 v7.4-dev Closed 2015-07-18

Associated revisions

Revision 25aa4611 (diff)
Added by Alina Fleser over 4 years ago

[TASK] Improve "Overwrite files" message

"Shall existing files be overwritten" message displayed when
uploading files in Filelist is replaced with a more friendly one.

Change-Id: I36080cd969c4b1fe1db7dc9bcc9f37898cb452e1
Resolves: #67466
Related: #67545, #63603, #55781
Releases: 6.2
Reviewed-on: http://review.typo3.org/40384
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>
Reviewed-by: Benjamin Mack <>
Tested-by: Benjamin Mack <>

Revision 9ab04864 (diff)
Added by Alina Fleser over 4 years ago

[!!!][FEATURE] Ajax call to check if file already exists

To check if a file already exist we want prior to realuploding uploading
be able to verify the posible file existince using a ajax request.

The ajax request checks the final file name, considering possible
alterations of the name, like sanitization and PreFileAdd signal.

Resolves: #67545
Releases: master
Change-Id: I850694e0d065b674634437bbe51fbeee840c6e39
Reviewed-on: http://review.typo3.org/40310
Reviewed-by: Frans Saris <>
Tested-by: Frans Saris <>
Reviewed-by: Xavier Perseguers <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>

Revision 35f8da6e (diff)
Added by Frans Saris over 4 years ago

[FOLLOWUP][FEATURE] Ajax call to check if file already exists

The fileExist call now returns all info about a file just like
done after fileupload.

Resolves: #67545
Releases: master
Change-Id: Ie70f1597b98ea0c2b9cb7999686eb8a062b5ecaa
Reviewed-on: http://review.typo3.org/41398
Reviewed-by: Benjamin Mack <>
Reviewed-by: Andreas Fernandez <>
Tested-by: Andreas Fernandez <>
Tested-by: Frans Saris <>

Revision a18b5185 (diff)
Added by Frans Saris over 4 years ago

[FOLLOWUP][FEATURE] Ajax call to check if file already exists

Adjusted unitTest to new result

Resolves: #67545
Releases: master
Change-Id: I59ba5613cd8be324b28c2ddc463e0ccb0e9fe8f0
Reviewed-on: http://review.typo3.org/41409
Reviewed-by: Susanne Moog <>
Tested-by: Susanne Moog <>

Revision 9516bb35 (diff)
Added by Andreas Fernandez over 4 years ago

[FEATURE] Filelist: Show list of conflicting files

Show a list of files that cannot be uploaded because
files with the same names already exist.

Resolves: #68197
Resolves: #55781
Related: #67545
Releases: master
Change-Id: I6388ae5533487160d5b9337c1b4a72854af4ec99
Reviewed-on: http://review.typo3.org/40270
Reviewed-by: Frans Saris <>
Tested-by: Frans Saris <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

Revision 84218a9a (diff)
Added by Frans Saris about 4 years ago

[TASK] Rename ResourceStorage::processUploadedFilename to sanitizeFileName

Feature #67545 introduced ResourceStorage::processUploadedFilename and
changed the existing PreFileAddSignal. The name of the newly introduced
method doesn't really fit its functionality and using the same signal
for
two different purposes is also not correct.

This change renames the method
processUploadedFilename() to sanitizeFileName()
and introduces the SanitizeFileNameSignal.
The changes made to PreFileAddSignal are reverted.

Resolves: #68600
Related: #67545
Releases: master
Change-Id: Iabeffe5b8b3fe85a4f49b9341a45b2a026dd241c
Reviewed-on: http://review.typo3.org/42116
Reviewed-by: Nicole Cordes <>
Tested-by: Nicole Cordes <>
Reviewed-by: Mathias Schreiber <>
Tested-by: Mathias Schreiber <>
Reviewed-by: Frans Saris <>
Tested-by: Frans Saris <>

History

#1 Updated by Gerrit Code Review over 4 years ago

  • Status changed from New to Under Review

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

#2 Updated by Gerrit Code Review over 4 years ago

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

#3 Updated by Gerrit Code Review over 4 years ago

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

#4 Updated by Gerrit Code Review over 4 years ago

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

#5 Updated by Alina Fleser over 4 years ago

  • Sprint Focus changed from Remote Sprint to On Location Sprint

#6 Updated by Gerrit Code Review over 4 years ago

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

#7 Updated by Gerrit Code Review over 4 years ago

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

#8 Updated by Gerrit Code Review over 4 years ago

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

#9 Updated by Gerrit Code Review over 4 years ago

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

#10 Updated by Gerrit Code Review over 4 years ago

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

#11 Updated by Alina Fleser over 4 years ago

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

#12 Updated by Gerrit Code Review over 4 years ago

  • Status changed from Resolved 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 http://review.typo3.org/41398

#13 Updated by Gerrit Code Review over 4 years ago

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

#14 Updated by Frans Saris over 4 years ago

  • Status changed from Under Review to Resolved

#15 Updated by Gerrit Code Review over 4 years ago

  • Status changed from Resolved 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 http://review.typo3.org/41409

#16 Updated by Frans Saris over 4 years ago

  • Status changed from Under Review to Resolved

#17 Updated by Mathias Schreiber over 4 years ago

  • Sprint Focus deleted (On Location Sprint)

#18 Updated by Riccardo De Contardi almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF