1. 29 Aug, 2019 1 commit
  2. 28 Aug, 2019 1 commit
  3. 17 Aug, 2019 1 commit
  4. 17 Jul, 2019 2 commits
  5. 22 Jun, 2019 1 commit
  6. 20 Jun, 2019 1 commit
  7. 12 Jun, 2019 4 commits
  8. 07 Jun, 2019 1 commit
  9. 03 Jun, 2019 1 commit
  10. 22 May, 2019 1 commit
  11. 20 Jan, 2019 1 commit
  12. 17 Dec, 2018 1 commit
  13. 01 Sep, 2018 1 commit
  14. 06 Aug, 2018 1 commit
  15. 25 May, 2018 1 commit
  16. 16 May, 2018 1 commit
  17. 01 May, 2018 1 commit
  18. 10 Mar, 2018 1 commit
  19. 28 Aug, 2017 1 commit
  20. 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
  21. 10 May, 2017 1 commit
  22. 09 May, 2017 3 commits
    • Carsten  Rose's avatar
      #3679: Automatic DB Update · d1b203dd
      Carsten Rose authored
      Fixed: unnecessary exception if there is no Form / FormElement table
      Database.php: New function playSqlFile().
      DatabaseUpdate.php: missing table Form won't throw an exception anymore.
      Manual.rst: note that formEditor.sql will be played automatically.
      d1b203dd
    • Carsten  Rose's avatar
      #3679, Automatic DB update - Schema & FormEditor · 202534dc
      Carsten Rose authored
      Also respect version numbers which are not configured in DatabaseUpdateData.php and between two configured version numbers.
      202534dc
    • Carsten  Rose's avatar
      #3679, Automatic DB update - Schema & FormEditor · 05b32a30
      Carsten Rose authored
      For updates of QFQ prior to 0.17.0, do:   ALTER TABLE  `Form` COMMENT =  'Version=<your old QFQ version>'
      DatabaseUpdate.php, DatabaseUpdateData.php: new class.
      QuickFormQuery.php: Add DB UpdateCheck
      Database.php: moved to new subdirectory `database`. Add 'ALTER' as a new SQL command.
      FormAction.php, TypeAhead.php, Report.php, Sendmail.php, FillStoreForm.php, Store.php, AbstractBuild.php, Delete.php, Evaluate.php: Update path to Database.php.
      05b32a30