Skip to content
Snippets Groups Projects
  1. Mar 01, 2014
  2. Feb 28, 2014
  3. Feb 27, 2014
    • Helmut Hummel's avatar
      [BUGFIX] Make sure M parameter is first in URL · d9a4854f
      Helmut Hummel authored
      Although the order of GET parameters in the URL
      does not matter, the M parameter should come first
      in the URL.
      
      Resolves: #56404
      Releases: 6.2
      Change-Id: Id79f2f55fff2430ecce8a76bbba526dc7d175b40
      Reviewed-on: https://review.typo3.org/27916
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Nicole Cordes
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      d9a4854f
    • Helmut Hummel's avatar
      [BUGFIX] Fix GET parameter order in unit tests · a791531f
      Helmut Hummel authored
      The order of GET parameters changed, so we have
      to adapt the tests.
      
      Resolves: #56403
      Releases: 6.2
      Change-Id: I6fb8d231c71fa020677313127d453be3eab500ce
      Reviewed-on: https://review.typo3.org/27917
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      a791531f
    • Helmut Hummel's avatar
      [FEATURE] Add API to CSRF protect Ajax calls in Backend · 2aa83d39
      Helmut Hummel authored
      This change adds API to register Ajax ids with
      their handler and to get an Ajax URL for
      a specific AjaxID.
      
      A token check is added to the ajax.php dispatcher
      script. To stay backwards compatible, the token
      is only checked, if the AjaxId is registered not
      using the new API.
      
      The new API will be used by TYPO3 core in
      consecutive changes.
      
      Resolves: #56345
      Documentation: #56347
      Releases: 6.2
      Change-Id: I188a9312b0f4239040e461ba09dc9c8f2b93a68b
      Reviewed-on: https://review.typo3.org/27873
      Reviewed-by: Wouter Wolters
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      2aa83d39
    • Julian Kleinhans's avatar
      [TASK] Additional SignalSlot after init in EditDocumentController · 45b092d3
      Julian Kleinhans authored
      Adds a new SignalSlot possibility after the init method call.
      
      Resolves: #56381
      Releases: 6.2
      Change-Id: I2357f81c40b123a7cd2eef57ef142a9e934dbc35
      Reviewed-on: https://review.typo3.org/27896
      Reviewed-by: Julian Kleinhans
      Tested-by: Julian Kleinhans
      Reviewed-by: Tomas Norre Mikkelsen
      Reviewed-by: Erik Frister
      Reviewed-by: Joh. Feustel
      Reviewed-by: Stefan Rotsch
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      45b092d3
    • Benjamin Mack's avatar
      [CLEANUP] Remove security_level option from Authentications · beac969f
      Benjamin Mack authored
      The option security_level option was deprecated
      since 4.7 and can now be removed.
      
      Also do some cleanup in related code.
      
      Releases: 6.2
      Resolves: #56256
      Change-Id: I48dcb788ca654aea14fb7125128c564fd373b550
      Reviewed-on: https://review.typo3.org/27825
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      beac969f
    • Benjamin Mack's avatar
      [TASK] Speed up updating the extension list · bce23ae7
      Benjamin Mack authored
      The process of updating the TER
      extension list takes approx 1 minute
      because the extension manager needs
      to mark all "latest versions". This is done
      via a large UPDATE query on fields
      without indices, additionally this is done
      in PHP and not in SQL with a
      simple subselect.
      
      Additionally the SQL file does not set
      appropriate indices at all, which is also
      done in this patch.
      
      Releases: 6.2
      Resolves: #56354
      Change-Id: Ic46994fa1b16cce9912950520955185f3f95fe1a
      Reviewed-on: https://review.typo3.org/27876
      Reviewed-by: Steffen Ritter
      Tested-by: Steffen Ritter
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      bce23ae7
    • Frans Saris's avatar
      [BUGFIX] Filename sorting in filelist is broken · baa5c3e7
      Frans Saris authored
      The sorting by filename in the filelist is broken since the
      introduction of sys_file_metadata. It tries to sort the file list
      by property file. Before sys_file_metadata it couldn't find this
      property and sorted by the default value name. But after introduction
      of sys_file_metadata it has an property file, his own sys_file uid.
      
      This patch fixes the sorting behaviour when sorting by filename.
      
      Resolves: #56128
      Releases: 6.2
      Change-Id: Icd25bc2aafed4baafbaa7d9f87ce755fe9e64579
      Reviewed-on: https://review.typo3.org/27881
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Alexander Opitz
      Tested-by: Alexander Opitz
      Reviewed-by: Stefan Froemken
      Tested-by: Stefan Froemken
      Reviewed-by: Frans Saris
      Tested-by: Frans Saris
      baa5c3e7
    • Helmut Hummel's avatar
      [BUGIFX] Fix Redirect after switch-to-user · 3241387b
      Helmut Hummel authored
      The compatibility layer introduced in #55809
      causes trouble with the user switch feature.
      
      User switch intentionally redirects to index.php
      but the compatibility layer kicks in and redirects
      back to the user module, finally leading to an
      endless redirect.
      
      This can be resolved by checking for modules which
      have been changed and need that compatibility layer.
      
      Resolves: #56364
      Releases: 6.2
      Change-Id: I74d8c57335af66068383b49dc7d43ea480e631b8
      Reviewed-on: https://review.typo3.org/27897
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      Reviewed-by: Oliver Hader
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      3241387b
    • Markus Klein's avatar
      [BUGFIX] Fix reference to FileListLocalisation.js · 71a7f96c
      Markus Klein authored
      FileListLocalisation.js was moved from backend to filelist
      with #55810, but it was forgotten to adapt the reference
      in InlineElement.
      
      Resolves: #55979
      Releases: 6.2
      Change-Id: I102ffe25c255f8ac39a49d4022ee3ab73ff1914c
      Reviewed-on: https://review.typo3.org/27861
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Frans Saris
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      71a7f96c
    • Michael Knabe's avatar
      [BUGFIX] Revert "[TASK] Use a 401 header if login is not successful" · fe210c9c
      Michael Knabe authored
      This reverts commit 9974f36d.
      
      The 401 header code is used with HTTP based authentication schemes,
      based on RFC 2617.
      
      This is not the case here.
      
      Resolves: #55966
      Reverts: #51803
      Releases: 6.2, 6.1, 6.0, 4.5
      Change-Id: I134f0f1d575f3e8d4c37c2af62df8eca3f01f817
      Reviewed-on: https://review.typo3.org/27888
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      fe210c9c
    • Helmut Hummel's avatar
      [BUGFIX] Fix link for workspace preview · 94435811
      Helmut Hummel authored
      The absolute link generated for mailings to
      workspace editors misses the page id.
      
      The uid has been accidentally removed with
      commit for #56359
      
      Resolves: #56375
      Releases: 6.2
      Change-Id: I521aee2b96c542c27a911ffeab5d9bfffc8b9a46
      Reviewed-on: https://review.typo3.org/27893
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      94435811
    • Helmut Hummel's avatar
      [BUGFIX] Fix module access regressions · 8cbb774c
      Helmut Hummel authored
      During the addition of the token check for mod.php
      some places have been missed where a correct
      token needs to be added.
      
      Resolves: #56359
      Releases: 6.2
      Change-Id: I435cb36641fe96ecf050c915d200f94cbb31ce9f
      Reviewed-on: https://review.typo3.org/27883
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      8cbb774c
  4. Feb 26, 2014
    • Marc Bastian Heinrichs's avatar
      [BUGFIX] Avoid to get a file object with the uid zero · f5dd8bf2
      Marc Bastian Heinrichs authored
      At some points where a file object is retrieved, a check for
      the interpretation as integer is done for the method
      argument only. If the argument is 0 a exception will be
      thrown from the ResourceFactory.
      A file object should only be fetched if the uid is an integer
      greater than zero.
      
      Resolves: #55530
      Releases: 6.2
      Change-Id: I9399d58bac4a48344769ac00207b64e25eea630e
      Reviewed-on: https://review.typo3.org/27304
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      f5dd8bf2
    • Helmut Hummel's avatar
      [BUGFIX] Do not save failed token messages in session · e99e12a9
      Helmut Hummel authored
      In #30272 the backend formprotection has been changed
      to not save flash messages in the user session if
      the current request is an Ajax request.
      
      Unfortunately the check for that is broken
      since the TYPO3_AJAX global is reset in the
      bootstrap now.
      
      Introduce a method which uses the request type
      constants and adapt the tests accordingly.
      
      Resolves: #56357
      Releases: 6.2
      Change-Id: Idae8be036b3747ea71509cc37008a4d694390627
      Reviewed-on: https://review.typo3.org/27879
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      e99e12a9
    • Alexander Stehlik's avatar
      [BUGFIX] Respect all filemounts in file collection · f2208e54
      Alexander Stehlik authored
      The directory selector in a file collection now displays the folders
      of all filemounts of a user. Before only the folders of the first
      filemount were displayed.
      
      Resolves: #55414
      Releases: 6.2
      Change-Id: Ic47f5163e2cfc7c89edcba4119f06620ed0fd56e
      Reviewed-on: https://review.typo3.org/27119
      Reviewed-by: Wouter Wolters
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Frans Saris
      Tested-by: Frans Saris
      f2208e54
    • Helmut Hummel's avatar
      [!!!][SECURITY] Add CSRF protection to mod.php · 6e9e5455
      Helmut Hummel authored
      Add a token check in mod.php and token generation
      to BackendUtility::getModuleUrl()
      
      Adapt code to use BackendUtility::getModuleUrl()
      in every place where links are hardcoded.
      
      Releases: 6.2
      Resolves: #55509
      Change-Id: I952c40fc1004a0a8d77c929927d37e1d93dcfef4
      Reviewed-on: https://review.typo3.org/27636
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      6e9e5455
    • Benjamin Serfhos's avatar
      [BUGFIX] Allow record insert on rootlevel · 7389b684
      Benjamin Serfhos authored
      The DataHandler function checkRecordInsertAccess() does
      now check the configuration for the root level.
      
      Resolves: #52386
      Releases: 6.2, 6.1, 6.0
      Change-Id: I1810ea847e631ea6b242346a0271f491fd60fdf9
      Reviewed-on: https://review.typo3.org/24166
      Reviewed-by: Leon de Rijke
      Tested-by: Leon de Rijke
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      7389b684
    • Frans Saris's avatar
      [BUGFIX] Followup: Ajax handler TYPO3_tcefile::process is broken · 6cc6c4f7
      Frans Saris authored
      Upload action was taken care of, but the ajax handler can be just
      for all commands that ExtendedFileUtility->processData can handle.
      
      This change checks the result set and flattens
      data only when needed.
      
      Resolves: #56084
      Releases: 6.2, 6.1
      Change-Id: Ic1a0bd9084b9eb206b9b53960890d22d2a9c56f5
      Reviewed-on: https://review.typo3.org/27739
      Reviewed-by: Alexander Schnitzler
      Tested-by: Alexander Schnitzler
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      6cc6c4f7
  5. Feb 25, 2014
    • Markus Klein's avatar
      [TASK] Fixen broken tests for getTreeList · 8785cfef
      Markus Klein authored
      Resolves: #56294
      Releases: 6.2
      Change-Id: I1d86f1899447feaa301474f4ed247a0ecc6c1a6e
      Reviewed-on: https://review.typo3.org/27859
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      8785cfef
    • Stefan Froemken's avatar
      [BUGFIX] Wrong usage of intExplode in getTreeList · 5c5d9e6c
      Stefan Froemken authored
      getTreeList calls intExplode which converts empty
      arrays to 0. This patch removes empty arrays
      within intExplode.
      
      Resolves: #55384
      Releases: 6.2
      Change-Id: Id4ca1a15edf2cc2617d85bda765461c4cb1f105c
      Reviewed-on: https://review.typo3.org/27089
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Benjamin Mack
      Tested-by: Benjamin Mack
      5c5d9e6c
    • Jigal van Hemert's avatar
      [BUGFIX] Don't modify variables in tree view · cbbb4def
      Jigal van Hemert authored
      The lowlevel array browser tries to modify the array that
      is displayed if it's an object.
      Now that TYPO3_LOADED_EXT is a simulated array (an object
      which implements array access) modifying the data leads to
      a fatal error. Instead the iterated value is now modified.
      
      Releases: 6.2
      Resolves: #54449
      Change-Id: Ib1d3eb5cc76a4180ea0891d88c16191cd16f36e2
      Reviewed-on: https://review.typo3.org/27850
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      cbbb4def
    • Benjamin Mack's avatar
      [CLEANUP] Remove outdated $CLIENT[FORMSTYLE] · f0b50c81
      Benjamin Mack authored
      The functionality for having to deal with
      browsers that did not support style="width: XYpx"
      is not needed anymore, as any browser supported
      in the TYPO3 universe can deal with that (even IE6).
      
      This patch cleans up all the areas that dealt with
      that part. Also, one dummy function in
      FormEngine.php has been removed completely,
      another in DocumentTemplate.php has been
      deprecated.
      
      Releases: 6.2
      Resolves: #56254
      Change-Id: I6f47a5f7cabfd340088c242f1ee15b83c7cba0fe
      Reviewed-on: https://review.typo3.org/27824
      Reviewed-by: Benjamin Mack
      Tested-by: Benjamin Mack
      f0b50c81
    • Markus Klein's avatar
      [CLEANUP] Superfluous Code in ElementBrowser and BrowseLinks · 77b17291
      Markus Klein authored
      Resolves: #56290
      Releases: 6.2
      Change-Id: I85348aea9fd514b9774b63846f444fcb9a8310e4
      Reviewed-on: https://review.typo3.org/27856
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      77b17291
    • Markus Klein's avatar
      [BUGFIX] Fix JS error in ElementBrowser · 2b0b18a5
      Markus Klein authored
      Fix for #41413 did not remove a superfluous parentheses.
      This is causing a JS error now.
      
      Backports of the original patch are fixed already.
      
      Resolves: #56289
      Releases: 6.2
      Change-Id: Iff0e73a28c9428d931f44b538106b6120ccc4e6a
      Reviewed-on: https://review.typo3.org/27854
      Reviewed-by: Markus Klein
      Tested-by: Markus Klein
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      2b0b18a5