1. 08 Apr, 2018 14 commits
  2. 26 Mar, 2018 4 commits
  3. 25 Mar, 2018 5 commits
  4. 24 Mar, 2018 1 commit
  5. 23 Mar, 2018 3 commits
  6. 14 Mar, 2018 1 commit
  7. 13 Mar, 2018 5 commits
  8. 18 Feb, 2018 3 commits
    • Jelle van der Waa's avatar
      Merge pull request #85 from kyrias/json-mirror-url-active · 7a317b73
      Jelle van der Waa authored
      mirrors/views/api: Add URL active status
      7a317b73
    • Johannes Löthberg's avatar
      8577d595
    • Jelle van der Waa's avatar
      Misc fixes (#84) · f3e26eb1
      Jelle van der Waa authored
      * Update coveragerc to exclude newly located tests
      
      There are now tests under main/tests/* etc, which should be omitted for
      coverage.
      
      * omit settings from coverage
      
      settings and local_settings aren't interesting for coverage, omit them.
      
      * remove leftover secure context processor
      
      The secure context processor was used to determine if the cdn served
      assets should be loaded over https or http. Since assets are no longer
      served with a cdn and the whole site is loaded over https these days,
      this code is dead and can be removed.
      
      * packages: Add test for flagging packages out of date
      
      Add simple test cases for flagging packages out of date, should later be
      improved to query the Package model for packages and use that data
      instead of hardcoding.
      f3e26eb1
  9. 17 Feb, 2018 3 commits
  10. 29 Jan, 2018 1 commit
    • Jelle van der Waa's avatar
      More code refactoring / tests (#79) · 148692cd
      Jelle van der Waa authored
      * main: move tests to main/tests
      
      Move the templatetags tests to main/tests/test_templatetags.
      
      * main: Add test for templatetags country
      
      Create a test for the templatetag country_flag.
      
      * main: remove duplicate floatvalue
      
      floatvalue is only used in the mirrors templates and the same exact
      function exists in the mirror_status templatetags.
      
      * main: Remove duplicate hours filter
      
      The hours filter is also defined in the mirror_status and only used in
      mirrors.
      
      * main: move percentage filter to mirrors
      
      Move the percentage filter to the only user of it and add a test for
      basic use cases.
      
      * main: remove duplicate duration implementation
      
      The duration templatetag filter is also defined in mirror_status.py
      
      * templates: remove unrequired import flags
      
      * main: Add missing testcase for country_flag
      
      Add the None test case, so that the function is fully covered.
      
      * todolists: create tests for Todolist model
      
      Add basic tests for the Todolist model
      148692cd