1. 26 Apr, 2016 2 commits
  2. 25 Apr, 2016 2 commits
    • Carsten  Rose's avatar
      Clientside validator implemented via Bootstrap Validator. · 19fefdf8
      Carsten Rose authored
      Support.php: PhpDoc
      AbstractBuildForm.php: extended buildRow* with parameter htmlFormElementId. buildLabel rewritten to use Support::doAttribute, Support::wrapTag. buildInput/buildDateTim,buildSelect() now add's class 'form-control'. Input fields now offers a 'help-block'-div
      BuildFormBootstrap, BuildFormPlain.php, BuildFormTable.php: buildRowNative rewritten to support <label>. Signature of BuildRow* adjusted
      19fefdf8
    • 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
  3. 19 Apr, 2016 1 commit
  4. 18 Apr, 2016 4 commits
  5. 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
  6. 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
  7. 11 Apr, 2016 2 commits
  8. 10 Apr, 2016 1 commit
    • 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
  9. 04 Apr, 2016 2 commits
  10. 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
  11. 01 Apr, 2016 3 commits
  12. 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
  13. 21 Mar, 2016 1 commit
  14. 16 Mar, 2016 2 commits
    • 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
    • Carsten  Rose's avatar
      Sip: fixed typo. · 5ecaa5d8
      Carsten Rose authored
      AbstractBuildForm, BuildFormBootstrap: implemented delete record for subrecords.
      formEditor.sql: show fewer columns in subrecords
      5ecaa5d8
  15. 14 Mar, 2016 1 commit
    • Carsten  Rose's avatar
      AdministratorManual/Index.rst: added note to install mysqlnd Driver. · 4000736f
      Carsten Rose authored
      UsersManual/Index.rst: added Form.showButton
      Support: added findInSet()
      AbstractBuildForm: added createDeleteUrl(), prepareSubrecord(), getFormTable(). Rewrote buildSubrecord(): added 'delete' link, rearranged 'new' link. 'ShowDebugInfo' enhanced.
      BuildFormBootstrap: rewrote BuildButton() to switch New/Delete Button on or off. Show debugInfo as tooltip.
      Constants: New Subrecord contants.
      formEditor.sql: added Form.showButton. Adjusted records
      4000736f
  16. 11 Mar, 2016 2 commits
  17. 10 Mar, 2016 1 commit
    • Carsten  Rose's avatar
      AbstractBuildForm: · 6de68a36
      Carsten Rose authored
      - 'id' and '_id' are now valid columnnames for mandatory subrecord 'id' column.
      - subrecord > new record: fixed problem with missing default parameter.
      - createFormLink(): addedd 'array' to signature.
      6de68a36
  18. 09 Mar, 2016 1 commit
  19. 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
  20. 29 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      ErrorHandler: print CWD at end of error message. · 7a01f6c7
      Carsten Rose authored
      Logger: print CWD at end of error message.
      Support: new function to prepend file with the extenions path.
      Store: if SQLLOG is relative, prepend extension path.
      AbstractBuildForm: get the Typo3 page 'id' from Typo3 and not from the URL.
      BuildFormBootstrap: implemented 'EditForm' Button. Implemented 'Delete' Button. Prepared 'Debug' Button
      Constants: new TYPO3_PAGE_ID
      7a01f6c7
  21. 25 Feb, 2016 3 commits
    • Carsten  Rose's avatar
      delete.php: Implemented simple delete by giving table and record ID (by SIP). · 88093a16
      Carsten Rose authored
      save.php: moved constants to Constants.php to reuse them in delete.php. Fixed bug by building error messages.
      Sip: extended queryStringToSip() by optional Parameter $scriptName.
      AbstractBuilForm: renamed formEditLink() to createFormEditUrl(). Changed createFormEditUrl() to only return the final URL, without HTML tags. Implemented createDeleteUrl().
      BuildFormBootstrap, BuildFormTable: rewrote code for using createFormEditLink(). Use of createDeleteUrl().
      Constants: defined SIP_TABLE, API_*
      QuickFormQuery: reformat Code
      88093a16
    • Carsten  Rose's avatar
      AbstractBuildForm: Fixed broken href in formEditLink().Added some phpdoc. · 070368ce
      Carsten Rose authored
      BuildFormTable: Added formEditLink
      Constants: changed: pageId > id, pageType > type, pageLanguage > L
      070368ce
    • Carsten  Rose's avatar
      Store: determine 'SHOW_DEBUG_INFO' and set it to 'yes' or 'no'. · 9029bcbb
      Carsten Rose authored
      AbstractBuildForm: Show 'formEditLink' incl. SIP Parameter.
      BuildFormBootstrap: Added Icon in buildButton to edit form.
      Evaluate: reformat Debug info.
      formEditor.sql: showDebugInfo removed from table - now implemented by checking if BE User is logged in.
      9029bcbb
  22. 24 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      OnArray: Add htmlEntititesOnArray() · 8d94dd02
      Carsten Rose authored
      Support: moved wrapTag() from to Support. Add appendTooltip()
      AbstractBuildForm, BuildFormBootstrap BuildFormPlain, BuildFormTable: implemented showDebugInfo. Moved wrapTag() to Support. Fixed Typo in word buildNewSip.
      8d94dd02
  23. 22 Feb, 2016 1 commit
  24. 17 Feb, 2016 1 commit
  25. 12 Feb, 2016 1 commit
  26. 11 Feb, 2016 1 commit