Commit Graph

11 Commits

Author SHA1 Message Date
0c6099e236 Remove unused imports 2018-06-29 13:40:04 +02:00
a0b1c9242f Fix embarassing typo
That's what happens when a commit is not properly tested
2016-05-24 21:42:31 +02:00
66750c136a Allow logins in /admin/ as well
Required for our custom admin pages.
2016-05-24 21:39:22 +02:00
7fc34e9eaf Replace login_required decorator with a validating one
This one will validate that the url is under /accounts/, which is
the only part we are going to be excluding from caching once we
move the website to https-only.
2016-05-24 21:14:34 +02:00
753d20545a Remove SSL optional tag 2016-05-24 21:13:00 +02:00
048a17ae4b Don't redirect dynamic CSS from https to http
This can break things (d'uh).

Do this by introducing a new decorator, @ssl_optional. When this is
present, no SSL redirection will happen, regardless of whether the
access comes in over http or https.

This decorator overrides @ssl_required, but for redability's sake,
never use both at the same time.
2014-01-02 12:00:32 +01:00
557c44fab5 Update @ssl_required decorator to play nice with other decorators
The decorator now retains all attributes of the original view and adds a
new 'view.ssl_required = True' attribute.
2012-11-11 16:07:05 +01:00
df378de32c Fix formatting of s-maxage 2010-06-09 16:50:44 +02:00
056466a21c Implement decorators to control proxy caching (for the reverse
proxy), and enable it for the mirror tracking parts
2010-01-12 19:52:32 +01:00
5f619889d7 Make https redirection work again.
Add a way to skip https redirection, so we can still run it locally,
and mark a couple of forms as requiring https.
2009-09-16 15:46:17 +02:00
90b758c247 A first very basic import.
Contains basic functionality, and an import of most of the static content
from the old site.

There is still plenty more to do...
2009-09-14 14:39:25 +02:00