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