rDrama/files
TLSM dbaf0a1bfd Remove unused polls code to reduce query volume.
Due to use of Submission.{choices, options, bet_options} in realbody,
generating submission_listings resulted in extremely high volume of
SELECT queries.

In local testing with 6 posts, one of which had a poll with 2 options,
the removal of these calls reduced quantity of queries on the homepage
from 84 to 22.

Given that it was previously decided to remove the polls feature after
a regression while adding comment filtering, the remaining dead code
paths for polls were also removed.
2022-09-05 23:44:18 -05:00
..
assets Remove unused polls code to reduce query volume. 2022-09-05 23:44:18 -05:00
classes Remove unused polls code to reduce query volume. 2022-09-05 23:44:18 -05:00
commands [#72] Add seed_db command 2022-06-09 01:33:58 -07:00
helpers Remove unused polls code to reduce query volume. 2022-09-05 23:44:18 -05:00
mail Split SITE_NAME into computer-readable SITE_ID and human-readable SITE_TITLE. 2022-07-31 18:53:18 -05:00
routes Remove unused polls code to reduce query volume. 2022-09-05 23:44:18 -05:00
templates Fix #246: new comment counts on desktop listings. 2022-09-05 00:44:13 -05:00
tests Add basic posting to the e2e test. 2022-05-21 21:39:54 -05:00
__init__.py Initial e2e testing 2022-05-13 02:55:29 -05:00
__main__.py Add active user counter logic; add to admin tools. 2022-09-05 00:44:13 -05:00
cli.py [#72] Ensure seed_db command is actually imported when calling into flask 2022-06-09 01:34:46 -07:00