Ben Kurtovic
ca58aac413
Add sqlite3 backend to replace mysql
5 anni fa
Frances Hocutt
4e994f1302
Refactor turnitin.py, incorporate diff link/timestamp
* Add a wiki timestamp parser to copyvios/misc.py
* Refactor copyvios/turnitin.py for more sensible structure
* Update templates/index.mako to incorporate diff link/timestamp and
make it clearer that Turnitin is revision-based checking
8 anni fa
Ben Kurtovic
b325ef84cd
Support general/update notices.
8 anni fa
Ben Kurtovic
a1d8b79265
Fix recursion bug.
9 anni fa
Ben Kurtovic
6eed95c761
Use a global cache instead of the request-specific one.
9 anni fa
Ben Kurtovic
ddcf2a8963
Store what was previously in SQL tables in flask.g.
9 anni fa
Ben Kurtovic
db7a4f2ec4
Clean up query data handling.
9 anni fa
Ben Kurtovic
c6b9c9ebe6
Really fix checkbox blank value treatment.
9 anni fa
Ben Kurtovic
6cd194f971
Catch empty method error; fix blank values in query.
9 anni fa
Ben Kurtovic
9a25f97831
Connection pooling; cleanup.
10 anni fa
Ben Kurtovic
cea99098ce
Fix some URL stuff.
10 anni fa
Ben Kurtovic
cb79aa24b4
Update/fix index.mako.
10 anni fa
Ben Kurtovic
56a79cc8d1
More cleanup; cookie fixes, Flask integration.
10 anni fa
Ben Kurtovic
c346161eed
Fix environ var parsing.
10 anni fa
Ben Kurtovic
8027179e60
Update more references.
10 anni fa
Ben Kurtovic
20259a4414
Remove some references to the Toolserver.
10 anni fa
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.
11 anni fa
Ben Kurtovic
0fad121316
Support GET and POST in query.
11 anni fa
Ben Kurtovic
3e934fbaef
Massively update cookie handling.
11 anni fa
Ben Kurtovic
9677390ea3
More work on the settings page.
11 anni fa
Ben Kurtovic
79a938f3b9
Cookies to store state of collapsable box.
11 anni fa
Ben Kurtovic
19d4e9b2d7
Lol, infinite recursion errors.
11 anni fa
Ben Kurtovic
8cce98fc8f
Query object for storing parameters in a structured manner.
11 anni fa
Ben Kurtovic
b4b5ac4f93
Restructure into an actual package that makes sense.
12 anni fa
Ben Kurtovic
5bff019edc
Trying a radical restructuring...
12 anni fa