rDrama/files/routes
TLSM afe209d5d8
Eager load comments for post rendering.
GET /post/1/clever-unique-post-title-number-0
|----------|--------|--------|--------|--------|--------|------------|
| Database | SELECT | INSERT | UPDATE | DELETE | Totals | Duplicates |
|----------|--------|--------|--------|--------|--------|------------|
| default  |  942   |   0    |   1    |   0    |  943   |    921     |
|----------|--------|--------|--------|--------|--------|------------|
Total queries: 943 in 0.377s # request time in browser 17249ms

GET /post/1/clever-unique-post-title-number-0
|----------|--------|--------|--------|--------|--------|------------|
| Database | SELECT | INSERT | UPDATE | DELETE | Totals | Duplicates |
|----------|--------|--------|--------|--------|--------|------------|
| default  |   58   |   0    |   1    |   0    |   59   |     35     |
|----------|--------|--------|--------|--------|--------|------------|
Total queries: 59 in 0.0423s # request time in browser 544ms

Also, fixes seed_db not populating top_comment_id on generated
comments. If you want to test locally with seed_db test data, you need
to reseed.
2022-11-28 17:47:54 -05:00
..
__init__.py discord: remove 2022-11-21 12:39:27 -06:00
admin.py discord: remove 2022-11-21 12:39:27 -06:00
awards.py discord: remove 2022-11-21 12:39:27 -06:00
chat.py Remove some gimmicky r/drama features. 2022-05-21 21:43:00 -05:00
comments.py Remove unused ADMINISTRATORS content upload posts. 2022-11-09 20:37:04 -06:00
errors.py Only show /leaderboard link in settings2 menu to admins, also a more polite 403 message, also more readable HTML 2022-08-21 01:44:56 +01:00
feeds.py Change default RSS sort to 'new'. 2022-09-12 12:16:54 -05:00
front.py Deduplicate post/comment sorting & time filtering. 2022-11-28 14:33:24 -05:00
giphy.py Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
login.py Fix: Users with underscores in their name can't log in by underscore. 2022-11-13 18:20:24 -06:00
oauth.py Convert text file line endings to LF. 2022-05-09 07:20:47 -05:00
posts.py Eager load comments for post rendering. 2022-11-28 17:47:54 -05:00
reporting.py Switch over comment reporting to use the new system 2022-07-09 06:33:41 -05:00
search.py Deduplicate post/comment sorting & time filtering. 2022-11-28 14:33:24 -05:00
settings.py discord: remove 2022-11-21 12:39:27 -06:00
static.py admins are friends not food 2022-11-07 03:56:27 -06:00
subs.py Move post/comment ID boilerplate inside getters. 2022-11-09 20:37:04 -06:00
users.py Deduplicate post/comment sorting & time filtering. 2022-11-28 14:33:24 -05:00
votes.py Remove vestigial user ID special cases. 2022-11-09 20:37:04 -06:00