rDrama/files/helpers
Snakes e5193cbd46 Fix mention sanitize when `g.v` not present.
This bug was discovered when lottery.check_if_end_lottery_task was
failing due to a stack trace thru end_lottery session < badge_grant
< send_repeatable_notifications < sanitize L208. In particular, when
`flask cron` (helpers/cron.py) executes, it does not set g.v, whereas
this code previously assumed that g.v : (None + User) and did not
check for its presence.
2022-06-18 21:22:04 -04:00
..
actions.py Kitchen sink: emoji content, assert, assetcache. 2022-06-15 17:17:31 -04:00
alerts.py Separate modaction notifs from inbox. 2022-06-10 08:28:46 -04:00
awards.py Refactor stat timers, award timers. 2022-06-10 05:47:41 -04:00
blackjack.py Add can_gamble user setting. 2022-05-30 05:32:45 -04:00
const.py give visible bots a body column (so their comments are searchable) 2022-06-18 17:37:01 +02:00
cron.py convert monthly marseybux into a cron task 2022-06-10 22:23:01 +02:00
discord.py sfd 2022-05-07 06:13:19 +02:00
get.py replace "g.db.query" on pkeys with the much more efficient "g.db.get" 2022-06-18 02:57:23 +02:00
jinja2.py Revert "Add user title coin cost parameter." 2022-06-13 20:10:53 +02:00
lazy.py certified good commit 2022-05-25 19:01:29 +02:00
lottery.py Site-specific: change lotto for PCM. 2022-06-15 22:23:21 -04:00
media.py make sure thumbnails are always lower than 8 MB 2022-06-18 23:11:53 +02:00
offsitementions.py offsitementions: Fix notif logic. 2022-06-10 22:04:17 -04:00
sanitize.py Fix mention sanitize when `g.v` not present. 2022-06-18 21:22:04 -04:00
security.py mn 2022-05-05 01:09:46 +02:00
slots.py Add can_gamble user setting. 2022-05-30 05:32:45 -04:00
stats.py replace spaces with tabs 2022-06-13 20:33:25 +02:00
treasure.py Treasure: raise minimum reward 10 -> 12. 2022-05-31 20:23:19 -04:00
wrappers.py replace "g.db.query" on pkeys with the much more efficient "g.db.get" 2022-06-18 02:57:23 +02:00