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