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
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
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
b1924e0cdf
don't bother try checking invalid urls
2022-11-11 23:40:17 -06:00
Aevann1
0796a17422
switch from hcaptcha to turnstile
2022-11-11 20:34:06 +02:00
Aevann1
7f2630f4c3
increase chat limit from 100 msgs to 500 (yolo or smth)
2022-11-11 19:19:24 +02: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
fc19b1a23e
make the block number accurate for holes with stealth mode
2022-11-11 17:00:56 +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
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
37068acadf
exclude ('space', 'istory', 'dino') from hole nerf
2022-11-11 11:40:31 +02: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
Aevann1
fd3edf51c9
minor bool change
2022-11-11 06:46:14 +02:00
Aevann1
254798d0d4
fix 500 error in WPD/PCM
2022-11-11 06:43:02 +02: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
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
Aevann1
368b575716
add a comment in votes.py explaining my motivation
2022-11-09 22:56:27 +02:00
Aevann1
d85ac23c3c
add BOOSTED_USERS
2022-11-09 22:53:24 +02:00
Aevann1
0060a326d7
allow ppl to link discord media in DMs
2022-11-09 21:33:16 +02:00
Aevann1
6694585434
make ghost threads free again
2022-11-09 21:19:29 +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
c8b4947fa4
tweak rdrama algo
2022-11-09 21:02:17 +02:00
Aevann1
780e0f85f1
fix 500 error
2022-11-09 19:58:32 +02: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
ebb3957f41
Eager load submission listing relationships.
2022-11-09 09:16:22 -05:00
geese-suck
462e3421b5
organize templates ( #435 )
...
dude file management lmao
2022-11-09 01:11:46 -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
8b1f76f727
add hole actions notifs for hole mods
2022-11-08 15:49:43 +02:00
Aevann1
aaa98b9290
sneed
2022-11-08 12:43:53 +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
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
justcool393
2c043d20e7
css fix
2022-11-07 21:40:11 -06:00
Aevann1
3f4a568d32
fix permachudding
2022-11-08 05:37:18 +02: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
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
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
bf260330df
only show profile-pinned posts in the default sort
2022-11-07 13:27:42 +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
3b49535c4a
make 3 more buttons instant
2022-11-07 08:26:41 +02:00
Aevann1
ce6998bd6e
make shadowbanned, banning, chudding from the userpage work without refreshing the page
2022-11-07 08:08:53 +02:00
justcool393
c6e3df3340
settings: fix NSFW toggle
2022-11-06 23:45:21 -06:00
Aevann1
07f4383d4c
unmarked as chud -> unchudded
2022-11-07 07:44:09 +02:00
Aevann1
99a44f461c
fix chud badge not being given
2022-11-07 07:43:25 +02:00
justcool393
1a30d6ccad
blocks: don't check for blocks on the route midway through creating a post
...
blocks: short circuit with admin check (can avoid a query in some cases)
2022-11-06 23:24:23 -06:00
Aevann1
14b19ac950
add two words to the message
2022-11-07 07:15:46 +02:00
justcool393
771f1972aa
fix custom filters
2022-11-06 22:50:45 -06:00
justcool393
af696a2f9c
verified fixes again
2022-11-06 22:31:38 -06:00
justcool393
0c7d8f0da1
fkjdhfkjdhfdkjfhdkf
2022-11-06 20:06:37 -08:00
justcool393
424e9bc0ae
sanity check
2022-11-06 20:06:37 -08:00
justcool393
54fecd99e5
fix poor, fix 500, sanitize fun stuff
2022-11-06 20:06:37 -08:00
justcool393
7de3bb064c
make API message better
...
also make unchecking the box hide the permalink
2022-11-06 20:06:37 -08:00
justcool393
57df202cfa
don't disable flags
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
c2350d36bf
add patronage message and message for when it's enabled permanently
2022-11-06 20:06:37 -08:00
justcool393
06736dfb75
fix badge id
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
d26294de5c
don't attempt to set the filter if not in the request
2022-11-06 20:06:37 -08:00
justcool393
edc969e2cd
use /settings/personal instead of /settings/profile
2022-11-06 20:06:37 -08:00
justcool393
78c53c1954
debug
2022-11-06 20:06:37 -08:00
justcool393
c10b3e4262
fix prev commit
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
72da55fd61
settings: implement front end for perma-filters
2022-11-06 20:06:37 -08:00
justcool393
511ed26574
settings: add new settings pages to API
...
settings: remove old settings pages from API
settings: delete unused settings template
2022-11-06 20:06:37 -08:00
justcool393
6e0fd23ba3
settings: rework settings frontend
2022-11-06 20:06:37 -08:00
Aevann1
507dc83ecd
will someone pls kill me
2022-11-07 05:16:14 +02:00
Aevann1
ea101e77c5
give /h/cowtown perma-progstack
2022-11-07 04:14:45 +02:00
Aevann1
a664d19c37
rename 2 modlog actions
2022-11-07 03:47:27 +02:00
Aevann1
b526f6cc21
apply the realupvotes manipulation logic in rdrama only, since its the only site that uses realupvotes anyway
2022-11-07 03:35:46 +02:00
Aevann1
5111eb7ca4
exclude /h/changelog from hole filter
2022-11-07 03:18:54 +02:00
Aevann1
5a61907268
Revert "extend the holes filter to pinned posts"
...
This reverts commit ba031b09be
.
2022-11-07 03:15:42 +02:00
Aevann1
4c5c583c4d
sneed
2022-11-07 03:13:57 +02:00
Aevann1
ba031b09be
extend the holes filter to pinned posts
2022-11-07 02:59:17 +02:00
Aevann1
e3fb1b8871
fix 500 erro
2022-11-07 02:55:12 +02:00
Snakes
1eaebd2ea1
Extend special API comment display to bussy-bot.
2022-11-06 19:49:50 -05:00
Aevann1
e6d008e455
remove unnecessary tab character
2022-11-07 02:47:12 +02:00
Aevann1
acb8719236
slightly throttle posts in most holes to account for follower pings giving them an unfair advantage over unholed posts
2022-11-07 02:46:48 +02:00
Aevann1
2fe10e9644
replace cc toggle with holes toggle
2022-11-07 02:44:31 +02:00
Aevann1
87cf4d13ff
add cc post search parameter
2022-11-07 02:22:06 +02:00
Aevann1
fbddf3e59c
fix snappy gambling
2022-11-07 02:08:50 +02:00
Aevann1
d616086dbd
fix logic for duplicate posts in localhost
2022-11-07 01:48:37 +02:00
Aevann1
0aa27a926b
small fix to /h/social and /h/music logic
2022-11-07 01:43:50 +02:00
justcool393
8f1700a3c5
WPD: front: partially fix next page bug (increase counter to 101 so that we know about any next pages)
...
- the next page but still is there but this may fix it in some cases
WPD: front: fix bug that makes posts not show up when viewing a hole
2022-11-06 02:31:28 -06:00
Aevann1
a6f79e78d2
remove the "if True"
2022-11-06 08:33:29 +02:00
Aevann1
ba144f026e
last-ditch attempt, killing myself if this one fails
2022-11-06 08:30:53 +02:00
Aevann1
12ceae5677
stop spamming console
2022-11-06 08:21:58 +02:00
Aevann1
9a1d88b22a
time for print-debugging
2022-11-06 08:20:45 +02:00
Aevann1
842b971602
trying to fix /h/social limit
2022-11-06 08:18:58 +02:00
Aevann1
bbfb18da9a
change clearing cache terminology
2022-11-06 07:28:47 +02:00
Aevann1
1ec5de2fcf
Revert "WPD: remove vestigial social and music filer code"
...
This reverts commit bb1658e0a0
.
2022-11-06 07:18:28 +02:00
Aevann1
d76fe63c7f
constantify image extensions and fix imgur .gif bug
2022-11-05 23:01:23 +02:00
Aevann1
7fc3488854
add 4 more boosted holes
2022-11-05 16:07:53 +02:00
justcool393
c2ae13363b
fix 'none' sanity check from previous commit
2022-11-05 03:42:48 -05:00
justcool393
260091eaee
assets: fix issue noted in 77e5da55ef
...
as it is, this is a backend issue. unforunately, there's no way in the UI that shows the name, image, or current tags, so that's why we insert it into the page
this change brings two ways to keep the current tag
as a sanity check: this also makes it so that you can't tag stuff as the string None
2022-11-05 03:37:03 -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
justcool393
1008c3b71f
houses: don't allow users to pick the same house
2022-11-05 00:49:12 -05:00
justcool393
dc1975fc61
users: filter shadowbanned from leaderboard
...
some of the non-simple leaderboards still have them in there, oh well
2022-11-05 00:33:18 -05:00
Aevann1
471147080f
make award message better
2022-11-05 05:56:01 +02:00
Aevann1
c1937a67c4
fix 0.0001 days being displayed as "0 days"
2022-11-05 05:06:33 +02:00
Aevann1
299dbceeeb
only add reason if there's a reason
2022-11-05 04:48:04 +02:00
justcool393
a84c6b6b24
fix text
2022-11-04 21:30:33 -05:00
justcool393
0943ee064c
rename is_cosmetic to cosmetic
2022-11-04 21:22:30 -05:00
Aevann1
f924f88821
make "unshadowban" button work instantly
2022-11-05 04:16:43 +02:00
justcool393
81ed8cfc81
awards: make cosmetic awards give 10% of the price to the recipient
2022-11-04 21:16:23 -05:00
Aevann1
87d5a0de46
improve ban modal and add chud modal
2022-11-05 04:12:22 +02:00
Aevann1
ab9c0288fb
make "unban user" button in userpage work instantly
2022-11-05 04:12:22 +02:00
Aevann1
5ef2b41d5e
change chud theme terminology
2022-11-05 04:12:21 +02:00
justcool393
7c385c222f
fix previous commit
2022-11-04 18:51:42 -05:00
Snakes
ac36b35588
Fix hat submission for some animated images.
2022-11-03 20:56:35 -04:00
justcool393
7f7180ea05
assets: fix *another* 500
2022-11-03 19:49:44 -05:00
justcool393
e639a8b870
assets: fix 500 for submitting marseys and hats
2022-11-03 19:42:58 -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
justcool393
984eff3476
user lists: don't show shadowbanned users on grassed and agendaposter page to people who can't see them
2022-11-03 03:33:37 -05:00
justcool393
6eec00285f
users: fix bug where is_following isn't set for private users
2022-11-03 03:18:34 -05:00
justcool393
0b3fae81d6
's
2022-11-03 02:16:01 -05:00
justcool393
4a252e9699
security: fix CSRF on internal cache dump route
...
move dumping internal cache to admin tools
2022-11-02 20:35:46 -05:00
justcool393
09f76d917d
permissions: check if user can dump internal cache before attempting to do it
2022-11-02 20:22:22 -05:00
justcool393
753178a186
subs: fix exile behavior
2022-11-02 19:47:07 -05:00
justcool393
9ba1e96268
fix prev commit
2022-11-02 19:30:00 -05:00
justcool393
c4469bf811
flags: make users unable to move their posts out of /h/chudrama
...
this required refactoring the entire thing so it didn't become with really really bad chain of ors that would span like 3000 miles
2022-11-02 19:24:00 -05:00
justcool393
5566fddbaa
asset submissions: fix ImportError
2022-11-02 18:54:01 -05:00
Snakes
a310d43b10
Fix DMs not checking blocks.
2022-11-02 16:23:01 -04:00
Aevann1
f73c6d46df
accomodate rdrama.com users
2022-11-02 08:31:04 +02:00