Aevann1
78deb9d6f0
make an event listener be on window instead of an element
2022-11-18 21:34:56 +02:00
Aevann1
b4448ae926
remove unnecessary arrow functions
2022-11-18 21:34:38 +02:00
Aevann1
446ef58c2c
sneed
2022-11-18 21:20:17 +02:00
Aevann1
ce24c24e1d
put js files not made by us in a folder
2022-11-18 21:16:44 +02:00
Snakes
2075311901
html_head: fix page title on signup, login, others.
2022-11-18 14:10:48 -05:00
Snakes
ce84861a44
admin_home: add git HEAD to server status.
2022-11-18 14:05:47 -05:00
SneedBot
3e8712cd1d
sneed
2022-11-18 18:39:58 +00:00
Aevann1
bd3b0047b8
remove unnecessary <span>
2022-11-18 08:56:33 -08:00
Aevann1
b7cf10d7f6
increase container bottom padding from 50px to 100px
2022-11-18 08:37:47 -08:00
justcool393
2218cb55f1
mbux printer: unify with API requirement
2022-11-18 09:31:59 -06:00
justcool393
b60febf6e0
awards: award printing cleanup
2022-11-18 09:30:17 -06:00
Aevann1
4ec307a209
fix random ":"
2022-11-18 07:25:58 -08:00
Aevann1
f6fd64af08
css change
2022-11-18 07:19:51 -08:00
justcool393
255d5b2453
security: fix mute bypass
...
modmail: constantify user ID
2022-11-17 16:50:06 -06:00
justcool393
12881388d6
notifications: ignore notifications
2022-11-17 16:35:08 -06:00
justcool393
2c27b75b7a
remove unnecessary imports
2022-11-17 15:44:29 -06:00
justcool393
49e2e73b9a
fix 500 with subs
2022-11-17 15:25:10 -06:00
justcool393
2bfb2c04a4
fix error in error handler
2022-11-17 15:20:36 -06:00
Snakes
0597347c76
html_head: fix syntax error.
2022-11-17 16:18:43 -05:00
geese-suck
47658f2897
clean up html head ( #461 )
...
* init (not done)
* asdf
* :marseymop:
* unnecesary
* remove
* Update html_head.html
2022-11-17 16:08:39 -05:00
SneedBot
4c68647373
sneed
2022-11-17 21:02:40 +00:00
justcool393
83963470e8
user can_view functions ( #460 )
...
* user: move can_see_to user class
* stub out can_see in comments and posts
* make can_see a classmethod so it's usable for loggedoutfriends
* test
* kill me now
* threelargeclassesmating
* dfdfdfdfdfdfd
* sdsdsdsd
* classmethod should be above i think
* Revert "classmethod should be above i think"
This reverts commit df1772eb9e7e71bf7b89123f6277b648de2b1af3.
* Revert "Revert "classmethod should be above i think""
This reverts commit 32883406c2e2916fc6c436611376a1817c16cb84.
* test rewritnig thing
* go home python
* what the fuck python
* fix AttributeError
* sdsdsdsdsdsd
* lazy and user and stuff
* test
* Revert "test"
This reverts commit 45af5bb3d45f3ec17126ab117d494ec978062a38.
* merge
* newline
* test
* test 2
* Revert "test"
This reverts commit 196dae677e2ee8cd29261c93dcb747087cb399b6.
* revert test
* fix merge error
* fix import error ciruclation i think
* sdsd
* add type annotations back
* deleted_utc
* isinstance
* user_can_see in jinja and remove unnecessary things
* a bunch of stuff
remove can_see from comment and post
expand can_see to messages
* antiannoyingamountsofwhitespace
* fix for chudrama
* improve prev
2022-11-17 16:02:08 -05:00
justcool393
d80fa23409
kofi: decide whether to load in __init__
...
this unifies some of the logic with how we load classes
2022-11-17 14:00:19 -06:00
justcool393
5b03c2535a
kofi: fix rare 500. don't attempt to activate via kofi on sites where it's not enabled
...
this can cause a weird 500
2022-11-17 13:55:07 -06:00
justcool393
8414cec5d5
kofi: don't let "blahblahblah" be considered a valid token
2022-11-17 11:12:32 -06:00
justcool393
caf3a81748
remove unnecessary fstrings
...
(or actually use the feature)
2022-11-17 10:01:03 -06:00
gooseman
fa9290a794
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-11-16 23:19:17 -08:00
gooseman
a345f7c128
restore non-nuked banners
2022-11-16 23:19:14 -08:00
SneedBot
c6144afc9b
sneed
2022-11-17 02:10:28 +00:00
justcool393
be58d2f849
emojis: add opperblink
2022-11-16 13:36:02 -06:00
Aevann1
62ef32c9c5
Update votes.py
2022-11-16 21:00:18 +02:00
Snakes
0c0cad0723
banners: use a class, only style correct elements.
...
Selecting on the alt attribute is unstable and creates a non-obvious
coupling to maintain. Also it inadvertently affected the shop banners
and some elements in settings.
2022-11-16 12:07:23 -05:00
Snakes
7feddc42f0
Unify template helpers and macros, fix header.
...
The need for sidebars to have access to macros.random_image means
all templates that include header.html (most templates) need to have
access to `macros`, because header.html includes sidebar_{SITE_NAME}.
Because of how sparse helpers was, we instead unify the two and
replace it since I know we had helpers in every top-level template.
2022-11-16 12:07:23 -05:00
Snakes
d7d8220a3f
Ensure PCM BANNER_THREAD works.
2022-11-16 12:07:23 -05:00
gooseman
2b4634f857
fix link opening lol
2022-11-16 12:07:23 -05:00
gooseman
16e23e6f54
make banners not retarded + increase future scalability
2022-11-16 12:07:20 -05:00
justcool393
eba6625b81
casino: procoins -> mbux
2022-11-16 10:14:46 -06:00
justcool393
86459cdf24
chat: show mop tools to those with proper perms
2022-11-16 08:38:20 -06:00
justcool393
d1197bac82
chat: sanitize raw body
2022-11-16 08:00:04 -06:00
justcool393
f1bfb87243
chat: permission for mute bypass
2022-11-16 07:00:03 -06:00
justcool393
5b313dd13d
hats: only load routes if feature flag enabled
2022-11-16 06:52:16 -06:00
justcool393
ee8df1e3f1
chat: mops are unmutable
2022-11-16 06:38:24 -06:00
Aevann1
b8ceccd78f
fix weird tabs
2022-11-16 12:52:11 +02:00
Aevann1
07a76e0ffd
exclude me from offsitementions
2022-11-16 10:34:48 +02:00
SneedBot
93fdc3212e
sneed
2022-11-16 06:20:48 +00:00
justcool393
1559de125c
add error handler
2022-11-15 23:36:56 -06:00
justcool393
1565d9ca26
use abort(410) instead of the old message.html template
2022-11-15 23:32:57 -06:00
SneedBot
219029f8a3
sneed
2022-11-16 00:29:13 +00:00
Snakes
a9eb7bcd57
Fix submission repost link escaping.
2022-11-15 19:28:21 -05:00
justcool393
57b4d586ad
don't explicitly set cookies for localhost
2022-11-15 16:22:50 -06:00
justcool393
e1634d0940
modals: move all modals to a modals dir
2022-11-15 17:15:53 -05:00
justcool393
5dedde4691
admin: move admin pages to admin dir
2022-11-15 17:15:53 -05:00
justcool393
ee8ad10fac
fix 500 on IntegrityError
2022-11-15 15:12:36 -06:00
justcool393
519a9f91f8
signup: don't accidentally leak *what* validation error it was
2022-11-15 12:59:38 -06:00
justcool393
711518d942
don't redirect to /signup page if registrations are closed
2022-11-15 12:56:57 -06:00
justcool393
01e18dc28b
remove unnecessary checks
...
* in post_reset even if get_account could return a None, it'd 500 anyway
* lmao even in get reset (why is this done twice anyway?)
2022-11-15 11:11:22 -06:00
justcool393
b2f5cf92d0
change msg to be more clear
2022-11-15 10:56:40 -06:00
justcool393
b95ee0864e
fix 2fa bug
2022-11-15 10:56:04 -06:00
justcool393
3d7737387c
use default config vlaue const everywhere
2022-11-15 10:55:00 -06:00
justcool393
adf22b494a
sub relationship class ( #456 )
...
* sub relationships
* abstract = True
* fix
* fix spelling mistake
2022-11-15 11:05:42 -05:00
Aevann1
532ebd3ac8
standardize g.db behavior
2022-11-15 17:39:00 +02:00
Aevann1
f1288ba991
fix https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3080531?context=8#context
2022-11-15 17:29:45 +02:00
justcool393
3df53c63c9
alts: don't count deleted alts
2022-11-15 09:21:12 -06:00
Aevann1
7ace77b2a7
minor css change
2022-11-15 17:17:58 +02:00
Aevann1
b130139f3d
sneed
2022-11-15 16:55:21 +02:00
Aevann1
4dbc4096d3
remove weird variable
2022-11-15 16:45:18 +02:00
Aevann1
aeb10e1ec6
exclude /r/SubSimGPT2Interactive
2022-11-15 16:44:08 +02:00
Aevann1
6d607a6f59
give ppl a message when they change their settings sucessfully
2022-11-15 16:33:21 +02:00
Aevann1
8c849bef65
add 2 more boosted sites
2022-11-15 16:33:20 +02:00
justcool393
9b734a8e3a
fix ghost
2022-11-15 08:21:37 -06:00
Aevann1
1f16140367
use cloudflare icon
2022-11-15 15:54:24 +02:00
justcool393
a9ebe37e61
sddsdsd
2022-11-15 06:52:17 -06:00
justcool393
3fba55b4ae
fix unread 500
2022-11-15 06:51:48 -06:00
justcool393
08b88ef89b
we don't need requests
2022-11-15 05:38:37 -06:00
justcool393
022a81a4b9
remove unnecessary feature_required flags, moving them to the routes import
2022-11-15 05:37:53 -06:00
Snakes
1e931b4d05
Fix clear_cloudflare_cache modlog icon.
2022-11-15 06:30:20 -05:00
justcool393
b2d0671734
merge fix: remove a couple of unnecessary from flask import *s
2022-11-15 05:28:45 -06:00
Snakes
b50a815eb0
Fix DB session for webm_to_mp4.
2022-11-15 06:24:17 -05:00
justcool393
781daeed2f
fix thumbnail thread redux i think
2022-11-15 04:57:49 -06:00
justcool393
60748e4135
add TODO for migration of old comments
2022-11-15 04:43:19 -06:00
Snakes
604321512e
Fix userpage listing sort order (merge error?).
2022-11-15 05:40:16 -05:00
justcool393
168e5d04b9
give the thumbnail thread their own db_session
2022-11-15 04:34:35 -06:00
Snakes
e896aaa1f7
Fix comment rendering when pin.level > 1.
2022-11-15 05:29:47 -05:00
justcool393
26c725b2cd
fix comment bug
2022-11-15 03:31:37 -06:00
justcool393
4b9c702877
fix listing bugs
2022-11-15 03:28:39 -06:00
justcool393
8f2f48d6d1
[DO NOT MERGE] import detanglation ( #442 )
...
* move Base definition to files.classes.__init__.py
* fix ImportError
* move userpage listing to users.py
* don't import the app from classes
* consts: set default values to avoid crashes
consts: warn if the secret key is the default config value
* card view: sneed (user db schema)
* cloudflare: use DEFAULT_CONFIG_VALUE
* const: set default values
* decouple media.py from __main__
* pass database to avoid imports
* import cleanup and import request not in const, but in the requests mega import
* move asset_submissions site check to __init__
* asset submissions feature flag
* flag
* g.is_tor
* don't import request where it's not needed
* i think this is fine
* mail: move to own routes and helper
* wrappers
* required wrappers move
* unfuck wrappers a bit
* move snappy quotes and marseys to stateful consts
* marsify
* :pepodrool:
* fix missing import
* import cache
* ...and settings.py
* and static.py
* static needs cache
* route
* lmao all of the jinja shit was in feeds.py amazing
* classes should only import what they need from flask
* import Response
* hdjbjdhbhjf
* ...
* dfdfdfdf
* make get a non-required import
* isort imports (mostly)
* but actually
* configs
* reload config on import
* fgfgfgfg
* config
* config
* initialize snappy and test
* cookie of doom debug
* edfjnkf
* xikscdfd
* debug config
* set session cookie domain, i think this fixes the can't login bug
* sdfbgnhvfdsghbnjfbdvvfghnn
* hrsfxgf
* dump the entire config on a request
* kyskyskyskyskyskyskyskyskys
* duifhdskfjdfd
* dfdfdfdfdfdfdfdfdfdfdfdf
* dfdfdfdf
* imoprt all of the consts beacuse fuck it
* 😭
* dfdfdfdfdfdfsdasdf
* print the entire session
* rffdfdfjkfksj
* fgbhffh
* not the secret keys
* minor bug fixes
* be helpful in the warning
* gfgfgfg
* move warning lower
* isort main imports (i hope this doesn't fuck something up)
* test
* session cookie domain redux
* dfdfdfd
* try only importing Flask
* formkeys fix
* y
* :pepodrool:
* route helper
* remove before flight
* dfdfdfdfdf
* isort classes
* isort helpers
* move check_for_alts to routehelpers and also sort imports and get rid of unused ones
* that previous commit but actkally
* readd the cache in a dozen places they were implicitly imported
* use g.is_tor instead of request.headers. bla bla bla
* upgrade streamers to their own route file
* get rid of unused imports in __main__
* fgfgf
* don't pull in the entire ORM where we don't need it
* features
* explicit imports for the get helper
* explicit imports for the get helper redux
* testing allroutes
* remove unused import
* decouple flask from classes
* syntax fix also remember these have side fx for some reason (why?)
* move side effects out of the class
* posts
* testing on devrama
* settings
* reloading
* settingssdsdsds
* streamer features
* site settings
* testing settings on devrama
* import
* fix modlog
* remove debug stuff
* revert commit 67275b21ab6e2f2520819e84d10bfc1c746a15b6
* archiveorg to _archiveorg
* skhudkfkjfd
* fix cron for PCM
* fix bugs that snekky wants me to
* Fix call to realbody passing db, standardize kwarg
* test
* import check_for_alts from the right place
* cloudflare
* testing on devrama
* fix cron i think
* shadow properly
* tasks
* Remove print which will surely be annoying in prod.
* v and create new session
* use files.classes
* make errors import little and fix rare 500 in /allow_nsfw
* Revert "use files.classes"
This reverts commit 98c10b876cf86ce058b7fb955cf1ec0bfb9996c6.
* pass v to media functions rather than using g
* fix
* dfdfdfdfd
* cleanup, py type checking is dumb so don't use it where it causes issues
* Fix some merge bugs, add DEFAULT_RATELIMIT to main.
* Fix imports on sqlalchemy expressions.
* `from random import random` is an error.
* Fix replies db param.
* errors: fix missing import
* fix rare 500: only send to GIFT_NOTIF_ID if it exists, and send them the right text
* Fix signup formkey.
* fix 2 500s
* propagate db to submissions
* fix replies
* dfdfdfdf
* Fix verifiedcolor.
* is_manual
* can't use getters outside of an app context
* don't attempt to do gumroad on sites where it's not enabled
* don't attempt to do gumraod on sites's where it's unnecessary
* Revert "don't attempt to do gumroad on sites where it's not enabled"
This reverts commit 6f8a6331878655492dfaf1907b27f8be513c14d3.
* fix 500
* validate media type
Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-15 03:19:08 -06:00
SneedBot
4a05910161
sneed
2022-11-14 22:27:45 +00:00
Snakes
2d6cb193c0
Audio post minor improvements.
...
- Make clear on post submission that users can upload audio.
- Fix a missing closing </div> that was breaking submission.html
on audio posts.
2022-11-14 17:26:39 -05:00
justcool393
2b733e667e
make 429 less bitchy on WPD
2022-11-14 13:24:30 -06:00
justcool393
893d968950
errors: make WPD errors less bitchy
2022-11-14 13:23:45 -06:00
justcool393
239b9c30b4
wpd: fix 413
2022-11-14 13:16:38 -06:00
Aevann1
7db62212e0
change shirt color in megathread index
2022-11-14 21:06:04 +02:00
Snakes
80953c698e
PCM: add banners to rotation.
2022-11-14 12:44:30 -05:00
Aevann1
0b44e4f41e
restore v2.6 version of the app for rdrama
2022-11-14 19:32:57 +02:00
justcool393
c9ecb5d535
account linking improvements ( #448 )
...
currently account delinking is very messy and can sometimes just not work
we do codey stuff so it's not as bad
also we create a pretty page for mops to mop up borked account links
* alts: allow proper delinking
* fix prev commit
* url fix
* fix 500
* fixes
* :pepodrool:
* flag
* :pepodrool: redux
* sdsdsdsds
* correct endpoint
* fix html page
* alts: only adjust session history if flag is set
* fix 500
* allow relinking
* fsdsds
* :pepodrool: redux
* alts: don't fail if an alt isn't history
* use postToastSwitch + some API changes
* remove unnecessary variables
* d-none
* delink accounts mod action
* fa-link-slash
* alts: add form to create alt
* remove copied and pasted template
* rounded section
* UI improvement + fix
* \n
* fix status
* admin: remove duplicate route
admin: do a permissions check on 2 pages that need it
admin: set the manual flag for manually flagged alts
* variable change
* fix 500
* alts
* add shadowban icon to alt link tool
* shadowbanned tooltip
* add user info section
* fix 500, remove unnecessary form, and add alt votes button
* trans and also link to page
* margin
* sdsdsd
* stop the count
* fix prev commit
* with ctx
* plural
* alts
* don't show shadowbanned users to those who can't see them
this is... extremely rare and won't ever be seen in production however if perms were ever rearranged in the future, this keeps permissions correct
* shadowban check in alt list
* let shadow realm enthusiasts see shadowban alts
* sdsdsds
* test
* be graceful where needed
* sdsdsdsds
* alts: don't allow adding the same account
alts: clarify wording
* rename and reorder on admin panel
* EOL
* remove frankly unnecessary check
* try with a set
* test
* Revert "try with a set"
This reverts commit 72be353fba5ffa39b37590cc5d3bf584c94ee06e.
* Revert "Revert "try with a set""
This reverts commit 81e41890a192e8b46d0463477998e905fddf56ba.
* Revert "Revert "Revert "try with a set"""
This reverts commit be51592135a3c09848f993f0154bd2ac862ae505.
* clean up test
2022-11-14 12:32:13 -05:00
justcool393
271977cc6f
remove ghost cost
2022-11-14 11:22:10 -06:00
justcool393
cbe328e933
submit thing
2022-11-14 11:20:34 -06:00
justcool393
000b4f4c37
can post in ghost threads
2022-11-14 11:20:34 -06:00
Aevann1
2ab126ef33
adjust "mute" and "unmute" margins to accomodate switching
2022-11-14 19:06:59 +02:00
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
Aevann1
41ab1f313c
move feature_required wrappers up
2022-11-14 18:14:47 +02:00
justcool393
d3aea510f8
remove base 36 crap
2022-11-14 10:10:16 -06:00
Snakes
4aedbc9b2e
Fix imports for sub move frontlist invalidation.
2022-11-14 04:14:41 -05:00
Aevann1
58c4db0399
change casino ratelimit
2022-11-14 08:20:19 +02:00
Aevann1
ac8c1d524d
"moved into cc" -> "marked as cc"
2022-11-14 07:49:23 +02:00
Aevann1
e83be235ba
delete frontpage cache when moving posts
2022-11-14 07:49:23 +02:00
Aevann1
dc23016f17
fix capitlization
2022-11-14 07:49:23 +02:00
justcool393
1ae4613d6d
remove bug
2022-11-13 22:03:51 -06:00
justcool393
df992db1db
signups: notify me on signups
2022-11-13 22:01:02 -06:00
justcool393
84d9ed6655
antispam: sanity check
2022-11-13 21:48:52 -06:00
justcool393
79e6d237c1
fix shadow API leak
2022-11-13 20:52:46 -06:00
Snakes
b5b8b2927c
Expand blackjack handling pipeline.
2022-11-13 21:43:26 -05:00
Snakes
6169c02c89
Fix f6dea300b
for logged-out users.
2022-11-13 21:12:08 -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
justcool393
c5bf7b33c5
add created_utc
2022-11-13 18:21:19 -06:00
Snakes
cc8f2d1a6e
Restrict permabanned editing content.
2022-11-13 19:00:55 -05: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
f6dea300b0
Adjust shadowed comment visibility.
...
- Don't show shadowed comments to non-jannies in notifications.
- Auto-collapse for jannies in notifs/threads.
2022-11-13 17:13:14 -05:00
justcool393
994ca902ca
uploads: fix paste to upload on firefox
2022-11-13 08:16:42 -06:00
Snakes
d3f25739f0
Fix ratelimit_user on 3 routes, make proper dec.
2022-11-13 07:25:57 -05:00
justcool393
24678ab7af
reorder buttons per pool
2022-11-13 06:18:09 -06:00
Snakes
dd912addd1
chat: allow dev envs, clarify error message.
2022-11-13 06:43:08 -05:00
justcool393
d7f07dcd67
chat: allow club users into chat as well
2022-11-13 05:37:53 -06: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
Snakes
8fee66c894
Reorder decorators to support f63237a9a2
.
...
Ultimately necessary because otherwise all bots share rate limits
with each other. The somewhat haphazard ordering of decorators bothers
me, but it's functionally required.
Approaches using request context (like reading the Authorization
header in ratelimit_user) likely produce bugs all their own.
2022-11-13 05:18:52 -05:00
justcool393
f63237a9a2
fix ratelimit user to work with apps
2022-11-13 02:36:36 -06:00
justcool393
775f0d0717
no step on jc
2022-11-13 01:02:25 -06:00
justcool393
aa272729f1
default ratelimit and default ratelimit slower
2022-11-13 00:43:47 -06:00
SneedBot
a84a20a12b
sneed
2022-11-13 06:21:09 +00:00
justcool393
1e25421ac9
fixed deduplication and changed to 30/minute per @TLSM
2022-11-13 00:20:19 -06:00
justcool393
7f36637b54
test
2022-11-13 00:11:56 -06:00
justcool393
80d7d5281d
ratelimit_user() wrapper
2022-11-13 00:07:15 -06:00
justcool393
f6842a13e4
links
2022-11-12 20:58:28 -06:00
justcool393
538497eb55
antispam: hook up duplicate checker
2022-11-12 20:48:33 -06:00
SneedBot
e809758a75
sneed
2022-11-13 02:37:45 +00:00
Snakes
5ce62245b1
Adjust modmail anti-spam.
2022-11-12 21:37:33 -05:00
Snakes
e027909357
Fix notification count with muted modmails.
2022-11-12 16:56:40 -05:00
Snakes
e90226d712
PCM: add banners to rotation.
2022-11-12 16:21:35 -05:00
Aevann1
d9887838bd
upload app_devrama
2022-11-12 20:21:11 +02:00
Aevann1
cf40574b7d
remove double spaces
2022-11-12 20:02:02 +02:00
Aevann1
983e8b21d1
update android app
2022-11-12 19:56:54 +02:00
Aevann1
42dfcdd735
margin change
2022-11-12 19:24:35 +02:00
SneedBot
9f5ac22723
sneed
2022-11-12 15:06:59 +00:00
Aevann1
82e32f8004
Revert "minor margin fix"
...
This reverts commit cbde66d8b9
.
2022-11-12 17:06:50 +02:00
Aevann1
eca45ecf16
update app url
2022-11-12 16:47:12 +02:00
SneedBot
4a9305999c
sneed
2022-11-12 14:45:36 +00:00
Aevann1
05326c3755
restore pull-to-refresh on mobile app
2022-11-12 16:40:31 +02:00
justcool393
fd1b7d98bb
voting in the shadow realm fixes
2022-11-12 07:55:16 -06:00
Aevann1
6b3c4048b5
add a space between 2 functions
2022-11-12 14:11:44 +02:00
Aevann1
4df96767ba
count patron votes as real always
2022-11-12 14:11:28 +02:00
Aevann1
0f9bde0d7b
sneed
2022-11-12 14:10:32 +02:00
Aevann1
ccca9a7684
minor adjustment for modal margins on mobile
2022-11-12 14:01:33 +02:00
Aevann1
31e6ca0889
fix pinned comments logic
2022-11-12 13:33:18 +02:00
justcool393
3569c06ce2
add .video
2022-11-12 05:05:08 -06:00
justcool393
3c8559d741
contact: make mute button red like on userpage
2022-11-12 05:03:01 -06:00
Aevann1
b2cbb68652
extend the joan blurb (I like it)
2022-11-12 12:59:36 +02:00
Aevann1
cbde66d8b9
minor margin fix
2022-11-12 12:49:30 +02:00
Aevann1
d249553e39
remove unnecessary margin from popover-badges
2022-11-12 12:47:47 +02:00
Aevann1
1de4b2098f
remove ugly scrollbar from popover
2022-11-12 12:46:51 +02:00
Aevann1
5cd354ceb3
fix prev commit
2022-11-12 12:44:13 +02:00
Aevann1
cadc1f507a
fix sizing of thin badge in popover
2022-11-12 12:42:11 +02:00
justcool393
1d063e39ab
awards: move sb check to be earlier to avoid a query in rare cases
2022-11-12 04:33:47 -06:00
Aevann1
8705a5f39a
Revert "try object-fit: contain for pfps instead "cover""
...
This reverts commit b9a9efcdf4
.
2022-11-12 12:32:31 +02:00
Aevann1
f9b673e33d
allowing adding bets via edit
2022-11-12 12:30:05 +02:00
justcool393
1608b3168a
awards: don't allow users to award messages
2022-11-12 04:29:07 -06:00
Aevann1
3f17624de6
validate poll options body_html length
2022-11-12 12:27:05 +02:00
justcool393
e3cd6c73f5
use the name styling the @Aevann1 likes
2022-11-12 04:24:08 -06:00
justcool393
c4c4076560
spider: fix bug that would instantly eat a spider award if someone was permanently spidered
2022-11-12 04:21:17 -06:00
Aevann1
5949e5983b
remove unused css rule
2022-11-12 12:19:28 +02:00
Aevann1
8eb989b339
remove duplicated css rule
2022-11-12 12:18:38 +02:00
Aevann1
b9a9efcdf4
try object-fit: contain for pfps instead "cover"
2022-11-12 12:18:27 +02:00
Aevann1
27a8fd4657
same as last commit
2022-11-12 12:11:46 +02:00
Aevann1
a9188f5dac
"This user" -> "@username"
2022-11-12 12:08:43 +02:00
Aevann1
1b162fb049
prevent ppl from wasting their progressive stack on boosted users
2022-11-12 12:07:58 +02:00
Aevann1
b37ebff403
revert prev commit and redo logic
2022-11-12 12:02:23 +02:00
Aevann1
6f30cdeee5
only limit /settings/kofi to subscriptions
2022-11-12 11:56:26 +02: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
Aevann1
18c7fb365e
move the logic for my prev commit to SQLalchemy
2022-11-12 11:24:05 +02:00
Aevann1
9b85fd5dd5
hide modmail messages from muted users in the main notifications tab (they still appear in the modmail tab)
2022-11-12 11:19:56 +02:00
Aevann1
42e40c1691
split off muting and unmuting
2022-11-12 11:11:34 +02:00
justcool393
dd3c8c6a32
visual fix: 37 is 00 but users don't know that
2022-11-12 03:09:42 -06:00
Aevann1
ccd2349d85
reduce badges size in popover from 20vh to 10vh
2022-11-12 10:52:34 +02:00
Aevann1
239d2e0c27
minor cosmetic fix
2022-11-12 10:16:52 +02:00
justcool393
9be721dcf4
send xhr header so errors don't give back HTML pages
2022-11-11 23:46:21 -06:00
justcool393
b1924e0cdf
don't bother try checking invalid urls
2022-11-11 23:40:17 -06:00
gooseman
d3b7f043c6
fix search page dropdown z-fighting
2022-11-11 11:54:48 -08:00
Aevann1
f81205a427
hide poll scores until the user votes
2022-11-11 21:02:57 +02:00
Aevann1
0796a17422
switch from hcaptcha to turnstile
2022-11-11 20:34:06 +02:00
Aevann1
4202187a83
fix console error
2022-11-11 20:32:06 +02:00
Aevann1
9147427996
do what snekdaddy said
2022-11-11 20:01:23 +02:00
Aevann1
7f2630f4c3
increase chat limit from 100 msgs to 500 (yolo or smth)
2022-11-11 19:19:24 +02:00
Aevann1
d5ab813499
dont give offsite notifs from redditors with "Bot" in the name
2022-11-11 19:18:41 +02:00
SneedBot
61f0fd265d
sneed
2022-11-11 17:04:48 +00:00
Aevann1
e28d26db2d
notify of flairs
2022-11-11 19:04:31 +02:00
Aevann1
ecf68caf20
(Mod) -> (/h/sub Mod)
2022-11-11 19:01:40 +02:00
Aevann1
dbd5c133bf
add :joan: secret emoji
2022-11-11 18:53:26 +02:00
Aevann1
486e5b7e07
add marsey.webp
2022-11-11 17:36:23 +02:00
Aevann1
1a2138004d
ping idio whenever telegram is mentioned
2022-11-11 17:34:20 +02:00
Aevann1
80d240a45b
show join date on popover
2022-11-11 17:22:10 +02:00
Aevann1
fc19b1a23e
make the block number accurate for holes with stealth mode
2022-11-11 17:00:56 +02:00
Aevann1
5b274c95c9
expand post-title field when editing
2022-11-11 16:47:51 +02:00
Aevann1
d95fdcbaaf
limit height of badges in popover to 20vh
2022-11-11 16:28:17 +02:00
Aevann1
8a8c55ed09
Revert "remove badges from popovers"
...
This reverts commit 39297b7c22
.
2022-11-11 16:25:28 +02:00
Aevann1
9bfbe44bf0
fix bug that made jannies not able to see removed posts in profiles
2022-11-11 16:22:20 +02:00
Aevann1
2795bf16cb
make it possible to click thro toasts
2022-11-11 16:15:59 +02:00
Aevann1
bac4745164
remove repeated ":not" from the css
2022-11-11 16:06:28 +02:00
Aevann1
208a5829bd
make pcm circle appear to poorcels
2022-11-11 16:03:21 +02:00
Aevann1
05b7e79b76
remove the code i added for rdrama.com
2022-11-11 15:52:18 +02:00
Aevann1
1b4856e20f
exclude slackernews from hole nerf
2022-11-11 15:37:40 +02:00
Aevann1
e0b6b67645
Revert "testing CF polish"
...
This reverts commit 656131cd29
.
2022-11-11 13:11:50 +02:00
SneedBot
641c6de46e
sneed
2022-11-11 10:56:34 +00:00
Aevann1
656131cd29
testing CF polish
2022-11-11 12:55:13 +02:00
justcool393
9f4d62d305
:)
2022-11-11 04:19:44 -06:00
justcool393
0cf37cfe5f
fix for worker timeout
2022-11-11 04:19:44 -06:00
justcool393
0c7eab0def
:pepodrool:
2022-11-11 04:19:43 -06:00
justcool393
f5912bb4cc
we don't need bloody bs4 to get a bloody title
2022-11-11 04:19:43 -06:00
Aevann1
d35dd7617c
add tags to a classic emoji
2022-11-11 11:41:44 +02:00
Aevann1
0a21411ee8
make "cocky" not get switched to "peepeey"
2022-11-11 11:41:07 +02:00
Aevann1
37068acadf
exclude ('space', 'istory', 'dino') from hole nerf
2022-11-11 11:40:31 +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
439b73d6ae
Make explicit submission flag behavior.
...
Main intention is to allow API users (bots) to benefit from the
defaults typically enforced clientside, and to generally be clearer
about what values do what.
2022-11-11 00:23:03 -05:00
gooseman
ee42d470dd
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-11-10 20:48:48 -08:00
gooseman
ede1e64084
fix gold/glow + pat
2022-11-10 20:48:42 -08:00
Aevann1
fd3edf51c9
minor bool change
2022-11-11 06:46:14 +02:00
SneedBot
902bb13cf1
sneed
2022-11-11 04:43:16 +00:00
Aevann1
254798d0d4
fix 500 error in WPD/PCM
2022-11-11 06:43:02 +02: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
gooseman
45409b94f0
fix chud visibility on classic theme
2022-11-10 09:48:04 -08:00
geese-suck
3d6a12a750
Merge pull request #444 from geese-suck/patch-4
...
improve submission listing spacing
2022-11-09 22:08:04 -08:00
gooseman
49e4e652fd
improve submission listing spacing
2022-11-09 21:56:50 -08:00
Snakes
e2682491ea
Update text of 0c279ca101e: Joan changed his mind.
2022-11-09 23:45:35 -05:00
Snakes
0c279ca101
Add disclaimer to sidebar (by Joan request).
2022-11-09 23:42:55 -05:00
Snakes
047571ae57
Revert "ranking: don't progstack every single post"
...
This reverts commit 7011c85313
.
2022-11-09 18:31:29 -05:00
justcool393
7011c85313
ranking: don't progstack every single post
2022-11-09 17:18:34 -06: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
876f1d48f1
extend BOOSTED_USERS to comments
2022-11-09 23:28:11 +02:00
Aevann1
c066227d2b
remove pizza autovote
2022-11-09 23:27:16 +02:00
Snakes
4f0f4412c0
Fix /submit not testing `ghost` as boolean.
2022-11-09 16:24:35 -05:00
gooseman
37dc4474bf
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-11-09 13:13:35 -08:00
gooseman
739ea81ca2
Update header.html
2022-11-09 13:13:26 -08: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
368b575716
add a comment in votes.py explaining my motivation
2022-11-09 22:56:27 +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
gooseman
0c48d4c7e2
hide duplicate buttons in tablet mode
2022-11-09 12:29:04 -08:00
Aevann1
a4141e52be
fix sidebar margins
2022-11-09 21:53:37 +02:00
Aevann1
9e6324d7ca
remove ajax.cloudflare.com from CSP
2022-11-09 21:49:50 +02:00
Aevann1
a4bf57ae0d
fix FP and pusher being triggered inside holes
2022-11-09 21:49:21 +02:00
Aevann1
0060a326d7
allow ppl to link discord media in DMs
2022-11-09 21:33:16 +02:00
Aevann1
170959c071
untick "notify followers" checkbox when "ghost thread" checkbox is ticked
2022-11-09 21:26:38 +02:00
Aevann1
a95d378cf6
perserve status of ALL checkboxes in /submit
2022-11-09 21:25:52 +02:00
Aevann1
6694585434
make ghost threads free again
2022-11-09 21:19:29 +02:00
Aevann1
321f32da34
add pizzashill to ping list
2022-11-09 21:13:34 +02:00
Aevann1
3e884d4548
increase popover width on mobile from 80% to 90%
2022-11-09 21:10:35 +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
380e91e9c4
remove chat stuff not used anymore
2022-11-09 21:06:43 +02:00
Aevann1
c8b4947fa4
tweak rdrama algo
2022-11-09 21:02:17 +02:00
Aevann1
5a10b849f8
show the hole name in sub modaction notifs
2022-11-09 20:23:59 +02:00
SneedBot
6433a90c80
sneed
2022-11-09 17:58:40 +00:00
Aevann1
780e0f85f1
fix 500 error
2022-11-09 19:58:32 +02:00
Aevann1
4bced848ee
same as last commit
2022-11-09 19:31:53 +02:00
Aevann1
78712da50b
better quoting behavior
2022-11-09 19:28:50 +02:00
Aevann1
f32e598a64
when u toggle textarea, make it fit the size of text in it
2022-11-09 19:23:21 +02:00
Aevann1
d545548139
add 2 more boosted domains
2022-11-09 19:17:25 +02:00
Snakes
8e2f76729e
Amend 4f849c2: remove forgotten print debug.
2022-11-09 10:37:54 -05: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
e0f43c3668
Remove is_nofollow from backend.
2022-11-09 10:05:36 -05:00
Snakes
4afa60dc81
Use database to filter hidevotedon directly.
...
We no longer need to build a list of potentially tens of thousands
of submission_ids in Python from the database to then pass back to
the database.
2022-11-09 09:57:51 -05:00
Snakes
c9aee3ebb8
Eager load badge_def with badge.
...
Removes N guaranteed queries when rendering a userpage for a user with
N badges. We need the badge_def to provide nearly all properties of a
Badge, and it's nearly free with a one-to-one on indexed columns.
2022-11-09 09:25:47 -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
Snakes
618c5dbde0
Deduplicate more code in awards.html.
2022-11-09 04:01:12 -05:00
Snakes
c1b371bf1e
Fix template import path from 462e3421b5
.
2022-11-09 02:34:18 -05:00
geese-suck
462e3421b5
organize templates ( #435 )
...
dude file management lmao
2022-11-09 01:11:46 -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
geese-suck
e672330614
simplify awards ( #434 )
2022-11-09 00:39:05 -05: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
39297b7c22
remove badges from popovers
2022-11-08 15:58:34 +02:00
Aevann1
17ebb4363a
cosmetic fix
2022-11-08 15:52:09 +02:00
Aevann1
8b1f76f727
add hole actions notifs for hole mods
2022-11-08 15:49:43 +02:00
Aevann1
4465061162
fix margin
2022-11-08 15:29:02 +02:00
Aevann1
aaa98b9290
sneed
2022-11-08 12:43:53 +02:00
Aevann1
dda1c88f4f
fix margins
2022-11-08 12:05:07 +02:00
Aevann1
9d22dbe92e
sneed
2022-11-08 12:01:30 +02: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
23a241f026
fix https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3040826?context=8#context
2022-11-08 10:08:09 +02:00
SneedBot
4052188062
sneed
2022-11-08 08:00:05 +00:00
Aevann1
8ff5c02bf5
higher margin between embed and body
2022-11-08 06:27:43 +02:00
Aevann1
f2b4c527a4
amerikkka -> ameriKKKa
2022-11-08 06:26:35 +02:00
Aevann1
e773e40a0d
style change in settings_css
2022-11-08 06:09:55 +02:00
Snakes
6236fb1248
Fix profilecss setting form identifiers.
2022-11-07 23:00:31 -05:00
justcool393
2c043d20e7
css fix
2022-11-07 21:40:11 -06:00
Aevann1
3f4a568d32
fix permachudding
2022-11-08 05:37:18 +02:00
Aevann1
bd8192781a
fix some margins
2022-11-08 05:37:17 +02:00
justcool393
d9c1b31bd6
correct form action too loll
2022-11-07 20:58:56 -06:00
justcool393
7a0fe8015e
css: redirect
2022-11-07 20:53:57 -06:00
justcool393
ddbe3de33b
remove catalog feature no one uses
2022-11-07 18:59:28 -06:00
Snakes
cb3d92c479
WPD: fix auto-login token validation call params.
2022-11-07 19:41:25 -05:00
Aevann1
807396648b
make :grillcastyes: transparent-transkids
2022-11-08 01:11:28 +02:00
Snakes
5e35342d2e
Fix Cloudflare imports identifier shadow.
...
Proximal reason for fix is that /admin/clear_cloudflare_cache resulted
in infinite recursion and a stack overflow because it tried to call
itself as `clear_cloudflare_cache` rather than hitting the function of
the same name in files.helpers.cloudflare.
2022-11-07 17:30:15 -05:00
Aevann1
efe168e2c2
increase max filename from 20 chars to 22 chars
2022-11-08 00:25:39 +02:00
Aevann1
8e3cf6774b
Revert "stop removing the last 2 characters of filenames (no clue why this is a thing)"
...
This reverts commit 530233796c
.
2022-11-08 00:21:03 +02:00
Aevann1
530233796c
stop removing the last 2 characters of filenames (no clue why this is a thing)
2022-11-08 00:17:11 +02:00
Snakes
c712fb4b9d
WPD: add POLL_THREAD.
2022-11-07 17:00:37 -05:00
Snakes
1aa2d949bf
PCM: enable multiple banners.
2022-11-07 16:40:43 -05:00
Aevann1
cc4c2774f1
fix this https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3038729?context=8#context
2022-11-07 23:38:49 +02:00
Aevann1
50bcc81f14
give user an error when they give invalid page input
2022-11-07 23:34:43 +02:00
Snakes
61957ba9ef
Fix /settings/namecolor data key to match frontend.
2022-11-07 16:15:25 -05:00
Aevann1
09d14aca47
revert linefeed change on fish's request
2022-11-07 22:49:54 +02:00
SneedBot
af96be1e77
sneed
2022-11-07 19:44:10 +00:00
Snakes
001bb6a3d0
Fix form data names for settings text fields.
2022-11-07 14:43:28 -05:00
Aevann1
016d009d3d
cosmetic fix in leaderboard
2022-11-07 14:08:59 +02:00
Aevann1
6a26e69f47
fix z-index
2022-11-07 13:34:07 +02:00
Aevann1
584bf34295
cosmetic fix
2022-11-07 13:30:44 +02:00
Aevann1
bf260330df
only show profile-pinned posts in the default sort
2022-11-07 13:27:42 +02:00
justcool393
a18c3cea20
fix "match the requested format"
2022-11-07 04:56:20 -06:00
Aevann1
ee77930fda
modify rdrama rules
2022-11-07 12:50:12 +02:00
Aevann1
c8a613389b
remove/modify js return statements
2022-11-07 12:49:49 +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
Aevann1
939011a839
small margin fix
2022-11-07 09:25:18 +02:00
Snakes
7462477719
Owoify: exclude 'the' ↦ 'teh' replacement.
2022-11-07 02:23:15 -05:00
Aevann1
8652f5aadd
restore bottom margin for WPD/rDrama sidebars
2022-11-07 09:21:22 +02: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
be2b4b6b59
apply perma progstack to /h/masterbaiters
2022-11-07 08:44:39 +02:00
justcool393
2a66ee7d04
shadowban
2022-11-07 00:41:23 -06:00
Aevann1
c915142089
make 1 more button instant
2022-11-07 08:32:30 +02:00
Aevann1
4b3b52013a
remove unnecessary parameter
2022-11-07 08:30:41 +02:00
Aevann1
3b49535c4a
make 3 more buttons instant
2022-11-07 08:26:41 +02:00
Aevann1
6c1c79ba44
remove insane indentation in a template
2022-11-07 08:26:37 +02:00
Aevann1
9b939b30a4
Revert "fixed 500"
...
This reverts commit ee4c534a92
.
2022-11-07 08:09:04 +02:00
Aevann1
ce6998bd6e
make shadowbanned, banning, chudding from the userpage work without refreshing the page
2022-11-07 08:08:53 +02:00