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
Aevann1
cc473795bf
make banned domains case insensitive
2022-10-31 16:33:11 +02:00
justcool393
b8542af64c
random fix
2022-10-30 20:10:33 -05:00
justcool393
2beef9f725
repost if you if you horse
2022-10-30 20:03:46 -05:00
Aevann1
df559c6af5
run archival through proxy
2022-10-31 02:05:53 +02:00
Aevann1
cdffb764bd
remove @jannies
2022-10-31 00:41:26 +02:00
Aevann1
c80e92f434
archive ghostarchive.org automatically
2022-10-31 00:39:37 +02:00
Aevann1
1032a3193f
fix bug with deflection
2022-10-30 23:27:53 +02:00
justcool393
d61eda8427
merge i think
2022-10-30 15:08:20 -05:00
Aevann1
62d3738e46
rename ADMIGGER variable to ADMIGGER_THREADS for clarity
2022-10-30 20:45:53 +02:00
Aevann1
6778ef14ad
diversity is our strength
2022-10-30 20:27:36 +02:00
Aevann1
915967ddd0
constantify BAN_EVASION_DOMAIN
2022-10-30 20:01:01 +02:00
Aevann1
b9c482712a
constantify file extensions
2022-10-30 16:55:43 +02:00
Aevann1
23883c530b
constantify TRUESCORE_DONATE_LIMIT
2022-10-30 16:18:42 +02:00
justcool393
b9f2a7123e
actions: move pizzashill autovotes to actions
2022-10-30 01:03:23 -05:00
Aevann1
9985e5c6f6
fix discord changelog channel
2022-10-30 02:43:55 +02:00
Aevann1
f09ec0ca17
restore slot gambling in comments
2022-10-30 02:36:23 +02:00
Aevann1
85abc39632
dedup converting game state to json
2022-10-30 02:32:40 +02:00
Aevann1
a18c2e24e9
fix bug in casino slots + change return value
2022-10-30 02:12:32 +02:00
justcool393
5f28a8f4e7
mottey drama is pretty good so yeah
2022-10-29 18:22:29 -05:00
Aevann1
c4063f081c
moved boosted sites to const.py
2022-10-30 00:53:42 +02:00
Aevann1
227d074da7
remove redundant "noreferrer"
2022-10-29 23:46:35 +02:00
Aevann1
06314f92b1
remove referrer from html tags
2022-10-29 23:42:30 +02:00
Aevann1
5b9a833926
fix fingerprinting
2022-10-29 23:28:33 +02:00
Aevann1
e794eb93a7
reduce chud award price from 2500 to 500
2022-10-29 19:12:39 +02:00
justcool393
3a6dfdf2de
listings: constantify PAGE_SIZE as 25
...
magic numbers are bad, do better next time
2022-10-28 22:20:48 -05:00
Aevann1
8517b85a49
replace "<BR>" with "<br>"
2022-10-29 04:07:43 +02:00
justcool393
1ee7ec323a
get lo user: fix 401 loop by clearing session on bad nonce
2022-10-28 20:07:39 -05:00
justcool393
35e2128dec
get: use function to get voted and blocked properties ( #425 )
...
* get: comments and posts: use get function from get.py
* fix prev commit
* move filter to correct place
* fix error and also log so i can figure out what's wrong
* comments: add some more trace logging
* should_keep_func always acts as return True if None is passed in
* remove logging code
2022-10-28 19:13:37 -05:00
Aevann1
5719688178
use tabs, not spaces
2022-10-29 01:39:31 +02:00
Aevann1
649fc2414d
disable adding admins on WPD
2022-10-29 00:14:59 +02:00
justcool393
cfeafea0d4
leaderboards: annotate the db param, fix posts and comments, and move const to const file, etc
2022-10-28 12:36:18 -07:00
Aevann1
fc6be1d959
per janny poll, make cosmetic awards 150 DC
2022-10-28 21:04:29 +02:00
Aevann1
b816973f38
ignore subdomains in banned_domains logic
2022-10-28 20:12:40 +02:00
Aevann1
180163e05e
remove bad slur filter
2022-10-28 19:35:37 +02:00
justcool393
68451513b0
get: use a single function to sanitize usernames
2022-10-27 21:39:57 -05:00
justcool393
ea46bafce2
get: List -> Iterable, we accept lists, sets, etc
2022-10-27 19:30:53 -07:00
justcool393
8a8e6f2233
get: functions to add blocks and vote properties
...
get: don't attempt to re-query if blocks or voted properties are already present
2022-10-27 19:30:53 -07:00
justcool393
16ba59d8b3
get: check stripped out names before querying the db and return None if graceful in other places
2022-10-27 19:30:53 -07:00
justcool393
5ff6fea4dc
get: add type annotations everywhere
2022-10-27 19:30:53 -07:00
justcool393
308e9cbbd6
get: remove weird vestigal load_parent part of get_comment
2022-10-27 19:30:53 -07:00
Aevann1
1a35e2ec6a
refactor banned domains
2022-10-28 00:37:29 +02:00
Aevann1
ad358650e1
remove retarded bullshit I wasn't consulted about
2022-10-27 19:53:08 +02:00
justcool393
c6d3f2a582
antispam: make bypass ids a set
2022-10-26 22:28:21 -05:00
justcool393
03cf8038f3
security: log invalid password attempts for admins
...
security: reduce login ratelimits from 1/second ->1/10 seconds
security: reduce login ratelimits from 200/hr -> 100/hr
security: reduce login ratelimits from 1000/day -> 500/day
2022-10-26 13:31:17 -05:00
justcool393
548f2613c7
pinprovements
2022-10-25 17:48:10 -05:00
Aevann1
e182ddc738
fix orientation (thx sneks my love)
2022-10-25 22:19:16 +02:00
Aevann1
16c7c07e7d
stop changing extension
2022-10-25 22:01:38 +02:00
Aevann1
100f546f67
strip metadata
2022-10-25 21:58:02 +02:00
Aevann1
3eb364b143
restore -coalesce
2022-10-25 21:00:09 +02:00
Aevann1
75ee126b61
specify method in imagemagick
2022-10-25 20:48:45 +02:00
Aevann1
0119c2b424
specify quality in imagemagick
2022-10-25 20:45:32 +02:00
Aevann1
b92aaa972e
remove 'aev' mentions
2022-10-25 18:20:26 +02:00
Aevann1
b9d998bdbe
use imagemagick in all cases
2022-10-25 17:41:23 +02:00
Aevann1
3b16c8f3e3
close image files after ur done
2022-10-25 17:41:23 +02:00
justcool393
d8070625d8
split hosts by comma
2022-10-24 15:28:43 -07:00
gooseman
67826a52e0
remove hw
2022-10-24 15:28:43 -07:00
gooseman
8b98eabbb9
simultaneous hosts
2022-10-24 15:28:43 -07:00
justcool393
67a6676bf8
env: don't crash the server if TELEGRAM_LINK isn't present
2022-10-24 15:58:23 -05:00
justcool393
0f8ecd48dc
antispam: add antispam bypass
2022-10-24 12:27:25 -05:00
justcool393
dbb7296dd7
stickies: allow JL2 to sticky post
...
stickies: unpin on removal
stickies: don't allow removed posts to be stickied
2022-10-23 17:17:49 -05:00
Snakes
7e4b35bc78
Disable Homoween awards on frost.
2022-10-23 17:53:12 -04:00
Snakes
1496f43ba6
Port Homoween 2022 awards into frost const.
2022-10-23 17:49:12 -04:00
justcool393
0a9e7b3ef4
lawlzposts: don't allow unpin awards
...
lawlzposts: disable if pins feature flag is off
2022-10-23 12:14:27 -05:00
justcool393
ec1affcf85
posts: add MasterLawlz specific actions
2022-10-23 12:01:00 -05:00