Skip to content
Snippets Groups Projects
  1. Apr 03, 2013
  2. Apr 02, 2013
    • Christian Kuhn's avatar
      [TASK] Clean up DatabaseConnection class · b73314f8
      Christian Kuhn authored
      * Reduce number of IDE warnings by fixing method annotations
      * Minor nitpicks
      * Remove "define visibility" TODOs for API methods
      
      Change-Id: Ica0bf776d3f22678b6fb67cdd85da188011509b0
      Reviewed-on: https://review.typo3.org/19522
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Wouter Wolters
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      b73314f8
    • Christian Kuhn's avatar
      [TASK] Release installation procedure from LocalConfiguration file · 5cd8ec07
      Christian Kuhn authored
      The dummy, government and introduction packages deliver with a
      default typo3conf/LocalConfiguration.php file to set defaults. If
      the installation was not yet completed, those files do not contain
      database settings. The bootstrap loads LocalConfiguration and
      redirects to the install tool in 123 mode, if those db credentials
      are missing. This is ugly and leads to several headaches.
      
      The patch introduces a new file called "FactoryConfiguration.php"
      within ext:core Configuration directory to set those defaults now.
      The packages can overload these settings with an own file in
      typo3conf called "AdditionalFactoryConfiguration", eg. to load the
      specific extensions needed during the install process.
      
      This way, the packages do not deliver a "LocalConfiguration" file
      anymore. The boostrap now just checks for the existence of the file
      and redirects to the install tool if it doesn't exist. The install
      tool then creates the "LocalConfiguration" from the factory files
      at an early point in the process.
      
      The patch has to deal with different side effect of this:
      * ConfigurationManager is no singleton anymore, there was no reason
        for that in the first place anyway.
      * ConfigurationManager has a new method to deal with the factory
        files.
      * ConfigurationManager got some refactoring to get rid of constants
      * Bootstrap is adapted to the new file existance handling.
      * GeneralUtility::fixPermissions now can give default permission
        values for files if the settings do not exist yet.
      * GeneralUtility::writeFile now accepts a new argument to force
        setting permissions. This is used in ConfigurationManager to
        end up with a LocalConfigurationFile with correct permissions
        as soon as installation is completed.
      * As usual, the patch has a good test coverage to show everything
        works as expected.
      
      Change-Id: Icb644534e6d1f426bc9512a941a69d3ee3727223
      Resolves: #46854
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/19506
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      5cd8ec07
    • TYPO3 Release Team's avatar
      [TASK] Raise submodule pointer · 1421f90e
      TYPO3 Release Team authored
      Change-Id: I39f576aebdfa181c11896cf0942b66823435cb20
      Reviewed-on: https://review.typo3.org/19521
      Reviewed-by: TYPO3 Release Team
      Tested-by: TYPO3 Release Team
      1421f90e
    • Stefan Neufeind's avatar
      [FEATURE] Human readable names for special folders · f2e104e1
      Stefan Neufeind authored
      The names of some special folders (user upload,
      temporary files, recycler) were historically
      converted to a human readable string. This is partly
      broken in the current version, especially the sorting
      gets mixed up. This commit changes the concept to
      make the mapping more flexible (i.e., the driver can
      decide what folder has which special role) and also
      fixes the name mapping and sorting.
      
      Change-Id: Iaf7dee74f4d9031ed91b446937361ecdede9a0b5
      Resolves: #46542
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/19177
      Tested-by: Philipp Gampe
      Tested-by: Andreas Wolf
      Reviewed-by: Philipp Gampe
      Reviewed-by: Andreas Wolf
      f2e104e1
    • Soren Malling's avatar
      [!!!][FEATURE] Implement pre- and post-hook around SELECT queries · 565786a0
      Soren Malling authored
      To use in example content/record security,
      a hook is implemented before and after the SELECT call.
      
      The interface introduces a new function that needs to be
      implemented to avoid breaking functionality!
      
      The SELECT call is the only database call without such hook
      
      Resolves: #45699
      Releases: 6.1
      Change-Id: I915bd2422e3d6743a408ea53af7e6491cfe2657a
      Reviewed-on: https://review.typo3.org/18411
      Reviewed-by: Dmitry Dulepov
      Reviewed-by: Mattias Nilsson
      Tested-by: Dmitry Dulepov
      Reviewed-by: Wouter Wolters
      Reviewed-by: Georg Ringer
      Tested-by: Georg Ringer
      565786a0
  3. Apr 01, 2013
    • Oliver Hader's avatar
      [TASK] Remove explicit strict test from TypoScriptParserTest · f17717eb
      Oliver Hader authored
      The TypoScriptParser is executed in strict mode by default.
      
      Change-Id: I95a206e184cbafaebe28f1db592bd0f6a6dda4db
      Related: #46839
      Releases: 6.0, 6.1
      Reviewed-on: https://review.typo3.org/19504
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      f17717eb
    • Oliver Hader's avatar
      [!!!][BUGFIX] Scope of ProcessedFile cannot be modified · 58db018e
      Oliver Hader authored
      A ProcessedFile is used to generate a preview or crop-scaled
      version of a File. Actually a Task implementing the
      TaskInterface defines the basics and an accordant Helper
      object takes care of the modifications to that file.
      There are pre-process and post-process signals that seem to
      be useless in modifying the scope of a particular task, however.
      
      Imagine a file shall be pre-processed (e.g. color profile
      transformation) and that result shall be used for resizing.
      The current task implementation is using the original file
      directly, however the task actually shall define which is the
      source (the original file) the modifications shall be based on.
      
      This change modifies the TaskInterface with a getSourceFile()
      method to overcome this limitation.
      
      Change-Id: I280ea9a0bf056f9eee0a06995ab809fdafb8a11a
      Fixes: #46795
      Releases: 6.0, 6.1
      Reviewed-on: https://review.typo3.org/19438
      Reviewed-by: Stefan Neufeind
      Tested-by: Steffen Ritter
      Reviewed-by: Steffen Ritter
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      58db018e
    • Alexander Stehlik's avatar
      [BUGFIX] Respect line breaks in stdWrap.cropHTML · 207ddf38
      Alexander Stehlik authored
      By using the PCRE_DOTALL (/s) pattern modifier in the cropHTML
      regular expression for preserving HTML entities the dot in the
      pattern will include line breaks.
      
      Resolves: #28741
      Releases: 6.1, 6.0, 4.7, 4.6, 4.5
      Change-Id: Ifda9e397406dd481b634ded22fd13cac90192118
      Reviewed-on: https://review.typo3.org/18219
      Reviewed-by: Dmitry Dulepov
      Tested-by: Dmitry Dulepov
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Susanne Moog
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Benjamin Mack
      Tested-by: Benjamin Mack
      207ddf38
    • Christian Kuhn's avatar
      [BUGFIX][EM] TER repository page fails · ad19f580
      Christian Kuhn authored
      After the persistence patch in extbase was reverted, em needs an
      adaption to make the Repository tab work again.
      
      Change-Id: If88f9c2e52fdeed344955a62568835b3968db5e2
      Fixes: #46844
      Related: #46837
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/19497
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      ad19f580
    • Alexander Schnitzler's avatar
      Revert "[TASK] Fix deprecated things in sysnote" · 12f7fc1d
      Alexander Schnitzler authored
      This reverts commit 524951cf.
      
      Commit 524951cf has to be
      reverted as it relies on patch http://forge.typo3.org/issues/42506
      which has been reverted due to an introduced regression.
      
      Resolves: #46838
      Releases: 6.1
      Change-Id: I3d1037e508a0defbe127a6f4b8f15efdcf678ef3
      Reviewed-on: https://review.typo3.org/19490
      Reviewed-by: Marc Bastian Heinrichs
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      12f7fc1d
    • Christian Kuhn's avatar
      [TASK] Raise submodule pointer · f11606c8
      Christian Kuhn authored
      Change-Id: I54aff9f762761eba162d3d62fac19264fdbbee8e
      Reviewed-on: https://review.typo3.org/19496
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      f11606c8
    • Oliver Hader's avatar
      [TASK] Integrate basic TypoScript parsing test · c6f8fdaf
      Oliver Hader authored
      Resolves: #46839
      Releases: 6.0, 6.1
      Change-Id: I3dd007908bbd127386b86dd0f31e927c1034bb97
      Reviewed-on: https://review.typo3.org/19491
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      c6f8fdaf
    • Steffen Ritter's avatar
      [TASK] Adapt ArrayConstraints in IndexerTest · ccf835a9
      Steffen Ritter authored
      The tests for a parameter array check for equality of
      the parameter array and the according value.
      Instead we only wanna know if two keys are present and
      set correctly and we do not care about other array values.
      
      This refactors the Test to be more polite and is a follow-up
      for #46596.
      
      Change-Id: Ia7b4a0521b1d11b9494de2ff766f11b3c8bd1f60
      Releases: 6.0, 6.1
      Related: #46596
      Reviewed-on: https://review.typo3.org/19487
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      ccf835a9
    • Steffen Ritter's avatar
      [BUGFIX] PHP filesystem functions are locale dependent · 01fbf2e1
      Steffen Ritter authored
      PHP filesystem functions like pathinfo, dirname and
      basename are dependent on the locale set in PHP.
      If one enables UTF8filesystem in the install tool, he may
      use non-ascii characters in filenames and directory names.
      For this to work properly you need to configure
      SystemLocale, too.
      
      The file abstraction layer classes need to take care of
      the SystemLocale; to avoid code duplication new static
      wrapper functions have been introduced.
      
      Change-Id: I635e18d7ed08d928c6c4e427c0348dd46d9c5900
      Releases: 6.0, 6.1
      Resolves: #45982
      Reviewed-on: https://review.typo3.org/19444
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      01fbf2e1
    • Steffen Ritter's avatar
      [BUGFIX] IndexerService does not set creating user · 024bc6cf
      Steffen Ritter authored
      When a backenduser uploads a file an index record is
      created. The sys_file table ships with the column cruser_id
       which is never been filled because all sys_file records
      are created by the IndexerService which does not take care
      of that field.
      
      Add this knowledge to the indexer service.
      
      Releases: 6.0, 6.1
      Fixes: #46596
      Change-Id: I2a82ea5375b892604fc1a27376487bc4efe3a16e
      Reviewed-on: https://review.typo3.org/19217
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Andreas Wolf
      Tested-by: Andreas Wolf
      024bc6cf
    • Michael Stucki's avatar
      [BUGFIX] Accept alternative notations for setDBinit · 96e325cd
      Michael Stucki authored
      Allow quotes and upper-case notation when checking if
      $TYPO3_CONF_VARS['SYS']['setDBinit'] is configured properly.
      
      Resolves: #24582
      Releases: 6.1, 6.0
      Change-Id: I51a5f6cf363077c738656c207648f21d726de72b
      Reviewed-on: https://review.typo3.org/19034
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      96e325cd
    • Oliver Hader's avatar
      [BUGFIX] TypoScriptParserTest uses superfluous mock object · 7516050b
      Oliver Hader authored
      TypoScriptParserTest uses superfluous mock object just to
      call protected methods but without using mock behaviour.
      
      Change-Id: Iaf8ed0150e63b5da4185dccbcf3dbd5eaa0cf94f
      Fixes: #46833
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/19481
      Reviewed-by: Oliver Hader
      Tested-by: Oliver Hader
      7516050b
    • Michael Stucki's avatar
      [BUGFIX] Javascript for TMENU_LAYERS and GMENU_LAYERS missing · cf8336a3
      Michael Stucki authored
      If using GMENU_LAYERS/TMENU_LAYERS and (for example) indexed_search on
      the same page, the JavaScript header tags are missing if the page is
      loaded from the cache.
      
      Resolves: #36719
      Releases: 4.5, 4.6, 4.7, 6.0, 6.1
      Change-Id: Icd52f68d2b9462360f0b9efd912d93d4b0c1048c
      Reviewed-on: https://review.typo3.org/19266
      Reviewed-by: Wouter Wolters
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      cf8336a3
  4. Mar 31, 2013
    • Christian Kuhn's avatar
      [BUGFIX] MySQLi: FALSE not NULL from sql_fetch()/fetch_row() · 856697f4
      Christian Kuhn authored
      MySQL previously returned FALSE if there were no more rows.
      MySQLi returns NULL. So we'll need to turn that into FALSE
      again not to break things.
      
      Fixes: #46824
      Releases: 6.1
      Change-Id: Ia3f6e32ac71b9cec216459b66b42c7d9526671dd
      Reviewed-on: https://review.typo3.org/19473
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      856697f4
    • Florian Scholz's avatar
      [FEATURE] Checkbox for confirmation in FormWizard · eae33642
      Florian Scholz authored
      Adds an extra BEHAVIOUR section to form tab with a
      checkbox to control whether the confirmation page
      should be shown.
      
      Change-Id: Id58ad0f8fa7fbbd5470e9a87e5fe31098b777a13
      Resolves: #28628
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/9136
      Reviewed-by: Wouter Wolters
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      eae33642
    • Christian Kuhn's avatar
      [TASK] Raise submodule pointer · f0b6ca54
      Christian Kuhn authored
      Change-Id: Ie0f9a9e5d31d787b81dcff7a1877dedf2a4c0ef6
      Reviewed-on: https://review.typo3.org/19472
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      f0b6ca54
    • Benjamin Mack's avatar
      [TASK] Remove unused FAL class ImageProcessingService · 995086f7
      Benjamin Mack authored
      In the early stages of the processing functionality, the class
      "ImageProcessingService" was added as a proof-of-concept which
      failed, as it just moved the cImage functionality and can
      only be used in FE (cObj dependency). The new Task interface
      for ProcessedFiles serves this purpose since the introduction
      of FAL in 6.0.
      
      The file can be removed without any deprecation, as it is
      unusable (no API, not used at all).
      
      Releases: 6.1
      Resolves: #46625
      Change-Id: I8637ca812ed7fd45439cbe85ce3a32ceba946441
      Reviewed-on: https://review.typo3.org/19245
      Reviewed-by: Benjamin Mack
      Tested-by: Benjamin Mack
      995086f7
    • Jost Baron's avatar
      [BUGFIX] Fix of Close-button in flash messages · 99cb5f1d
      Jost Baron authored
      The close button did not work because hide() was called on
      a HTMLElement instead of an Ext.Element.
      
      Fixes: #46373
      Related: #31368
      Releases: 6.1, 6.0, 4.7
      Change-Id: I70c65a82683ece39de4ed043a916b0521aabafa1
      Reviewed-on: https://review.typo3.org/19252
      Tested-by: Wouter Wolters
      Reviewed-by: Laurent Cherpit
      Tested-by: Laurent Cherpit
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      99cb5f1d
    • Stefan Neufeind's avatar
      [TASK] Detect APC and APCu correctly · 0d34f7f0
      Stefan Neufeind authored
      APCu is just the user-data part of APC,
      providing the same API.
      
      If installed it currently identifies itself
      as both "apcu" and "apc" (for compatibility).
      Thus if "apcu" shows up, we actually have an APC
      without opcache-support.
      
      Resolves: #46821
      Releases: 4.5, 4.7, 6.0, 6.1
      Change-Id: Ie046fa21102c5c7eb6b5b8a9cf54b20252c30cd9
      Reviewed-on: https://review.typo3.org/19462
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      0d34f7f0
    • Stefan Neufeind's avatar
      [BUGFIX] Sending fails on multiple email-addresses · e831738d
      Stefan Neufeind authored
      Specifying multiple recipients (To or CC) for emails
      leads to an error upon form-submit without further explanation.
      This patch implements validation for multiple email addresses of
      which only the valid ones are then returned.
      The sending-API can already handle multiple recipients.
      
      Change-Id: I59b65adc4e09d298167738778c17d310b8ecce47
      Fixes: #44485
      Releases: 4.7, 6.0, 6.1
      Reviewed-on: https://review.typo3.org/17505
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Tested-by: Stefan Neufeind
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      e831738d
    • Wouter Wolters's avatar
      [FEATURE] Add wincache and zend to opcode cache check · 4ef3d84b
      Wouter Wolters authored
      Change-Id: Id467f5f9a7b99075ede94532cd3e9a49131a1287
      Resolves: #46612
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/19460
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      4ef3d84b
    • Jigal van Hemert's avatar
      [FEATURE] Support multiple display conditions in TCA · fe3e0a80
      Jigal van Hemert authored
      The displayCond option is expanded with support for multiple
      conditions and even the logical operators OR and AND.
      
      Change-Id: I6cb38ef83093ed7399b47701e234ac13bdfa47dd
      Fixes: #18211
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/13508
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Stefan Neufeind
      Tested-by: Stefan Neufeind
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      fe3e0a80
    • Philipp Gampe's avatar
      [FEATURE] Introduce xcache cache backend · 23fe8e14
      Philipp Gampe authored
      xcache is another PHP opcode cache like APC.
      Similar to APC, it has a key-value for user data.
      This storage is now available in the TYPO3 caching framework
      by providing an according cache backend.
      
      Note: XCache does not work in CLI mode!
      
      Resolves: #46142
      Releases: 6.1
      Change-Id: I4e9e856a8397978eb6f6d480b79996ff49ff8a7b
      Reviewed-on: https://review.typo3.org/18823
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      23fe8e14
    • Stefan Neufeind's avatar
      [FEATURE] TS-list: allow to unique, reverse and sort · b7ee51b3
      Stefan Neufeind authored
      Add missing, basic list-functionality for TypoScript.
      Also splits out the TS-operator-functions into a
      separate function and adds unit-tests.
      
      Resolves: #45091
      Releases: 6.1
      Change-Id: I2ff425845681494053dc56b785ebd0064f100ed6
      Reviewed-on: https://review.typo3.org/17939
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      b7ee51b3
    • Sebastian Michaelsen's avatar
      [TASK] Extract displayCond functionality from FormEngine to new class · cf170670
      Sebastian Michaelsen authored
      In order to streamline \TYPO3\CMS\Backend\Form\FormEngine
      (formerly t3lib_TCEforms) the functionality for 'displayCond' is extracted
      into a new class: \TYPO3\CMS\Backend\Form\ElementConditionMatcher
      
      * Refactor the code a bit without changing it's behaviour
      * Deprecate FormEngine->isDisplayCondition() and remove its core usages
      * Add a bit of documentation in the new class
      * Add Unit tests
      
      Releases: 6.1
      Resolves: #46461
      Change-Id: Ie199fe0600a70231f1e7b710a09164364cef8578
      Reviewed-on: https://review.typo3.org/19080
      Reviewed-by: Anja Leichsenring
      Tested-by: Anja Leichsenring
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      cf170670
    • Christian Kuhn's avatar
      [TASK] Raise submodule pointer · d830b432
      Christian Kuhn authored
      Change-Id: Id6d1ecee341547145a067dba661651704dcaae54
      Reviewed-on: https://review.typo3.org/19457
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      d830b432
  5. Mar 30, 2013
    • Christian Kuhn's avatar
      [BUGFIX] fetch_field_redirect returns object but not array · b706dba4
      Christian Kuhn authored
      Method sql_field_type was rewritten with the mysqli switch for
      compatibility with the old behavior. The introduced call to
      fetch_field_redirect returns an object, but the result is
      handled as an array, leading to warnings.
      
      Change-Id: I73c434e8ce8086f4e60e119f4c2e2d1e2c9c7d20
      Fixes: #46806
      Related: #36419
      Reviewed-on: https://review.typo3.org/19448
      Reviewed-by: Philipp Gampe
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Tested-by: Philipp Gampe
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      b706dba4
    • Christian Kuhn's avatar
      [TASK] NEWS.txt entry about mysql to mysqli switch · 4a8277fa
      Christian Kuhn authored
      Change-Id: Idb67b153daea1a233e54ec164b4abdb9cbeb331c
      Related: #36419
      Reviewed-on: https://review.typo3.org/19443
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      4a8277fa
    • Christian Kuhn's avatar
      [BUGFIX] Integrity test fails · 3e309294
      Christian Kuhn authored
      The integerity test checks if TYPO3_DB is a resource. After switch to
      mysqli, this is now an object and thus reflected with the patch now.
      At the same time, the $link property - while it changed its type - is
      now made protected, and a getter / setter is added.
      
      Change-Id: I5ecdcc27f628352a26a51fc28d5a9d7be5e16315
      Resolves: #46805
      Related: #36419
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/19447
      Reviewed-by: Wouter Wolters
      Tested-by: Wouter Wolters
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      3e309294
    • Wouter Wolters's avatar
      [TASK] Small cleanup in Typo3DatabaseBackend · 75d6db0d
      Wouter Wolters authored
      Long lines for database queries are not too long anymore.
      
      Change-Id: I2bfbeb9e5e375c43483af9b3d33264a23a4c6adc
      Resolves: #46804
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/19446
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      75d6db0d
    • Wouter Wolters's avatar
      [BUGFIX] Typo3DatabaseBackend get function does not return FALSE · cdb50263
      Wouter Wolters authored
      Typo3DatabaseBackend get function does not return FALSE when
      there is no result.
      
      Change-Id: I738ffc2879a9c125af4e7f0727c2cb5c88ed2da0
      Fixes: #46802
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/19445
      Reviewed-by: Philipp Gampe
      Tested-by: Philipp Gampe
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      Reviewed-by: Jigal van Hemert
      Tested-by: Jigal van Hemert
      cdb50263
    • Benjamin Mack's avatar
      [FEATURE] Add RequireJS to dynamically load JS files · b9129bf2
      Benjamin Mack authored
      Adds the JS loader "RequireJS" to the TYPO3 core, accessible
      for the TYPO3 Frontend and Backend in the PageRenderer
      class.
      
      Additionally, defined AMD modules can be loaded
      by RequireJS on page load. This way, the whole JS code
      in the core can be moved to standard AMD modules
      with dependencies.
      
      The shipped jQuery version already puts itself in a AMD
      module named "jquery", so it can be used in all AMD
      modules.
      
      All created AMD modules should be named
      "TYPO3/CMS/[PackageName]/[ModuleName]" so the
      file name is resolved automatically as
      "EXT:PackageName/Resources/Public/JavaScript/ModuleName.js"
      
      Releases: 6.1
      Resolves: #39622
      Change-Id: I6e3177019e9b98b409aa90f771122b48cee235e1
      Reviewed-on: https://review.typo3.org/18924
      Reviewed-by: Wouter Wolters
      Tested-by: Stefan Neufeind
      Tested-by: Wouter Wolters
      Reviewed-by: Daniel Sattler
      Tested-by: Daniel Sattler
      Reviewed-by: Stefan Neufeind
      Reviewed-by: Marcus Schwemer
      Tested-by: Marcus Schwemer
      Reviewed-by: Mattias Nilsson
      Tested-by: Mattias Nilsson
      Reviewed-by: Benjamin Mack
      Tested-by: Benjamin Mack
      b9129bf2
    • Fabrizio Branca's avatar
      [FEATURE] Add stdWrap feature: addPageCacheTags · 61df9ce7
      Fabrizio Branca authored
      This feature comes after feature freeze for 4.7 but accidently it was
      already mentioned in the release notes while not being implemented yet.
      
      Release notes mention that the new stdWrap.cache feature (#34299)
      stores cache tags that can be flushed by tag from TCEmain.clearCacheCmd
      with feature #34352.
      
      As stdWrap.cache stores tags into cache_hash and not into cache_pages
      the feature mentioned in the release notes does not work that way.
      
      But nevertheless that would be a handy feature and so I suggest to
      add stdWrap.addPageCacheTags = pagetag1,pagetag2,pagetag3
      
      To distinguish these tags being written to cache_pages instead of
      cache_hash I'd suggest to not have this feature inside "cache." but
      as a separate configuration option "addPageCacheTags".
      
      See http://forge.typo3.org/issues/34403 for some more details.
      
      Including the other cache (tag) related features this completes a set
      of handy tools to handly cache tags in a very flexible way.
      
      Change-Id: Ida42937356644f8ea1c27cecdf1e8252182b06ee
      Resolves: #34403
      Releases: 6.1
      Reviewed-on: https://review.typo3.org/9294
      Reviewed-by: Steffen Ritter
      Tested-by: Steffen Ritter
      Reviewed-by: Christian Kuhn
      Tested-by: Christian Kuhn
      61df9ce7