1. 27 Mar, 2017 2 commits
    • David Haynes's avatar
      Finish first pass on index tests · b412052b
      David Haynes authored
      - To be honest I'm pretty dissapointed by the support for integration
      test for views
      - There are some things you can do with like RequestFactory but I have
      not found a way to test the way we handle Users that works well
      - For now, just ping that the page renders -- maybe in the future work
      on improving test_views
    • David Haynes's avatar
      Update some old comments to be more "percise" · 5a8aa75b
      David Haynes authored
      - This auto add closing "" plugin for vim is amazing
  2. 26 Mar, 2017 2 commits
  3. 24 Mar, 2017 1 commit
  4. 21 Mar, 2017 2 commits
  5. 20 Mar, 2017 2 commits
  6. 18 Mar, 2017 1 commit
  7. 13 Mar, 2017 21 commits
  8. 12 Mar, 2017 1 commit
  9. 26 Feb, 2017 1 commit
  10. 25 Feb, 2017 3 commits
  11. 23 Feb, 2017 2 commits
    • Michael Bailey's avatar
      Add actual six import · 328ec7c2
      Michael Bailey authored
    • Grady Moran's avatar
      Added logic which will (I think) prohibit links that lead to infinite loops or... · ff6a42e4
      Grady Moran authored
      Added logic which will (I think) prohibit links that lead to infinite loops or otherwise cause urllib.request.urlopen to throw an error.
      Note this is a slight change from the original specs. Instead of prohibiting links which link to go at any stage of redirection (e.g. consider a go link to a bit.ly link to another go link to the final page), we prohibit links which loop infinitely (regardless of whether it's through go or not) AND links which have go at the first or last redirect stage.
      The urllib.request.urlopen is potentially a costly operation. In particular, if the user enters a link that times out, I think it will hang for that entire period of time. Since we now have rate limiting and have always had to manually approve users in the first place, I think the risk of this inefficiency being exploited isn't prohibitively high.
      Not final; I intend to fix up the comments, make the import look like it belongs there, and get feedback on how the error should be handled.
  12. 22 Feb, 2017 1 commit
  13. 21 Feb, 2017 1 commit
    • Grady Moran's avatar
      added cacheing package · 3637e5f0
      Grady Moran authored
      configured settings files
      added decorations in urls.py
      adjust cacheing levels to something that makes sense
      not totally sure which pages should be cached in the first place (obviously static pages, but should there be any level of cacheing on more frequently accessed pages like my_links?)
      not sure how to test outside docker or whether settings.py.template is correct (roomlist copypaste)
      this is not a final commit