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
justcool393
ff84f32e45
make stats charts tight
2022-10-23 10:46:03 -05:00
justcool393
c8324f87ff
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-23 10:07:14 -05:00
justcool393
09e5bb6b03
ping me with jc and off site mention update
2022-10-23 10:06:59 -05:00
Aevann1
14b0d77f7a
reduce normal cosmetic awards from 500 back to 300
2022-10-23 16:41:57 +02:00
Aevann1
834f70fd2d
only check duplicates for banners, sidebar images, and badges
2022-10-23 11:27:40 +02:00
Aevann1
c8f24eab1b
fix videos
2022-10-23 10:57:13 +02:00
Aevann1
0f4462ca5b
increase pin limit to 4 on WPD
2022-10-23 10:48:24 +02:00
justcool393
a2c16534a4
admin pings: truescore requirement and exclude shadowban and make a permission
2022-10-22 19:45:15 -05:00
Aevann1
c4103cfaf4
add @jannies to notify all jannies
2022-10-23 01:50:56 +02:00
Aevann1
27c1970575
add a "!" in PCM welcome message
2022-10-23 01:02:31 +02:00