1. 30 Mar, 2021 1 commit
  2. 29 Mar, 2021 5 commits
  3. 25 Feb, 2021 4 commits
    • Fokkema's avatar
      Merge pull request #504 from LOVDnl/fix/floats · aedfe852
      Fokkema authored
      Fix FLOAT UNSIGNED columns
      aedfe852
    • Ivo Fokkema's avatar
      2980a33c
    • Ivo Fokkema's avatar
      Fixed notices during Travis tests and during LOVD installation. · 158912f6
      Ivo Fokkema authored
      They were caused by the recent code which was trying to decide on
      whether or not to show the donation dialog. Its settings aren't set or
      accessible during the Travis CLI test and the LOVD installation process.
      158912f6
    • Ivo Fokkema's avatar
      Redefine FLOAT UNSIGNED into FLOAT. · 2e262809
      Ivo Fokkema authored
      MySQL 8 is now deprecating FLOAT UNSIGNED, together with DOUBLE UNSIGNED
      and DECIMAL UNSIGNED. We have several FLOAT UNSIGNED columns in the
      custom column definition array. Remove the UNSIGNED attribute and
      updated the inc-upgrade.php script to remove this attribute in the
      column definitions in the column table.
      
      We don't need to actually alter the table; that's an expensive action
      while not having much benefit - when the feature will be dropped, likely
      MySQL will simply ignore the UNSIGNED flag.
      2e262809
  4. 24 Feb, 2021 1 commit
    • Ivo Fokkema's avatar
      Redefine FLOAT UNSIGNED into FLOAT. · 1345aa10
      Ivo Fokkema authored
      MySQL 8 is now deprecating FLOAT UNSIGNED, together with DOUBLE UNSIGNED
      and DECIMAL UNSIGNED. We only have one FLOAT UNSIGNED in the fixed table
      structure, remove the UNSIGNED attribute.
      
      We don't need to actually alter the table; that's an expensive action
      while not having much benefit - when the feature will be dropped, likely
      MySQL will simply ignore the UNSIGNED flag.
      1345aa10
  5. 22 Feb, 2021 5 commits
  6. 18 Feb, 2021 1 commit
    • Ivo Fokkema's avatar
      Created the lovd_getColumnMinMax() function. · c8155ab0
      Ivo Fokkema authored
      Numeric columns are currently only checked for their format and the
      length of the text value inside the field. The length is currently
      checked just from the definition of the field. However, a TINYINT(3)
      UNSIGNED doesn't allow for 999, even though the (3) suggests that it
      does. This new function, lovd_getColumnMinMax() will calculate the
      minimum and maximum values of a column and return these, so that values
      can properly be checked.
      c8155ab0
  7. 16 Feb, 2021 1 commit
    • Ivo Fokkema's avatar
      Fix lovd_getColumnLength() for MySQL 8.0.22. · 6e96e57e
      Ivo Fokkema authored
      MySQL 8.0.22 and probably others don't describe unsigned integer fields
      well when three is no zerofill. Strangely enough, their given length is
      deleted from their column definition. This confused
      lovd_getColumnLength() completely, and the returned length of the field
      was 0. This broke a lot of forms in LOVD. This fix makes sure LOVD will
      handle these kind of column definitions from now on.
      
      Closes #495.
      6e96e57e
  8. 10 Feb, 2021 1 commit
  9. 05 Feb, 2021 1 commit
  10. 04 Feb, 2021 2 commits
  11. 03 Feb, 2021 3 commits
  12. 02 Feb, 2021 1 commit
  13. 01 Feb, 2021 2 commits
  14. 29 Jan, 2021 1 commit
  15. 27 Jan, 2021 1 commit
  16. 26 Jan, 2021 1 commit
  17. 25 Jan, 2021 1 commit
  18. 22 Jan, 2021 1 commit
  19. 21 Jan, 2021 1 commit
  20. 20 Jan, 2021 1 commit
  21. 19 Jan, 2021 1 commit
  22. 18 Jan, 2021 3 commits
  23. 13 Jan, 2021 1 commit
    • Fokkema's avatar
      Improved VOT column handling in custom VLs. · 8c1aa11c
      Fokkema authored
      - Don't define in multiple places that VOT columns aren't shared for LOVD+ and LOVD light.
      - Also, LOVD+'s method of removing columns for all when turning off the public flag, should not be introduced in LOVD light.
      8c1aa11c