Ben Kurtovic
eeca804e1a
Only show best match if no URL was given/
il y a 12 ans
Ben Kurtovic
dc399ed184
Show best match.
il y a 12 ans
Ben Kurtovic
e62383731c
Another bugfix.
il y a 12 ans
Ben Kurtovic
ea1b56b1c1
Some fixes and cleanup.
il y a 12 ans
Ben Kurtovic
6bbd4e00d1
Push actual checker code to master.
il y a 12 ans
Ben Kurtovic
912e0dcce3
Fix highligher for trigrams; fix HTML escaping.
il y a 12 ans
Ben Kurtovic
958ad39739
Processing time has been moved into EarwigBot main.
il y a 12 ans
Ben Kurtovic
70499e1b5f
Set a max time limit for copyvio checks of 45 seconds.
il y a 12 ans
Ben Kurtovic
e3d150027b
Implement escaping a bit more nicely.
il y a 12 ans
Ben Kurtovic
aa0b66a059
Escape a potential HTML injection in highlighting if mwparser fails.
il y a 12 ans
Ben Kurtovic
8565a19fc2
Add a customizable import config file.
il y a 12 ans
Ben Kurtovic
2d07ee8ceb
It seems site.addsitedir() sticks this at the end; we want it first.
il y a 12 ans
Ben Kurtovic
230e4f33ef
site.addsitedir() instead of sys.path.insert().
il y a 12 ans
Ben Kurtovic
a1269a72b8
Update deps with version info; insert an OS-specific import path.
il y a 12 ans
Ben Kurtovic
40d92aa7fb
Fix typo.
il y a 12 ans
Ben Kurtovic
04c7092756
width should be a string
il y a 12 ans
Ben Kurtovic
dc96cf1a2e
Forgot to pass the silly context thing.
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
8dd5687ab1
Testing a potential bugfix.
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
3b9fa8c143
Needs page and result, not just page.
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
2a77ec8d4f
Support double-indentation
il y a 12 ans
Ben Kurtovic
68c3bd9d65
Do cookie updates before we generate the header.
il y a 12 ans
Ben Kurtovic
f5ff26879c
Fix; delete background cache when updating background setting.
il y a 12 ans
Ben Kurtovic
0e53bf5a11
Hmm, I guess we have to preserve the regexp object between execs.
il y a 12 ans
Ben Kurtovic
0e326193e0
Define callback.
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
44381e6e2a
Another fix.
il y a 12 ans
Ben Kurtovic
21d8666589
Syntax!
il y a 12 ans
Ben Kurtovic
5040337c37
Missed the images!
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
d96f71924e
Missed a couple params.
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
ef204dbc05
background-attachment: fixed;
il y a 12 ans
Ben Kurtovic
60579ab8d0
UglifyCSS as well.
il y a 12 ans
Ben Kurtovic
3960c23ba8
Fix date.
il y a 12 ans
Ben Kurtovic
cfb4cad519
UglifyJS; cache background information.
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
28fdad3975
Explicitly remove a cookie from the manager if we delete it.
il y a 12 ans
Ben Kurtovic
4c8d724039
Magic numbers to verify my cookies.
il y a 12 ans
Ben Kurtovic
cb323f8ae8
Some cleanup
il y a 12 ans