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
2a77ec8d4f
Support double-indentation
pirms 12 gadiem
Ben Kurtovic
0e53bf5a11
Hmm, I guess we have to preserve the regexp object between execs.
pirms 12 gadiem
Ben Kurtovic
0e326193e0
Define callback.
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
3960c23ba8
Fix date.
pirms 12 gadiem
Ben Kurtovic
cfb4cad519
UglifyJS; cache background information.
pirms 12 gadiem
Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
pirms 12 gadiem
Ben Kurtovic
4c8d724039
Magic numbers to verify my cookies.
pirms 12 gadiem
Ben Kurtovic
3e934fbaef
Massively update cookie handling.
pirms 12 gadiem
Ben Kurtovic
48d9fc4452
Don't hardcode the path - use window.location.pathname.
pirms 12 gadiem
Ben Kurtovic
79a938f3b9
Cookies to store state of collapsable box.
pirms 12 gadiem
Ben Kurtovic
c49119ea97
Protocol-relative URLs in some places for full HTTPS support
pirms 12 gadiem
Ben Kurtovic
7d92f7a76b
Copyvio detection interface is (mostly) done.
pirms 12 gadiem
Ben Kurtovic
82bee179c0
Better handling of images less wide than our screen.
pirms 13 gadiem
Ben Kurtovic
25dc8e1226
EarwigBot Status page, minor CSS cleanup.
pirms 13 gadiem
Ben Kurtovic
2ee3a79d20
Some pretty awesome stuff.
pirms 13 gadiem