1. 28 Mar, 2017 1 commit
    • Carsten  Rose's avatar
      #3456 / LDAP: with Credentials to access 'webpass' · 8cb94e92
      Carsten Rose authored
      Manual.rst: Updated doc for a) config.qfq.ini: LDAP_1_RDN, LDAP_1_PASSWORD, b) Form.parameter|FormElement.parameter: ldapUseBindCredentials
      ErrorHandler.php: removed details - the end user should not too many details.
      FormAction.php, Ldap.php, QuickFormQuery.php: implement 'ldapUseBindCredentials'
      Ldap.php: set_error_handler() to catch ldap_bind() problems. Always set LDAP_OPT_PROTOCOL_VERSION=3 - this might cause problems with som LDAP Servers - we will see.
      8cb94e92
  2. 27 Mar, 2017 3 commits
  3. 26 Mar, 2017 2 commits
  4. 25 Mar, 2017 5 commits
  5. 23 Mar, 2017 2 commits
  6. 20 Mar, 2017 1 commit
  7. 19 Mar, 2017 2 commits
  8. 17 Mar, 2017 1 commit
    • Carsten  Rose's avatar
      Typeahead (#3369): Parameternames has changed, configuration is possible on... · f287852c
      Carsten Rose authored
      Typeahead (#3369): Parameternames has changed, configuration is possible on the Form and on the FormElement.
      typeahead.php: if there is an exception, the message body is sent as regular 'content' for the dropdownbox. At the moment this is the only way to transmit any error messages.
      Ldap.php: missing FE_TYPEAHEAD_LDAP_KEY_PRINTF, FE_TYPEAHEAD_LDAP_VALUE_PRINTF will be substituted by the other. If both missing, an exception is thrown.
      f287852c
  9. 16 Mar, 2017 3 commits
  10. 15 Mar, 2017 2 commits
    • Carsten  Rose's avatar
      TypeAhead.php: fixed typo · 393f1232
      Carsten Rose authored
      Ldap.php: fixed implementation errors of first run.
      AbstractBuildForm.php: set defaults for limit and minlegth. Implement function checkSqlAppendLimit()
      393f1232
    • Carsten  Rose's avatar
      typeAhead: second implementation of typeAhead - user can customize LDAP queries. · 3f119a48
      Carsten Rose authored
      TypeAhead.php: Reformat of various constants. Hard coded LDAP query replaced by one submitted via SIP.
      KeyValueStringParser.php: Implemented explodeWrapped() - behaves like 'explode()' but will respect strings wrapped in quotes as no explodeable.
      Ldap.php: New class to manage LDAP access.
      AbstractBuildForm.php: Add attributes DATA_TYPEAHEAD_LIMIT, DATA_TYPEAHEAD_MINLENGTH. Parsing of FormElement.parameter.typeahead* parameter.
      3f119a48
  11. 14 Mar, 2017 1 commit
  12. 07 Mar, 2017 1 commit
  13. 05 Mar, 2017 1 commit
    • Carsten  Rose's avatar
      #3180=#2081 dynamicUpdate, rearrange 'input hidden' elements from checkboxes,... · 9a267b44
      Carsten Rose authored
      #3180=#2081 dynamicUpdate, rearrange 'input hidden' elements from checkboxes, radios to top of form.
      
      CODING.md: add some doc about STORE_ADDITIONAL_FORM_ELEMENTS.
      load.php (#2081): rearrange delivered JSON to fullfill client API.
      AbstractBuildForm.php: rename getJsonElementUpdate() to getFormElemenForJson(). Extend getFormElementForJson() to support changes for label and note. Fill store STORE_ADDITIONAL_FORM_ELEMENTS with 'hidden input' elments.
      QuickFormQuery.php: implement Client JOSN API update.
      9a267b44
  14. 02 Mar, 2017 2 commits
  15. 01 Mar, 2017 3 commits
  16. 28 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      #3063, Radios / Checkboxes als Buttons (Bootstrap) · 8c642640
      Carsten Rose authored
      Implemented for Checkbox.
      
      Index.rst, AbstractBuildForm.php: split buildCheckbox() in constructCheckbox(Simple|Multi)Plain() and constructCheckbox(Simple|Multi)Button.
      
      AbstractBuildForm.php, OnArray.php: new function removeEmptyElementsFromArray(). Replace old check of isset() (which seems never have been worked) against ==''.
      8c642640
  17. 27 Feb, 2017 2 commits
    • Carsten  Rose's avatar
      #3063, Radios / Checkboxes als Buttons (Bootstrap) · fbbab765
      Carsten Rose authored
      Implemented for Radios. Checkbox is still open.
      
      Index.rst, AbstractBuildForm.php, BuildFormBootstrap.php, Constants.php: split buildRadio() in constructRadioPlain() and constructRadioButton. After several tries to make a base function for both construct variants, CR decided that the code is much more easier to read with to complete separate layout functions.
      
      AbstractBuildForm.php: Notes of input elements as well as the text of a 'Note' FormElement are now wrapped in the class 'qfq-note' - this aligns the text to the label baseline.
      fbbab765
    • Carsten  Rose's avatar
      AbstractBuildForm.php: #2064 / Input Elemente die als JSON response... · 6f224ef2
      Carsten Rose authored
      AbstractBuildForm.php: #2064 / Input Elemente die als JSON response 'value=false' bekommen, zeigen 'false' an -- check if a FormElement is a real tableColumn by using STORE_RECORD is a bad idea, cause new records always deliver 'false'. Now take the STORE_TABLE_COLUMN_TYPES as a reference.
      6f224ef2
  18. 26 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      #2064: Input Elemente die als JSON response 'value=false' bekommen, zeigen 'false' an. · 13d39fbe
      Carsten Rose authored
      #3253: STORE_TYPO3: steht waehrend Update / Save nicht zur Verfuegung - wird aber benoetigt. Bsp: feUser, beUser, pageId, ...
      
      Thought that problem of #2064 is based on #3253 - that was wrong.
      #3253 implemented, but not heavily tested.
      
      #2064: problem was that for a non existing tablecolumn, has been searched for a default value - which obviously does not exist. In AbstractBuildForm.php, Line 419, a check implemented if the current FormElement is an existing tablecolumn. If not, do not change the empty value.
      
      FormAction.php, FillStoreForm.php, Store.php, QuickFormQuery.php, Save.php: Refactor setVarArray() to setStore()
      
      #3253
      FillStoreForm.php: If there is no STORE_TYPO3, get the old values from SIP: CLIENT_TYPO3VARS.
      Store.php: new function fillTypo3StoreFromSip(), copyT3VarstToSip()
      13d39fbe
  19. 23 Feb, 2017 1 commit
  20. 22 Feb, 2017 1 commit
  21. 21 Feb, 2017 3 commits
  22. 20 Feb, 2017 1 commit