Aevann1
2c1b064b0a
remove rarely-used profanity filter entry
2022-11-14 18:14:47 +02:00
Aevann1
1375372dfc
remove redundant slur filters (the "fuck" one affects all conjugations n-word)
2022-11-14 18:14:47 +02:00
Snakes
4aedbc9b2e
Fix imports for sub move frontlist invalidation.
2022-11-14 04:14:41 -05:00
Aevann1
e83be235ba
delete frontpage cache when moving posts
2022-11-14 07:49:23 +02:00
justcool393
84d9ed6655
antispam: sanity check
2022-11-13 21:48:52 -06:00
Snakes
b5b8b2927c
Expand blackjack handling pipeline.
2022-11-13 21:43:26 -05:00
justcool393
7c0763d81f
blackjack fixes
2022-11-13 20:07:13 -06:00
justcool393
39e7e61bcb
posts: make ghost threads cost DC again
...
who the hell disabled this
2022-11-13 19:52:32 -06:00
Snakes
188923a908
Change schizocel NOTIFIED_USERS (by request).
...
This is like 35 pings a day on average, but he seems to think it's
what he wants.
2022-11-13 17:39:02 -05:00
carp
91e19193c8
Conjugations of fuck ( #446 )
...
fixed
2022-11-13 17:18:22 -05:00
Snakes
d3f25739f0
Fix ratelimit_user on 3 routes, make proper dec.
2022-11-13 07:25:57 -05:00
Snakes
dd912addd1
chat: allow dev envs, clarify error message.
2022-11-13 06:43:08 -05:00
justcool393
681d8b482a
chat: impose truescore chat limit
2022-11-13 05:31:48 -06:00
justcool393
bf98444ead
push notifications: fix pusher causing errors on large unicode msgs
2022-11-13 05:12:05 -06:00
justcool393
f4f03f6582
all seeing eye: rework reddit notifs a bit ( #445 )
...
* all seeing eye: rework reddit notifs a bit
this should be more reliable and catch more of these when they're sent
* fix reddit notifs to properly use fewer queries
2022-11-13 06:00:05 -05:00
justcool393
f63237a9a2
fix ratelimit user to work with apps
2022-11-13 02:36:36 -06:00
justcool393
aa272729f1
default ratelimit and default ratelimit slower
2022-11-13 00:43:47 -06:00
justcool393
1e25421ac9
fixed deduplication and changed to 30/minute per @TLSM
2022-11-13 00:20:19 -06:00
justcool393
80d7d5281d
ratelimit_user() wrapper
2022-11-13 00:07:15 -06:00
Aevann1
983e8b21d1
update android app
2022-11-12 19:56:54 +02:00
Aevann1
eca45ecf16
update app url
2022-11-12 16:47:12 +02:00
justcool393
3569c06ce2
add .video
2022-11-12 05:05:08 -06:00
justcool393
8d1052105e
consistency
2022-11-12 03:39:05 -06:00
justcool393
619c0c837f
keep yourself safe
2022-11-12 03:38:38 -06:00
Aevann1
3ff9cd448f
adjust babe97e6d8
2022-11-12 11:29:08 +02:00
justcool393
dd3c8c6a32
visual fix: 37 is 00 but users don't know that
2022-11-12 03:09:42 -06:00
Aevann1
0796a17422
switch from hcaptcha to turnstile
2022-11-11 20:34:06 +02:00
Aevann1
9147427996
do what snekdaddy said
2022-11-11 20:01:23 +02:00
Aevann1
d5ab813499
dont give offsite notifs from redditors with "Bot" in the name
2022-11-11 19:18:41 +02:00
Aevann1
1a2138004d
ping idio whenever telegram is mentioned
2022-11-11 17:34:20 +02:00
Aevann1
05b7e79b76
remove the code i added for rdrama.com
2022-11-11 15:52:18 +02:00
justcool393
0cf37cfe5f
fix for worker timeout
2022-11-11 04:19:44 -06:00
justcool393
f5912bb4cc
we don't need bloody bs4 to get a bloody title
2022-11-11 04:19:43 -06:00
Aevann1
0a21411ee8
make "cocky" not get switched to "peepeey"
2022-11-11 11:41:07 +02:00
Aevann1
f07bb9e4c5
add lawlz to ping list
2022-11-11 11:32:54 +02:00
Aevann1
31edfa61f3
add transgirltradwife to boosted users
2022-11-11 11:31:32 +02:00
official-techsupport
babe97e6d8
Add Carp's quote to Snappy on CC posts ( #443 )
2022-11-11 03:45:28 -05:00
justcool393
dc5481128d
very important change
2022-11-10 23:27:52 -06:00
Snakes
803ce06712
Sanitize more intermediate values.
...
Frankly, this is almost entirely speculative. I don't see any viable
exploits through either of these codepaths. But automated tooling
doesn't see the implicit constraints on these values, so might as well
do more sanitization.
2022-11-10 23:17:25 -05:00
Snakes
8ab77eb0ee
Disable non-cosmetic awards on ghost posts.
...
Per poll result: https://rdrama.net/post/79285/-/3049889
Permits cosmetics and pin/unpin to be used; disables all others.
2022-11-09 18:07:23 -05:00
Aevann1
867f129b35
remove pizza-autovote leftovers
2022-11-09 23:28:45 +02:00
Aevann1
c066227d2b
remove pizza autovote
2022-11-09 23:27:16 +02:00
Aevann1
922a8e09c4
add /h/changelog to boosted holes
2022-11-09 23:07:46 +02:00
Aevann1
5cc833cf7a
boost sneks and jc
2022-11-09 23:06:38 +02:00
Aevann1
41e39a5c35
add impassionata to ping list
2022-11-09 22:59:10 +02:00
Aevann1
e40c9014c2
add pizza to boosted_users
2022-11-09 22:54:41 +02:00
Aevann1
d85ac23c3c
add BOOSTED_USERS
2022-11-09 22:53:24 +02:00
Aevann1
9e6324d7ca
remove ajax.cloudflare.com from CSP
2022-11-09 21:49:50 +02:00
Aevann1
321f32da34
add pizzashill to ping list
2022-11-09 21:13:34 +02:00
Aevann1
282762bef8
increase vamp award duration from 1 day to 2 days (but dont advertise that this time)
2022-11-09 21:09:38 +02:00
Aevann1
4f491d5ef7
reduce chud award cost from 2500 to 1000 (but not advertising that this time)
2022-11-09 21:08:25 +02:00
Aevann1
c8b4947fa4
tweak rdrama algo
2022-11-09 21:02:17 +02:00
Aevann1
d545548139
add 2 more boosted domains
2022-11-09 19:17:25 +02:00
Snakes
4f849c2c36
Fix userpage hat counter showing equipped.
...
Essentially, just needed to not reuse owned_hats.
2022-11-09 10:32:14 -05:00
Snakes
ebb3957f41
Eager load submission listing relationships.
2022-11-09 09:16:22 -05:00
Snakes
f1ceb5b079
Respect upper bound on award quantity.
2022-11-09 04:15:19 -05:00
justcool393
ffd9c73566
reduce slur filter down to necessary ones and partially implement what fish wants ( closes #432 )
...
signed off by snekfriend
2022-11-09 00:05:56 -06:00
justcool393
26549a6e66
remove logged out routes ( #433 )
...
* remove /logged_out/ routes
* update sitemap, remove users route, and update header
* cloudflare cookie
* only mess with the cookie whenever we desire auth
* sitemap: (small) improvements
sitemap: fix little bug i introduced
sitemap: fix login redirects for /id/ routes
* sitemap: remove duplicate entry
* contact is auth desired
* imports: don't import what we don't need and bind late to the db
* praying to god this works
* keep yourself safe
* oh i actually need to commit and push lol
* import Sub
* t
* refix cache purger
2022-11-09 00:35:24 -05:00
Aevann1
c76bfa5ffc
fix 3 permapin limit not working
2022-11-08 11:41:16 +02:00
Aevann1
d146c595dd
add 2 more boosted sites
2022-11-08 10:08:10 +02:00
Aevann1
9f1061fedb
fix clearing cf cache
2022-11-08 10:08:10 +02:00
Aevann1
f2b4c527a4
amerikkka -> ameriKKKa
2022-11-08 06:26:35 +02:00
Snakes
c712fb4b9d
WPD: add POLL_THREAD.
2022-11-07 17:00:37 -05:00
Aevann1
09d14aca47
revert linefeed change on fish's request
2022-11-07 22:49:54 +02:00
Aevann1
f34c70c479
add 1 slur filter
2022-11-07 12:48:50 +02:00
Aevann1
8f59ab648a
add 3 more boosted sites
2022-11-07 09:27:10 +02:00
Snakes
7462477719
Owoify: exclude 'the' ↦ 'teh' replacement.
2022-11-07 02:23:15 -05:00
Aevann1
fd6176a948
remove "gosh"
2022-11-07 09:12:03 +02:00
Aevann1
7a8605ee4b
small change to slurs
2022-11-07 09:11:49 +02:00
justcool393
0fffa7efc0
rename truecoins to truescore
2022-11-06 23:04:34 -08:00
Aevann1
9b939b30a4
Revert "fixed 500"
...
This reverts commit ee4c534a92
.
2022-11-07 08:09:04 +02:00
Aevann1
5ee7eac502
fix root cause for 500
2022-11-07 08:08:53 +02:00
justcool393
ee4c534a92
fixed 500
2022-11-06 23:59:49 -06:00
Aevann1
a66add3897
make profanity filter actually usable
2022-11-07 07:35:20 +02:00
Aevann1
1adb6bf5f8
remove too estoric slurs
2022-11-07 07:21:34 +02:00
justcool393
a6227748a2
remove unused jinja constant
2022-11-06 20:06:37 -08:00
justcool393
cac2ef3160
patronage text
2022-11-06 20:06:37 -08:00
justcool393
d0462a1cc1
fix links for WPD
2022-11-06 20:06:37 -08:00
justcool393
657c00244a
sanitize, fix bug with update_flag, and update copy for low tsfriends
2022-11-06 20:06:37 -08:00
justcool393
502314ad3c
colors: filter properly
2022-11-06 20:06:37 -08:00
justcool393
4d2f429954
enable permanence code and fix some bugs with setting frontsize and some other things
2022-11-06 20:06:37 -08:00
justcool393
83fe77c039
settings: implement backend logic for permanent filters
2022-11-06 20:06:37 -08:00
justcool393
272e79b529
enable feature flag on testing environment
2022-11-06 20:06:37 -08:00
justcool393
72da55fd61
settings: implement front end for perma-filters
2022-11-06 20:06:37 -08:00
justcool393
3a989356dd
sorts and stuff
2022-11-06 20:06:37 -08:00
justcool393
32607ad058
settings: some changes and additions
...
settings: add theme
settings: move common controls to common
settings: add some consts
2022-11-06 20:06:37 -08:00
Snakes
1eaebd2ea1
Extend special API comment display to bussy-bot.
2022-11-06 19:49:50 -05:00
Aevann1
fbddf3e59c
fix snappy gambling
2022-11-07 02:08:50 +02:00
Aevann1
bbfb18da9a
change clearing cache terminology
2022-11-06 07:28:47 +02:00
justcool393
1d85fbe470
errors: exempt WPD from cutesy error messages
2022-11-06 00:25:22 -05:00
Snakes
38c3ba3889
Fix hole inactivity deletion to include subactions.
2022-11-06 01:08:24 -04:00
Snakes
9f7adb2614
Fix recent CPU spikes from image encoding.
...
Certain animated images take an exceedingly long time (~minutes) to
encode to WEBP using method=6. Such a file was obtained, and it
encoded significantly faster using method=5 and somehow turned out
smaller than the result generated with method=6. We switch now to
use method=5 so we stop getting occasional massive increases in
CPU load when multiple users upload animations at the same time.
Additionally, a timeout was added to the ImageMagick subprocess just
in case there are even more pathological files in the future. Better
to error out than have to get someone to kill the process.
2022-11-06 00:48:54 -04:00
justcool393
84f3805aa6
don't use periods in profanities
2022-11-05 19:16:29 -05:00
justcool393
0e7a7307e4
stats: add time
...
this is useful for knowing what anchor point stats is bound to
2022-11-05 19:15:13 -05:00
justcool393
3343b8487d
stats: rename `comments last_24h` to `comments last 24h`
2022-11-05 19:01:18 -05:00
justcool393
67189af6ec
add palestinian
2022-11-05 18:34:04 -05:00
carp
f03a34b308
filter and error message updates
...
removed unnecessary \W nonsense from profanity filter wherever possible, covered verb conjugations that could lead to spelling errors when filtered, added a few new rdrama-specific slurs filters, touched up a few error messages
2022-11-05 16:20:52 -07:00
Aevann1
d76fe63c7f
constantify image extensions and fix imgur .gif bug
2022-11-05 23:01:23 +02:00
Aevann1
5efdc43be5
fix 500 errors JC caused with a completely unnecessary refactor
2022-11-05 16:14:52 +02:00
justcool393
927e5a7cee
snappy: fix weird missing line
2022-11-05 02:19:57 -05:00
justcool393
c6675ff037
houses: make price a constant
...
houses: warn founders that switching houses will delete their founder status
2022-11-05 01:00:02 -05:00
Aevann1
299dbceeeb
only add reason if there's a reason
2022-11-05 04:48:04 +02:00
Aevann1
f37707805e
fix lawlz flair
2022-11-05 04:24:33 +02:00
justcool393
0943ee064c
rename is_cosmetic to cosmetic
2022-11-04 21:22:30 -05:00
justcool393
81ed8cfc81
awards: make cosmetic awards give 10% of the price to the recipient
2022-11-04 21:16:23 -05:00
Aevann1
47b89df619
change the chud theme terminology to a verb instead
2022-11-05 04:12:21 +02:00
Aevann1
bb6173f899
fix profanity filter
2022-11-04 20:48:52 +02:00
justcool393
3f457333b5
profanity: per fish request disable profanity filter everywhere but rdrama
...
feel free to revert this or whatever if discussed
2022-11-04 08:43:59 -05:00
justcool393
d2cb3caa54
revert prev commit
2022-11-03 22:54:14 -05:00
justcool393
0f462ba951
remove duplicate ping
2022-11-03 22:53:44 -05:00
justcool393
3301feb1a1
fix women who love women
2022-11-03 20:59:10 -05:00
justcool393
efceebf730
fix issue when you type in clbackside
2022-11-03 20:57:59 -05:00
justcool393
48f47935d6
nigga -> neighbor
2022-11-03 19:28:05 -05:00
carpathianflorist
87071b927c
slur, profanity, shibboleth upgrade
...
xoxo carp
2022-11-03 16:59:38 -07:00
justcool393
12fbe686d5
don't use regex in the slur filters for now
...
it doesn't work
2022-11-03 18:33:56 -05:00
justcool393
bf448a557e
fix *another* 500
2022-11-03 18:22:47 -05:00
justcool393
bed478276d
fix carp 500
2022-11-03 18:21:24 -05:00
justcool393
23c5a2ddb5
handle case where is None
2022-11-03 18:14:55 -05:00
justcool393
118a58c104
fix matches (PCRE uses weird 1 indexing)
2022-11-03 18:11:22 -05:00
justcool393
c6b1d90dd8
fix 500... again
2022-11-03 18:05:11 -05:00
justcool393
731c0cc83c
fix 500 and add r*pe to the bad words filter
2022-11-03 18:03:30 -05:00
justcool393
5f8a27636e
fix prev commit
2022-11-03 18:01:12 -05:00
justcool393
339d5fe8f1
users: add profanity filter to censor our gosh darned potty mouthes
2022-11-03 17:59:18 -05:00
Aevann1
6b068de522
remove insane bloat
2022-11-03 21:23:37 +02:00
Aevann1
07a12380de
accomodate alt domain
2022-11-03 17:29:14 +02:00
Aevann1
f151e2accd
stop fucking messing with my code, I had it at "4" for a reason
2022-11-03 17:24:30 +02:00
justcool393
753178a186
subs: fix exile behavior
2022-11-02 19:47:07 -05:00
Snakes
a310d43b10
Fix DMs not checking blocks.
2022-11-02 16:23:01 -04:00
justcool393
de30ee0ed4
kys
2022-11-02 14:33:31 -05:00
Snakes
ee315f236b
Revert "reduce chud award price from 2500 to 500"
...
This reverts commit e794eb93a7
.
2022-11-02 15:20:26 -04:00
Aevann1
bd779abc6e
go back to the old TLD system in sanitize
2022-11-02 09:08:02 +02:00
Aevann1
f73c6d46df
accomodate rdrama.com users
2022-11-02 08:31:04 +02:00
Aevann1
086643bf79
give_monthly_marseybux_task fixes
2022-11-02 08:19:25 +02:00
Aevann1
a2eaece906
verify patron level before giving monthly marsybux
2022-11-02 07:54:38 +02:00
Aevann1
1c536de93d
add commas to stats
2022-11-02 07:06:01 +02:00
Aevann1
17038e31da
remove 2 useless stats that took 3 and 9 seconds respectively
2022-11-02 06:59:23 +02:00
Aevann1
0008acbabe
make /stats slightly faster
2022-11-02 06:50:18 +02:00
Aevann1
d575abe1a7
Revert "debug /stats"
...
This reverts commit daf5fd9359
.
2022-11-02 06:45:17 +02:00
Aevann1
daf5fd9359
debug /stats
2022-11-02 06:32:38 +02:00
Aevann1
7a103d5143
fix 500 error
2022-11-02 05:23:46 +02:00
justcool393
69f3db9d27
marsify: fix marsify message
2022-11-01 20:12:52 -05:00
justcool393
26e134793a
newlines make @TLSM happy
2022-11-01 19:00:03 -05:00
justcool393
6caebac946
actions: move user-only actions to useractions, which gets rid of a circular dependency
2022-11-01 18:46:56 -05:00
justcool393
cd33fa9046
slots: fix numerous bugs with slots
...
slots: fix missing imports (x2)
slots: fix other user errors being returned to a potentially completely unrelated user
for example if Snappy was under the rehab effect and it pulled the slot, it'd abort and potentially cause other bugs down the chain, which makes no sense to a user or could leave a post in a wonky state
2022-11-01 18:03:53 -05:00
Aevann1
da5cc4093f
make snappy gamble again
2022-11-02 00:40:22 +02:00
justcool393
02efc44682
pins: reintroduce bug/feature at @Aevann1's request
...
the old behavior was actually to let admins bypass the limit, but this was buggy when the new multi pin thing was added and wouldn't let jannies make permapins if pins were at the limit
to make the code clear though, the permission name has been changed
2022-11-01 15:14:11 -05:00
Snakes
c95f5a537a
Fix "Copy link" action not including domain.
2022-11-01 06:06:45 -04:00
justcool393
6d636e4e42
use charge_account everywhere
2022-11-01 00:25:19 -05:00
Aevann1
972578e74a
allow poetrysperg to skip the linefeeds thing
2022-11-01 02:04:37 +02:00
Aevann1
7eaf257ca0
add 2 extra boosted domains
2022-10-31 22:33:06 +02:00