Skip to content

Releases: in2code-de/in2publish_core

5.4.0 Many bug fixes and RealUrl 2.2 support

20 Feb 16:48
1dbcb7f
Compare
Choose a tag to compare

A lot of things happen in this release. Most of the commits are bugfixes regarding different topics:

  • Fixed a bug that would throw an Exception when using PHP7 and the Publish Files Module: 1425467980: Insufficient write permissions for remote file "[...]typo3temp/tx_in2publish_temp_[...]"
  • Fixed FFS record info overrule, which resulted in an Exception if the record existed in sys_file on local only. empty query
  • Corrected an error message and added a logger when opening a sftp stream on foreign failed because of other reasons that insufficient permissions
  • Enforced permissions on storages on Live. This Exception occurred when publishing a content element with a youtube video Could not execute RPC [...]. An error occurred on foreign: Oops, an error occurred: You are not allowed to access that file: "[...]"
  • Set the creation_date for in2publish tasks again (this does not affect functionality, but that information simply got lost)
  • Updated some comments and declarations
  • Prohibit the creation of RealUrlTasks when the record in question is not changed

On top of those bugfixes we put some effort in really supporting RealUrl >= 2.2 (with *data instead of *cache tables). The biggest difference is the cleaner approach by simulation the DataHandler API on Live instead of ploughing through the tables.
The RealUrl support for RealUrl version 2.1 and lower stays untouched.

5.3.8 Minor stability improvements

16 Feb 14:44
4485389
Compare
Choose a tag to compare

When publishing records which are related to a file on disk it could happen that the state is not set or split correctly for both state dependent publishing actions (publishing data/file). This release prevents exceptions when publishing records with ambivalent "moved" state.
Beyond this some log writings were implemented to be able to track errors better when publishing or an RPC fails.

5.3.7 Input relation support, overflow fix and db state recall

09 Feb 11:05
4f35f03
Compare
Choose a tag to compare

This release contains three bug fixes and a relation resolving update. The bugs in detail:

  1. FAL storage FlexForm configuration defaults:

    FAL storages configured with the "Local Driver" need to have the "is case sensitive" set in their configuration. Sometimes, e.g. by a migration, the configuration FlexForm will not be updated and the configuration value caseSensitive might not have been persisted, which led to the FAL internal assumption that the storage is not case sensitive. This led to an exception with the message that a folder (in lowercase) does not exist, whereas the folder actually exists on the file system.

  2. Request field overflow

    The RPC/Envelope feature increased the performance and stability for multiple FAL storages and support for any FAL driver. A request size check was missing so RPC/Envelope requests could exceed the allowed size of 65k chars which rendered the request invalid. This bug has been fixed by chunking the requests.

  3. FFS state bad overrule

    Despite having only one state field a Record has to be capable of remembering at least three, which are the file state of the related FAL file, the DB-Differences state and also a representative state. The latter was used to determine the appropriate publishing action for each record which resulted in insert statements on duplicate IDs.

5.3.6 Distribution, Logs fixes and decoupling

31 Jan 14:30
ebfae0d
Compare
Choose a tag to compare

The "Show logs" action in the Publish Tools Module has been historically restricted to in2publish-related classes. This restriction has been lifted, which allows any 3rd party package to log publishing related log entries to the logging table and utilize the log reading functionality.
Additionally the decoupling of the RecordInterface implementation has been increased in the Record implementation, which allows occasional replacement of the Record class.
Also a .gitattributes file has been added to provide lightweight distributions for production usage. Thanks to @markussom for the PR.

5.3.5 Stability release

12 Jan 19:28
20b4541
Compare
Choose a tag to compare

This patch prevents exceptions which occurred when the foreign database was not available. On top of that it also provides an additional class for the enterprise versions workflow state assignment feature.

5.3.4 File comparison performance fixes

12 Jan 14:15
9c3ca07
Compare
Choose a tag to compare

Performance issues in the Publish Files Module have been reported. The analysis has exposed two bugs which were introduced by other fixes.
The first bug leads to unexpected cache miss in the RemoteFalDriver which caused duplicate RPC/Envelope calls. The second bug worked around the batchPrefetchFiles feature because a virtual root record for the instantiation of a list of records was missing .

If you experience bad performance in the Publish Files Module you should definitely update.

5.3.3 Ignore invalid tables for fast overview

09 Jan 10:33
Compare
Choose a tag to compare

The SimpleOverviewAndAjax feature boosts the difference view rendering. To achieve this performance increase it relies on local information about page and content changes. An error has been detected, which leads to an error if tables without the uid field was taken into account.
Additionally minor additions to the documentation were made.

[BUGFIX] SimpleOverviewAndAjax: Exclude tables without uid field to prevent failures
[DOCS] Extend the Readme.md with some more information

5.3.2 Filelist false differences

30 Nov 11:31
29f69ee
Compare
Choose a tag to compare

A bug has been discovered that leads to erroneous publishing-state detections of files and folders, especially when cross references to other storages exist. In addition a bug has been fixed that might lead to exceptions when publishing files in the Publish Files module.

You are not affected by these bugs if you don't have more than one FAL storage.

[BUGFIX] Remove SingletonInterface from RemoteFalDriver to ensure references don't get reinitialized with wrong properties
[BUGFIX] Initialize RemoteFalDriver with proper arguments for each published file

5.3.1 6.2 compat & Travis CI

24 Nov 12:31
f61ccc8
Compare
Choose a tag to compare

This release fixes a Bug that occurs together with TYPO3 6.2.x. Your installation might be affected even if you did not experience an error in the Publish Tools Tests when your foreign Server runs with production settings.
The second part of this release contains the Travis CI integration. Thanks to @travis-ci, they are providing an awesome service.
Travis is testing the whole codebase on each commit on the master branch. Travis executes all unit tests from PHP 5.5 to 7.1 together with TYPO3 7.6, as well as the PHP Mess Detector, PHP Code Sniffer and PHP Copy Paste Detector.

[TESTS] Integrate Travis CI testing
[TESTS] Purge manual autoload configuration
[REFACTOR] Remove code doublet by merging them into single methods
[STYLE] Add editor config file and fix all codestyle issues
[TESTS] Set correct @Covers annotations in unit tests for code coverage
[DOCS] Add short developer explanation for JavaScript files
[PURGE] Remove unused PageModule fluid layout
[TASK] Add WFSA feature dependency of the enterprise version
[BUGFIX] Fix version incompatibility with TYPO3 6.2 where a FFS-PreCaching requires a specific method
[TASK] Require the existence of the RPC/Envelope table in the backend tests

5.3.0 Performance improvements

14 Nov 17:46
e53c9e3
Compare
Choose a tag to compare

The "Full Fal Support" feature should bring more stability into the diffs between all related assts, but this great feature came at a high cost. The performance when aligning the page tree became worse the more images were used. This is, of course, a huge shortcoming in large installations. As we continue to offer stability and consistency, nothing has been cut off from functionality. The new update contains code that writes the information on the assets to a cache, so that the previous program flow can work unaffected.

[FEATURE] Cache all remote files for the Overview module for a vast performance increas
[CODESTYLE] Adjust line breaks in RemoteFalDriver
[BUGFIX] Increase row size for envelope responses (essentially for FFS RPC/Envelope)
[REFACTOR] Rename EnvelopeDispatcher::getFileObjectWithoutIndexing to EnvelopeDispatcher::getFileObject
[FEATURE] Prefetch all sibling file information upon remote file existence check
[BUGFIX] Respect the storage uid in RemoteFalDriver caches