Skip to content
Snippets Groups Projects
  1. May 11, 2011
  2. May 10, 2011
  3. May 09, 2011
  4. May 08, 2011
    • Stefano Kowalke's avatar
      [TASK] Each PHP statement must be on a line by itself · 218a48ef
      Stefano Kowalke authored
      There are several places where two or more statements are in one line
      like "if (condition) do something;" or just to semicolons at the end of
      a line "$foo = 42;;"
      
      Change-Id: I9e587751676fee8db27226c751483c1070de935d
      Resolves: #26626
      Release: 4.6
      Reviewed-on: http://review.typo3.org/1932
      Reviewed-by: Steffen Gebert
      Tested-by: Steffen Gebert
      218a48ef
    • Peter Beernink's avatar
      [BUGFIX] Also crop when maxCharacters < first word · 03ff5d09
      Peter Beernink authored
      When maxCharacters is equal or less then the length of the first word,
      the whole string was returned when 'crop to word' is enabled instead of
      the only the cropped part.
      
      Change-Id: I0a7ec720b12a7999245b183f36daff5cdd7a8ace
      Resolves: #25368
      Reviewed-on: http://review.typo3.org/1274
      Reviewed-by: Steffen Gebert
      Tested-by: Steffen Gebert
      03ff5d09
    • Susanne Moog's avatar
      [BUGFIX] Display correct lost records count in record statistics · b69dcdb1
      Susanne Moog authored
      The module DB Check > Record statistics counts the deleted pages
      instead of the lost pages and displays that number. As the links
      for adopting orphaned records should correlate to the count of
      lost records, we should display the correct number.
      
      Change-Id: Ie793aa337b56503f6f37ffd9cc6fbb8d052c1540
      Resolves: #25863
      Releases: 4.6, 4.5, 4.4
      Reviewed-on: http://review.typo3.org/1531
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Tested-by: Stefan Neufeind
      Reviewed-by: Steffen Gebert
      Tested-by: Steffen Gebert
      b69dcdb1
  5. May 06, 2011
    • Francois Suter's avatar
      [FEATURE] Add hook to override icon status overlay · 226fb782
      Francois Suter authored
      Icons status overlays are defined in t3lib_iconWorks::
      mapRecordOverlayToSpriteIconName(). However it is necessary
      for "external" process (e.g. versioning) to override the
      icon status. Currently a deleted record in a workspace will
      not appear properly overlaid because only deleted = 1 is
      checked and not also t3ver_state = 2. This hook makes it
      possible for the version sysext to hook into the process and
      set the right status.
      
      Change-Id: I349012e402ab349ad810c57e46b0a7d5f8a46b03
      Resolves: #25765
      Releases: 4.6, 4.5
      Reviewed-on: http://review.typo3.org/1459
      Tested-by: Oliver Hader
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Oliver Hader
      226fb782
  6. May 03, 2011
  7. Apr 30, 2011
    • Helmut Hummel's avatar
      [BUGFIX] Abandon one time CSRF tokens · d8b85b63
      Helmut Hummel authored
      Abandon the extra security feature of having one time tokens and create tokens
      which are valid during a whole login session. Additionally create only one random token,
      store it in the session and create the real URL and form tokens by hashing the scope strings
      with the secret session token.
      
      To enable re-login, store the session token in the registry and retrieve it in case a
      re-login happens.
      
      Thanks to Marion Eher (Bluechip.at) for sponsoring
      this fix with 75 beers during the bug auction at T3BOARD11.
      
      Resolves: #25359
      Change-Id: If37990fbc1ae3701777e8218cc1bc8760a4d6a55
      Releases: 4.6, 4.5
      Reviewed-on: http://review.typo3.org/1364
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      d8b85b63
  8. Apr 29, 2011
    • Helmut Hummel's avatar
      [CLEANUP] Fix TCA tree the same as in TYPO3_4-5 · 06711c2c
      Helmut Hummel authored
      The TCA tree feature did not work when setting maxitems=1 in the TCA.
      
      This bug has been fixed in master in 290529a7 and in
      TYPO3_4-5 branch 3019ca92 but the solution is different.
      
      Use the same solution as is TYPO3_4-5 because it is cleaner:
      
      * Check for empty() value instead of comparing with 0 in 
        t3lib/tceforms/class.t3lib_tceforms_tree.php
      * Do not recalculate the number of checked items only if a new
        item is checked and the maximum item count is reached instead of always
        recalculating the item count in 
        t3lib/js/extjs/tree/tree.js
      
      Resolves: #25347
      Releases: 4.6
      
      Change-Id: I1b55960f9c26f57aa05d6a95a9980798c06e8316
      Reviewed-on: http://review.typo3.org/1804
      Reviewed-by: Helmut Hummel
      Tested-by: Helmut Hummel
      06711c2c
    • Steffen Gebert's avatar
      [TASK] Remove last relics of IE6 backend support · 03f943da
      Steffen Gebert authored
      Remove the last occurrences of IE6 specific code.
      Resolves: #26274
      
      Change-Id: I82e86c5b8ecc14d6592871a2f86d6c50d69eed48
      Reviewed-on: http://review.typo3.org/1723
      Reviewed-by: Peter Beernink
      Tested-by: Peter Beernink
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      03f943da
    • Torben Hansen's avatar
      [BUGFIX][saltedpasswords] Failed backend logins not not logged · df05f2ca
      Torben Hansen authored
      The logging functions in saltedpasswords are not able to log failed
      backend userlogins to TYPO3s syslog, because the inherited
      writelog-function gets overridden by a local function. As a result, no
      notification e-mail is sent to [warning_email_addr] when a backend user
      has multiple failed login attempts. A remote 'attacker' could try to
      login to a TYPO3 installations backend numerous of times without being
      noticed (no log entry and no warning-email if configured).
      
      Rename the local writelog-function to writeLogMessage and add the
      original writelog-functionality, so that failed backend logins are
      written to TYPO3s syslog again and all logging/notifications work as
      expected.
      
      Change-Id: Ic05b05873e3fd20df675db908ba76b7dd0e5548f
      Resolves: #23917
      Releases: 4.6, 4.5, 4.4, 4.3
      Reviewed-on: http://review.typo3.org/1795
      Reviewed-by: Torben Hansen
      Tested-by: Torben Hansen
      Reviewed-by: Steffen Ritter
      Tested-by: Steffen Ritter
      df05f2ca
    • Stefano Kowalke's avatar
      [TASK] Change "null" into "NULL" · 3a45abf0
      Stefano Kowalke authored
      The special value "null" should written in uppercase "NULL".
      
      Change-Id: I84deb049c823ee6b51792df7afd08b18bbff5cac
      Resolves: #26345
      Releases: 4.6
      Reviewed-on: http://review.typo3.org/1791
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      3a45abf0
    • Christopher Stelmaszyk's avatar
      [BUGFIX] Typo "tsdWrap" instead of "stdWrap" · 0f4f591e
      Christopher Stelmaszyk authored
      In class tslib_content_offsettable there is one occurence of "tsdWrap",
      which should read "stdWrap".
      
      Change-Id: Ia658149602d5bbf1e3453ad8ed9eacbec247c1c5
      Resolves: #26500
      Reviewed-on: http://review.typo3.org/1800
      Reviewed-by: Steffen Gebert
      Tested-by: Steffen Gebert
      0f4f591e
    • Stefano Kowalke's avatar
      [TASK] Change "true" into "TRUE" · f8b8898e
      Stefano Kowalke authored
      Booleans should be written in uppercase.
      
      Change-Id: Ib29abc6e1e658e3a1b65cd1873a3a3edac7dba57
      Resolves: #26346
      Releases: 4.6
      Reviewed-on: http://review.typo3.org/1790
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      f8b8898e
    • Steffen Gebert's avatar
      [BUGFIX][TESTS] Fix unit test fixPermissionsSetsPermissionsWithRelativeFileReference · 1e560e42
      Steffen Gebert authored
      The test fixPermissionsSetsPermissionsWithRelativeFileReference
      (t3lib_divTest) used a (wrong) relative path to a test file in the chmod
      call. Thus the test failed.
      
      Prepend PATH_site have the correct absolute path.
      
      Change-Id: Ifab5649272952a626381e8562ca018d087efc789
      Resolves: #26423
      Reviewed-on: http://review.typo3.org/1780
      Reviewed-by: Peter Beernink
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      1e560e42
    • Steffen Gebert's avatar
      [BUGFIX][TESTS] Fix unit test cropIsMultibyteSafe · 710ae66b
      Steffen Gebert authored
      The unit test cropIsMultibyteSafe (class tslib_contentTest) fails, if
      error reporting includes E_WARNING. In this case mb_strlen() throws an
      error, as it is called with an empty string as second parameter
      $charset. Initializing $GLOBALS['TSFE']->renderCharset in the setUp
      method solves this.
      
      Change-Id: If04278e3cbd01ad2f4b6b02c1b3df7cf89b251f0
      Resolves: #26491
      Releases: 4.6, 4.5
      Reviewed-on: http://review.typo3.org/1785
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      710ae66b
  9. Apr 28, 2011
    • Susanne Moog's avatar
      [BUGFIX] Default login (without EXT:felogin) form should be removed · fe693631
      Susanne Moog authored
      When EXT:felogin is not installed, a FE login content element is available, that is
      out of date and should not be used anymore.
      As we ship felogin since 4.2 and install it by default, the default login form is
      useless and confusing.
      
      Thanks to naw.info for sponsoring 135 beers at the bug auction for this fix.
      
      Change-Id: I765b3d391b06dac34550f46f19992c9cf9d1c5c7
      Resolves: #22408
      Reviewed-on: http://review.typo3.org/1369
      Reviewed-by: Björn Pedersen
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Steffen Gebert
      Tested-by: Steffen Gebert
      fe693631
    • Christian Kuhn's avatar
      [BUGFIX] Use recursive option of mkdir in t3lib_div::mkdir_deep · bfa7453b
      Christian Kuhn authored
      Additionally throw exceptions instead of a return string if directory could
      not be created.
      
      Change-Id: I90da96e1b62d28997573d821c62b7b24b3ef2ba3
      Resolves: #26240
      Depends: #26230
      Releases: 4.6
      Reviewed-on: http://review.typo3.org/1716
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Susanne Moog
      Tested-by: Susanne Moog
      bfa7453b
  10. Apr 27, 2011
  11. Apr 26, 2011
  12. Apr 25, 2011
    • Jigal van Hemert's avatar
      [BUGFIX] Use setReplyTo and setCc instead of add* · 515d8b31
      Jigal van Hemert authored
      The methods addReplyTo and addCc accept strings as parameters, but we
      need the setReplyTo and setCc which accept arrays. This will make the
      reply-to and recipient-copy options work in formMail.
      
      Change-Id: Ia3826d51f53ffe497f4c3b25957f0332fb89e81e
      Resolves: #25301
      Releases: 4.6
      Reviewed-on: http://review.typo3.org/1442
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      515d8b31
    • Susanne Moog's avatar
      [TASK] Add helper function for array handling · b928fca9
      Susanne Moog authored
      Adds a helper functions for easier handling of arrays.
      New class t3lib_utility_Array adds a method to reduce an
      array by a search value.
      New method in t3lib_extMgm adds a method to add new items
      to a TCA select list at a spcified position.
      
      Change-Id: I589294525a7eacc7af6e54c5b78f5ee411574f12
      Resolves: #26069
      Relates: #22408
      Reviewed-on: http://review.typo3.org/1647
      Reviewed-by: Alexander Stehlik
      Tested-by: Alexander Stehlik
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      b928fca9
    • Michael Stucki's avatar
      [BUGFIX] Fix inconsistent linebreaks in some files · d041afbe
      Michael Stucki authored
      A few files are containing inconsistent linebreaks.
      Since all of these files are taken from external projects,
      someone needs to make sure that they get fixed during future
      imports.
      
      Change-Id: I49e482add2f991356a4ad335f13c9c60719e9e44
      Resolves: #26126
      Releases: 4.6, 4.5
      Reviewed-on: http://review.typo3.org/1661
      Reviewed-by: Susanne Moog
      Tested-by: Susanne Moog
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      d041afbe