Ben Kurtovic
80b7013964
Rename some cookies, streamline HTML, etc.
11 vuotta sitten
Ben Kurtovic
2315be6cef
Remove ZWS-specific things; update README.
11 vuotta sitten
Ben Kurtovic
4c411e7d9c
Update/merge CSS, JS, images.
11 vuotta sitten
Ben Kurtovic
8027179e60
Update more references.
11 vuotta sitten
Ben Kurtovic
20259a4414
Remove some references to the Toolserver.
11 vuotta sitten
Ben Kurtovic
a7870661c2
Adjust db name.
11 vuotta sitten
Ben Kurtovic
e6aee2c356
Update README.
11 vuotta sitten
Ben Kurtovic
d408395e37
EarwigBot moved to Labs; rm some tools that aren't happening soon.
11 vuotta sitten
Ben Kurtovic
36ca4bbb6e
Adding a note regarding beta status.
12 vuotta sitten
Ben Kurtovic
c0111cc222
Updating copyright notices for 2013.
12 vuotta sitten
Ben Kurtovic
8f431be3bf
Rename to avoid conflicts.
12 vuotta sitten
Ben Kurtovic
eae1ec0a0b
Move earwigbot.mako's code to its own module.
12 vuotta sitten
Ben Kurtovic
804ea2f960
Update rewrite.script to include / -> index.fcg; add descriptions for index.
12 vuotta sitten
Ben Kurtovic
1f9dafb81d
Show "no matches found" if result.url is None.
12 vuotta sitten
Ben Kurtovic
859f388ee3
Fix bug when page contains unicode.
12 vuotta sitten
Ben Kurtovic
09aae7da40
Update rewrite script.
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
e23a37dde8
Join adjacent lines with only one word.
12 vuotta sitten
Ben Kurtovic
dd16bb4a09
Adjust margins, font sizes; even darker background color.
12 vuotta sitten
Ben Kurtovic
ec3cae5d78
Fix highlighting, again.
12 vuotta sitten
Ben Kurtovic
309d4e8fd4
Try a new highlighting engine.
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
e62383731c
Another bugfix.
12 vuotta sitten
Ben Kurtovic
ea1b56b1c1
Some fixes and cleanup.
12 vuotta sitten
Ben Kurtovic
6bbd4e00d1
Push actual checker code to master.
12 vuotta sitten
Ben Kurtovic
912e0dcce3
Fix highligher for trigrams; fix HTML escaping.
12 vuotta sitten
Ben Kurtovic
958ad39739
Processing time has been moved into EarwigBot main.
12 vuotta sitten
Ben Kurtovic
70499e1b5f
Set a max time limit for copyvio checks of 45 seconds.
12 vuotta sitten
Ben Kurtovic
e3d150027b
Implement escaping a bit more nicely.
12 vuotta sitten
Ben Kurtovic
aa0b66a059
Escape a potential HTML injection in highlighting if mwparser fails.
12 vuotta sitten
Ben Kurtovic
8565a19fc2
Add a customizable import config file.
12 vuotta sitten
Ben Kurtovic
2d07ee8ceb
It seems site.addsitedir() sticks this at the end; we want it first.
12 vuotta sitten
Ben Kurtovic
230e4f33ef
site.addsitedir() instead of sys.path.insert().
12 vuotta sitten
Ben Kurtovic
a1269a72b8
Update deps with version info; insert an OS-specific import path.
12 vuotta sitten
Ben Kurtovic
40d92aa7fb
Fix typo.
12 vuotta sitten
Ben Kurtovic
04c7092756
width should be a string
12 vuotta sitten
Ben Kurtovic
dc96cf1a2e
Forgot to pass the silly context thing.
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