Skip to content
Snippets Groups Projects
  1. Feb 28, 2019
  2. Feb 25, 2019
  3. Feb 21, 2019
  4. Feb 19, 2019
    • Tanner Prestegard's avatar
      Bugfix event log uploads without file · d96541fa
      Tanner Prestegard authored
      Have seen issues with "column 'filename' cannot be null" warnings
      in the logs recently.  Found the issue in the events API, but
      it's not obvious why this started now.  Possibly the upgrade to
      Django 1.11.18?  Could have been a MariaDB upgrade too, but haven't
      checked the logs to see if that happened.
      d96541fa
  5. Feb 18, 2019
  6. Feb 12, 2019
  7. Feb 11, 2019
    • Tanner Prestegard's avatar
      Add IMBH search at the request of cWB · 7fed56da
      Tanner Prestegard authored
      7fed56da
    • Tanner Prestegard's avatar
      Cleanup of query documentation · cb7ef5b2
      Tanner Prestegard authored
      cb7ef5b2
    • Tanner Prestegard's avatar
      b9bf2d8c
    • Tanner Prestegard's avatar
      Change how tags are created in unit tests · 08a9e6ae
      Tanner Prestegard authored
      Have to use 'get_or_create()' for Tag creation in unit tests.
      Previously any tags that were created by data migrations were
      always wiped after the initial migrations ran to set up the test
      database due to the fact that we use MyISAM.  Now initial data
      seems to be cleared only after the first test class runs.  So if
      you run the full set of unit tests, it works fine, but if you only
      run a class which includes creating a "real" Tag which is part
      of the data migrations, it fails since the Tag is already in the
      database.
      
      I don't know when this changed - I tried using a previous tag of
      the code (2.2.0) and the last version of Django that we used
      (1.11.16), but no luck.  Really the solution should be to go away
      from MyISAM or even MySQL altogether, but that will have to come
      at a later date.
      08a9e6ae
  8. Feb 08, 2019
  9. Feb 07, 2019
    • Tanner Prestegard's avatar
      Bugfix to throttling unit test · e102ef5a
      Tanner Prestegard authored
      Have to use mock to properly modify throttles for unit testing
      since 'override_settings' doesn't really work with the API
      settings used by rest_framework.
      e102ef5a
Loading