1. 15 Mar, 2018 1 commit
  2. 11 Mar, 2018 1 commit
  3. 23 Nov, 2017 1 commit
  4. 18 Oct, 2017 1 commit
  5. 28 Aug, 2017 1 commit
  6. 14 Aug, 2017 1 commit
    • Carsten  Rose's avatar
      #4185 / Detect modified record · 43bf4bf6
      Carsten Rose authored
      save.php, QuickFormQuery.php: fixed malformed array for JSON
      Dirty.js, QfqForm.js: replace instance variable 'additionalQueryparameters' against parameter by call: optionalQueryParameters.
      43bf4bf6
  7. 07 Aug, 2017 1 commit
  8. 04 Jun, 2017 1 commit
    • Carsten  Rose's avatar
      #3854 / Wrong final page: a) New > Save > Close, b) New > Save > Delete · b6cb6285
      Carsten Rose authored
      QfqForm.js: Preparation for client, to handle window.location.replace() by new API status 'url-skip-history'. Also changed "(data.redirect === "url" || data['redirect-url'])" to "(data.redirect === "url" && data['redirect-url'])" - CR did not understand the former logic ('or' instead of 'and'). #OPEN#: window.location.replace = 'index.php....' throws an JS exception that it the attribute 'replace' is readonly. Instead "window.location.replace('index.php....')" works as expected.
      PROTOCOL.md: add 'url-skip-history'.
      save.php: recode to become more readable.
      QuickFormQuery.php: getForwardMode() - temporarily fix to update status 'page' to 'url' (bug never caused a problem as long as '||' has been used on client side). Will change 'page' to 'url' asap.
      b6cb6285
  9. 17 Apr, 2017 1 commit
  10. 10 Apr, 2017 1 commit
    • Carsten  Rose's avatar
      #3545 / Errormessages via API/JSON not displayed · 3d45c4e4
      Carsten Rose authored
      The new class T3info() was fine, but relying classes assumed that all array elements always exist. This was not given in the past. The new implemention creates at least an empty entry for each element.
      AbstractException.php: removed garbage line.
      save.php: require_once missing PHP Exception classes.
      T3Info.php: recode.
      3d45c4e4
  11. 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
  12. 01 Apr, 2016 1 commit
  13. 15 Mar, 2016 1 commit
  14. 09 Mar, 2016 1 commit
  15. 25 Feb, 2016 1 commit
    • 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
  16. 18 Feb, 2016 1 commit
    • Carsten  Rose's avatar
      Save.php: fixed typo · 167deda9
      Carsten Rose authored
      BuildFormBootstrap: fixed typo in class id pills
      QfqForm.js: rewrote logic after press 'save'
      167deda9
  17. 12 Feb, 2016 1 commit
  18. 11 Feb, 2016 1 commit
  19. 23 Dec, 2015 1 commit