1. 09 Sep, 2017 1 commit
    • Carsten  Rose's avatar
      #4428 / subrecord: mode=readonly · 13647f3a
      Carsten Rose authored
      AbstractBuildFrom.php: Add new symbol 'show'. Honor switch between Edit and Show for subrecord elements.
      QuickFormQuery.php: If F_MODE is not set, check if there is a SIP var with F_MODE_GLOBAL=F_MODE_READONLY
      13647f3a
  2. 08 Sep, 2017 1 commit
  3. 28 Aug, 2017 1 commit
  4. 24 Aug, 2017 1 commit
  5. 23 Aug, 2017 2 commits
  6. 18 Aug, 2017 2 commits
  7. 12 Aug, 2017 1 commit
  8. 08 Aug, 2017 1 commit
  9. 07 Aug, 2017 1 commit
    • Carsten  Rose's avatar
      #4185 / Detect modified record · b084998a
      Carsten Rose authored
      modifiedRecord.pu: State Diagram
      Dirty.php: implement $recordHashMd5 to detect modified records.
      OnArray.php: new getMd5()
      AbstractBuildForm.php: implemented but not working update of hidden input 'recordHashMd5'. Add hidden input 'recordHashMd5'.
      BuildFormBootstrap:  Add hidden input 'recordHashMd5'.
      formEditor.sql: Rename 'Dirty.recordModified' to 'Dirty.recordHashMd5'.
      b084998a
  10. 04 Aug, 2017 1 commit
  11. 01 Aug, 2017 1 commit
  12. 30 Jul, 2017 1 commit
  13. 28 Jul, 2017 1 commit
  14. 23 Jul, 2017 2 commits
  15. 22 Jul, 2017 1 commit
    • Carsten  Rose's avatar
      recordLocking · ecce620b
      Carsten Rose authored
      file.php, load.php, Html2Pdf.php: minor updates.
      Dirty.php, QuickFormQuery.php: optional $lockTimeout as parameter during instantiating. Return $lockTimeout where necessary. Otherwise read qfq.config.ini. Refactor process(), acquireDirty(), checkDirtyAndRelease().
      ecce620b
  16. 16 Jul, 2017 1 commit
  17. 10 Jul, 2017 3 commits
    • Carsten  Rose's avatar
      Feature #3981 / Record Locking · 700dd79d
      Carsten Rose authored
      Manual.rst: add documentation for record locking
      DatabaseUpdateData.php: Add new column 'dirtyMode'
      Dirty.php, Config.php, formEditor.sql: remove dirtyMode=readonly. Rename 'timeout' to 'exclusive' and 'overwrite' to 'advisory'.
      700dd79d
    • Carsten  Rose's avatar
      Feature #3981 / Record Locking · b0234a57
      Carsten Rose authored
      Fixed some 'unknown index' issues - deny save in a first version works.
      b0234a57
    • Carsten  Rose's avatar
      Feature #3981 / Record Locking · a0cd3709
      Carsten Rose authored
      First version for save - not working now.
      Manual.rst: document config var SYSTEM_DIRTY_RECORD_TIMEOUT_SECONDS.
      QuickFormQuery.php, Dirty.php: extend to support QFQ/save().
      Client.php: fixed broken PHP Unit test
      Config.php: set default for dirtyRecordTimeout.
      BuildFormBootstrap.php: No dirtyUrl if dirtyMode=none.
      formEditor.sql: extend definition to Form.dirtyMode, new table 'Dirty'
      Fixed several unit tests for new tables.
      a0cd3709
  18. 09 Jul, 2017 2 commits
  19. 07 Jul, 2017 1 commit
  20. 30 Jun, 2017 2 commits
  21. 23 Jun, 2017 1 commit
  22. 19 Jun, 2017 1 commit
  23. 17 Jun, 2017 2 commits
  24. 16 Jun, 2017 1 commit
  25. 14 Jun, 2017 3 commits
  26. 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
  27. 10 Jun, 2017 2 commits
    • Carsten  Rose's avatar
      Bug #3647 / Dynamic Update: Multiple Elements in a row not updated properly. · a0243d9f
      Carsten Rose authored
      Current fix is just a workaround. Further implications might exist. E.g. 'text' and 'date' should be fine, but 'select' / 'checkbox' / 'radios' / ... are not tested and probably won't work.
      Support.php: set flags for 'row' / '/row'.
      AbstractBuildForm.php, BuildFormBootstrap.php: $flagRowUpdate switches logic between full 'row update' (only one FE in the row) and 'per element'. In 'per element'-Mode, not all input types are updated properly.
      a0243d9f
    • Carsten  Rose's avatar
      Recode · 0e2628cf
      Carsten Rose authored
      0e2628cf
  28. 07 Jun, 2017 1 commit
    • Carsten  Rose's avatar
      #3863 / DB Update Fails: Expected no record, got 2 rows: SHOW TABLE STATUS WHERE Name='Form' · 7fc80c24
      Carsten Rose authored
      Introduce new config var 'DB_UPDATE' in config.qfq.ini. Update the handling, if there exist table 'form' and 'Form'.
      Manual.rst:  document the new config option DB_UPDATE.
      Database.php: Typo fixed.
      DatabaseUpdate.php: Iterate over all found 'Form' tables, take the newest version number. Respect config option DB_UPDATE. Fixed a problem: if in the PHP DB updates a newer DB Version is configured than the PHP source itself is, such updates are now not played anymore.
      Config.php, QuickFormQuery.php, config.example.ini: handle config setting DB_UPDATE.
      7fc80c24
  29. 05 Jun, 2017 1 commit