Ben Kurtovic
23663afbe2
Fix background URL generation
2 年之前
Ben Kurtovic
4092cbc0f6
Keep all workers' backgrounds in sync, and ensure they update at 00:00 UTC.
8 年之前
Ben Kurtovic
1327f57404
Fix backgrounds when the image has been moved.
9 年之前
Ben Kurtovic
6eed95c761
Use a global cache instead of the request-specific one.
9 年之前
Ben Kurtovic
ddcf2a8963
Store what was previously in SQL tables in flask.g.
9 年之前
Ben Kurtovic
9a25f97831
Connection pooling; cleanup.
10 年之前
Ben Kurtovic
ed5af0eaf8
Whoops, no context gets passed.
10 年之前
Ben Kurtovic
56a79cc8d1
More cleanup; cookie fixes, Flask integration.
10 年之前
Ben Kurtovic
6acb88a156
Logic was wrong for selecting the image width.
10 年之前
Ben Kurtovic
8027179e60
Update more references.
10 年之前
Ben Kurtovic
20259a4414
Remove some references to the Toolserver.
10 年之前
Ben Kurtovic
04c7092756
width should be a string
11 年之前
Ben Kurtovic
dc96cf1a2e
Forgot to pass the silly context thing.
11 年之前
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 年之前