1. 14 Feb, 2017 2 commits
    • 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
    • Carsten  Rose's avatar
      Index.rst: fixed wrong STORE_FORM variable names, update to latest uplaod... · 3b40767e
      Carsten Rose authored
      Index.rst: fixed wrong STORE_FORM variable names, update to latest uplaod '_filename_<FE_NAME>' notation.
      3b40767e
  2. 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
  3. 12 Feb, 2017 3 commits
  4. 10 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      User Input will be UTF8 normalized - Webserver needs package php5-intl or php7.0-intl. · 7eeed2a8
      Carsten Rose authored
      Add FORM_BS_LABEL_COLUMNS, FORM_BS_INPUT_COLUMNS, FORM_BS_NOTE_COLUMNS to config.qfq.ini.
      
      AdministratorManual/Index.rst: added notes to install php-intl, new config.qfq.ini parameter (see above).
      UserManual/index.rst: Fix wrong store name SYSTEM: S > Y. Add new config.qfq.ini parameter (see above).
      Store.php: new general function to translate upper case config prameter names to to camel hook FormElement names. Split function fillSystemStore(). Add function normalizeArray().
      Constants.php: add new error, renumber error codes 1056-1073. Introduce new config.qfq.ini parameter SYSTEM_FORM_BS_*
      QuickFormQuery.php: Use of new bs*Column values defined in config.qfq.inc (not hardcoded here anymore)
      7eeed2a8
  5. 09 Feb, 2017 4 commits
  6. 08 Feb, 2017 3 commits
  7. 07 Feb, 2017 1 commit
    • Carsten  Rose's avatar
      Added validator.js attributes 'data-pattern-error', 'data-rquired-error',... · 372993e5
      Carsten Rose authored
      Added validator.js attributes 'data-pattern-error', 'data-rquired-error', 'data-match-error', 'data-error' to be specified in config.qfq.ini, Form or FormElement. Detailed setting will overwrite generic setting. If none is specified, take validator.js defaults.
      
      HelperFormElement.php, AbstractBuildForm.php, Constants.php, QuickFormQuery.php.
      372993e5
  8. 06 Feb, 2017 1 commit
  9. 03 Feb, 2017 3 commits
  10. 02 Feb, 2017 1 commit
  11. 31 Jan, 2017 1 commit
  12. 30 Jan, 2017 1 commit
  13. 29 Jan, 2017 1 commit
  14. 28 Jan, 2017 2 commits
  15. 26 Jan, 2017 1 commit
  16. 15 Jan, 2017 1 commit
  17. 14 Jan, 2017 2 commits
  18. 13 Jan, 2017 1 commit
  19. 12 Jan, 2017 1 commit
  20. 18 Dec, 2016 1 commit
  21. 08 Dec, 2016 1 commit
  22. 20 Oct, 2016 2 commits
  23. 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
  24. 07 Oct, 2016 1 commit
  25. 06 Oct, 2016 1 commit
  26. 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
  27. 17 Aug, 2016 1 commit