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
Aevann1
7eaf257ca0
add 2 extra boosted domains
2022-10-31 22:33:06 +02:00
Aevann1
1032a3193f
fix bug with deflection
2022-10-30 23:27:53 +02: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
Aevann1
9985e5c6f6
fix discord changelog channel
2022-10-30 02:43:55 +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
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
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
180163e05e
remove bad slur filter
2022-10-28 19:35:37 +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
b92aaa972e
remove 'aev' mentions
2022-10-25 18:20:26 +02:00
justcool393
d8070625d8
split hosts by comma
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
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
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
27c1970575
add a "!" in PCM welcome message
2022-10-23 01:02:31 +02:00
justcool393
c4b2c6f3f5
html head refactor ( #412 )
...
* start html head refactor
this is a bit of a doozy tbh and will probably take a while. the templates are very highly duplicated but not duplicated enough to be an easy little thing
oh well, so it goes.
* some easier html head ones
* add chat, html_head, sign_up_failed_ref, sign_up, submit
* CSP: put it in const.py instead of this weird thing we did before
* fix syntax error
* better call the actual macros
* fix prev commit
* import into settings2
* fix prev commit
* set CSP properly if localhost
* some title fixes i think
* login page
* fix prev commit
* hacky thing to get titles to work i think
* {{stylesheets()}}
* fix prev commit
* title stuff
* cries uncontrollably
* submission fixes i think
* fix prev commit i think
* submission fixes ekfjdhfkdjf
* submission fixes 4
* this may fix submissions idk tbh
* default template: make it a little better on post pages
* default template: some efficiency
2022-10-21 13:39:45 -05:00
Aevann1
81a929c2e1
on harpooner's request, allow hole jannies to exile JL3
2022-10-21 13:32:21 +02:00
justcool393
360cff7e8f
add post bypass checking perm
2022-10-20 17:51:29 -05:00
Snakes
9b81bc8a9d
WPD: expand post title editing to JL2+.
2022-10-20 10:42:52 -04:00
Aevann1
e4fb158125
update the WPD app
2022-10-19 23:42:27 +02:00
Aevann1
9efc0f0a68
unify email regex
2022-10-19 12:39:03 +02:00
Aevann1
b81eceead5
fix prev commit
2022-10-18 19:25:28 +02:00
justcool393
8a8efeaf75
ratelimiting: add 1/second to post ratelimit
2022-10-18 06:51:08 -05:00
Aevann1
cdfece62cf
decrease y'all seeing eye's price from 10k to 1k
2022-10-18 12:31:50 +02:00
Aevann1
001ff55980
small change to post_rate_limit (cuz it catches failed submissions)
2022-10-18 12:21:10 +02:00
Snakes
599cab7365
PCM: temporarily re-enable awards; some cleanup.
2022-10-17 21:55:07 -04:00
justcool393
95f4f42ed2
syntax
2022-10-17 14:34:23 -05:00
justcool393
30b51135c4
another one
2022-10-17 14:32:47 -05:00
justcool393
edc3b0c84e
co to tv
2022-10-17 14:32:05 -05:00
Aevann1
44fca7f086
ripbozo
2022-10-17 21:13:33 +02:00
justcool393
0e840a4ddb
add r/Drama to reddit notifications
2022-10-17 12:46:30 -05:00
Aevann1
80c5ed8428
fix slur filter
2022-10-17 19:18:51 +02:00
Aevann1
bf859b0e3a
sneed
2022-10-17 18:58:15 +02:00
Aevann1
ae7bc6dd9f
change name
2022-10-17 18:46:42 +02:00
Aevann1
9204b8bebd
remove rarely-seen slur filters
2022-10-17 10:32:58 +02:00
Snakes
dca21741c3
Discord removal: fix syntax error, asst'd cleanup.
2022-10-16 09:03:08 -04:00
justcool393
aa508fc076
remove discord
2022-10-16 05:42:52 -07:00
Aevann1
f2225e700a
change MAX_IMAGE_SIZE_BANNER_RESIZED_MB into MAX_IMAGE_SIZE_BANNER_RESIZED_KB
2022-10-15 12:37:55 +02:00
Aevann1
4f8f8db54f
reduce allowed size for banners/sidebar/badges from 1MB to 0.5MB
2022-10-15 12:13:23 +02:00
justcool393
419ed61dd3
discord ids as constants
2022-10-14 11:46:39 -07:00
justcool393
2dd74d3acd
don't constantly check for reposts when it's obvious there can't be one
...
we currently spam the /is_repost api on every single character change in the URL box even though there is no way these URLs would ever be submitted to the site
introducing a frankly conservative limit to where we start actually pinging both the api and (on the backend) the database for reposts may help in some cases
the current constant was chosen by taking the length of "http://" and adding 2 to it
2022-10-14 03:27:45 -07:00
justcool393
b92535c286
pings bypass permission
2022-10-12 02:36:29 -07:00
justcool393
96879894af
remove 417 (use 409) and reword 418 msg
2022-10-12 02:00:18 -07:00
justcool393
ca7fa50419
remove 414 and change 413 msgs
...
* use 413 for videos and put explanatory text there
* add style text for 413 as well
2022-10-12 01:52:08 -07:00
justcool393
dcd875c40c
max image and video size are constants now
...
* the error pages still need to be fixed
2022-10-11 23:27:17 -07:00
Snakes
baf0386d8c
PCM: re-enable gambling.
2022-10-12 02:08:20 -04:00
justcool393
501fbbf5d3
move antispam code to actions
2022-10-11 22:34:55 -07:00
justcool393
63215b8888
move messages to constant file and also remove special logic for PCM, instead opting to modify the constant instead
2022-10-11 08:40:19 -07:00
Aevann1
998b966f2b
remove unnecessary shit in wrappers
2022-10-11 15:19:55 +02:00
justcool393
01138ab592
bypass read only mode perm
2022-10-11 00:54:02 -07:00
Aevann1
30813fc719
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-10 11:06:32 +02:00
Aevann1
00b045c464
tweak env again
2022-10-10 11:06:27 +02:00
justcool393
f872f734ec
constantify a bunch of things
...
* sign up follow id is now a thing (if not specified will just msg carp instead)
* notification thread id is also a constant now
* blackjackbtz id is a constant, used for i think special PM handling
2022-10-09 23:37:42 -07:00
justcool393
87fd8ee57a
comment sanity checks and constantization
...
* make HTML body length a constant and use it
* abort before uploads and other tasks if comment level is too deep
* what a nightmare of two functions, please do better next time
2022-10-09 05:54:46 -07:00
justcool393
8ea52ba95c
constantify comment body length limit and transfer limit
2022-10-09 00:20:28 -07:00
Aevann1
b515b8bd15
change DOMAIN env var to SITE (for consistency)
2022-10-08 04:06:55 +02:00
Aevann1
cbbcbd570a
Revert "fix WPD"
...
This reverts commit 6750a156fd
.
2022-10-08 03:19:16 +02:00
Aevann1
6750a156fd
fix WPD
2022-10-08 03:14:54 +02:00
Aevann1
2a638f71c3
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-08 02:44:06 +02:00
Aevann1
cfd4b6399f
use mailgun again
2022-10-08 02:44:02 +02:00
Aevann1
aa8e7055fb
rework env vars a bit
2022-10-08 02:43:04 +02:00
Snakes
7ea61f423d
PCM: disable gambling; extend FEATURES['GAMBLING'].
2022-10-07 20:31:46 -04:00
justcool393
48384ba8e5
convert a couple of the old constantified permissions to the new system
...
i don't want to break something so i'm keeping one of them for now but it just links
2022-10-07 01:50:20 -07:00
justcool393
26fbf726a4
remove unused permission
2022-10-06 23:24:00 -07:00
justcool393
e372158729
Merge branch 'frost' into permissions-refactor
2022-10-06 19:05:42 -07:00
Aevann1
01071a20e8
add banner_thread to PCM
2022-10-07 03:32:08 +02:00
Aevann1
6bdb0d792b
fix my mentions
2022-10-06 21:52:57 +02:00
Aevann1
3cf838af29
fix thumbnails and add opera-proxy to docker
2022-10-06 21:07:45 +02:00
justcool393
d4b3e4ac5b
fix some stuff in the user page template including add mute to user page properly
2022-10-06 03:05:18 -07:00
justcool393
2b51b13dcc
user moderation tools visible permission
2022-10-06 02:37:41 -07:00
justcool393
eeca9617bd
post comment moderation tools visible permission
2022-10-06 02:33:46 -07:00
justcool393
8db6b3f7fd
improve POST_TO_CHANGELOG check
2022-10-06 02:09:46 -07:00
justcool393
397cf68abd
view vote buttons on user page
2022-10-06 01:14:32 -07:00
justcool393
8bed8c64e8
rearrange and rename a couple of permissions
2022-10-06 00:55:54 -07:00
justcool393
02d0e2043e
rename APPS_MODERATE to APPS_MODERATION
2022-10-06 00:40:36 -07:00
justcool393
6e33531be3
remove a _FOR_
2022-10-06 00:38:33 -07:00
Aevann1
79960d58be
ping me for "aev"
2022-10-06 09:33:47 +02:00