Ben Kurtovic
b896b5343c
Copyvios NG: Move legacy code to a subdirectory
пре 1 година
Ben Kurtovic
eacb294735
Update URLs
пре 4 година
Ben Kurtovic
64e77c1e5a
Use ndashes instead of hyphens in the title.
пре 8 година
Ben Kurtovic
6eed95c761
Use a global cache instead of the request-specific one.
пре 10 година
Ben Kurtovic
ddcf2a8963
Store what was previously in SQL tables in flask.g.
пре 10 година
Ben Kurtovic
10c68e6823
Polishing for URL list; remove 'hide comparison' option.
пре 10 година
Ben Kurtovic
710447a6bf
Slightly modified interface; give more options ( closes #17 ).
пре 10 година
Ben Kurtovic
4622e6d69d
Clean up HTML for the result detail.
пре 10 година
Ben Kurtovic
cea99098ce
Fix some URL stuff.
пре 10 година
Ben Kurtovic
e682dbbdda
Move application logic around; improve exceptions.
пре 10 година
Ben Kurtovic
56a79cc8d1
More cleanup; cookie fixes, Flask integration.
пре 10 година
Ben Kurtovic
1344594c33
Internal cleanup for Flask.
пре 10 година
Ben Kurtovic
f48a566841
Begin conversion to Flask; updates.
пре 10 година
Ben Kurtovic
6045ea4e44
Updates.
пре 10 година
Ben Kurtovic
ad9a71a8ef
Refactor more.
пре 11 година
Ben Kurtovic
41c0df6cb9
Set the POTD as the default background.
пре 11 година
Ben Kurtovic
c1810ee269
Input field for specifying a revision ID.
пре 11 година
Ben Kurtovic
9f54517033
Syntax; add a couple missing table cells.
пре 11 година
Ben Kurtovic
e204194875
Use the right environment variables.
пре 11 година
Ben Kurtovic
de87631cf5
HTML5
пре 11 година
Ben Kurtovic
12e8611c4b
Try again.
пре 11 година
Ben Kurtovic
b0d51b3b0d
HTML standards compliance fixes.
пре 11 година
Ben Kurtovic
3ebe5c92d4
Write cookies before page generation, so changes take effect immediately.
пре 11 година
Ben Kurtovic
909f224e4d
Typo fix.
пре 11 година
Ben Kurtovic
80b7013964
Rename some cookies, streamline HTML, etc.
пре 11 година
Ben Kurtovic
ed22b1d344
Fix; darken background color.
пре 12 година
Ben Kurtovic
4ce5cf7a22
Improve image stuff.
пре 12 година
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 година
Ben Kurtovic
f3ddd8f700
Some adjustments to reduce HTML output size.
пре 12 година
Ben Kurtovic
0217eaad8d
Some escapes to close potential security, plus a couple bugfixes.
пре 12 година
Ben Kurtovic
b5908160bf
Move copyvio error message to top. Order cookies in an interesting way.
пре 12 година
Ben Kurtovic
68c3bd9d65
Do cookie updates before we generate the header.
пре 12 година
Ben Kurtovic
10364d1914
Don't stick quotes around 'checked'
пре 12 година
Ben Kurtovic
ae2713e040
Apparently I can't make a single commit without at least five typos.
пре 12 година
Ben Kurtovic
37cb1f568c
Fix default behavior.
пре 12 година
Ben Kurtovic
1523c2401f
Implement 'background' option plus background images.
пре 12 година
Ben Kurtovic
833bdc6415
Support other backgrounds.
пре 12 година
Ben Kurtovic
3cf62618b2
More adjustments.
пре 12 година
Ben Kurtovic
a68e63af4b
Move status box.
пре 12 година
Ben Kurtovic
94d266e740
Get around Mako bug that doesn't support try/else
пре 12 година
Ben Kurtovic
13d140d899
Format cookies encoding JSON nicely.
пре 12 година
Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
пре 12 година
Ben Kurtovic
bc4c2de763
Fixing cookie bug.
пре 12 година
Ben Kurtovic
cb323f8ae8
Some cleanup
пре 12 година
Ben Kurtovic
e223412e79
Ignore cookies set by other TS services.
пре 12 година
Ben Kurtovic
7ec50e1668
Fix.
пре 12 година
Ben Kurtovic
3e934fbaef
Massively update cookie handling.
пре 12 година
Ben Kurtovic
066dc9504f
Use cookies to store default site.
пре 12 година
Ben Kurtovic
5f8c8307fc
Well, this seems a bit silly.
пре 12 година
Ben Kurtovic
5789316300
cookie.key, not cookie.name; whoops
пре 12 година