Snakes
e0f43c3668
Remove is_nofollow from backend.
2022-11-09 10:05:36 -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
50bcc81f14
give user an error when they give invalid page input
2022-11-07 23:34:43 +02: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
2fe10e9644
replace cc toggle with holes toggle
2022-11-07 02:44:31 +02: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
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
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
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
67b56fb743
users: fix comments page
2022-10-31 23:37:29 -05: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
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
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
ad358650e1
remove retarded bullshit I wasn't consulted about
2022-10-27 19:53:08 +02:00
Aevann1
fbeac461ca
refactor poorcel mode
2022-10-25 18:07:44 +02:00
gooseman
8b98eabbb9
simultaneous hosts
2022-10-24 15:28:43 -07:00
Aevann1
2a05363a2d
exclude me from discord filter
2022-10-24 21:22:08 +02:00
Aevann1
0b851d237c
remove exploit allowing jannies to unpin award pins
2022-10-23 23:52:11 +02:00
Aevann1
04aa88f71f
fix jigsaw WPD tier
2022-10-21 16:44:31 +02:00
justcool393
8fe73cb68e
refactor blackjack a bit
2022-10-20 19:28:05 -05:00
justcool393
c0fe4d03c0
message: sanitize replies too
2022-10-20 18:24:03 -05:00
justcool393
52b8a22917
messages: use sanitize_raw_body
2022-10-20 18:18:47 -05:00
Aevann1
44fca7f086
ripbozo
2022-10-17 21:13:33 +02:00
justcool393
aa508fc076
remove discord
2022-10-16 05:42:52 -07:00
justcool393
f4af073253
fix 17 potential 500s
2022-10-16 02:51:42 -07:00
justcool393
3f9b51f0c1
fix 500: abort 404 if not an integer
2022-10-16 02:18:23 -07:00
justcool393
24a4274ee1
fix upvoters/downvoters for comments and user voted
2022-10-16 01:17:20 -07:00