Skip to content
Snippets Groups Projects
  1. Mar 07, 2014
    • Nicole Cordes's avatar
      [BUGFIX] Allow user update without password changes in sys_action · a092d3cb
      Nicole Cordes authored
      If you want to edit a user within the sys_action module, you have to
      set a (new) password as otherwise the record won't be updated. This
      patch allows an empty password field for updates while new users
      still need a defined password.
      
      Resolves: #25700
      Releases: 6.2
      Change-Id: I37c20a706b15ebce458033c4f5fe4016236ef1d8
      Reviewed-on: https://review.typo3.org/27377
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      a092d3cb
    • Helmut Hummel's avatar
      [TASK] Deprecate usage of $GLOBALS['typo3CacheManager'] · d7b922f4
      Helmut Hummel authored
      * Replace all instances of $GLOBALS['typo3CacheManager']
        in the core with a makeInstance call.
      * Adapt the tests.
      * Make use of dependency injection where possible.
      * Add compatibility layer with deprecation message
        for $GLOBALS['typo3CacheManager'] and $GLOBALS['typo3CacheFactory']
      
      Resolves: #56597
      Releases: 6.2
      Change-Id: Idb035723626b24cfd768204bf24987171f5b0feb
      Reviewed-on: https://review.typo3.org/28101
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      d7b922f4
    • Alexander Stehlik's avatar
      [CLEANUP] Improve code style for FormEngine::getTSCpid() · f795bbf5
      Alexander Stehlik authored
      The PHPDoc is fixed. The method returns an array and not an integer.
      
      Additionally the class variable that is used in this method for
      storing the cached values is added as a property.
      
      Releases: 6.2
      Resolves: #56658
      Change-Id: I6010cf97781001cd760c891da3df3bfb7a605b73
      Reviewed-on: https://review.typo3.org/28167
      Reviewed-by: Tymoteusz Motylewski
      Tested-by: Tymoteusz Motylewski
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      f795bbf5
    • Marc Bastian Heinrichs's avatar
      [BUGFIX] SoftReferenceIndex typolink lacks support for title attributes · e8fe21fa
      Marc Bastian Heinrichs authored
      The SoftReferenceIndex parses and rebuilds typolink tags, but the
      support for the title attributes was missing.
      This leads to lost title attributes on typolinks in exports from impexp.
      
      Resolves: #56580
      Releases: 6.2, 6.1, 6.0, 4.5
      Change-Id: I9bf5c02b79ae4c9024322f0da99dcca37b678daa
      Reviewed-on: https://review.typo3.org/28083
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      e8fe21fa
    • Christian Weiske's avatar
      [BUGFIX] Warn about apc.enable_cli=0 on command line · ae8c0f0a
      Christian Weiske authored
      When running a CLI script via typo3/cli_dispatch.phpsh,
      using the APC caching backend will lead to errors like
      > TYPO3 Exception #1232986877: Could not set value.
      
      This patch checks if TYPO3 is running on CLI, and validates the
      apc.enable_cli setting to give a proper error message.
      
      Change-Id: Icbeb619fc2054634274b492df94dbbc89958a8b6
      Resolves: #25274
      Releases: 6.2, 6.1, 6.0
      Reviewed-on: https://review.typo3.org/28035
      Reviewed-by: Ernesto Baschny
      Reviewed-by: Andreas Fernandez
      Tested-by: Andreas Fernandez
      Reviewed-by: Wouter Wolters
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      ae8c0f0a
    • Tymoteusz Motylewski's avatar
      [TASK] Refactor init() function of ElementBrowser · 1415f45e
      Tymoteusz Motylewski authored
      Splits huge method (~450 lines) into several small methods,
      in the similar way it was done for BrowseLinks and SelectImage.
      
      It also removes some duplicated code between these classes.
      This patch is not changing functionality, just moving code around.
      
      Resolves: #55983
      Releases: 6.2
      Change-Id: I916058485acb9d9abe0086785763edc721a360f0
      Reviewed-on: https://review.typo3.org/27631
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      1415f45e
    • Stanislas Rolland's avatar
      [BUGFIX] RTE on first new IRRE record keeps loading in IE · bb56fba0
      Stanislas Rolland authored
      Problem: IE raises a syntax error when it encounters html comments in
      the JavaScript code. The html comments are added by the page renderer.
      Solution: There is no need for the page renderer to wrap inline
      javascript as html comments.
      
      Resolves: #55457
      Releases: 6.2, 6.1
      Change-Id: Iae180a73778ca3bb1c9934c887315b969888b10d
      Reviewed-on: https://review.typo3.org/27624
      Reviewed-by: Oliver Klee
      Tested-by: Leon de Rijke
      Tested-by: Simon Ouellet
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      bb56fba0
  2. Mar 06, 2014
    • Christian Plattner's avatar
      [BUGFIX] Default size for group-type fields · d8bc2728
      Christian Plattner authored
      Missing size property on group-type fields causes various
      problems, like missing controls (move to top and move to
      bottom) or misbehaving JS. Adding a default size ensures
      that a forgotten size property does not break everything.
      
      Additionally the size property is added to the sys_collection
      table, since all Core tables should be cleanly defined.
      
      Resolves: #23552
      Documentation: #56627
      Releases: 6.1, 6.2
      Change-Id: Idafb1912f9702fddf85b7c2c222f408419e50ecf
      Reviewed-on: https://review.typo3.org/28116
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      d8bc2728
    • Michiel Roos's avatar
      [TASK] Add cache to IconUtility::getSpriteIcon() · 32481f5f
      Michiel Roos authored
      Cache calls to getSpriteIcon() that only use the first parameter.
      
      Change-Id: I63e7dbaf81473b733a73f4a964e419dae0650f5f
      Resolves: #56110
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/27713
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      32481f5f
    • Lucas Bremgartner's avatar
      [TASK] Consolidate regexp for utf8 and non-utf8 file systems · b929e3dc
      Lucas Bremgartner authored
      This patch enables the @ character to be usable now
      also for non-utf8 file systems.
      
      Resolves: #50538
      Releases: 6.2, 6.1
      Change-Id: I72ce24393003af8733af6fc650e69781df4a272c
      Reviewed-on: https://review.typo3.org/23439
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      b929e3dc
    • Wouter Wolters's avatar
      [!!!][SECURITY] Remove old backend_layout wizard · a783822f
      Wouter Wolters authored
      Keeping the old wizard script would not solve
      the CSRF attack vector as they could still
      be referenced in this kind of attack.
      
      Because of that, we remove it now.
      
      This change provides a backwards compatibility layer.
      
      It will however break code which link to the
      old scripts directly in other places.
      
      Resolves: #56625
      Releases: 6.2
      Change-Id: I07577dca0e16cf095e114799ace4a6e344ad5aa3
      Reviewed-on: https://review.typo3.org/28121
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      a783822f
    • Rico Sonntag's avatar
      [BUGFIX] ExtendedFileUtility.php: func_delete · 816f8af1
      Rico Sonntag authored
      This fixes an issue within method func_delete trying to catch a file
      access exception instead of expected folder access exception during
      delete of an folder.
      
      Change-Id: Iaf76100cd668ef4b1a36a5d9052a6f185ffa6b7b
      Resolves: #56511
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/28019
      Reviewed-by: Frans Saris
      Reviewed-by: Christian Weiske
      Tested-by: Christian Weiske
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      816f8af1
    • Rico Sonntag's avatar
      [BUGFIX] FAL readonly: Directory copying results in BE exception · e13918f6
      Rico Sonntag authored
      Changed parent class of folder permission exceptions to
      InsufficientFolderAccessPermissionsException so excecption
      could be catched properly.
      
      Change-Id: I1c85e4c0e4652f1e3394fd58f98d95ea6ca8cc34
      Resolves: #56494
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/27994
      Reviewed-by: Christian Weiske
      Tested-by: Christian Weiske
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      e13918f6
    • Philipp Gampe's avatar
      [BUGFIX] UnitTests create SQL error if openid is installed · 6b72cf5e
      Philipp Gampe authored
      AbstractUserAuthenticationTest is actually supposed to test
      processLoginData from AuthenticationService from ext:sv.
      However it fails to properly setup all auth parameters, therefore auth
      services that depend on further settings fail.
      
      This moves the test to the actually tested code (extension sv).
      The test is adopted accordingly.
      
      Additionally both tests are cleaned up from unneeded setUp/tearDown
      functions.
      
      Resolves: #56586
      Releases: 6.2
      Change-Id: I7406a56e5274ea54d400c1c116a8ea81c5cf4cea
      Reviewed-on: https://review.typo3.org/28090
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      6b72cf5e
    • Helmut Hummel's avatar
      [BUGFIX] Remove superflous check in getModuleUrl · 11ea2044
      Helmut Hummel authored
      There is a check in getModuleUrl that checks
      access rights to modules and returns false
      if this is not the case.
      
      However access rights are checked in each
      module independently anyway.
      
      So we remove this check here.
      
      Resolves: #56611
      Releases: 6.2
      Change-Id: I63901cba3e882aab23de17929a461f08bd899cf1
      Reviewed-on: https://review.typo3.org/28118
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      11ea2044
    • Helmut Hummel's avatar
      [BUGFIX] Remove wrong quoting · 104573cc
      Helmut Hummel authored
      While moving the element browser to a module
      quoting was added in several places.
      
      However quoting DocumentTemplate::issueCommand
      calls does not work, as the returned string
      contains JavaScript.
      
      Remove the quoting in these places.
      
      Resolves: #56622
      Releases: 6.2
      Change-Id: I1b9ec8b4a5900940a5c5dfd81ed712f2994ecef3
      Reviewed-on: https://review.typo3.org/28119
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Alexander Schnitzler
      Tested-by: Alexander Schnitzler
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      104573cc
    • Stefan Neufeind's avatar
      [BUGFIX] concatenateCSS may produce invalid css · 9c16871a
      Stefan Neufeind authored
      css-files with statements like @import might become corrupted. This is due
      a wrong regex in case no quotes (single or double) are provided.
      
      Adjust regex and add testcases.
      
      Resolves: #50491
      Releases: 6.2, 6.1
      Change-Id: I8c35be97147da51e3cfc4be6de114f3c19c1abca
      Reviewed-on: https://review.typo3.org/22623
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Alexander Opitz
      Tested-by: Alexander Opitz
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      9c16871a
    • Benjamin Mack's avatar
      [TASK] Redirect to distributions after first login · c82818ac
      Benjamin Mack authored
      For the users to select a distribution, the installation should
      redirect directly to the extension manager, after the first
      login of the admin, who set up the site.
      
      Then, the list of TER extensions is loaded initially and all
      distributions are shown.
      
      For this to happen, the install tool needs to add another option
      that sets a UC flag in the just created admin user.
      This UC flag is evaluated when the start module is to be shown.
      
      Also, it adds some more logic when redirecting to the start module
      to allow to directly jump to a modfunc/action.
      
      Additionally, the distribution action should initially load all
      extensions from TER on first hit.
      
      Releases: 6.2
      Resolves: #56321
      Change-Id: I1e86b5804011e84f7936514e4b88c4a257905e56
      Reviewed-on: https://review.typo3.org/27866
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      c82818ac
    • Christian Kuhn's avatar
      [TASK] Fatal error in database connect install step · 24593f8e
      Christian Kuhn authored
      Patch df239a6d renamed bootstrap method setCoreCacheToNullBackend
      to disableCoreAndClassesCache but missed a usage in installer.
      
      Change-Id: Ie4939384a7c476c489d8734ecd7badf5f0dcebdc
      Resolves: #56605
      Related: #56583
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/28102
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      24593f8e
  3. Mar 05, 2014
    • Christian Kuhn's avatar
      [TASK] Reduce memory footprint of unit test suite · 82cdf1aa
      Christian Kuhn authored
      Switching to transientMemoryBackend for some caches raises the
      memory footprint of unit test. Change the bootstrap a bit to not
      use this cache backend in unit tests.
      
      Change-Id: I3bc4774c4c9c6a24314681491bfdf23a9eab570d
      Resolves: #56585
      Related: #56583
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/28089
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      82cdf1aa
    • Nicole Cordes's avatar
      [BUGFIX] Follow up: Remove icon doesn't work · 78213ca3
      Nicole Cordes authored
      With patch 6711c14b the function setFormValueManipulate was corrected but
      if called it returns an array instead of the first form element. This
      patch makes sure that the first object is always returned.
      
      Resolves: #56221
      Releases: 6.2
      Change-Id: I03445afcb15d9323cd899974ac1cf378945e4ecb
      Reviewed-on: https://review.typo3.org/28010
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      78213ca3
    • Markus Klein's avatar
      [BUGFIX] Make text in All Configuration selectable · 450b1662
      Markus Klein authored
      Remove the click function on the whole item.
      This prevents selecting the text.
      The input fields are be enough to select them easily.
      
      Resolves: #56350
      Releases: 6.2
      Change-Id: I929ef24383460964288696d268959b32fae3b705
      Reviewed-on: https://review.typo3.org/27882
      Reviewed-by: Jost Baron
      Tested-by: Jost Baron
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      450b1662
    • Marc Bastian Heinrichs's avatar
      [TASK] Add functional tests for impexp irre records · 23b376c0
      Marc Bastian Heinrichs authored
      This patch adds functional tests for exporting and
      importing all irre_tutorial relation types.
      
      Resolves: #56287
      Releases: 6.2
      Change-Id: I9fe650151cca11e1f7fcb0d4b1d3ebdbbc0b75ad
      Reviewed-on: https://review.typo3.org/27993
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      23b376c0
    • Helmut Hummel's avatar
      [BUGFIX] Fix no caching behavior of bootstrap · df239a6d
      Helmut Hummel authored
      Install Tool and tests are intended to work
      without caches being active.
      
      Currently this functionality is broken in bootstrap
      because it is applied too late and does not
      respect classes cache.
      
      Resolves: #56583
      Releases: 6.2
      Change-Id: I45bb11d3b7951b189c1f12c3da6969285575d72b
      Reviewed-on: https://review.typo3.org/28088
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      df239a6d
    • Marc Bastian Heinrichs's avatar
      [TASK] Extend functional tests with creation of additional folders · 3d2d58bb
      Marc Bastian Heinrichs authored
      Extends the functional tests with the possibility to create additional
      folders inside the TYPO3 CMS test instance created within typo3temp.
      
      Resolves: #56194
      Releases: 6.2
      Change-Id: I3271b3877fc953a2d876e56fc18af823d2e2a609
      Reviewed-on: https://review.typo3.org/27779
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Bernhard Kraft
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      3d2d58bb
    • Tymoteusz Motylewski's avatar
      [TASK] Functional tests for persisting relations in Extbase · 1166922f
      Tymoteusz Motylewski authored
      Add functional tests for persisting 1:M and M:M relations
      in Extbase.
      This patch adds blog_example as an fixture extension.
      
      Resolves: #55786
      Releases: 6.2
      Change-Id: If90c854c9cb86fd45dcdbc14319a0a416e9447a0
      Reviewed-on: https://review.typo3.org/27492
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      1166922f
    • Anja Leichsenring's avatar
      [TASK] Import/Export Module uses module dispatcher · a81bfff2
      Anja Leichsenring authored
      Change-Id: I1ac785adf3b0573a50954855befdda838fd01c33
      Resolves: #55671
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/28063
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      a81bfff2
    • Markus Klein's avatar
      [TASK] MySQLi for DBAL · 25b502be
      Markus Klein authored
      Properly implement MySQLi for DBAL native mode.
      
      Resolves: #50752
      Releases: 6.2
      Change-Id: I0c36e7d2828c94cc7c726757f3adc086ffd68015
      Reviewed-on: https://review.typo3.org/27875
      Reviewed-by: Xavier Perseguers
      Tested-by: Xavier Perseguers
      Reviewed-by: Anja Leichsenring
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      25b502be
    • Helmut Hummel's avatar
      [TASK] Make browse_links.php a wizard · 0f73b6ab
      Helmut Hummel authored
      Resolves: #56470
      Releases: 6.2
      Change-Id: I7bf8c20ab7e084efca352840f88007a574f7e270
      Reviewed-on: https://review.typo3.org/27981
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      0f73b6ab
    • Rico Sonntag's avatar
      [BUGFIX] userPermissions => recursiveDeleteFolder · a3deacc1
      Rico Sonntag authored
      This commit fixed the backend user/groups TCA to set the right option
      to allow recursive deletion of folders.
      
      Change-Id: I6f763ce820a09aa8b3f555ff6dfc5666fd7f81bf
      Resolves: #56527
      Releases: 6.2
      Reviewed-on: https://review.typo3.org/28030
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      a3deacc1
    • Marc Bastian Heinrichs's avatar
      [TASK] Export binary data from sys_file records · bf2817ad
      Marc Bastian Heinrichs authored
      Until now files from TCA type group internal_type
      file or file_reference were included as binary data in
      the export only. Include also the binary data from
      sys_file records in a separate array.
      
      Resolves: #55431
      Releases: 6.2
      Change-Id: I9a1b1f090705f6a42ff34f98ec95b62a3a79c9c1
      Reviewed-on: https://review.typo3.org/27364
      Reviewed-by: Bernhard Kraft
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      bf2817ad
    • Thomas Luzat's avatar
      [BUGFIX] Fix executable permissions on files · 023d35ec
      Thomas Luzat authored
      A large number of files were stored with executable permissions. This
      may be a (minor) security risk and can be confusing. The patch removes
      the executable permissions on all files but:
      
      * typo3/cli_dispatch.phpsh
      * typo3/cleaner_check.sh
      * typo3/cleaner_fix.sh
      
      Resolves: #56571
      Releases: 6.2
      Change-Id: Ib6a9fb19fe716d7d5405d5a7120b50269bdbf5f8
      Reviewed-on: https://review.typo3.org/28072
      Reviewed-by: Xavier Perseguers
      Tested-by: Xavier Perseguers
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      023d35ec
    • Xavier Perseguers's avatar
      [BUGFIX] Could not parse where clause · 99efb03b
      Xavier Perseguers authored
      SQL parser is unable to parse the complex Upgrade Wizard query. As we
      know that it is compatible with DBMS we actively support (MySQL,
      PostgreSQL, Oracle, MS SQL), a pragmatic solution is implemented to
      bypass the parser while keeping compatibility with DBAL and its remapping
      feature.
      
      Releases: 6.2
      Fixes: #56390
      Change-Id: I54c01a3eca73668be579fb45e6fea907664290d6
      Reviewed-on: https://review.typo3.org/27996
      Reviewed-by: Andreas Fernandez
      Tested-by: Andreas Fernandez
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      99efb03b
    • Benjamin Mack's avatar
      [BUGFIX] Allow search for FAL related DB records · f1bc2e33
      Benjamin Mack authored
      The backend search is currently not
      working for file collections etc as there
      is no searchFields string provided.
      
      The patch adds them, and also
      adds it to non-visible records like
      sys_file and sys_file_records as they
      might be used in a different
      visualization when having a filesearch
      service.
      
      The patch is easily testable if you
      take a file collection and name it
      "my collection". Searching in the list
      module on that page for "collection"
      does not show anything without
      the patch.
      
      see
      https://review.typo3.org/#/c/16725/9
      
      Releases: 6.2
      Resolves: #56410
      Change-Id: I0e99b3b291f085b81560e8f823d3e258a8645fc0
      Reviewed-on: https://review.typo3.org/27928
      Reviewed-by: Tom Ruether
      Tested-by: Tom Ruether
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      f1bc2e33
  4. Mar 04, 2014