Ben Kurtovic
ad9a71a8ef
Refactor more.
11 years ago
Ben Kurtovic
41c0df6cb9
Set the POTD as the default background.
11 years ago
Ben Kurtovic
c1810ee269
Input field for specifying a revision ID.
11 years ago
Ben Kurtovic
9f54517033
Syntax; add a couple missing table cells.
11 years ago
Ben Kurtovic
e204194875
Use the right environment variables.
11 years ago
Ben Kurtovic
de87631cf5
HTML5
11 years ago
Ben Kurtovic
12e8611c4b
Try again.
11 years ago
Ben Kurtovic
b0d51b3b0d
HTML standards compliance fixes.
11 years ago
Ben Kurtovic
3ebe5c92d4
Write cookies before page generation, so changes take effect immediately.
11 years ago
Ben Kurtovic
909f224e4d
Typo fix.
11 years ago
Ben Kurtovic
80b7013964
Rename some cookies, streamline HTML, etc.
11 years ago
Ben Kurtovic
ed22b1d344
Fix; darken background color.
12 years ago
Ben Kurtovic
4ce5cf7a22
Improve image stuff.
12 years ago
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 years ago
Ben Kurtovic
f3ddd8f700
Some adjustments to reduce HTML output size.
12 years ago
Ben Kurtovic
0217eaad8d
Some escapes to close potential security, plus a couple bugfixes.
12 years ago
Ben Kurtovic
b5908160bf
Move copyvio error message to top. Order cookies in an interesting way.
12 years ago
Ben Kurtovic
68c3bd9d65
Do cookie updates before we generate the header.
12 years ago
Ben Kurtovic
10364d1914
Don't stick quotes around 'checked'
12 years ago
Ben Kurtovic
ae2713e040
Apparently I can't make a single commit without at least five typos.
12 years ago
Ben Kurtovic
37cb1f568c
Fix default behavior.
12 years ago
Ben Kurtovic
1523c2401f
Implement 'background' option plus background images.
12 years ago
Ben Kurtovic
833bdc6415
Support other backgrounds.
12 years ago
Ben Kurtovic
3cf62618b2
More adjustments.
12 years ago
Ben Kurtovic
a68e63af4b
Move status box.
12 years ago
Ben Kurtovic
94d266e740
Get around Mako bug that doesn't support try/else
12 years ago
Ben Kurtovic
13d140d899
Format cookies encoding JSON nicely.
12 years ago
Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
12 years ago
Ben Kurtovic
bc4c2de763
Fixing cookie bug.
12 years ago
Ben Kurtovic
cb323f8ae8
Some cleanup
12 years ago
Ben Kurtovic
e223412e79
Ignore cookies set by other TS services.
12 years ago
Ben Kurtovic
7ec50e1668
Fix.
12 years ago
Ben Kurtovic
3e934fbaef
Massively update cookie handling.
12 years ago
Ben Kurtovic
066dc9504f
Use cookies to store default site.
12 years ago
Ben Kurtovic
5f8c8307fc
Well, this seems a bit silly.
12 years ago
Ben Kurtovic
5789316300
cookie.key, not cookie.name; whoops
12 years ago
Ben Kurtovic
9677390ea3
More work on the settings page.
12 years ago
Ben Kurtovic
309cb30358
Beginning work on a settings page.
12 years ago