Ben Kurtovic
1f9dafb81d
Show "no matches found" if result.url is None.
12 vuotta sitten
Ben Kurtovic
81039a6af7
Adjust chain cells so they're more equal.
12 vuotta sitten
Ben Kurtovic
cc1a3318df
Try <= 3 instead of == 1 for joined adjacent lines; tweaks.
12 vuotta sitten
Ben Kurtovic
9889775982
Fix an XHTML error.
12 vuotta sitten
Ben Kurtovic
25a73484ec
Fix.
12 vuotta sitten
Ben Kurtovic
adf6e9c23a
Properly handle bad URI schemes.
12 vuotta sitten
Ben Kurtovic
ed22b1d344
Fix; darken background color.
12 vuotta sitten
Ben Kurtovic
4ce5cf7a22
Improve image stuff.
12 vuotta sitten
Ben Kurtovic
4c43629020
Paragraphs instead of one big thing with line breaks.
12 vuotta sitten
Ben Kurtovic
eeca804e1a
Only show best match if no URL was given/
12 vuotta sitten
Ben Kurtovic
dc399ed184
Show best match.
12 vuotta sitten
Ben Kurtovic
958ad39739
Processing time has been moved into EarwigBot main.
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
8dd5687ab1
Testing a potential bugfix.
12 vuotta sitten
Ben Kurtovic
f3ddd8f700
Some adjustments to reduce HTML output size.
12 vuotta sitten
Ben Kurtovic
0217eaad8d
Some escapes to close potential security, plus a couple bugfixes.
12 vuotta sitten
Ben Kurtovic
3b9fa8c143
Needs page and result, not just page.
12 vuotta sitten
Ben Kurtovic
b5908160bf
Move copyvio error message to top. Order cookies in an interesting way.
12 vuotta sitten
Ben Kurtovic
68c3bd9d65
Do cookie updates before we generate the header.
12 vuotta sitten
Ben Kurtovic
10364d1914
Don't stick quotes around 'checked'
12 vuotta sitten
Ben Kurtovic
ae2713e040
Apparently I can't make a single commit without at least five typos.
12 vuotta sitten
Ben Kurtovic
37cb1f568c
Fix default behavior.
12 vuotta sitten
Ben Kurtovic
21d8666589
Syntax!
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
3cf62618b2
More adjustments.
12 vuotta sitten
Ben Kurtovic
a68e63af4b
Move status box.
12 vuotta sitten
Ben Kurtovic
94d266e740
Get around Mako bug that doesn't support try/else
12 vuotta sitten
Ben Kurtovic
13d140d899
Format cookies encoding JSON nicely.
12 vuotta sitten
Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
12 vuotta sitten
Ben Kurtovic
bc4c2de763
Fixing cookie bug.
12 vuotta sitten
Ben Kurtovic
cb323f8ae8
Some cleanup
12 vuotta sitten
Ben Kurtovic
4ef8900b29
Debug stuff
12 vuotta sitten
Ben Kurtovic
0fad121316
Support GET and POST in query.
12 vuotta sitten
Ben Kurtovic
e223412e79
Ignore cookies set by other TS services.
12 vuotta sitten
Ben Kurtovic
7ec50e1668
Fix.
12 vuotta sitten
Ben Kurtovic
3e934fbaef
Massively update cookie handling.
12 vuotta sitten
Ben Kurtovic
066dc9504f
Use cookies to store default site.
12 vuotta sitten
Ben Kurtovic
5f8c8307fc
Well, this seems a bit silly.
12 vuotta sitten
Ben Kurtovic
5789316300
cookie.key, not cookie.name; whoops
12 vuotta sitten
Ben Kurtovic
9677390ea3
More work on the settings page.
12 vuotta sitten
Ben Kurtovic
309cb30358
Beginning work on a settings page.
12 vuotta sitten
Ben Kurtovic
f11bf7198c
Oops, these are objects with values.
12 vuotta sitten
Ben Kurtovic
b2910d5754
Grammar
12 vuotta sitten
Ben Kurtovic
79a938f3b9
Cookies to store state of collapsable box.
12 vuotta sitten
Ben Kurtovic
8cce98fc8f
Query object for storing parameters in a structured manner.
12 vuotta sitten
Ben Kurtovic
c238cfaac5
Fixing the return values of copyvios.main().
12 vuotta sitten
Ben Kurtovic
b4b5ac4f93
Restructure into an actual package that makes sense.
12 vuotta sitten
Ben Kurtovic
80e224d768
Move support.copyvios to copyvios
12 vuotta sitten
Ben Kurtovic
9240124bde
Context cleanup.
12 vuotta sitten