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
Aevann1
111c9ab208
fix this https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3007141?context=8#context
2022-11-02 05:22:16 +02: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
Aevann1
141ec98c06
small dedup in asset_submissions
2022-11-02 00:27:42 +02:00
justcool393
7d80483f67
alts: only change session data if new include_current_session flag is set
2022-11-01 16:58:42 -05:00
justcool393
89d5428f77
bans: don't leak shadowbans to people who can't see them
2022-11-01 15:59:18 -05:00
justcool393
651cd60aa2
marsify: make marsify awards last a day
2022-11-01 15:33:00 -05:00
justcool393
2fed50cb46
not post.stickied_utc
2022-11-01 15:19:35 -05:00
justcool393
f665941e16
pins: use variable instead of recomputing again
2022-11-01 15:15:29 -05: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
justcool393
d5812096af
voting: allow voting to cause a user's DC balance to go negative
2022-11-01 12:50:01 -05:00
justcool393
1e9f9564dc
commentsaverelationship
2022-11-01 12:19:21 -05:00
justcool393
62e171c09a
fix mbux -> coins
2022-11-01 03:54:02 -05:00
justcool393
6d636e4e42
use charge_account everywhere
2022-11-01 00:25:19 -05:00
justcool393
905b070437
twentyone: ratelimits: put a once per 2 seconds ratelimit to patch up race conditions
2022-11-01 00:04:55 -05:00
justcool393
769f20852b
features: use AWARDS feature for awarding, not badges
2022-10-31 23:53:27 -05:00
justcool393
67b56fb743
users: fix comments page
2022-10-31 23:37:29 -05:00
Snakes
d7aaa33c7f
Formalize unpurchasable hats.
2022-10-31 23:38:10 -04:00
Aevann1
e7e667f56f
fix undeflectable awards being vaporized
2022-11-01 02:11:44 +02:00
justcool393
b17ea4fd37
awards: only restrict admins if award feature flag set
2022-10-31 18:11:49 -05:00
Aevann1
48775dbb5d
disallow jannies from undoing ban awards
2022-11-01 01:05:02 +02:00
Aevann1
cc473795bf
make banned domains case insensitive
2022-10-31 16:33:11 +02:00
Aevann1
88e7f30f04
make !SLOTS work too
2022-10-31 02:20:50 +02:00
Aevann1
1032a3193f
fix bug with deflection
2022-10-30 23:27:53 +02:00
justcool393
4ff2a55ed2
fix prev
2022-10-30 15:36:30 -05:00
justcool393
d61eda8427
merge i think
2022-10-30 15:08:20 -05:00
Aevann1
e50e2fcae8
fix prev commit
2022-10-30 20:47:49 +02:00
Aevann1
62d3738e46
rename ADMIGGER variable to ADMIGGER_THREADS for clarity
2022-10-30 20:45:53 +02:00
Aevann1
aec5f96a7b
changes to donation flow
2022-10-30 20:43:06 +02:00
Aevann1
6778ef14ad
diversity is our strength
2022-10-30 20:27:36 +02:00
Aevann1
8dd9045a33
allow distinguishing other ppl's comments
2022-10-30 17:32:54 +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
d1e35e4afe
fix prev commit
2022-10-30 02:37:31 -05:00
justcool393
cd60a11180
users: add the previous improvements to comments
2022-10-30 02:36:50 -05:00
justcool393
7f716a6e72
users and search: add status codes
2022-10-30 02:33:42 -05:00
justcool393
5d2f4d203b
users: add is_visible_to function for checking user visibility to a certain other user
2022-10-30 02:31:21 -05:00
justcool393
68deff8f60
users: is_following adjustments
...
users: move is_following check to part of the user model itself
users: also don't query followers if the username is wrong and we're redirecting anyway
2022-10-30 02:19:49 -05:00
justcool393
8a3be91c04
users: procoins feature required to be able to transfer mbux
2022-10-30 02:10:21 -05:00
justcool393
27738ef7c9
add type annotations and fix prev commit
2022-10-30 02:07:37 -05:00
justcool393
9bf1ac689c
users: fix bug that would steal coins or mbux if they entered a reason that was too long
...
users: refactor transfer_currency into its own thing
2022-10-30 02:05:02 -05:00
justcool393
b9f2a7123e
actions: move pizzashill autovotes to actions
2022-10-30 01:03:23 -05:00
Aevann1
f09ec0ca17
restore slot gambling in comments
2022-10-30 02:36:23 +02:00
Aevann1
a18c2e24e9
fix bug in casino slots + change return value
2022-10-30 02:12:32 +02:00
Aevann1
47ac6e12db
small grammar change
2022-10-30 01:53:09 +02:00
Aevann1
cb8706ec6b
small fix to /live
2022-10-30 01:33:23 +02:00
Aevann1
9335dfd92a
small fix to /live
2022-10-30 01:29:24 +02:00
Aevann1
c4063f081c
moved boosted sites to const.py
2022-10-30 00:53:42 +02:00
Aevann1
eb2adf4dc2
add more boosted sites
2022-10-30 00:52:38 +02:00
Aevann1
21aff0976b
add more boosted sites
2022-10-30 00:49:53 +02:00
Aevann1
3bc248fe07
fix small bug in /live
2022-10-30 00:19:01 +02:00
Aevann1
d7091c4799
force posts by PERMA-chudded users to go to /h/chudrama
2022-10-30 00:17:16 +02:00
Aevann1
ea2bd29a47
fix d9ef62b9c6
2022-10-30 00:16:58 +02:00
Aevann1
f687d0e1ee
convert /live code from greek to englsh
2022-10-30 00:10:35 +02:00
Aevann1
227d074da7
remove redundant "noreferrer"
2022-10-29 23:46:35 +02:00
Aevann1
3bd8384c05
fix stray space
2022-10-29 23:37:01 +02:00
Aevann1
d9ef62b9c6
prevent ppl from wasting their chud awards
2022-10-29 23:34:40 +02:00
Aevann1
5230e8e7f8
remove code that excluded me from deflector effect
2022-10-29 22:19:50 +02:00
Aevann1
5201b1bc5a
boost unusual drama sources
2022-10-29 19:20:59 +02:00
justcool393
e6ce4edbd8
templates: remove redundant badge_remove template
...
templates: fix badge admin template when removing a badge
2022-10-29 01:08:29 -05: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
justcool393
4ded76741d
move get_saves_and_subscribes to their own thing
2022-10-28 22:04:09 -05:00
Aevann1
0339016567
fix /live
2022-10-29 04:20:23 +02: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
58912b124a
display "@" before account name in failed login attempt
2022-10-28 22:25:35 +02:00
Aevann1
f41b09cc07
small change to /admin/app
2022-10-28 22:13:58 +02:00
justcool393
f5b40ebbbc
leaderboard: qol: link to relevant user pages for posts and comments
2022-10-28 12:36:18 -07:00
justcool393
fb727ac40c
lambda fns
2022-10-28 12:36:18 -07: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
justcool393
d6f1f3c070
fix prev commit redux
2022-10-28 12:36:18 -07:00
justcool393
8873171f5c
leaderboards: refactor leaderboards to their own class
...
right now, leaderboards are complex enough that they ought to be upgraded to at least a second class thing.
this commit provides an *okay* implementation of a per-request leaderboard
there are many things to be done, including caching, persistence, etc
i don't like this like 80 parameter __init__ but it's what i've got without overengineering it imo
this is potentially already overdoing it
2022-10-28 12:36:18 -07:00
justcool393
76855fed36
fix prev commit redux
2022-10-28 12:36:18 -07:00
justcool393
5ec48141bb
fix prev commit
2022-10-28 12:36:18 -07:00
justcool393
ff639ce94b
i wish the person who wrote the initial version of this leaderboard code a very lovely day
...
i definitely don't want to cry myself to sleep because of this god awful mess
it's a little bit better now though
<3
2022-10-28 12:36:18 -07:00
Aevann1
449c8b51cb
Revert "add another ratelimit by username"
...
This reverts commit 4385bafa85
.
2022-10-28 20:25:14 +02:00
Aevann1
4385bafa85
add another ratelimit by username
2022-10-28 20:22:51 +02:00
Aevann1
e1dc790165
tighten from 15/day to 10/day
2022-10-28 20:13:37 +02:00
Aevann1
e41ee21f2b
remove redundant ratelimits in /login
2022-10-28 20:13:23 +02:00
Aevann1
b816973f38
ignore subdomains in banned_domains logic
2022-10-28 20:12:40 +02:00
Snakes
1f27b0fb2f
Rate limit failed logins.
2022-10-28 14:07:24 -04:00
Aevann1
94d1a7d98d
fix
2022-10-28 19:13:24 +02:00
Aevann1
8999a6ea29
fix
2022-10-28 19:08:52 +02:00
Aevann1
834516cd51
fix prev commit
2022-10-28 00:42:32 +02:00
Aevann1
1a35e2ec6a
refactor banned domains
2022-10-28 00:37:29 +02:00
Snakes
be7be28182
Fix comment search query ampersand bug.
2022-10-27 18:24:12 -04:00
Aevann1
ad358650e1
remove retarded bullshit I wasn't consulted about
2022-10-27 19:53:08 +02:00
Aevann1
98bae12134
show the time on which ppl blocked/followed the hole
2022-10-27 17:38:54 +02:00
justcool393
50482c9b0e
T to t
2022-10-26 18:41:29 -05:00
justcool393
e4d50be763
stickies: fix logic error i reintroduced that @Aevann1 has earlier fixed
2022-10-26 18:32:30 -05:00
Snakes
6a021c4736
PCM /live: scraping scheduled streams revision.
2022-10-26 17:03:21 -04:00
Snakes
895f0c9714
PCM /live: improve scraping robustness.
2022-10-26 16:14:16 -04:00
justcool393
e6f735b8ca
security: be slightly more generous with login ratelimits
2022-10-26 14:18:21 -05:00
justcool393
782a4494da
login: create invalid file if doesn't exist
2022-10-26 14:11:30 -05:00