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 jaren geleden
Ben Kurtovic
2a77ec8d4f
Support double-indentation
12 jaren geleden
Ben Kurtovic
0e53bf5a11
Hmm, I guess we have to preserve the regexp object between execs.
12 jaren geleden
Ben Kurtovic
0e326193e0
Define callback.
12 jaren geleden
Ben Kurtovic
5040337c37
Missed the images!
12 jaren geleden
Ben Kurtovic
1523c2401f
Implement 'background' option plus background images.
12 jaren geleden
Ben Kurtovic
833bdc6415
Support other backgrounds.
12 jaren geleden
Ben Kurtovic
3cf62618b2
More adjustments.
12 jaren geleden
Ben Kurtovic
d96f71924e
Missed a couple params.
12 jaren geleden
Ben Kurtovic
13d140d899
Format cookies encoding JSON nicely.
12 jaren geleden
Ben Kurtovic
ef204dbc05
background-attachment: fixed;
12 jaren geleden
Ben Kurtovic
3960c23ba8
Fix date.
12 jaren geleden
Ben Kurtovic
cfb4cad519
UglifyJS; cache background information.
12 jaren geleden
Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
12 jaren geleden
Ben Kurtovic
4c8d724039
Magic numbers to verify my cookies.
12 jaren geleden
Ben Kurtovic
cb323f8ae8
Some cleanup
12 jaren geleden
Ben Kurtovic
3e934fbaef
Massively update cookie handling.
12 jaren geleden
Ben Kurtovic
48d9fc4452
Don't hardcode the path - use window.location.pathname.
12 jaren geleden
Ben Kurtovic
79a938f3b9
Cookies to store state of collapsable box.
12 jaren geleden
Ben Kurtovic
c49119ea97
Protocol-relative URLs in some places for full HTTPS support
12 jaren geleden
Ben Kurtovic
7d92f7a76b
Copyvio detection interface is (mostly) done.
12 jaren geleden
Ben Kurtovic
910a24a89f
Minor updates.
12 jaren geleden
Ben Kurtovic
c482d9ff4e
Work on Copyvio Detector and integration with EarwigBot
copyvios.mako can now import the earwigbot package and load pages
gitignored config.ts-earwigbot.json
13 jaren geleden
Ben Kurtovic
82bee179c0
Better handling of images less wide than our screen.
13 jaren geleden
Ben Kurtovic
25dc8e1226
EarwigBot Status page, minor CSS cleanup.
13 jaren geleden
Ben Kurtovic
2ee3a79d20
Some pretty awesome stuff.
13 jaren geleden
Ben Kurtovic
4e9b7c1b1c
updates; new layout idea
13 jaren geleden
Ben Kurtovic
3a70096689
Slight gradient on bottom bar, switch links.
13 jaren geleden
Ben Kurtovic
5e63ae849e
bash, improvements, etc etc
13 jaren geleden
Ben Kurtovic
cbc00a4ad6
Updates, nicer footer, etc
13 jaren geleden
Ben Kurtovic
bda195c414
More stuff
13 jaren geleden
Ben Kurtovic
f639ae7eba
forgot CSS!
13 jaren geleden