Ethan Dalool
c87d38a36b
Add function generator_printer
so it can be used outside.
...
This way, people who use _as_a_generator can get the same print
statements as the normal version without rewriting it themselves.
2017-12-13 12:48:26 -08:00
Ethan Dalool
f7e96975bf
Add a collapse [-] button to comment elements.
2017-12-05 15:12:54 -08:00
Ethan Dalool
cae90acfc6
Move responsibility of log formatting to frontend application.
2017-12-05 15:09:12 -08:00
Ethan Dalool
6b4b6040be
Fix calling len() on singular Submission / Comment instances.
2017-12-05 08:31:14 -08:00
Ethan Dalool
d1e68a0816
Oops, add the author query for username timesearches.
2017-12-03 11:39:32 -08:00
Ethan Dalool
d54b7937b3
Move HTML templates to global constants; Don't inline CSS.
2017-11-23 20:14:59 -08:00
Ethan Dalool
60a153fba7
Improve division of labor with _as_generator, add some debugs.
...
Previously, `livestream` was doing validation and building the
database and then passing it to `_as_a_generator`.
Since that's the only place those things are used, just move them
into there leaving `livestream` looking more simple.
2017-11-21 21:00:02 -08:00
Ethan Dalool
d59c3d5310
Add some debugs to the insert
method.
2017-11-21 20:53:59 -08:00
Ethan Dalool
89bcc1717e
Add a logger.
2017-11-21 19:59:26 -08:00
Ethan Dalool
7ef5a8ceee
Add table config
for meta settings.
2017-11-15 20:40:52 -08:00
Ethan Dalool
2b71ec3c76
Start tracking database user_version for potential upgrades.
2017-11-15 20:22:29 -08:00
Ethan Dalool
708c774e52
Initial migratory commit from voussoir/reddit.
2017-11-13 19:13:19 -08:00