1. 24 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      Check that 'php*_intl' is installed. · cba08698
      Carsten Rose authored
      AbstractException.php: Add catch CodeException to not recursively throw the same exception again and again.
      Store.php: constructor of class Store seems to be the best place to do the check.
      cba08698
  2. 17 Feb, 2017 1 commit
  3. 14 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      'Upload advanced mode' implementiert. V2 (kein FormElement Action 'afterSave' mehr noetig) · 2e7b75b6
      Carsten Rose authored
      Default fuer Store Prioritaet hat sich geaendert: alt='FSRD', neu='FSRVD' - damit wird ist es ueberfluessig den V Store anzugeben.
      Variable '_filename' umbenannt in 'filename' und verschoben von STORE_FORM nach STORE_VARS. Damit ist es ueberfluessig eine Sanatize Klasse anzugeben.
      STORE_VAR hat zwei neue Variablen: 'filename', 'fileDestination'.
      Bei Form-Action Elemente gibt es zwei neue Typen: 'sqlBefore' und 'sqlAfter'
      
      Index.rst: Dokumentation auf V2 angepasst. Doku fuer V1 hat es nie gegeben.
      FormAction.php: Moved function initActionFormElement to HelperFormElement::initActionFormElement(), Implement sqlBefore & sqlAfter for Action Elemente.
      HelperFormElement.php: new class initActionFormElement(), initUploadFormElement().
      FillStoreForm.php, AbstractBuildForm.php, Evaluate.php: Implemented the $skip parameter to suppress unwanted variable expansion during form load.
      Constants.php: New STORE_USE_DEFAULT, VAR_FILE_DESTINATION, VAR_FILENAME,FE_SQL_AFTER, FE_SQL_BEOFRE, FE_TYPE_UPLOAD.
      Evaluate.php: moved 'decryptCurlyBraces()' up, in order to  create better error messages.
      Save.php: new doUploadSlave(), implement 'Upload advanced mode'.
      2e7b75b6
  4. 13 Feb, 2017 1 commit
  5. 12 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      AdminstratorManual/Index.rst: Update config.qfq.ini description to new... · 7e49d63f
      Carsten Rose authored
      AdminstratorManual/Index.rst: Update config.qfq.ini description to new parameter 'class'. Remove 'DB_NAME_TEST' cause that is only interesting to PHP Unit Tests and not to enduser.
      UserManual/Index.rst: Update STORE_SYSTEM description of known variables.
      Store.php, QuickFormQuery.php: Refactor building STORE_SYSTEM. Make it more generic if new parameters are introduced. Setting up new config.qfq.ini built in defaults and form defaults at one place. Renaming of parameter names in config.qfq.ini to STORE_SYSTEM at one place implemented with an extensible array.
      AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php: User constant F_CLASS  in $this->formSpec['class']
      config.qfq.example.ini: comment empty variables - the new default setting is, that empty parameter in config.qfq.ini means EMPTY, not UNDEFINED.
      7e49d63f
  6. 11 Feb, 2017 5 commits
  7. 10 Feb, 2017 2 commits
    • Carsten  Rose's avatar
    • Carsten  Rose's avatar
      User Input will be UTF8 normalized - Webserver needs package php5-intl or php7.0-intl. · 7eeed2a8
      Carsten Rose authored
      Add FORM_BS_LABEL_COLUMNS, FORM_BS_INPUT_COLUMNS, FORM_BS_NOTE_COLUMNS to config.qfq.ini.
      
      AdministratorManual/Index.rst: added notes to install php-intl, new config.qfq.ini parameter (see above).
      UserManual/index.rst: Fix wrong store name SYSTEM: S > Y. Add new config.qfq.ini parameter (see above).
      Store.php: new general function to translate upper case config prameter names to to camel hook FormElement names. Split function fillSystemStore(). Add function normalizeArray().
      Constants.php: add new error, renumber error codes 1056-1073. Introduce new config.qfq.ini parameter SYSTEM_FORM_BS_*
      QuickFormQuery.php: Use of new bs*Column values defined in config.qfq.inc (not hardcoded here anymore)
      7eeed2a8
  8. 09 Feb, 2017 1 commit
  9. 10 Jan, 2017 1 commit
  10. 17 Dec, 2016 2 commits
    • Carsten  Rose's avatar
      Update function headers. · b331c952
      Carsten Rose authored
      b331c952
    • Carsten  Rose's avatar
      #2067 · de377b07
      Carsten Rose authored
      CODING.md: update docs for situation 'new record already saved'.
      FillStoreForm.php: In case of form load with r=0, the submitted form element names are does not contain the effective record id - workaround implemented.
      Session.php: refactored clear(), create unsetItem().
      Sip.php: new buildParamStringFromArray(), updateSipToSession().
      Store.php: For r=0 SIPs always add a uniqe parameter.
      AbstractBuildForm.php: modified message for subrecords on new record.
      QuickFormQuery.php: create unique SIP on form load.
      de377b07
  11. 29 Nov, 2016 1 commit
  12. 17 Oct, 2016 1 commit
  13. 05 Jun, 2016 1 commit
  14. 04 Jun, 2016 2 commits
    • Carsten  Rose's avatar
      SIP invalid: it seems that again more SIPs become invalid without known... · cd9c4fda
      Carsten Rose authored
      SIP invalid: it seems that again more SIPs become invalid without known reason. Recoded Store, not to use Session Class - instead $_SESSION is used direct.
      Session.php: exception commented
      Store.php: recode accessing $_SESSION.
      cd9c4fda
    • Carsten  Rose's avatar
      #2046: Dynamic Update mit {{feUser:T0}} Feld - fixed. Background: T3... · 55d50e6c
      Carsten Rose authored
      #2046: Dynamic Update mit {{feUser:T0}} Feld - fixed. Background: T3 environment not available during dynamicUpdate (called by AJAX through API). Restore feUser and feUserUid from Session. Not good, but better than nothing. Still missing: the rest of STORE_TYPO3
      Session.php: extend checkFeUserUid() to save feUser as well as feUserUid. Fixed error that getSession() in phpDoc stated it returned class Store - correct is class Session.
      Store.php: fillStoreTypo3() now respects that if there is no  T3 environment, restore at least feUser and feUserUid.
      55d50e6c
  15. 02 Jun, 2016 1 commit
  16. 01 Jun, 2016 1 commit
  17. 31 May, 2016 2 commits
  18. 30 May, 2016 1 commit
  19. 29 May, 2016 1 commit
    • Carsten  Rose's avatar
      Fixed 'Unknown SIP after login/logout' · 75c7f039
      Carsten Rose authored
      Report.php, Store.php, QuickFormQuery.php: configuration option 'SESSION_NAME' removed and hard coded to 'qfq'.
      Session.php, Sip.php: function checkFeUserUid() moved from Sip to Session. Will be called by using 'Session'. SIP's now stored one level deeper in $_SESSION['qfq'][...]. This makes it easier to destroy the SIP cachae in case of login/logout. Destroying the whole $_SESSION var is not a good idea.
      75c7f039
  20. 25 May, 2016 1 commit
  21. 04 May, 2016 2 commits
  22. 27 Apr, 2016 2 commits
    • Carsten  Rose's avatar
      Upload: first version which really uploads file, saving to destination. · 9c24d2d3
      Carsten Rose authored
      Sanitize.php: new sanitize class ALLBUT. New function safeFilename().
      Support.php: New function mkDirParent().
      Store.php: new system config variable SYSTEM_SITE_PATH.
      QuickFormQuery.php: fills STORE_RECORD before saving the current record.
      Save.php: moving the file to the final destination.
      9c24d2d3
    • Carsten  Rose's avatar
      Rewrote upload to be concurrent save. · e3da2abe
      Carsten Rose authored
      Store.php: fills arrays direct in $_SESSION - not sure if this works.
      AbstractBuildForm.php: buildFile() extended to create hidden sipUplaod element.
      BuildFormBootstrap.php: support different actions on calling file.php
      File.php, Save.php: rewrote whole logic of uploading files. See CODING.md
      e3da2abe
  23. 26 Apr, 2016 2 commits
  24. 25 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      Input Field date / datetime / time implemented. · d28b523a
      Carsten Rose authored
      AdministratorManual/index.rst, UsersManual/index.rst: Configuration & Documentation.
      Sanitize.php: code rewrote to use Support::dateTime2mysql().
      Support.php: add dateTimeTegexp()
      FillStoreForm.php: use of Support::setFeDefaults($formElement). Format date/datetime/time values
      Store.php: redefined various functions to be 'static'
      AbstractBuildForm.php, Constants.php: added date/datetime/time to tables. Various new functions.
      Save.php: FE die nicht uebertragen wurden (typsicherweise weil leer) werden neu mit eimem leer String gesschrieben - sonst ist es nicht moeglich  Eingaben wieder zu loeschen.
      formEditor.sql: Felder date/datetime/time neun implementiert.
      d28b523a
  25. 10 Apr, 2016 2 commits
    • Carsten  Rose's avatar
      Store.php: TYPO3_DEBUG_SHOW_BODY_TEXT can only be set if SYSTE<_SHOW_DEBUG_INFO is set. · ae782037
      Carsten Rose authored
      BodyTextParser.php, QuickFormQuery.php: replaced 'debugShowBodyText' with TYPO3_DEBUG_SHOW_BODY_TEXT, 'r' with TYPO3_RECORD_ID, 'form' with TYPO3_FORM.
      ae782037
    • Carsten  Rose's avatar
      Support.php: rewrote appendTypo3ParameterToArray() to use Typo3 Store instead... · a81b1317
      Carsten Rose authored
      Support.php: rewrote appendTypo3ParameterToArray() to use Typo3 Store instead of _GET Parameter. Moved randomAlphaNum() to Support.
      Link.php: rewrote handling of ToolTip. Renamed doHtmlUrl() to doAnchor().
      Utils.php: moved randomAlphaNum() to Support.
      Store.php: rewrote fillStoreClient() to be more compatible with phpUnit-test environment. Removed randomAlphaNum() - duplicate in Support.
      AnbstractBuildForm.php: rewrote deriveNewRecordUrlFromExistingSip() to use generic Support::appendTypo3ParameterToArray()
      Coding.md: Notes for debuggging.
      a81b1317
  26. 08 Apr, 2016 3 commits