1. 14 Jun, 2018 2 commits
  2. 11 Jun, 2018 1 commit
  3. 25 May, 2018 1 commit
  4. 16 May, 2018 1 commit
  5. 19 Mar, 2018 1 commit
  6. 02 Mar, 2018 2 commits
  7. 18 Feb, 2018 1 commit
    • Carsten  Rose's avatar
      Dirty.php, FillStoreForm.php: support of different DBs implemented. · 0c4672ff
      Carsten Rose authored
      Link.php: SIP Links get automatically parameter '__dbIndexData'
      Report.php: can select DB via 'dbIndex' directive (global)
      AbstractBuildForm.php: dbIndexData now based on setting in Form (before on config.qfq.ini)
      formEditor.sql: FormEditor update on Form 'form' and 'formElements'
      0c4672ff
  8. 22 Jan, 2018 1 commit
  9. 11 Jan, 2018 2 commits
  10. 11 Dec, 2017 1 commit
  11. 03 Dec, 2017 1 commit
  12. 27 Nov, 2017 1 commit
  13. 14 Nov, 2017 1 commit
  14. 12 Nov, 2017 1 commit
  15. 09 Nov, 2017 1 commit
  16. 02 Nov, 2017 1 commit
  17. 28 Aug, 2017 1 commit
  18. 23 Aug, 2017 1 commit
  19. 28 Jul, 2017 1 commit
  20. 12 Jun, 2017 1 commit
    • Carsten  Rose's avatar
      #3899 / Copy/Paste · cc55f4fb
      Carsten Rose authored
      Manual.rst: various topics undocumented.
      DatabaseUpdate.php: New table Clipboard, New FE.type='paste', New Form.forwardMode='url-sip' - will be applied for 0.18.3.
      FormAction.php: New: doAllFormElementPaste(), prepareDuplicate(), checkNCopyFiles(), copyRecord()
      Store.php: New member in STORE_CLIENT 'CLIENT_COOKIE_QFQ' - might be used to identify current user.
      BuildFormBootstrap.php: New buildButtonCopyForm().
      QuickFormQuery.php: Calculating the target page now happens after saving the current record and processing all after save actions. New: pasteClipboard()
      formEditor.sql: New form 'copyForm'. New table 'Clipboard'
      cc55f4fb
  21. 11 Apr, 2017 1 commit
    • Carsten  Rose's avatar
      #3547 / FE of type 'note' causes writing of empty fields. · f9363525
      Carsten Rose authored
      During expanding of templateGroups, existing FE with no meaning for save (like note, subrecord, ...) has been created, filled with empty values and saved. Fixed for FEs with type 'subrecord' and 'note' - needs more investigation to check for further sideeffects.
      f9363525
  22. 26 Mar, 2017 2 commits
    • Carsten  Rose's avatar
      Save.php: added some doc. · 406d1873
      Carsten Rose authored
      406d1873
    • Carsten  Rose's avatar
      #3433 | templateGroup on primary Record: Values of removed copies are not deleted · 5d817af7
      Carsten Rose authored
      The new implementation creates empty fake instances of all copies of templateGroup FormElements. Those are empty. Before save, the submitted form values will be expanded with the empty fake templateGroup FormElements and such empty values will be saved.
      FormAction.php: Rename constant SQL_FORM_ELEMENT_TEMPLATE_GROUP to SQL_FORM_ELEMENT_TEMPLATE_GROUP_FE_ID - to be more precise.
      HelperFormElement.php, Database.php: new function explodeTemplateGroupElements()
      5d817af7
  23. 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
  24. 24 Feb, 2017 1 commit
  25. 15 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      CODING.md: small updates in upload part · 1467b137
      Carsten Rose authored
      Support.php, AbstractBuildForm.php: new function falseemptyToZero().
      Constants.php: New UPLOAD_MODE_*
      Evaluate.php: fixed bug in 'skip' logic of evaluate->parseArray()
      Save.php: doUpload() now returns $modeUpload, which are needed in doUploadSlave(), rewrote logic of doUploadSlave(),
      1467b137
  26. 14 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      'Upload advanced mode' implementiert. V2 (kein FormElement Action 'afterSave' mehr noetig) · 2e7b75b6
      Carsten Rose authored
      Default fuer Store Prioritaet hat sich geaendert: alt='FSRD', neu='FSRVD' - damit wird ist es ueberfluessig den V Store anzugeben.
      Variable '_filename' umbenannt in 'filename' und verschoben von STORE_FORM nach STORE_VARS. Damit ist es ueberfluessig eine Sanatize Klasse anzugeben.
      STORE_VAR hat zwei neue Variablen: 'filename', 'fileDestination'.
      Bei Form-Action Elemente gibt es zwei neue Typen: 'sqlBefore' und 'sqlAfter'
      
      Index.rst: Dokumentation auf V2 angepasst. Doku fuer V1 hat es nie gegeben.
      FormAction.php: Moved function initActionFormElement to HelperFormElement::initActionFormElement(), Implement sqlBefore & sqlAfter for Action Elemente.
      HelperFormElement.php: new class initActionFormElement(), initUploadFormElement().
      FillStoreForm.php, AbstractBuildForm.php, Evaluate.php: Implemented the $skip parameter to suppress unwanted variable expansion during form load.
      Constants.php: New STORE_USE_DEFAULT, VAR_FILE_DESTINATION, VAR_FILENAME,FE_SQL_AFTER, FE_SQL_BEOFRE, FE_TYPE_UPLOAD.
      Evaluate.php: moved 'decryptCurlyBraces()' up, in order to  create better error messages.
      Save.php: new doUploadSlave(), implement 'Upload advanced mode'.
      2e7b75b6
  27. 13 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      Multiple & Advanced Upload: · 1bb4cea6
      Carsten Rose authored
      - fix problem when more than one file uploaded - there was only one variable {{_filename}}, which was not sufficient for more than one upload element per form. New: {{_filename_<FE_NAME>:FE:allbut}}.
      - implemented {{_deleted_<FE_NAME>:F0}}: if exist and is '1', than this means that the previous uploaded file has been trashed through the user by clicking on the trash.
      
      Index.rst: update doc. Some more notes are needed. See one of the upcomming commits.
      Constants.php: Renamed CLIENT_UPLOAD_FILENAME and created CLIENT_FILE_DELETED.
      Save.php: Set var CLIENT_FILE_DELETED and use renamed CLIENT_UPLOAD_FILENAME.
      1bb4cea6
  28. 12 Feb, 2017 1 commit
  29. 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
  30. 05 Jun, 2016 1 commit
  31. 01 Jun, 2016 1 commit
  32. 29 May, 2016 1 commit
  33. 25 May, 2016 1 commit
  34. 11 May, 2016 1 commit
  35. 10 May, 2016 1 commit
  36. 03 May, 2016 1 commit
    • Carsten  Rose's avatar
      Recode: fromelement.mode='readonly' new implemented on client, by using CSS... · 5b899934
      Carsten Rose authored
      Recode: fromelement.mode='readonly' new implemented on client, by using CSS attribute 'disabled'. The HTML atrribute 'readonly' is fine for pure 'input' elements, but does not work sufficient for 'select', 'checkbox', 'radio'. Also, the label (left of input) and note (right of input) are now grayed out if set to 'disable'.
      FillStoreForm.php, Save.php: strings replaced by constants. New central function getfeMode() used by getJsonFeMode() and getAttributeFeMode()
      5b899934