Ben Kurtovic
aa0b66a059
Escape a potential HTML injection in highlighting if mwparser fails.
12 jaren geleden
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 jaren geleden
Ben Kurtovic
f5ff26879c
Fix; delete background cache when updating background setting.
12 jaren geleden
Ben Kurtovic
44381e6e2a
Another fix.
12 jaren geleden
Ben Kurtovic
1523c2401f
Implement 'background' option plus background images.
12 jaren geleden
Ben Kurtovic
833bdc6415
Support other backgrounds.
12 jaren geleden
Ben Kurtovic
d96f71924e
Missed a couple params.
12 jaren geleden
Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
12 jaren geleden
Ben Kurtovic
bc4c2de763
Fixing cookie bug.
12 jaren geleden
Ben Kurtovic
4c8d724039
Magic numbers to verify my cookies.
12 jaren geleden
Ben Kurtovic
cb323f8ae8
Some cleanup
12 jaren geleden
Ben Kurtovic
0fad121316
Support GET and POST in query.
12 jaren geleden
Ben Kurtovic
2e1e0cf20e
Relative import syntax is funky.
12 jaren geleden
Ben Kurtovic
0768aa43aa
A couple of fixes.
12 jaren geleden
Ben Kurtovic
3e934fbaef
Massively update cookie handling.
12 jaren geleden