Skip to content
Snippets Groups Projects
  1. Oct 14, 2013
    • Helmut Hummel's avatar
      [TASK] Bootstrap for Unit Tests · f362ed73
      Helmut Hummel authored
      Until now we still needed the phpunit extension
      to be installed and cli access to be configured
      to execute unit tests.
      
      This change introduces a bootstrap file which
      can be used to execute the unit test suite
      without the extension.
      
      It is of course still possible to use the PHPUnit
      and VHS framework files present in the extension.
      
      This change also splits user initialization into
      separate bootstrap methods and allows the PATH_site
      and PATH_thisScript constants to be set outside
      the bootstrap.
      
      Activate Travis CI to make use of this.
      
      Resolves: #51436
      Releases: 6.2
      Change-Id: I43f51896fd9895ead8d0084f37d34f3347f1c5e5
      Reviewed-on: https://review.typo3.org/23396
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Tested-by: Philipp Gampe
      Reviewed-by: Philipp Gampe
      Tested-by: Markus Klein
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      f362ed73
  2. Oct 13, 2013
    • Nicole Cordes's avatar
      [FEATURE] Split file permission for be_users and be_groups · 60511e27
      Nicole Cordes authored
      Since TYPO3 6.0 you can set specific file and folder permissions by
      userTSconfig. This patch adds a new field for every table to be able to
      set detailed access in the backend record. Any userTSconfig will take
      privilege over user and group data. An update step converts the
      old binary values to string list.
      Deprecated functions to support the binary values of the old fields
      are removed completly. Unit tests were adapted.
      
      Resolves: #52716
      Resolves: #50574
      Releases: 6.2
      Change-Id: I064887c60e215e9c394d484a4afd3faef51ee324
      Reviewed-on: https://review.typo3.org/24613
      Reviewed-by: Alexander Opitz
      Tested-by: Alexander Opitz
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      60511e27
    • Xavier Perseguers's avatar
      [BUGFIX] Object passed to date() · ead24eb7
      Xavier Perseguers authored
      Function date() expects a timestamp as second parameter, not
      an object.
      
      Fixes: #52759
      Releases: 6.2, 6.1, 6.0, 4.7, 4.5
      Change-Id: I6821bafa51372c50d8903c63d62ea44933bc12b3
      Reviewed-on: https://review.typo3.org/24707
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      ead24eb7
    • Christian Kuhn's avatar
      [BUGFIX] Unit tests: Superfluous backup · 115bceb3
      Christian Kuhn authored
      Globals are automatically back-upped, no need to do that manually.
      
      Change-Id: I40a6b046f6bb177100d72707a114de76ef466a55
      Resolves: #52758
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/24705
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      115bceb3
    • Christian Kuhn's avatar
      [BUGFIX] ext:install Correct exception class inheritance · af726a2e
      Christian Kuhn authored
      Install\Controller\Exception\Redirect and RedirectLoopException
      should extend from Install\Controller\Exception.
      
      Change-Id: Ic1124a7ba51617c7eec086603126080e33d5c2e5
      Resolves: #52757
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/24704
      Reviewed-by: Oliver Klee
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      af726a2e
    • Christian Kuhn's avatar
      [TASK] Remove obsolete files · 520eede5
      Christian Kuhn authored
      Some files are found in extensions that were submodules a while ago:
      * The .gitignore file of linkvalidator is identical to the main
        .gitignore file and can be removed
      * The .gitignore file together with the UnitTests.xml of extbase
        is covered by core UnitTests.xml
      
      Change-Id: Ief188d10d2caa428d10f67b6b3e7ab1cc0d768f6
      Resolves: #52756
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/24703
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      520eede5
    • Philipp Gampe's avatar
      [BUGFIX] PackageManager fails on empty and non-extension dirs · b8821e70
      Philipp Gampe authored
      Check if the could-be extension has an ext_emconf.php file.
      
      Resolves: #52754
      Releases: 6.2
      Change-Id: I39f0da5d108ce38e3f401c64b82e1bb810b4437b
      Reviewed-on: https://review.typo3.org/24701
      Reviewed-by: Xavier Perseguers
      Tested-by: Xavier Perseguers
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      b8821e70
    • Benjamin Mack's avatar
      [FEATURE] Let select() fetch records without translation parent · b3b5c7d9
      Benjamin Mack authored
      When you fetch records through the TypoScript object
      "CONTENT" (or, let's say through ".select" in general),
      you have an option called "languageField" in order
      to fetch only records that match the current language.
      
      What "select" does here, is that it fetches all records in
      the default language ("0,-1") and then overlays them
      with the records of the current language.
      
      However, it's not possible to fetch the records that
      don't have a localization parent.
      
      The patch introduces a new option called
      "includeRecordsWithoutDefaultTranslation" that also
      checks for records with the languageField matching the
      current language, where there is no translation parent
      (l10n_parent = 0).
      
      Change-Id: I48dc3a3b72a1dce515c5e5dd2278137888a1fe7f
      Resolves: #24005
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/13083
      Reviewed-by: Alexander Opitz
      Tested-by: Alexander Opitz
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      b3b5c7d9
    • Christian Kuhn's avatar
      [BUGFIX] Better mocking in FAL FileTest · 6be9424f
      Christian Kuhn authored
      Another test is changed to full mocking and testing only the concern.
      
      Change-Id: I90001650246a6856a07539a4b05f7e926d9329b8
      Resolves: #52750
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/24695
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      6be9424f
    • Marc Bastian Heinrichs's avatar
      [FEATURE] Add filter for available records in multi select element · dd023e6b
      Marc Bastian Heinrichs authored
      This patch adds the possibility to filter available items in a multi
      select element. By TCA settings you could enable a text field for
      individual word filter and you could predefine search words the user
      can select in a drop down.
      
      Resolves: #49739
      Releases: 6.2
      Change-Id: I7112d10009da01a68c8e883719e2f4cee5201002
      Reviewed-on: https://review.typo3.org/24671
      Reviewed-by: Alexander Opitz
      Tested-by: Alexander Opitz
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      dd023e6b
    • Thomas Maroschik's avatar
      [FEATURE] Integrate preliminary PackageManager API · 84d6207c
      Thomas Maroschik authored
      The Package Manager from Flow has been backported and integrated as
      CMS Package Manager. This enables us to use full vendor namespaces for
      extensions and brings us closer to a unified TYPO3 package format.
      
      For more Details see: http://wiki.typo3.org/Blueprints/Packagemanager
      
      Resolves: #47018
      Releases: 6.2
      Change-Id: I52abedaf470cebddb3553e37581021bf368380e6
      Reviewed-on: https://review.typo3.org/19605
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Alexander Opitz
      Reviewed-by: Sascha Egerer
      Reviewed-by: Thomas Maroschik
      Tested-by: Thomas Maroschik
      Tested-by: Alexander Opitz
      Reviewed-by: Ernesto Baschny
      Tested-by: Ernesto Baschny
      84d6207c
    • Christian Kuhn's avatar
      [BUGFIX] Follow-up: Split sys_file table to extract metadata · 1db78eaf
      Christian Kuhn authored
      Two unit tests failed after the patch. This is fixed by rewriting
      the tests to real unit tests and better mocking.
      
      Change-Id: If43b1867d538a330189e0fc8b8041a1192c075a2
      Resolves: #52726
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/24694
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      1db78eaf
    • Steffen Ritter's avatar
      [TASK] Split sys_file table to extract metadata · 76a29d3d
      Steffen Ritter authored
      Parts of the sys_file table are internal cache data
      for the FAL Api to work. Other parts are a meta-data
      storage for the FAL frontend output.
      On the one hand this mixes up several concerns, on
      the other hand this makes it difficult to translate
      and version metadata since this would result in
      duplicate FAL index entries.
      
      As a result those two concerns are split in separate
      tables. The user does not "see" the sys_file table
      anymore. Metadata is edited only in sys_file_metadata.
      
      Change-Id: Ia6e3664ad5602affcba4e02cf415aa39436d4352
      Resolves: #52726
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/24503
      Reviewed-by: Ernesto Baschny
      Tested-by: Ernesto Baschny
      Reviewed-by: Frans Saris
      Tested-by: Frans Saris
      Reviewed-by: Fabien Udriot
      Tested-by: Fabien Udriot
      Reviewed-by: Steffen Ritter
      Tested-by: Steffen Ritter
      76a29d3d
    • Alexander Schnitzler's avatar
      [BUGFIX] DataMapFactory must detect TCA "type" and "internal_type" · 58678402
      Alexander Schnitzler authored
      When building the column maps inside DataMapFactory
      the column configurations "type" and "internal_type"
      are not considered at all. This is necessary for
      several follow up patches improving the handling
      of e.g. mm_match_fields.
      
      Releases: 6.2
      Resolves: #52723
      Change-Id: Id7bc9a8ae9d46a01c1f5fef92f7e7ec5a1e3eb60
      Reviewed-on: https://review.typo3.org/24627
      Reviewed-by: Sascha Egerer
      Tested-by: Sascha Egerer
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      58678402
    • Sascha Egerer's avatar
      [BUGFIX] Follow-Up: Fix major bug in Enumeration::equals + Tests · b864789b
      Sascha Egerer authored
      * Fixed major bug in Enumeration->equals method by
        changing object comparison to loose comparison
      * Optimized Enumeration at some places
      * Do not throw generic exceptions but specific exceptions
      * Add Unit tests
      * Move "cast" function from VersionState to Enumeration
      
      Resolves: #52551
      Releases: 6.2
      Change-Id: Ief64bc08e474c38036d34ed3791c13e39661e9b3
      Reviewed-on: https://review.typo3.org/24634
      Reviewed-by: Sebastian Fischer
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      b864789b
    • Patrick Broens's avatar
      [FEATURE] Improve usability for BE database thumbnails/file icons · bedddf2e
      Patrick Broens authored
      The backend produces thumbnails/file icons/truetype font previews which
      come from a database row. The usability for these images can be improved
      by showing the file name or title on hover using the title attribute.
      Currently only the thumbnail/icon is produced and more information can
      only be read by clicking the icon or opening the record, like in the
      content element File Links.
      
      This patch changes the alt attribute to the alternative text and adds the
      title attribute for these images. When no title has been given for a file
      record, the file name will be used instead.
      
      Change-Id: I23b761fb204dda2c200f3ea57961cc017840fcac
      Fixes: #47709
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/20456
      Reviewed-by: Alexander Opitz
      Tested-by: Alexander Opitz
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      bedddf2e
    • Thomas Maroschik's avatar
      [TASK] Integrate Flow Package Subpackage · 04cca5ff
      Thomas Maroschik authored
      In order to enable the Package Management API, the used Flow classes
      have been placed in the core. The last synced state and the made
      changes to the source are noted in a README file.
      
      Resolves: #52737
      Related: #47018
      Releases: 6.2
      Change-Id: Ic8fda623d9ff81f52c3c104a0d5ae7c290bf7953
      Reviewed-on: https://review.typo3.org/24666
      Reviewed-by: Alexander Opitz
      Tested-by: Alexander Opitz
      Reviewed-by: Sascha Egerer
      Tested-by: Sascha Egerer
      Reviewed-by: Thomas Maroschik
      Tested-by: Thomas Maroschik
      04cca5ff
    • Christian Kuhn's avatar
      [TASK] Add composer.json files for each sysext extension · 16ac878e
      Christian Kuhn authored
      Change-Id: Iaf88fc46903400d97f6f1dc3acedb3c9b438e8dd
      Releases: 6.2
      Resolves: #52740
      Related: #47018
      Reviewed-on: https://review.typo3.org/24667
      Reviewed-by: Thomas Maroschik
      Tested-by: Thomas Maroschik
      Reviewed-by: Alexander Opitz
      Tested-by: Alexander Opitz
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      16ac878e
  3. Oct 12, 2013
    • Alexander Schnitzler's avatar
      [BUGFIX] Fix incomplete mocking in DataMapFactoryTest · c7650872
      Alexander Schnitzler authored
      Using "expects" on $mockDataMapFactory may fail with
      several methods like "setOneToOneRelation" as these methods
      return a ColumnMap object but the mock doesn't.
      
      This patch adds the missing "->will($this->return())"
      for these methods.
      
      Releases: 6.2
      Resolves: #52724
      Change-Id: Ic91a7c51b1451c039e20b8ac310fdb25b02e1d84
      Reviewed-on: https://review.typo3.org/24628
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      c7650872
    • Ernesto Baschny's avatar
      [FEATURE] Allow to disable "Core Updater": not only optically · 4907c200
      Ernesto Baschny authored
      Follow-up to "Allow to disable the "Core Updater" through an env-variable".
      Now it's not even possible to call the individual Ajax requests that do the
      update if it is disabled.
      
      Resolves: #52639
      Releases: 6.2
      Change-Id: Icfa18d619bbb8aabf1896920f28fe5a63bd5c345
      Reviewed-on: https://review.typo3.org/24661
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      4907c200
    • Ernesto Baschny's avatar
      [FEATURE] Allow to disable the "Core Updater" through an env-variable · 7fff86d8
      Ernesto Baschny authored
      By setting the environment variable "TYPO3_DISABLE_CORE_UPDATER=1" the
      Core Updater functionality is disabled in the Install Tool. This can
      be useful for providers which have it's own means of upgrading the
      Core.
      
      Resolves: #52639
      Releases: 6.2
      Change-Id: I88272ea613d95512ad780cefa5e261cf2dc6a60c
      Reviewed-on: https://review.typo3.org/24629
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      7fff86d8
    • Stefan Neufeind's avatar
      [TASK] Make use of autoloading for fixtures in testclasses · 0556dd56
      Stefan Neufeind authored
      Autoloader can be used in almost all cases.
      
      Change-Id: I853e85758f6b39a6cb0798891ca0bea40ad6915c
      Resolves: #52357
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/24131
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      0556dd56
    • Nicole Cordes's avatar
      [BUGFIX] Wrong calculation of maximum value for checkbox fields · 018fc1e5
      Nicole Cordes authored
      This patch corrects the calculation of the maximum value for a group
      of checkboxes which is stored as bit flag value in the database. The
      formular for the maximum value is 2nd power of the item count minus one.
      
      Resolves: #52104
      Releases: 6.2, 6.1, 6.0, 4.7, 4.5
      Change-Id: I0eb430b72a072838c6ac3bc3f5e339ff2509c455
      Reviewed-on: https://review.typo3.org/24650
      Reviewed-by: Thorsten Kahler
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      018fc1e5
    • Sascha Egerer's avatar
      [TASK] Introduce Enum constants for t3ver_state · a6b66436
      Sascha Egerer authored
      Currently the t3ver_state field can have 6
      different integer values.
      To clean up the code and make it better
      understandable a Enum object is implemented.
      
      Resolves: #52551
      Releases: 6.2
      Change-Id: I2f41d6bbf6575aec4a5c2b6d86495700d61bf5b7
      Reviewed-on: https://review.typo3.org/24410
      Reviewed-by: Sebastian Fischer
      Tested-by: Sebastian Fischer
      Reviewed-by: Thorsten Kahler
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      a6b66436
    • Johannes Feustel's avatar
      [BUGFIX] EXT:documentation should accept other index file names · 62b9eda0
      Johannes Feustel authored
      EXT:documentation checks for Index.html, index.html and index.htm as
      main files for additional html documentations.
      
      Change-Id: Idd2970ef9d6cc1b6f436b0c0fe0c607cf7b9d903
      Resolves: #52569
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/24441
      Reviewed-by: Xavier Perseguers
      Tested-by: Xavier Perseguers
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      62b9eda0
    • Oliver Hader's avatar
      [FEATURE] Let workspace users decide whom to send notifications · b49b19f6
      Oliver Hader authored
      Workspaces are defined by having owners, members and default
      notification recipients. These recipients, of course, need to be
      a sub-set out of the owners/members crowd. Besides that, changing
      the stage to "ready to publish execute" only considers owners and
      falling back to "editing" stage only considers editors.
      
      This feature request aims to allow editors/users to define whom
      to notify, out of the owners/members crowd without limiting
      these possibilities on the system level.
      
      Resolves: #50224
      Releases: 6.2
      Change-Id: I39ded2ed02772040d498d5293d24c8bd6fb9ef46
      Reviewed-on: https://review.typo3.org/22447
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      b49b19f6
    • Sascha Egerer's avatar
      [FEATURE] Introduce a PHP Enumeration type · 7ee32ff1
      Sascha Egerer authored
      Implement a enumeration type without a
      relation to 3rd party php modules.
      
      Resolves: #52707
      Releases: 6.2
      Change-Id: Ie1138cf343a029132357640401f3a501fc0a3290
      Reviewed-on: https://review.typo3.org/24598
      Reviewed-by: Sebastian Fischer
      Tested-by: Sebastian Fischer
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      7ee32ff1
    • Stanislas Rolland's avatar
      [FEATURE] uriBuilder should honor POST arguments for addQueryString · c5b84cd8
      Stanislas Rolland authored
      Currently the addQueryString option in the uriBuilder only supports
      arguments which are in the query string. Therefore, the pagination
      widget does not work with filtering post requests.
      
      Solution: Add addQueryStringMethod (already supported by typolink
      configuration) as property of uriBuilder and as argument of the
      following fluid view helpers:
      * link.action
      * link.page
      * uri.action
      * uri.page
      * widget.link
      * widget.uri
      * widget.pagination
      Add addQueryStringMethod as configuration option of the paginate widget.
      
      Fixes: #35281
      Fixes: #11441
      Releases: 6.2
      Change-Id: I8f2963fa7467dffcf3b9535d2a41820de8f9930a
      Reviewed-on: https://review.typo3.org/22432
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Stefano Cecere
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      c5b84cd8
    • Steffen Ritter's avatar
      [BUGFIX] Clean-up responsibilities of FAL classes · 62338f13
      Steffen Ritter authored
      This is a followup for the patch
      I6ceeb8db4dd4e470e7c72dcfbc2121093411da75.
      
      The latest change sets missed to adapt
      the unit-tests accordingly.
      
      Furthermore due to this change it came to light,
      that the active loading option of storages in the file object
      may create a recursion issue, if the file is not indexed.
      This architectural problem has been removed by making
      the constructor argument mandatory and extend the
      ResourceFactory to always inject the correct storage.
      
      Releases: 6.2
      Resolves: #51528
      Change-Id: Ic1561b83f49783e3af1b8f3403e1b8eab84a1380
      Reviewed-on: https://review.typo3.org/24623
      Reviewed-by: Frans Saris
      Tested-by: Frans Saris
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      62338f13
    • Philipp Gampe's avatar
      [BUGFIX] Follow-up: Description-field for scheduler-jobs · 6e04328d
      Philipp Gampe authored
      Add the new field to the list of fields to be save during task
      creation.
      
      Resolves: #52696
      Releases: 6.2
      Change-Id: I4c281535a22318a6a742b25c6196a511bc620e24
      Reviewed-on: https://review.typo3.org/24630
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      6e04328d
    • Markus Klein's avatar
      [BUGFIX] SaltFactory has wrong type hint · 828436a3
      Markus Klein authored
      Resolves: #52721
      Releases: 6.2
      Change-Id: Ife6338dd9f12ae21fce746f3707710ab7fa36464
      Reviewed-on: https://review.typo3.org/24624
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      828436a3
    • Stefan Neufeind's avatar
      [BUGFIX] Prevent empty newline below scheduler-task-name · 800ae38b
      Stefan Neufeind authored
      The newline below a scheduler-task-name is only needed
      if a progress-bar and/or additional-information follow.
      
      Change-Id: I8d92fc0d3b8d88fdbdfdc79d8ee501b74d821bcc
      Resolves: #52715
      Releases: 6.2, 6.1, 6.0
      Reviewed-on: https://review.typo3.org/24612
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      800ae38b
    • Stefan Neufeind's avatar
      [FEATURE] Description-field for scheduler-jobs · eb8d8c01
      Stefan Neufeind authored
      Adds a description-textfield for tasks. This will be displayed
      in the scheduler-list. The description can either be shown as
      hover (default) or below the job-name, configurable through
      the extension-settings for "scheduler".
      
      Change-Id: If0191da43677fc261cb73257e3ede848a5375d69
      Resolves: #52696
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/24610
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      eb8d8c01
    • Tymoteusz Motylewski's avatar
      [FEATURE] Fallback paths (backport from Flow) · f122c4f5
      Tymoteusz Motylewski authored
      With this change it will be possible to define multiple values
      for the 'template', 'partial' and 'layout' root path configuration.
      Each of the respective options will now have a corresponding setter
      that enables configuration of multiple paths to look up when loading a
      Fluid template file:
      	$view->setTemplateRootPaths(array('first/path', 'second/path', …));
      The old setters will be kept and they overrule the fallback paths. So:
      	$view->setTemplateRootPath('some/path');
      would disable the fallback paths of the previous example. The same is true
      for 'setPartialRootPath()' and 'setLayoutRootPath()'.
      The rootPath-getters have been deprecated in favor of
      'getTemplateRootPaths()', 'getPartialRootPaths()' and
      'getLayoutRootPaths()'.
      
      This is a backport of the Flow feature applied in
      Change-Id: I530e9a1fadbbd210c980c62cf2022c38fa81bb56 issue #39870
      
      Resolves: #39868
      Releases: 6.2
      Change-Id: Id5a768ae834c53cd20fd59e762c2acf2ea9e6356
      Reviewed-on: https://review.typo3.org/23950
      Reviewed-by: Frans Saris
      Tested-by: Frans Saris
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      f122c4f5
    • Steffen Ritter's avatar
      [TASK] Clean-up responsibilities of FAL classes · 823f1d82
      Steffen Ritter authored
      The FileRepository, ResourceStorage and ResourceFactory all somehow
      take care of creating files, managing files and their data.  Getting a
      file from ResourceStorage->getFile never involves the index-Records and
      even if index records exists the driver always needs to query all file
      information out of the filesystem to create FileObject.
      
      As we always expect the index-record to be up to date we can rely on
      that and must not query the file-system for every bit of information.
      In addition creating objects without looking for the record first
      renders the FAL API useless. This patch introduces a
      FileIndexRepository which only deals with these kind of records and
      deprecates the methods within the FileRepository.
      
      In addition it moves around the "file-object creation logic" so this is
      dealt with at a central place: The Resource Factory. Finally the
      ResourceFactory always uses to get an IndexRecord from the newly
      introduced Repository. If the FileInfo is not present, it queries the
      Storage for the fileInfo (from the Driver).
      
      Releases: 6.2
      Resolves: #51528
      Change-Id: I6ceeb8db4dd4e470e7c72dcfbc2121093411da75
      Reviewed-on: https://review.typo3.org/23839
      Reviewed-by: Ernesto Baschny
      Tested-by: Ernesto Baschny
      Reviewed-by: Frans Saris
      Tested-by: Frans Saris
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Steffen Ritter
      Tested-by: Steffen Ritter
      823f1d82
  4. Oct 11, 2013
    • Alexander Schnitzler's avatar
      [BUGFIX] DataMapFactory::resolveTableName must remove leading backslashes · 376d3b52
      Alexander Schnitzler authored
      Currently the method just splits the given class name
      by backslashes to detect the proper vendor name. If using
      a leading backslash the algorithm of this function causes
      a wrong result. Therefore all leading backslashes must be
      removed first.
      
      Releases: 6.2, 6.1, 6.0
      Fixes: #52708
      Change-Id: Icdc46facf66260bf528994964fb713d3dd24b3c6
      Reviewed-on: https://review.typo3.org/24596
      Reviewed-by: Xavier Perseguers
      Tested-by: Xavier Perseguers
      Reviewed-by: Stefan Froemken
      Tested-by: Stefan Froemken
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      376d3b52
    • Thorsten Kahler's avatar
      [BUGFIX] Select available page when changing WS · 5974292e
      Thorsten Kahler authored
      When changing to another workspaces the currently selected page is not
      always available.
      This change selects the next available page from the rootline for page
      tree and submodules of web module when the current page does not exist
      in the workspace.
      
      Change-Id: I0502fea3c21515421586403a41f5c696ffc0d762
      Fixes: #37611
      Releases: 6.2, 6.1, 6.0, 4.7, 4.5
      Reviewed-on: https://review.typo3.org/21110
      Reviewed-by: Sascha Egerer
      Tested-by: Sascha Egerer
      Reviewed-by: Timo Webler
      Tested-by: Timo Webler
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      5974292e
    • Oliver Hader's avatar
      [BUGFIX] Clear_cache() must not consider page ids lower than 0 · 22b392ac
      Oliver Hader authored
      DataHandler::clear_cache() is called with a table and an uid that
      has been modified to trigger the clear cache commands. To find
      siblings, children, parents, etc. the pid value is directly used
      to find the affected pages. However, in a workspace context, the
      pid is always "-1" which leads to a selection of all page
      records of all workspaces. This amount is used to flush all
      defined caches by a given tag name and might result in execution
      time outs.
      
      To avoid these superfluous cache flushes, page ids lower than 0
      are ignored now in this section.
      
      Fixes: #51051
      Releases: 6.0, 6.1, 6.2
      Change-Id: I03987bbd8c5d3526fb4dfda75b0dd0316fe1d836
      Reviewed-on: https://review.typo3.org/23078
      Reviewed-by: Sascha Egerer
      Tested-by: Sascha Egerer
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      22b392ac
    • Timo Webler's avatar
      [BUGFIX] Copy records to target page before origin page is deleted · 3d5e8ef3
      Timo Webler authored
      When a deletion of a page is published, all moved records
      have to be copied to their new location before they get deleted.
      
      Resolves: #52636
      Releases: 6.2, 6.1, 6.0
      Change-Id: Ide471b4f25c0350a1df57af3d92283310a76cac9
      Reviewed-on: https://review.typo3.org/24513
      Reviewed-by: Sascha Egerer
      Tested-by: Sascha Egerer
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      3d5e8ef3
    • Sascha Egerer's avatar
      [BUGFIX] Create workspace placeholder with processed field content · 93769b9f
      Sascha Egerer authored
      The field content that is used for the workspace placeholder records
      is not processed through the field configuration.
      
      This produces annoying error messages to the user.
      
      Resolves: #17551
      Releases: 6.2, 6.1, 6.0
      
      Change-Id: I79823cc2bd0d26a03b0850045c08999ebdbc1a9b
      Reviewed-on: https://review.typo3.org/22940
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      93769b9f