Ben Kurtovic
859f388ee3
Fix bug when page contains unicode.
12 anos atrás
Ben Kurtovic
cc1a3318df
Try <= 3 instead of == 1 for joined adjacent lines; tweaks.
12 anos atrás
Ben Kurtovic
9889775982
Fix an XHTML error.
12 anos atrás
Ben Kurtovic
adf6e9c23a
Properly handle bad URI schemes.
12 anos atrás
Ben Kurtovic
e23a37dde8
Join adjacent lines with only one word.
12 anos atrás
Ben Kurtovic
ec3cae5d78
Fix highlighting, again.
12 anos atrás
Ben Kurtovic
309d4e8fd4
Try a new highlighting engine.
12 anos atrás
Ben Kurtovic
4c43629020
Paragraphs instead of one big thing with line breaks.
12 anos atrás
Ben Kurtovic
e62383731c
Another bugfix.
12 anos atrás
Ben Kurtovic
ea1b56b1c1
Some fixes and cleanup.
12 anos atrás
Ben Kurtovic
6bbd4e00d1
Push actual checker code to master.
12 anos atrás
Ben Kurtovic
912e0dcce3
Fix highligher for trigrams; fix HTML escaping.
12 anos atrás
Ben Kurtovic
958ad39739
Processing time has been moved into EarwigBot main.
12 anos atrás
Ben Kurtovic
70499e1b5f
Set a max time limit for copyvio checks of 45 seconds.
12 anos atrás
Ben Kurtovic
e3d150027b
Implement escaping a bit more nicely.
12 anos atrás
Ben Kurtovic
aa0b66a059
Escape a potential HTML injection in highlighting if mwparser fails.
12 anos atrás
Ben Kurtovic
8565a19fc2
Add a customizable import config file.
12 anos atrás
Ben Kurtovic
04c7092756
width should be a string
12 anos atrás
Ben Kurtovic
dc96cf1a2e
Forgot to pass the silly context thing.
12 anos atrás
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 anos atrás
Ben Kurtovic
0217eaad8d
Some escapes to close potential security, plus a couple bugfixes.
12 anos atrás
Ben Kurtovic
f5ff26879c
Fix; delete background cache when updating background setting.
12 anos atrás
Ben Kurtovic
44381e6e2a
Another fix.
12 anos atrás
Ben Kurtovic
1523c2401f
Implement 'background' option plus background images.
12 anos atrás
Ben Kurtovic
833bdc6415
Support other backgrounds.
12 anos atrás
Ben Kurtovic
d96f71924e
Missed a couple params.
12 anos atrás
Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
12 anos atrás
Ben Kurtovic
bc4c2de763
Fixing cookie bug.
12 anos atrás
Ben Kurtovic
28fdad3975
Explicitly remove a cookie from the manager if we delete it.
12 anos atrás
Ben Kurtovic
4c8d724039
Magic numbers to verify my cookies.
12 anos atrás
Ben Kurtovic
cb323f8ae8
Some cleanup
12 anos atrás
Ben Kurtovic
4ef8900b29
Debug stuff
12 anos atrás
Ben Kurtovic
0fad121316
Support GET and POST in query.
12 anos atrás
Ben Kurtovic
e90f7059a7
Uhh, whoops.
12 anos atrás
Ben Kurtovic
e223412e79
Ignore cookies set by other TS services.
12 anos atrás
Ben Kurtovic
409412ddcd
Take advantage of quoting/unquoting.
12 anos atrás
Ben Kurtovic
2e1e0cf20e
Relative import syntax is funky.
12 anos atrás
Ben Kurtovic
0768aa43aa
A couple of fixes.
12 anos atrás
Ben Kurtovic
3e934fbaef
Massively update cookie handling.
12 anos atrás
Ben Kurtovic
9677390ea3
More work on the settings page.
12 anos atrás
Ben Kurtovic
79a938f3b9
Cookies to store state of collapsable box.
12 anos atrás
Ben Kurtovic
19d4e9b2d7
Lol, infinite recursion errors.
12 anos atrás
Ben Kurtovic
4257015b3c
Make this a bit less ugly...
12 anos atrás
Ben Kurtovic
8cce98fc8f
Query object for storing parameters in a structured manner.
12 anos atrás
Ben Kurtovic
c238cfaac5
Fixing the return values of copyvios.main().
12 anos atrás
Ben Kurtovic
b4b5ac4f93
Restructure into an actual package that makes sense.
12 anos atrás