- 26 Feb, 2017 1 commit
-
-
Grady Moran authored
(Closes #108)
-
- 25 Feb, 2017 3 commits
-
-
David Haynes authored
- this will allow us to display form errors before calling the post method - keep things nice and abstracted
-
David Haynes authored
- because I fixed it
-
Grady Moran authored
(Closes #108)
-
- 23 Feb, 2017 3 commits
-
-
Michael Bailey authored
-
Michael Bailey authored
-
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.
-
- 22 Feb, 2017 2 commits
-
-
David Haynes authored
Resolve "Page cacheing static pages" See merge request !77
-
Grady Moran authored
(Closes #39)
-
- 21 Feb, 2017 1 commit
-
-
Grady Moran authored
configured settings files added decorations in urls.py todo: 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
-
- 14 Feb, 2017 2 commits
-
-
David Haynes authored
Drop ldap support (Closes #124) See merge request !75
-
David Haynes authored
- this was included in the original version of Go before cas was fully utilised - I'm not sure it even works and has been sitting around for a long time - will slightly speed up builds
-
- 08 Feb, 2017 2 commits
-
-
David Haynes authored
Dhaynes small nit See merge request !74
-
Grady Moran authored
Removed a $ at the end of the admin (not useradmin) page in urls.py that was breaking when you tried to access the page.
-
- 07 Feb, 2017 21 commits
-
-
David Haynes authored
Establish framework for testing and complete test_urls.py and test_pf See merge request !73
-
David Haynes authored
- variable names changed
-
David Haynes authored
- redirection tested
-
David Haynes authored
- also a note that reversing /admin just does not work
-
David Haynes authored
- fairly simple stuff here
-
David Haynes authored
- also fix some spaces
-
David Haynes authored
- also fix some coments
-
David Haynes authored
- chars, ints, _ and -'s
-
David Haynes authored
-
David Haynes authored
- figured out how to test urls woo
-
David Haynes authored
- also remove obsolete setup file
-
David Haynes authored
-
David Haynes authored
- bunch of blanks for now
-
David Haynes authored
-
David Haynes authored
adds two scoops style requirements.txt See merge request !71
-
David Haynes authored
-
David Haynes authored
- == over =
-
David Haynes authored
- also CI >>> ci
-
David Haynes authored
-
David Haynes authored
- oops, dd'd too much
-
David Haynes authored
-
- 05 Feb, 2017 2 commits
-
-
Grady Moran authored
-
Grady Moran authored
Modified requirements.txt to add the django-ratelimit (https://github.com/jsocol/django-ratelimit) version 1.0.1 Modified views.py to take a big chunk out of index function and put it in a post function. This allows the ratelimit decorations to work on that function.
-
- 04 Feb, 2017 3 commits
-
-
Leo Grandinetti authored
- added requirements directory with base, ci, prod, and dev txt file - requirements.txt in base directory redirects to requirements/base.txt - ci, prod, and dev all redirect to base.txt and installs their own specific packages at dhayne's discretion - when installing packages through pip3, command is pip3 install -r requirements/{preferred_requirement_file}.txt - possibly need to rewrite parts of installation wiki to accomodate, or not idk - Closes #131
-
David Haynes authored
- phew
-
David Haynes authored
- list out what we need to do
-