1. 27 Jan, 2017 1 commit
  2. 17 Jan, 2017 1 commit
  3. 14 Jan, 2017 2 commits
  4. 13 Jan, 2017 1 commit
    • Carsten  Rose's avatar
      FormEditor: 1) design update - new default background color: grey. 2) per form... · fb568f98
      Carsten Rose authored
      FormEditor: 1) design update - new default background color: grey. 2) per form configureable background colors, 3) Optional right align of all form element labels.
      BuildFormBootstrap.php: added new class name 'qfq-label' to form labels - needed to assign 'qfq-form-right' class. Changed wrapping of formelements from 'col-md-8' (wrong) to 'col-md-12'.
      QuickFormQuery.php: Set default for new F_CLASS_PILL & F_CLASS_BODY.
      formEditor.sql: New default background color for formElements is blue.
      qfq-bs.css.less: add classes qfq-form-pill, qfq-form-body, form-group (center), qfq-color-*, qfq-form-right
      fb568f98
  5. 18 Dec, 2016 1 commit
  6. 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
  7. 29 Nov, 2016 2 commits
  8. 20 Oct, 2016 1 commit
  9. 19 Oct, 2016 1 commit
    • Carsten  Rose's avatar
      Documentation/UsersManual/indext.rst: update Formelemnet.type=sendmail and QFQ column '_sendmail' · 34229364
      Carsten Rose authored
      QuickFormQuery.php, FormAction.php: implemented FormElement 'sendmail'
      Report.php: Update column 'sendmail'
      Sendmail.php: Update class to send mailand to log them in table mailLog.
      AbstractBuildForm.php: refacxtured columnname 'value' to be used via constatn FE_VALUE.
      formEditor.sql: renamed FE.typ 'sendmail' to camel hook 'sendMail'. Changed FormeElement.mode from 'select' to 'radio'. Added empty table 'mailLog'.
      34229364
  10. 05 Oct, 2016 1 commit
  11. 23 Aug, 2016 1 commit
    • Carsten  Rose's avatar
      Upload: · 729d5963
      Carsten Rose authored
      1) '{{id:R0}}' now gives the correct record id, even on records which are 'new' (id is 0 at time of save) - '{{id:R0}}' can be used 'fileDestination' to build pathFilename.
      2) Fixed problem with non existing uploads: in the past a sip has been saved instead of an empty string in the current record.
      3) Fixed problem with a) choosing an upload file, b) deleting them immediately and c) pressing 'save'. Non existing temporary uploaded file has been tried to move to final destination.
      
      Documentation/UsersManual: FormElement 'File' update
      AbstractBuildForm.php: Extend upload structure with EXISTING_PATH_FILE_NAME.
      QuickFormQuery.php: 'late save' of uploads implemented.
      Save.php: upload columns are not saved during the first save - instead they are saved later.
      729d5963
  12. 04 Jun, 2016 1 commit
  13. 01 Jun, 2016 1 commit
    • Carsten  Rose's avatar
      Implemented _paged, _Paged and _link: delete. · c239839c
      Carsten Rose authored
      delete.php: extended to support returning JSON, HTML redirect (Location) or HTML error messages.
      Report.php: new adjustDeleteParameter()
      Delete.php: new.
      QuickFormQuery.php: delete() extended to support returning JSON and HTML
      c239839c
  14. 31 May, 2016 1 commit
  15. 30 May, 2016 1 commit
  16. 29 May, 2016 2 commits
    • Carsten  Rose's avatar
      AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php,... · d1f1fec3
      Carsten Rose authored
      AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormTable.php, Constants.php, QuickFormQuery.php, Save.php: Replace string 'tableName' through constant F_TABLE_NAME.
      d1f1fec3
    • 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
  17. 27 May, 2016 1 commit
  18. 13 May, 2016 1 commit
  19. 11 May, 2016 1 commit
  20. 04 May, 2016 1 commit
  21. 01 May, 2016 1 commit
  22. 29 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      Bootstrap grip columns are configurable. A default on the form and, if... · 0c9f96b5
      Carsten Rose authored
      Bootstrap grip columns are configurable. A default on the form and, if necessary, per formelement. The default is now changed from 2,6,4 to 2,9,1
      UsersManual/index.rst: updated to the new behaviour.
      Support.php: setIfNotSet() has a new third parameter.
      AbstractBuildForm.php, BuildFormBootstrap.php, BuildFormPlain.php, BuildFormPlain.php, QuickFormQuery.php: New abstract function fillWrapLabelInputNote().
      0c9f96b5
  23. 27 Apr, 2016 1 commit
    • 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
  24. 18 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      ErrorMessages in exception: generalized · 2d0d6fc3
      Carsten Rose authored
      AbstractException.php: If exist, print Form And FormElement names.
      HelperFormElement.php, Logger.php, FillStoreForm.php, AbstractBuildForm.php: fomatting form element name.
      Support.php: add setIfNotSet()
      2d0d6fc3
  25. 14 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      After creating a new record and still open form: a new sip is created and... · 16408b47
      Carsten Rose authored
      After creating a new record and still open form: a new sip is created and transfered to client. Attention: 'new + save + modify + save again' still create two records (error).
      AbstractBuildForm.php: buildNewSip() renamed to buildHiddenSip(). Call of buildHiddenSip() moved from tail() to process(). buildHiddenSip() returns JSON code too.
      BuildFormBootstrap.php, BuildFromPlain.php, BuildFormTable.php : removed call buildNewSip()
      QuickFormQuery.php: After save, reload current record and create new sip
      Save.php: process() returns id of affected record.
      16408b47
  26. 13 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      Preparation to update Form after saving values. · 092e6deb
      Carsten Rose authored
      save.php: return JSON with updated values of all fields.
      AbstractBuildForm.php: updated to deliver values of all form elements
      Constants.php: constants to distinguish all or specific values of FEs. QUERY_TYPE_*
      Database.php: doSQL now returns affectedrows or lastinsertid in case of udpate/inset. Typos fixed.
      QuickFormQuery.php: deliver Values as JSON after save.
      Save.php: return lastinsertid or affectedrows.
      092e6deb
  27. 11 Apr, 2016 1 commit
  28. 10 Apr, 2016 1 commit
  29. 07 Apr, 2016 1 commit
  30. 05 Apr, 2016 1 commit
  31. 02 Apr, 2016 1 commit
    • Carsten  Rose's avatar
      UserReportException.php: Added field SYSTEM_REPORT_COLUMN_NAME to output.... · 3f6fedaa
      Carsten Rose authored
      UserReportException.php: Added field SYSTEM_REPORT_COLUMN_NAME to output. Array members renamed to SYSTEM_*.
      Various files adjusted to inlcude renamed file `UserFormException.php`.
      Link.php: Mamut switch() in parseItem() refactored to use $callTable.
      Report.php: refactoring started to use UserReportException() instead of SyntaxReportException. Startet removing all fr_error usages.
      3f6fedaa
  32. 01 Apr, 2016 1 commit
  33. 30 Mar, 2016 1 commit
  34. 24 Mar, 2016 1 commit
    • 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
  35. 21 Mar, 2016 1 commit
  36. 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