Ben Kurtovic
04c7092756
width should be a string
pirms 12 gadiem
Ben Kurtovic
dc96cf1a2e
Forgot to pass the silly context thing.
pirms 12 gadiem
Ben Kurtovic
3de23628b7
Switching a bit of code from client-side to server-side.
- All POTD logic is now in Python instead of JS.
- Removed EarwigBackgroundCache cookie (now stored in a new `background` table in the database).
- Added EarwigScreenCache cookie
- Increase cookie life from a year to three.
pirms 12 gadiem
Ben Kurtovic
0217eaad8d
Some escapes to close potential security, plus a couple bugfixes.
pirms 12 gadiem
Ben Kurtovic
f5ff26879c
Fix; delete background cache when updating background setting.
pirms 12 gadiem
Ben Kurtovic
44381e6e2a
Another fix.
pirms 12 gadiem
Ben Kurtovic
1523c2401f
Implement 'background' option plus background images.
pirms 12 gadiem
Ben Kurtovic
833bdc6415
Support other backgrounds.
pirms 12 gadiem
Ben Kurtovic
d96f71924e
Missed a couple params.
pirms 12 gadiem
Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
pirms 12 gadiem
Ben Kurtovic
bc4c2de763
Fixing cookie bug.
pirms 12 gadiem
Ben Kurtovic
28fdad3975
Explicitly remove a cookie from the manager if we delete it.
pirms 12 gadiem
Ben Kurtovic
4c8d724039
Magic numbers to verify my cookies.
pirms 12 gadiem
Ben Kurtovic
cb323f8ae8
Some cleanup
pirms 12 gadiem
Ben Kurtovic
4ef8900b29
Debug stuff
pirms 12 gadiem
Ben Kurtovic
0fad121316
Support GET and POST in query.
pirms 12 gadiem
Ben Kurtovic
e90f7059a7
Uhh, whoops.
pirms 12 gadiem
Ben Kurtovic
e223412e79
Ignore cookies set by other TS services.
pirms 12 gadiem
Ben Kurtovic
409412ddcd
Take advantage of quoting/unquoting.
pirms 12 gadiem
Ben Kurtovic
2e1e0cf20e
Relative import syntax is funky.
pirms 12 gadiem
Ben Kurtovic
0768aa43aa
A couple of fixes.
pirms 12 gadiem
Ben Kurtovic
3e934fbaef
Massively update cookie handling.
pirms 12 gadiem
Ben Kurtovic
9677390ea3
More work on the settings page.
pirms 12 gadiem
Ben Kurtovic
79a938f3b9
Cookies to store state of collapsable box.
pirms 12 gadiem
Ben Kurtovic
19d4e9b2d7
Lol, infinite recursion errors.
pirms 12 gadiem
Ben Kurtovic
4257015b3c
Make this a bit less ugly...
pirms 12 gadiem
Ben Kurtovic
8cce98fc8f
Query object for storing parameters in a structured manner.
pirms 12 gadiem
Ben Kurtovic
c238cfaac5
Fixing the return values of copyvios.main().
pirms 12 gadiem
Ben Kurtovic
b4b5ac4f93
Restructure into an actual package that makes sense.
pirms 12 gadiem