1. 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
  2. 29 Nov, 2016 1 commit
  3. 17 Oct, 2016 1 commit
  4. 05 Jun, 2016 1 commit
  5. 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
  6. 02 Jun, 2016 1 commit
  7. 01 Jun, 2016 1 commit
  8. 31 May, 2016 2 commits
  9. 30 May, 2016 1 commit
  10. 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
  11. 25 May, 2016 1 commit
  12. 04 May, 2016 2 commits
  13. 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
  14. 26 Apr, 2016 2 commits
  15. 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
  16. 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
  17. 08 Apr, 2016 3 commits
  18. 04 Apr, 2016 2 commits
  19. 01 Apr, 2016 2 commits
  20. 24 Mar, 2016 2 commits
    • Carsten  Rose's avatar
      Refactored sanitize functionality: Form save, form update and client are now... · 0f2d60c4
      Carsten Rose authored
      Refactored sanitize functionality: Form save, form update and client are now handled with the same regexp. Form save and update use the same code to sanatize. SANITIZE names are now equal in FormEditor and in Store. New class SANITIZE_ALL_MIN_MAX_DATE.
      
      OnArray.php: moved inputCheckPatternArray() to Sanatize.
      Sanatize.php: complete rewrote of sanitize(). Everything is regexp based now.
      FillStore.php: validateValue() removed, use of Sanitize::sanitize instead.
      Store.php: adjusted change of Sanitize:sanitize signature.
      AbstractBuildForm.php: defined class global variable $inputCheckPattern and initialize them during construct(). Variables, submitted by POST, are now correctly sanatized according their FormElement definition. getInputCheckPattern() adjusted to new/changed SANITIZE definitions.
      Constants.php: added SANTIZE_ALLOW_: MIN_MAX, MIN_MAX_DATE, EMAIL, PATTERN, SANITIZE_EXCEPTION, SANITIZE_EMPTY_STRING
      Save.php: use of Sanitize::sanitize instead of validateValue()
      formEditor.sql: order of FormElement.checkType changed to 'most used first'.
      0f2d60c4
    • Carsten  Rose's avatar
      Dynamic Update implemented · b31fb9eb
      Carsten Rose authored
      load.php: implemented
      FillStoreForm.php: implemented
      Store.php: phpunit test complains about 'store already filled'. Option set to explicitly allow rewrite.
      AbstractBuildForm.php: Added new mode 'FORM_UPDATE'. Elements additionaly create json code. 'data-load' attribute will be added to form elements, if 'dynamicUpdate=yes'
        elements(): added call by reference parameter $json, to return the generated json code.
      BodyTextParse.php: added 'r =' as a new 'start new line' indicator. This was necessary at least for phpunit tests to run.
      BuildFormBootstrap.php: buildPill() passes json data structure.
      BuildFormPlain, BuildFormTable.php: doSubrecords()  passes json data structure.
      Constants.php: New FORM_UPDATE, SQL_FORM_ELEMENT_SIMPLE_ALL_CONTAINER, ERROR_FORM_NOT_FOUND, API_FORM_UPDATE
      Evaluate.php: Exception text enhanced.
      QuickFormQuery.php: FillStoreForm.php included. Automatic detection of FORM_LOAD and FORM_SAVE removed. Instead the mode are given explicitly. mode=FORM_UPDATE implemented.
      Save.php: added TODOs in code.
      formEditor.sql: reformat code. Add 'FormElement.dynamicUpdate'. 'FormElemente.checkType': 'number' replaced by 'digit'. Added 'alnumx', 'digit'. Form 'form', 'formElement': output of 'title' replaced by 'name' - outputting 'title' confuses the user (tries to show records which do fit to the formEditor) and might produce recursion in evaluation (did not understand why, but happens). FormEditor: implemented 'dynamicUpdate', escpecially the 'type' select list will be adjusted dynamically.
      b31fb9eb
  21. 16 Mar, 2016 1 commit
    • Carsten  Rose's avatar
      Sip: phpdoc · c2809cfb
      Carsten Rose authored
      Constants, Store: added TYPO3_PAGE_TYPE to STORE_TYPO3
      AbstractBuildForm: recode to use global $showDebugInfo. IMplemented deriveNewRecrdUrlFromExistingSip(). Added parameter $toolTip to createFormLink(). Rewrap Editlink
      BuildFormBootstrap: recode buildButton().
      QuickFormQuery: code to set session lifetime disabled: useless
      c2809cfb
  22. 11 Mar, 2016 1 commit
  23. 09 Mar, 2016 1 commit
    • Carsten  Rose's avatar
      Store: check for missing sanitize arg extented to null · ea3d6806
      Carsten Rose authored
      Evaluate: parse() and evaluate() will return the last used Store
      QuickFormQuery: getFormName() extended to interpret form = {{form}} correctly
      Makefile: T# Extension ZIP - config.ini excluded, Documentation included
      README.md: adjusted to renamed CSS and JS files: qfq-bs.css, qfq-nin.js
      ea3d6806
  24. 08 Mar, 2016 1 commit
    • Carsten  Rose's avatar
      sphinx: more doc · 525063cd
      Carsten Rose authored
      new version number 0.1.1
      changed author to Carsten Rose on various places
      525063cd
  25. 02 Mar, 2016 1 commit
  26. 01 Mar, 2016 1 commit
    • Carsten  Rose's avatar
      Db, Link, Report, Utils: renamed FALSE to false · c10434ef
      Carsten Rose authored
      Link: replaced TYPO3_CONF_VARS by STORE_SYSTEM
      Sip, Store: PhpDoc
      AbstractBuildForm, BuildFormBootstrap, Constants: implemented constant SYSTEM_SHOW_DEBUG_INFO
      Database: rewrote errormessage
      c10434ef
  27. 29 Feb, 2016 2 commits