Skip to content

Commit

Permalink
Develop (#57)
Browse files Browse the repository at this point in the history
* [FEATURE] Add support for TYPO3 9.4

* Add PHPCS with TRAVISCI and update Composer information (#26)

[TEST] TRAVISCI integration with PHPCS

* [FEATURE] Add support for TYPO3 9.5

* [CHANGE] Restructure library handling for non composer installs

* [BUGFIX] Remove folder parameter from compression service call in the compression command controller

Resolves #24

* [CHANGE] Remove autoloader include as autoload is handled by composer or TYPO3

* [CHANGE] Drop support of non composer installation

* [FIX] wrong composer structure

* [CHANGE] Update CHANGELOG

* [CHANGE] Raise version to 1.3.0

* exclude Folders and Flash-Message-Handling (#42)

* [TASK] Use TYPO3_CONF_VARS/EXTENSIONS for extConf 

This change enables to use of different API keys/Extension configurations depending on the context (development/live).

* [FEATURE] configurable exclude folders from compression

* [TASK] idents

* [BUGFIX] TYPO3 < 9

* Feature/exclude folders (#43)

* [CHANGE] Move contribution mentioning from author part in composer.json to CHANGELOG.md

* [CHANGE] Revert PHP 7 function declarations to bring back PHP 5 with TYPO3 7 support

* [CHANGE] Update README.md with TypoScript reference

* [BUGFIX] Fix PHPCS errors

* [BUGFIX] Fix PHPCS errors

* do only delete affected processed files on compress command (#44)

* [TASK] Use TYPO3_CONF_VARS/EXTENSIONS for extConf 

This change enables to use of different API keys/Extension configurations depending on the context (development/live).

* [FEATURE] configurable exclude folders from compression

* [TASK] idents

* [BUGFIX] TYPO3 < 9

* [TASK] do only delete affected processed files

* [TASK] do only delete affected processed files

* [TASK] PHPCS error and file limit

* [DOC] Update readme with detailed information about setting exclude folders

* Add TYPO3 v10 Support (#47)

* Develop (#36)

* [FEATURE] Add support for TYPO3 9.4

* Add PHPCS with TRAVISCI and update Composer information (#26)

[TEST] TRAVISCI integration with PHPCS

* [FEATURE] Add support for TYPO3 9.5

* [CHANGE] Restructure library handling for non composer installs

* [BUGFIX] Remove folder parameter from compression service call in the compression command controller

Resolves #24

* [CHANGE] Remove autoloader include as autoload is handled by composer or TYPO3

* [CHANGE] Drop support of non composer installation

* [FIX] wrong composer structure

* Develop (#37)

* [FEATURE] Add support for TYPO3 9.4

* Add PHPCS with TRAVISCI and update Composer information (#26)

[TEST] TRAVISCI integration with PHPCS

* [FEATURE] Add support for TYPO3 9.5

* [CHANGE] Restructure library handling for non composer installs

* [BUGFIX] Remove folder parameter from compression service call in the compression command controller

Resolves #24

* [CHANGE] Remove autoloader include as autoload is handled by composer or TYPO3

* [CHANGE] Drop support of non composer installation

* [FIX] wrong composer structure

* [CHANGE] Update CHANGELOG

* Develop (#38)

* [FEATURE] Add support for TYPO3 9.4

* Add PHPCS with TRAVISCI and update Composer information (#26)

[TEST] TRAVISCI integration with PHPCS

* [FEATURE] Add support for TYPO3 9.5

* [CHANGE] Restructure library handling for non composer installs

* [BUGFIX] Remove folder parameter from compression service call in the compression command controller

Resolves #24

* [CHANGE] Remove autoloader include as autoload is handled by composer or TYPO3

* [CHANGE] Drop support of non composer installation

* [FIX] wrong composer structure

* [CHANGE] Update CHANGELOG

* [CHANGE] Raise version to 1.3.0

* [TASK] Use TYPO3_CONF_VARS/EXTENSIONS for extConf 

This change enables to use of different API keys/Extension configurations depending on the context (development/live).

* [FEATURE] configurable exclude folders from compression

* [TASK] idents

* [BUGFIX] TYPO3 < 9

* [TASK] do only delete affected processed files

* [TASK] do only delete affected processed files

* [TASK] PHPCS error and file limit

* [BUGFIX] Fix spelling for exclude folders setting

* [TASK] Check for mime type instead of file extension

* [TASK] Add TYPO3 v10 as a possible version requirement

* [BUGFIX] compressing of images with special characters

* [!!!][TASK] TYPO3 v10 Support, Drop v7 Support

* [TASK] make limit as input argument

* [CHANGE] Travis: remove TYPO3 7 tests and add TYPO3 10 tests

* Compression Errors (#48)

* Develop (#36)

* [FEATURE] Add support for TYPO3 9.4

* Add PHPCS with TRAVISCI and update Composer information (#26)

[TEST] TRAVISCI integration with PHPCS

* [FEATURE] Add support for TYPO3 9.5

* [CHANGE] Restructure library handling for non composer installs

* [BUGFIX] Remove folder parameter from compression service call in the compression command controller

Resolves #24

* [CHANGE] Remove autoloader include as autoload is handled by composer or TYPO3

* [CHANGE] Drop support of non composer installation

* [FIX] wrong composer structure

* Develop (#37)

* [FEATURE] Add support for TYPO3 9.4

* Add PHPCS with TRAVISCI and update Composer information (#26)

[TEST] TRAVISCI integration with PHPCS

* [FEATURE] Add support for TYPO3 9.5

* [CHANGE] Restructure library handling for non composer installs

* [BUGFIX] Remove folder parameter from compression service call in the compression command controller

Resolves #24

* [CHANGE] Remove autoloader include as autoload is handled by composer or TYPO3

* [CHANGE] Drop support of non composer installation

* [FIX] wrong composer structure

* [CHANGE] Update CHANGELOG

* Develop (#38)

* [FEATURE] Add support for TYPO3 9.4

* Add PHPCS with TRAVISCI and update Composer information (#26)

[TEST] TRAVISCI integration with PHPCS

* [FEATURE] Add support for TYPO3 9.5

* [CHANGE] Restructure library handling for non composer installs

* [BUGFIX] Remove folder parameter from compression service call in the compression command controller

Resolves #24

* [CHANGE] Remove autoloader include as autoload is handled by composer or TYPO3

* [CHANGE] Drop support of non composer installation

* [FIX] wrong composer structure

* [CHANGE] Update CHANGELOG

* [CHANGE] Raise version to 1.3.0

* [TASK] Use TYPO3_CONF_VARS/EXTENSIONS for extConf 

This change enables to use of different API keys/Extension configurations depending on the context (development/live).

* [FEATURE] configurable exclude folders from compression

* [TASK] idents

* [BUGFIX] TYPO3 < 9

* [TASK] do only delete affected processed files

* [TASK] do only delete affected processed files

* [TASK] PHPCS error and file limit

* [BUGFIX] Fix spelling for exclude folders setting

* [TASK] Check for mime type instead of file extension

* [TASK] Add TYPO3 v10 as a possible version requirement

* [BUGFIX] compressing of images with special characters

* [!!!][TASK] TYPO3 v10 Support, Drop v7 Support

* [TASK] make limit as input argument

* [TASK] Add error log for failed compressions

* [TASK] Add fields compressed and compress_log to file info module

* [TASK] use compress_error field

* [TASK] reset compress_error on success, use extbase persistence

* [TASK] Update extension icon

May I propose a new, more colorful extension icon?

* [TASK] Update extension icon

May I propose a new, more colorful extension icon?

* [BUGFIX] error handling on cli command (#9)

Co-authored-by: Alex <[email protected]>
Co-authored-by: David Steeb <[email protected]>
Co-authored-by: Achim Fritz <[email protected]>
Co-authored-by: Benni Mack <[email protected]>
Co-authored-by: Andreas Hämmerl <[email protected]>
Co-authored-by: David Steeb <[email protected]>
Co-authored-by: Benni Mack <[email protected]>

* [FIX] Remove blank line before function closing brace

* [CHANGE] Raise version to 1.5.0

* [FIX] Set correct field definition and add event for cleanupProcessedFilesPostFileReplace

* [CHANGE] Raise minor version to 1.5.1

* [FIX] Clear file information cache before calculating saved percentage after compression

Resolves #55

* [CHANGE] Set typo3/cms-core dependency to security fixed versions

* [CHANGE] Raise minor version to 1.5.2

Co-authored-by: Achim Fritz <[email protected]>
Co-authored-by: David Steeb <[email protected]>
Co-authored-by: Achim Fritz <[email protected]>
Co-authored-by: Benni Mack <[email protected]>
Co-authored-by: Andreas Hämmerl <[email protected]>
Co-authored-by: David Steeb <[email protected]>
Co-authored-by: Benni Mack <[email protected]>
  • Loading branch information
8 people authored May 27, 2020
1 parent 6022fc7 commit 28a13c6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 1.5.2
* **[FIX]** Clear file information cache before calculating saved percentage after compression
* **[CHANGE]** Set typo3/cms-core dependency to security fixed versions

### 1.5.1
* **[FIX]** Set correct field definition and add event for cleanupProcessedFilesPostFileReplace

Expand Down
1 change: 1 addition & 0 deletions Classes/Service/CompressImageService.php
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ protected function setCompressedForCurrentFile(File $file): ?int
$this->fileRepository->update($extbaseFileObject);
$this->persistenceManager->persistAll();
try {
clearstatcache();
$splFileObject = new \SplFileObject(GeneralUtility::getFileAbsFileName($file->getPublicUrl()));
return (int)$splFileObject->getSize();
} catch (\Exception $e) {
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"issues": "https://github.com/schmitzal/tinyimg/issues"
},
"require": {
"typo3/cms-core": "^8.0 || ^9.0 || ^10.0",
"typo3/cms-core": "^8.7.33 || ^9.5.17 || ^10.4.2",
"tinify/tinify": "^1.5"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'author' => 'Alessandro Schmitz',
'author_email' => '[email protected]',
'author_company' => 'Interlutions GmbH',
'version' => '1.5.1',
'version' => '1.5.2',
'state' => 'beta',
'clearCacheOnLoad' => true,
'constraints' => [
Expand Down

0 comments on commit 28a13c6

Please sign in to comment.