Snakes
995375decc
Refactor reddit mentions, move to cron.
...
The reddit mentions system contained much duplicated code and was
grafted onto the post thumbnail pipeline to achieve semi-regular
invocation. Instead, we now run it through the new cron system,
and the duplicate code has been refactored out.
2022-06-07 10:42:24 -04:00
Snakes
152315f73e
cron: Move charts from static to helper.
2022-06-07 08:31:24 -04:00
Aevann1
d431ae1ecd
re-prioitize effortposts (with a lot of links) in the frontpage
2022-06-07 13:26:39 +02:00
Aevann1
aaeb09fd91
add me to WPD discord too
2022-06-07 12:55:50 +02:00
Aevann1
1bce1c273f
no more 500 error
2022-06-07 12:32:48 +02:00
Aevann1
4a1e6cc726
a 500 error is much better than an XSS, bro
2022-06-07 12:03:51 +02:00
Aevann1
f966262b97
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-07 11:18:12 +02:00
Aevann1
d761fc27cd
Revert "Make CARP_ID's flair uneditable by others."
...
This reverts commit c2266985b7
.
2022-06-07 11:18:09 +02:00
Snakes
70b96162a7
Fix banned domain info leak in modlog.
2022-06-06 22:18:56 -04:00
Snakes
dece3fd460
Add user title coin cost parameter.
2022-06-06 19:02:23 -04:00
Aevann1
4aeb438c6b
extend removal notifs from only me to all Lvl3 jannies
2022-06-06 07:50:38 +02:00
Aevann1
282f8d885c
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-06 07:42:21 +02:00
Aevann1
b2ec368a7e
give me a better discord role
2022-06-06 07:42:19 +02:00
Snakes
7556fe8988
Add lottershe badge logic, badge helper.
2022-06-06 00:07:38 -04:00
Aevann1
43dbcadc6b
add me into jannycord
2022-06-05 17:05:43 +02:00
Snakes
0e0a8d391b
Amend 20b136909: string comparison bug.
...
Fixes logic which failed because user_id was a string which I
improperly treated as an integer for comparisons.
2022-06-04 23:58:03 -04:00
Snakes
c2266985b7
Make CARP_ID's flair uneditable by others.
...
This is a kludge solution that sticks special case logic in places
it shouldn't be. However, community management demands necessitate it
quickly. Of the three ways to change a flair (customtitle), this
prevents using flairlocks and admin flair editing on the user with
CARP_ID. Only the user himself may change his flair through settings.
2022-06-04 23:34:44 -04:00
Snakes
843ff51ace
Make post rate limit site-specific.
2022-06-02 22:10:59 -04:00
Snakes
379ae664a3
Make PIN_LIMIT a per-site constant.
2022-06-02 19:45:33 -04:00
outruncolors
dfd521b652
Add quantity field to purchasing tickets / Make Chapose the beneficiary ( #302 )
...
* Add quantity field to purchasing tickets
* Remove height requirement for div (manlets seething)
2022-06-02 19:19:49 -04:00
float-trip
58c4b62163
Some fixes ( #300 )
...
* Narrow emoji_regex
* Fix mirrored pat emojis
* Fix ban icon on posts/comments
2022-06-02 19:18:10 -04:00
Snakes
df3127785a
Rename 'shit emojis.json' for sanity.
2022-06-02 05:15:41 -04:00
Snakes
1d49012c16
Revise 16587cdf7cf5, expand assetcache.
...
Assetcache: now supports js/userpage.js & js/userpage_v.js.
The three userpage*.html templates now implement it.
Revising gift messages 16587cdf7cf5:
- routes/users.py: Deduplicate code, more descriptive var name.
- templates/userpage.html: Move post-tax gift line below reasons
box. Ultimately just an aesthetic change.
2022-06-01 00:11:23 -04:00
Ubuntu
453d5f57a3
added a gift message to go with coin and bux transfers
2022-06-01 00:10:33 -04:00
Snakes
49622b3268
Lottery: add admin participants listing.
2022-05-31 23:20:39 -04:00
outruncolors
c2f598a17f
Move lottery to own page ( #296 )
2022-05-30 22:40:38 -04:00
Snakes
04a878a8c4
Make betting polls respect can_gamble.
2022-05-30 08:13:11 -04:00
Snakes
e32a4bda48
Add set/unset nsfw on comment to modlog.
2022-05-30 08:00:16 -04:00
Snakes
75758dd511
Feeds: make RSS valid, part trois.
...
Hopefully finishes the RSS fix saga. This one done in-house rather
than by patch, as 5d6d4f9ca0
and 29fdc774a9
had been.
This final change ensures the <updated> tag is always used, even
for un-edited posts. This appears to pass the W3C Validator using
local test data. We shall see how it behaves with data on prod.
2022-05-30 07:27:52 -04:00
Snakes
29fdc774a9
Feeds: make valid, part deux.
...
Continuation of 5d6d4f9ca0
. Again, h/t to our friends at WPD
for providing a patch.
2022-05-30 06:58:42 -04:00
Snakes
81e19b1aed
Add can_gamble user setting.
...
Users now have a toggleable can_gamble setting which disables their
ability to use all chance-based gains on the site: viz. slots,
blackjack, the lottery, and treasure chests.
This only applies on invocation of commands that start gambling
games, so it should cause no bugs when toggled with e.g. active
blackjack games.
This was added for the benefit of users with actual problems with
gambling, be they past addiction or religious conviction. All future
gambling features are humbly requested to respect it.
2022-05-30 05:32:45 -04:00
Snakes
5d6d4f9ca0
Feeds: make RSS valid.
...
Patch provided via c/o tejmar of WPD.
Intended to fix the invalid RSS format which caused issues when
using the feeds with Discord and Telegram.
2022-05-30 04:30:57 -04:00
Snakes
1f4c3ea6b0
Lottery: increase short-term ratelimit.
2022-05-30 00:31:48 -04:00
Snakes
5b6ba1ac82
Merge remote-tracking branch 'mccoxmaul/add-lottershe' into frost
2022-05-29 23:52:04 -04:00
Aevann1
de539ab7e5
fixed a bug that caused 500 errors when jannies left the input area for days empty when they chudded someone
...
also removed some useless code for checking admin status on alts (why did I add this)
2022-05-30 05:30:32 +02:00
Aevann1
e5dbc9bfdd
made it so ALL comments on ghosted posts are ghosted too, this includes the hidden poll comments
...
that way, the poll voters will be hidden and we can have anonymous polls
context: https://rdrama.net/votes?link=t3_2007526
2022-05-30 05:26:52 +02:00
Aevann1
27d81f6506
for rdrama.net, made it so the weekly chart always start before the site got made, and added variable chart width to accomodate that
2022-05-30 05:16:48 +02:00
Outrun Colors, LLC
9f384bf548
Remove extraneous route logic
2022-05-29 22:12:13 -05:00
Aevann1
b2c011a7ba
Give me a notification whenever one of the other jannies removes a post or comment
2022-05-30 05:01:03 +02:00
Aevann1
aff30db1fe
make sure the post/comment for which someone was banned is linked everywhere (for convenience)
2022-05-30 04:55:51 +02:00
Outrun Colors, LLC
b9dc28e6d1
Don't show lotteries on the sister sites
2022-05-29 20:43:16 -05:00
Outrun Colors, LLC
a0cc7e1cf6
Move more stuff to proper location
2022-05-29 19:49:14 -05:00
Aevann1
ecb4a56047
fixed global variable bug in /stats
2022-05-30 01:01:40 +02:00
Aevann1
3e472c74e0
Removed "make admin" on rdrama.net
2022-05-29 20:36:51 +02:00
Snakes
0a73083e8a
Add settings toggle for UI animations.
2022-05-29 03:08:28 -04:00
Outrun Colors, LLC
562202b38d
Reorganize route logic
2022-05-29 01:06:39 -05:00
Outrun Colors, LLC
bef0b0ff6d
Add participants and field updating
2022-05-29 01:01:45 -05:00
Outrun Colors, LLC
1a55a7670e
Send notifications to winners and losers
2022-05-28 23:23:20 -05:00
Outrun Colors, LLC
469c39dca6
Configure admin section and purchasing a ticket full flow
2022-05-28 22:33:44 -05:00
Outrun Colors, LLC
cf7ee615e6
Add skeleton for route interactions
2022-05-28 19:02:35 -05:00