rDrama/files/routes
Snakes 9e1a3be278 Fix DMs improperly treating all users as blocked.
The changes to helpers/get.py @ get_user(...) in a6b7fed2fc resulted
in `is_blocking` no longer being present on all User objects retrieved
via `get_user`. This triggered a latent identifier shadow where the
property method `User.is_blocking` on the User model caused checks for
blocks on objects retrieved via `get_user` to always return True.

Notably: when the get_user return value left `is_blocking` unset and
thus implied False, the following expression yielded True due to the
presence of the first-class function at the same identifier:

    hasattr(user, 'is_blocking') and user.is_blocking
2022-07-03 13:55:25 -04:00
..
__init__.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
admin.py messing with joins 2022-07-03 08:12:53 +02:00
awards.py Add badge for Checkmark award users. 2022-07-02 21:34:32 -04:00
chat.py reducing query volume, #2 2022-06-26 03:11:02 +02:00
comments.py messing with joins 2022-07-03 08:12:53 +02:00
discord.py reducing query volume, #2 2022-06-26 03:11:02 +02:00
errors.py kitchen sink commit, all over the place 2022-07-02 12:44:05 +02:00
feeds.py testing 2022-07-01 15:11:41 +02:00
front.py Fix frontlist failing on pin expiry. 2022-07-03 13:04:13 -04:00
giphy.py mn 2022-05-05 01:09:46 +02:00
login.py kitchen sink commit, all over the place 2022-07-02 12:44:05 +02:00
lottery.py catch invalid ticket quantity 500 error 2022-06-13 20:34:57 +02:00
oauth.py reducing query volume, #2 2022-06-26 03:11:02 +02:00
polls.py Poll rework (#312) 2022-07-02 08:48:04 +02:00
posts.py more quert optimization 2022-07-03 13:21:58 +02:00
reporting.py reducing query volume, #2 2022-06-26 03:11:02 +02:00
search.py remove print statement I forgot 2022-07-01 13:28:00 +02:00
settings.py Fix DMs improperly treating all users as blocked. 2022-07-03 13:55:25 -04:00
static.py messing with joins 2022-07-03 08:12:53 +02:00
subs.py fix 500 error 2022-07-03 13:58:46 +02:00
users.py Fix DMs improperly treating all users as blocked. 2022-07-03 13:55:25 -04:00
votes.py fix 500 errors 2022-07-02 08:51:19 +02:00