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
528c27a841
fix previous commit... i think
2022-11-06 20:06:37 -08:00
justcool393
29cc09a8ab
fix slur and profanity replacers
2022-11-06 20:06:37 -08:00
justcool393
272e79b529
enable feature flag on testing environment
2022-11-06 20:06:37 -08:00
justcool393
2fdccc9304
fix jinja syntax
2022-11-06 20:06:37 -08:00
justcool393
3b44aa9f6c
namespace stuff
2022-11-06 20:06:37 -08:00
justcool393
77663e2cf6
fix prev commit
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
3a989356dd
sorts and stuff
2022-11-06 20:06:37 -08:00
justcool393
32607ad058
settings: some changes and additions
...
settings: add theme
settings: move common controls to common
settings: add some consts
2022-11-06 20:06:37 -08:00
justcool393
867fdf1e58
settings: more fixes
...
settings: fix line section and text area section
2022-11-06 20:06:37 -08:00
justcool393
d8102f8677
settings: some fixes
...
settings: personal: fix banner and pfp not having a title
settings: advanced: fix custom filters not having a title
2022-11-06 20:06:37 -08:00
justcool393
d98b22df98
settings: advanced: fixes
...
settings: advacned: rename from Advanced Settings to Advanced
settings: advanced: fix spelling error
settings: advanced: fix hide voted on
settings: advanced: rename Default Sorting and Time Filter to Sorting and Filtering
settings: advanced: move frontpage size to sorting and filtering
2022-11-06 20:06:37 -08:00
justcool393
eef45e5ae6
settings: fix referral section
...
settings: fix bug with song
2022-11-06 20:06:37 -08:00
justcool393
85e1d271b7
settings: personal: wrap colors in required tags
...
settings: personal: put website backgrounds custom CSS
2022-11-06 20:06:37 -08:00
justcool393
5fbe680fe5
wrap color sections in a body so we have a well formed body
2022-11-06 20:06:37 -08:00
justcool393
52eb5e2b10
settings: personal: lg-8 -> lg-11
...
settings: personal: add body class where needful
settings: personal: make rounded where needful
2022-11-06 20:06:37 -08:00
justcool393
9c9ff873e6
fix 500 and logic error
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
SneedBot
68bd20a1f9
sneed
2022-11-07 04:00:05 +00:00
Aevann1
507dc83ecd
will someone pls kill me
2022-11-07 05:16:14 +02:00
Aevann1
1de8e07280
margin change
2022-11-07 04:38:24 +02:00
Aevann1
a4440a6d82
small change to rules
2022-11-07 04:33:14 +02:00
Aevann1
ea101e77c5
give /h/cowtown perma-progstack
2022-11-07 04:14:45 +02:00
Aevann1
ae607a8522
add 2 extra rdrama rules
2022-11-07 04:11:21 +02:00
Snakes
c86cd823bb
Remove tooltips from home sorting & filtering.
...
The design elements seem obvious enough that tooltips with e.g.
"Toggle" on a toggle button were somewhat redundant, and them
popping up during routine interaction felt distracting in practice.
2022-11-06 21:01:13 -05: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
8bd89b042d
make the tooltips i just added on the top and not bottom
2022-11-07 02:28:42 +02:00
Aevann1
14d0bd1173
add tooltips to sort and time filter
2022-11-07 02:27:15 +02:00
Aevann1
d5bb687288
small refactor to "pins" button
2022-11-07 02:26:41 +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
Snakes
920947d3c8
Fix post actions staggered vertically uneven.
2022-11-06 01:17:18 -05:00
Aevann1
bbfb18da9a
change clearing cache terminology
2022-11-06 07:28:47 +02:00
justcool393
1d85fbe470
errors: exempt WPD from cutesy error messages
2022-11-06 00:25:22 -05:00
Aevann1
1ec5de2fcf
Revert "WPD: remove vestigial social and music filer code"
...
This reverts commit bb1658e0a0
.
2022-11-06 07:18:28 +02:00
Snakes
38c3ba3889
Fix hole inactivity deletion to include subactions.
2022-11-06 01:08:24 -04:00
SneedBot
21a642363a
sneed
2022-11-06 04:51:54 +00:00
SneedBot
8bc1b16ec7
sneed
2022-11-06 04:51:54 +00:00
Snakes
9f7adb2614
Fix recent CPU spikes from image encoding.
...
Certain animated images take an exceedingly long time (~minutes) to
encode to WEBP using method=6. Such a file was obtained, and it
encoded significantly faster using method=5 and somehow turned out
smaller than the result generated with method=6. We switch now to
use method=5 so we stop getting occasional massive increases in
CPU load when multiple users upload animations at the same time.
Additionally, a timeout was added to the ImageMagick subprocess just
in case there are even more pathological files in the future. Better
to error out than have to get someone to kill the process.
2022-11-06 00:48:54 -04:00
justcool393
84f3805aa6
don't use periods in profanities
2022-11-05 19:16:29 -05:00
justcool393
0e7a7307e4
stats: add time
...
this is useful for knowing what anchor point stats is bound to
2022-11-05 19:15:13 -05:00
justcool393
3343b8487d
stats: rename `comments last_24h` to `comments last 24h`
2022-11-05 19:01:18 -05:00
justcool393
67189af6ec
add palestinian
2022-11-05 18:34:04 -05:00
carp
f03a34b308
filter and error message updates
...
removed unnecessary \W nonsense from profanity filter wherever possible, covered verb conjugations that could lead to spelling errors when filtered, added a few new rdrama-specific slurs filters, touched up a few error messages
2022-11-05 16:20:52 -07:00
Aevann1
d3f67faa50
same as last commit
2022-11-05 23:51:09 +02:00
Aevann1
37c4062839
fix margin
2022-11-05 23:50:35 +02:00
Aevann1
158321483b
fix sorting vote tables being broken due to dff5bcefcf
2022-11-05 23:49:39 +02:00
Aevann1
2f5d3adda0
small margin fix
2022-11-05 23:41:18 +02:00
SneedBot
5623753e41
sneed
2022-11-05 21:11:15 +00:00
Aevann1
1a1b3bbba9
cosmetic fix
2022-11-05 23:08:41 +02:00
Aevann1
d76fe63c7f
constantify image extensions and fix imgur .gif bug
2022-11-05 23:01:23 +02:00
Aevann1
5efdc43be5
fix 500 errors JC caused with a completely unnecessary refactor
2022-11-05 16:14:52 +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
927e5a7cee
snappy: fix weird missing line
2022-11-05 02:19:57 -05:00
justcool393
9f8250cec1
fix prev commit
2022-11-05 01:05:01 -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
1c51eeeb6c
same as last commit
2022-11-05 05:54:11 +02:00
Aevann1
6648e619ec
same as last commit
2022-11-05 05:38:32 +02:00
Aevann1
c870198188
cosmetic change to expanded images
2022-11-05 05:30:33 +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
Aevann1
f37707805e
fix lawlz flair
2022-11-05 04:24:33 +02: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
7b60190b0d
adjust margins
2022-11-05 04:12:22 +02:00
Aevann1
a733056124
remove a bunch of double spaces
2022-11-05 04:12:22 +02:00
Aevann1
c5c6db70e4
rename "submitFormAjax()" to "sendMessage()"
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
Aevann1
5dd06cba9e
more margin fixes
2022-11-05 04:12:21 +02:00
Aevann1
10b40fbfd8
more margin fixes
2022-11-05 04:12:21 +02:00
Aevann1
47b89df619
change the chud theme terminology to a verb instead
2022-11-05 04:12:21 +02:00
Aevann1
76d29e4899
small margin fix
2022-11-05 03:05:46 +02:00
justcool393
7c385c222f
fix previous commit
2022-11-04 18:51:42 -05:00
justcool393
ebc6bf9958
mod log: fix bug where it links to 'admin' even on sub log pages
2022-11-04 18:48:16 -05:00
Aevann1
1b34ef4244
rename "callback" to "extraActionsOnSuccess"
2022-11-04 23:56:08 +02:00
Aevann1
995d3cbc98
add postToastReload
2022-11-04 23:44:44 +02:00
geese-suck
51d6718b8c
fix the switches lol
2022-11-04 14:39:15 -07:00
geese-suck
bb6b2f818f
make blockquote links legible
2022-11-04 14:19:54 -07:00
Aevann1
cd4af8da50
small cosmetic fix
2022-11-04 20:53:38 +02:00
Aevann1
bb6173f899
fix profanity filter
2022-11-04 20:48:52 +02:00
SneedBot
3aa7090cc9
sneed
2022-11-04 18:46:02 +00:00
Aevann1
204415c4f8
bug fix
2022-11-04 20:45:52 +02:00
Aevann1
40a6ed5155
add the subsidiary to the random blurbs
2022-11-04 20:30:56 +02:00
justcool393
3f457333b5
profanity: per fish request disable profanity filter everywhere but rdrama
...
feel free to revert this or whatever if discussed
2022-11-04 08:43:59 -05:00
justcool393
d2cb3caa54
revert prev commit
2022-11-03 22:54:14 -05:00
justcool393
0f462ba951
remove duplicate ping
2022-11-03 22:53:44 -05:00
justcool393
3301feb1a1
fix women who love women
2022-11-03 20:59:10 -05:00
justcool393
efceebf730
fix issue when you type in clbackside
2022-11-03 20:57:59 -05:00
justcool393
217e401979
css. -> CSS (fix spelling)
2022-11-03 20:05:04 -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
48f47935d6
nigga -> neighbor
2022-11-03 19:28:05 -05:00
Snakes
b121d39c17
Handle mod_date case when User not mod.
2022-11-03 20:10:25 -04:00
carpathianflorist
87071b927c
slur, profanity, shibboleth upgrade
...
xoxo carp
2022-11-03 16:59:38 -07:00
justcool393
12fbe686d5
don't use regex in the slur filters for now
...
it doesn't work
2022-11-03 18:33:56 -05:00
justcool393
bf448a557e
fix *another* 500
2022-11-03 18:22:47 -05:00
justcool393
bed478276d
fix carp 500
2022-11-03 18:21:24 -05:00
justcool393
5235f592f0
use correct checkbox
2022-11-03 18:20:06 -05:00
justcool393
23c5a2ddb5
handle case where is None
2022-11-03 18:14:55 -05:00
justcool393
118a58c104
fix matches (PCRE uses weird 1 indexing)
2022-11-03 18:11:22 -05:00
justcool393
c6b1d90dd8
fix 500... again
2022-11-03 18:05:11 -05:00
justcool393
731c0cc83c
fix 500 and add r*pe to the bad words filter
2022-11-03 18:03:30 -05:00
justcool393
5f8a27636e
fix prev commit
2022-11-03 18:01:12 -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
d4a99c05e9
rename postToast -> postToastSwitch and postToastCallback -> postToast for clarity
2022-11-03 21:08:22 +02:00
Aevann1
20fc3e29b2
use postToastCallback in postToast
2022-11-03 21:07:08 +02:00
Aevann1
c2c5e61e60
camelCase
2022-11-03 18:11:11 +02:00
SneedBot
71b4bc9a8e
sneed
2022-11-03 15:44:42 +00:00
Aevann1
721d223399
fix stray "\"
2022-11-03 17:44:26 +02:00
Aevann1
24529678ce
same as last commit but for comments
2022-11-03 17:43:00 +02:00
Aevann1
32f079ed20
make post approval and removal effects only happen when response code is between 200 and 300
2022-11-03 17:38:46 +02:00
Aevann1
07a12380de
accomodate alt domain
2022-11-03 17:29:14 +02:00
Aevann1
f151e2accd
stop fucking messing with my code, I had it at "4" for a reason
2022-11-03 17:24:30 +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
Snakes
6f8d8b8ed9
Fix b79560247: chudrama sidebar art logic inverted.
2022-11-03 00:18:28 -04:00
SneedBot
24a4328294
sneed
2022-11-03 03:58:01 +00:00
justcool393
2ac1719131
hats: goldenify if owned all hats + unpurchasable ones
2022-11-02 22:56:35 -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
SneedBot
098dd7be38
sneed
2022-11-03 01:35:03 +00: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
b795602475
subs: fix weird sidebar 500
2022-11-02 19:50:28 -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
justcool393
de30ee0ed4
kys
2022-11-02 14:33:31 -05:00
Snakes
ee315f236b
Revert "reduce chud award price from 2500 to 500"
...
This reverts commit e794eb93a7
.
2022-11-02 15:20:26 -04:00
Aevann1
eb76067253
small cosmetic fix
2022-11-02 17:11:31 +02:00
Snakes
62021fbe55
Port Homoween 2022 hat from spooky-22.
2022-11-02 03:53:32 -04:00
Aevann1
e367702a8c
remove marsey41.webp and marsey41pat.webp
2022-11-02 09:08:36 +02:00
Aevann1
bd779abc6e
go back to the old TLD system in sanitize
2022-11-02 09:08:02 +02:00
Aevann1
f73c6d46df
accomodate rdrama.com users
2022-11-02 08:31:04 +02:00
Aevann1
086643bf79
give_monthly_marseybux_task fixes
2022-11-02 08:19:25 +02:00
justcool393
86e2767ac4
admin: device -> deviceType
2022-11-02 01:06:43 -05:00
Aevann1
a2eaece906
verify patron level before giving monthly marsybux
2022-11-02 07:54:38 +02:00
Aevann1
1c536de93d
add commas to stats
2022-11-02 07:06:01 +02:00
Aevann1
17038e31da
remove 2 useless stats that took 3 and 9 seconds respectively
2022-11-02 06:59:23 +02:00
Aevann1
0008acbabe
make /stats slightly faster
2022-11-02 06:50:18 +02:00
Aevann1
d575abe1a7
Revert "debug /stats"
...
This reverts commit daf5fd9359
.
2022-11-02 06:45:17 +02:00
Aevann1
daf5fd9359
debug /stats
2022-11-02 06:32:38 +02:00
Aevann1
7a103d5143
fix 500 error
2022-11-02 05:23:46 +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
Aevann1
28318ae080
minor cosmetic change
2022-11-02 03:54:25 +02:00
justcool393
69f3db9d27
marsify: fix marsify message
2022-11-01 20:12:52 -05:00
justcool393
db522c3a5b
birthgay: cleanup unused file
2022-11-01 20:01:15 -05:00
SneedBot
eb7c8bc19f
sneed
2022-11-02 00:10:59 +00:00
justcool393
26e134793a
newlines make @TLSM happy
2022-11-01 19:00:03 -05:00
Aevann1
c0b44d8dd1
cosmetic change
2022-11-02 01:50:26 +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
c013463047
small cosmetic fix for expand-text button
2022-11-02 00:46:46 +02:00
Aevann1
405786f8dc
fix wrong positioning for gift boxes and message box in user profiles
2022-11-02 00:43:56 +02: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
1bf3d3abc3
fix prev commit
2022-11-01 16:35:24 -05:00
justcool393
15460fb6e7
twentyone: set xhr header so we get errors back as JSON
2022-11-01 16:34:19 -05:00
justcool393
0dd956ae0e
twentyone: show ratelimit error when ratelimited
2022-11-01 16:23:51 -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
f8cd0aa1fb
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-11-01 15:19:48 -05:00
justcool393
2fed50cb46
not post.stickied_utc
2022-11-01 15:19:35 -05:00
Aevann1
410575a02f
make the subsidary blurp occur 100% of the time instead of 50%
2022-11-01 22:18:16 +02: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
Aevann1
284002d7a4
dont allow admins to not select a badge
2022-11-01 22:12:05 +02:00
Aevann1
30144c46a4
cosmetic fix to !slots
2022-11-01 20:57:29 +02:00
SneedBot
d43ee18a26
sneed
2022-11-01 18:24:26 +00:00
Aevann1
eb98740f97
fix users being unclickable in user_listing.html
2022-11-01 20:24:18 +02:00
Aevann1
eed9ea6fb8
fix user search being broken
2022-11-01 20:21:46 +02: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
Snakes
a76344f7d0
Fix submission listing actions covered by link.
2022-11-01 06:06:54 -04:00
Snakes
c95f5a537a
Fix "Copy link" action not including domain.
2022-11-01 06:06:45 -04:00
Snakes
5d6cb56075
Fix shop buy button widths.
2022-11-01 05:11:29 -04:00
justcool393
f326b9d5d7
port self removal from spooky-22
2022-11-01 04:01:51 -05:00
justcool393
62e171c09a
fix mbux -> coins
2022-11-01 03:54:02 -05:00
justcool393
8bd637df57
leaderboards: use len
2022-11-01 03:04:56 -05:00
justcool393
08700a65b0
fix prev commit
2022-11-01 02:59:36 -05:00
justcool393
5c32713469
leaderboards: workaround jinja can't do this by setting a value for if v appears in ranking
2022-11-01 02:57:10 -05:00
justcool393
40a34ea26a
leaderboards: don't show users if they're in the ranking more than once
2022-11-01 02:49:20 -05:00
justcool393
444b3d36f1
leaderboard: fix bug in table
2022-11-01 02:43:08 -05:00
justcool393
d7c7026792
leaderboards: fix missing </div> that was never present
...
seriously someone copied and pasted the open div
2022-11-01 02:36:18 -05:00
justcool393
72f9c1c877
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-11-01 02:21:58 -05:00
justcool393
e90edce28a
leaderboard: fix bug with hat leaderboard
...
in my defense, there was a lot of stuff
2022-11-01 02:21:14 -05:00
justcool393
9048f5127d
leaderboards: fix usernames in tables i think
...
i'm not *happy* about this, something seems inelegant about this solution...
2022-11-01 02:17:33 -05:00
Snakes
0ea738f1bc
Exclude limited-edition hats from profile counter.
2022-11-01 03:17:15 -04:00
SneedBot
0c8b0d531b
sneed
2022-11-01 02:45:46 -04:00
justcool393
55c8ce6e9d
leaderboard: set value func in all cases
2022-11-01 01:36:41 -05:00
justcool393
02dde2a96f
leaderboard: check for None explicitly instead of implicitly
...
nonetype is used in only one case, if the value is implicitly falsey (like a 0) it can *potentially* cause issues
i have no idea how to repro this, apparently @Aevann1 was able to and it's a issue on rdrama.net, but not devrama or my own testing environment
2022-11-01 01:28:18 -05:00
justcool393
d53c714bb7
users: use with_for_update() in charge_account
2022-11-01 01:14:18 -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
SneedBot
6aabc98f62
sneed
2022-11-01 04:34:19 +00:00
gooseman
dacf022c82
Update main.css
2022-10-31 21:33:52 -07:00
Snakes
be2664b284
Revert "set astolfo background to everyone in drama"
...
This reverts commit be1ff23d4d
.
2022-11-01 00:21:32 -04:00
Snakes
6f91e77338
Port sneeds from spooky-22.
2022-11-01 00:17:20 -04:00
Snakes
d7aaa33c7f
Formalize unpurchasable hats.
2022-10-31 23:38:10 -04:00
justcool393
bfb13e9fec
add a newline because posix users can't sneed
2022-10-31 19:14:24 -05:00
Aevann1
e7e667f56f
fix undeflectable awards being vaporized
2022-11-01 02:11:44 +02:00
Aevann1
972578e74a
allow poetrysperg to skip the linefeeds thing
2022-11-01 02:04:37 +02:00
Aevann1
f4542db86f
fix first comment on a post being centered with huge padding
2022-11-01 01:12:31 +02:00
justcool393
b17ea4fd37
awards: only restrict admins if award feature flag set
2022-10-31 18:11:49 -05:00
Aevann1
5d9ff04ad3
fix last commit
2022-11-01 01:07:42 +02:00
Aevann1
3bfe3be800
fix /create_hole
2022-11-01 01:07:24 +02:00
Aevann1
48775dbb5d
disallow jannies from undoing ban awards
2022-11-01 01:05:02 +02:00
Aevann1
ce2d90a212
small refactor to buttons on userpages
2022-11-01 00:43:18 +02:00
Snakes
fa43317ee2
Revert "Merge pull request #396 from nekobbbbbbit/debooterstrap"
...
This reverts commit ae1e6b01a4
, reversing
changes made to 7e5c1b0ad8
.
2022-10-31 18:35:47 -04:00
Aevann1
e3a8f5eda6
disable "give award" button when number of owned selected awards goes to 0
2022-10-31 23:10:04 +02:00
Aevann1
cda0b3592c
make journoid blurb acquisition announcement temporarily
2022-10-31 22:54:56 +02:00
Aevann1
7f82a0c371
add "Official site of /r/SubredditDrama" to the journoid blurbs
2022-10-31 22:53:11 +02:00
Aevann1
a447fb83ae
remove carp's "everything legal is welcome' blurp in the sidebar
2022-10-31 22:46:52 +02:00
Aevann1
5544421cfa
merge the "Flags" and "Sets" emojis tabs with "Misc" (too many tabs IMO)
2022-10-31 22:41:39 +02:00
Aevann1
6ea05cdb18
add 4 extra meme rules to hopefully act as an extra barrier to retards
2022-10-31 22:35:23 +02:00
Aevann1
7eaf257ca0
add 2 extra boosted domains
2022-10-31 22:33:06 +02:00
Aevann1
cc473795bf
make banned domains case insensitive
2022-10-31 16:33:11 +02:00
Aevann1
33d33a6468
fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2995576?context=8#context
2022-10-31 16:26:03 +02:00
justcool393
b8542af64c
random fix
2022-10-30 20:10:33 -05:00
justcool393
2beef9f725
repost if you if you horse
2022-10-30 20:03:46 -05:00
Aevann1
88e7f30f04
make !SLOTS work too
2022-10-31 02:20:50 +02:00
Aevann1
df559c6af5
run archival through proxy
2022-10-31 02:05:53 +02:00
Aevann1
cdffb764bd
remove @jannies
2022-10-31 00:41:26 +02:00
Aevann1
c80e92f434
archive ghostarchive.org automatically
2022-10-31 00:39:37 +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
95f28fdc65
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-30 15:09:19 -05:00
justcool393
d61eda8427
merge i think
2022-10-30 15:08:20 -05:00
Aevann1
3892151eb2
small cosmetic change
2022-10-30 22:07:56 +02:00
Aevann1
024005cc17
small margin change
2022-10-30 21:44:02 +02:00
Aevann1
83b2511380
add a couple of margins to formatting.html
2022-10-30 21:43:35 +02:00
Aevann1
2566e7b831
increase table padding on mobile
2022-10-30 21:42:29 +02: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
915967ddd0
constantify BAN_EVASION_DOMAIN
2022-10-30 20:01:01 +02:00
Aevann1
8dd9045a33
allow distinguishing other ppl's comments
2022-10-30 17:32:54 +02:00
Aevann1
8b95a02ae4
when u unpin a post that's temporarily pinned, both the unpin and pin buttons are hidden, this fixes that
2022-10-30 17:20:11 +02:00
Aevann1
2ba1a1e86e
remove postToast compatability function
2022-10-30 17:10:07 +02:00
Aevann1
13b184ee53
remove unnecssary space
2022-10-30 17:09:32 +02:00
Aevann1
b8f4d36f92
add confirmation dialog to "remove follow"
2022-10-30 17:07:10 +02:00
Aevann1
4e6633baa6
remove <blockquote> from formatting guide (cuz its padding is fucked up)
2022-10-30 16:56:20 +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
5af772c1f9
users: is_visible_to is False if v doesn't exist
...
this lets us use this function even with a logged out user
2022-10-30 03:04:46 -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
b9f2a7123e
actions: move pizzashill autovotes to actions
2022-10-30 01:03:23 -05:00
Nekobit
7b22f345f5
Remove temp code
2022-10-30 00:12:48 -04:00
Nekobit
302f35cca0
login: Fix scroll overlay page
...
Login and scroll page were overflowing. This workaround is a bit funky due to the overflow placement, but it'll do
2022-10-30 00:12:06 -04:00
justcool393
958e083904
don't include signup.js in the login page
2022-10-29 22:47:20 -05:00
justcool393
540cc99e25
add correct flag to sign up
2022-10-29 22:40:35 -05:00
justcool393
64bf0eda1f
add correct flag
2022-10-29 22:40:11 -05:00
justcool393
912dc80ae1
sign up page header
2022-10-29 22:19:30 -05:00
justcool393
417413dc29
fix prev commit
...
we need to exclude main.css if neko bootstrap mode is enabled
2022-10-29 22:15:54 -05:00
justcool393
85464fbb2e
update login page
2022-10-29 22:13:54 -05:00
justcool393
016e9b66a4
add neko debootstrap flag to html_head.html
...
this is awful but i made this a macro for some reason i have no idea why
2022-10-29 22:11:05 -05:00
justcool393
74d3c325d4
Merge branch 'frost' into debooterstrap
2022-10-29 20:07:18 -07:00
justcool393
617d237adc
re-add special character check
2022-10-29 21:57:47 -05:00
Aevann1
7e5c1b0ad8
don't redirect PCM and WPD to trans charity in 502.html
2022-10-30 03:04:08 +02:00
Aevann1
684bd24326
move 2 headers from python to nginx
2022-10-30 02:46:50 +02:00
Aevann1
9985e5c6f6
fix discord changelog channel
2022-10-30 02:43:55 +02:00
Aevann1
d52216beda
restore historical blackjack games
2022-10-30 02:40:35 +02:00
Aevann1
f09ec0ca17
restore slot gambling in comments
2022-10-30 02:36:23 +02:00
Aevann1
85abc39632
dedup converting game state to json
2022-10-30 02:32:40 +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
justcool393
5f28a8f4e7
mottey drama is pretty good so yeah
2022-10-29 18:22:29 -05:00
Snakes
bf25937b54
Make rDrama sidebar markup semantic.
2022-10-29 19:08:35 -04: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
77dc8a990c
remove some unnecessary <br>s
2022-10-30 00:42:40 +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
justcool393
eca1edeaf6
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-29 16:50:47 -05:00
justcool393
8bbcb9902e
HTTP referer: move setting it to nginx from python
2022-10-29 16:50:33 -05:00
Aevann1
227d074da7
remove redundant "noreferrer"
2022-10-29 23:46:35 +02:00
justcool393
ef4fc4dd99
remove redundant noreferrer tags
...
note: skipping on 502.html file as those are served by nginx
2022-10-29 16:46:22 -05:00
Aevann1
06314f92b1
remove referrer from html tags
2022-10-29 23:42:30 +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
justcool393
3ac5fad2d8
referer: only send for same-origin requests
2022-10-29 16:33:17 -05:00
justcool393
940c475277
remove z index attributes that were causing things to fail (only on spooky?)
2022-10-29 16:31:51 -05:00
Aevann1
5b9a833926
fix fingerprinting
2022-10-29 23:28:33 +02:00
Aevann1
907a0cc0d1
don't send referrer to twitter
2022-10-29 23:24:17 +02:00
Aevann1
9d31b8daa4
remove 2 spaces from lite-youtube.js
2022-10-29 23:24:11 +02:00
Aevann1
6451572139
remove refererrs from profile images
2022-10-29 23:16:43 +02:00
Aevann1
be1ff23d4d
set astolfo background to everyone in drama
2022-10-29 22:23:16 +02:00
Aevann1
5230e8e7f8
remove code that excluded me from deflector effect
2022-10-29 22:19:50 +02:00
Nekobit
7e1681e34e
Bump, Responsive login page, use new stylesheet helpers
2022-10-29 14:30:20 -04:00
Aevann1
89b0807b2d
don't send referrer to youtube
2022-10-29 20:23:48 +02:00
Aevann1
1b56fc22bb
hide reply buttons on deleted comments and posts for consistency
2022-10-29 19:24:22 +02:00
Aevann1
5201b1bc5a
boost unusual drama sources
2022-10-29 19:20:59 +02:00
Aevann1
e794eb93a7
reduce chud award price from 2500 to 500
2022-10-29 19:12:39 +02:00
justcool393
26b469c361
fix minor typographical error
2022-10-29 01:11:05 -05: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
f0c8af3ec7
remove all chained non-breaking spaces
2022-10-29 04:27:09 +02:00
Aevann1
eb1af8a69f
remove some chained non-breaking spaces
2022-10-29 04:21:06 +02:00
Aevann1
0339016567
fix /live
2022-10-29 04:20:23 +02:00
Aevann1
8517b85a49
replace "<BR>" with "<br>"
2022-10-29 04:07:43 +02:00
justcool393
6c6a578439
stickies: use permission constant on submission.html
2022-10-28 20:54:39 -05:00
justcool393
61cc1ddcb7
inline is_image
2022-10-28 20:52:19 -05:00
Aevann1
6b0fe97a85
remove using invisible character as spacing
2022-10-29 03:31:25 +02:00
Aevann1
7915d9f0aa
fix bugs resulting from fdd608532b
2022-10-29 03:26:46 +02:00
justcool393
1ee7ec323a
get lo user: fix 401 loop by clearing session on bad nonce
2022-10-28 20:07:39 -05:00
Aevann1
d1f01d2dd7
remove some spacing insanity in login/signup pages
2022-10-29 03:01:59 +02:00
Aevann1
aec78a3b05
get rid of all header classes
2022-10-29 02:55:49 +02:00
Aevann1
efc390e0c0
get rid of some header classes
2022-10-29 02:52:11 +02:00
Aevann1
de8be8dd0e
get rid of <pre> being used as vertical spacing
2022-10-29 02:47:48 +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
edbbc5b672
convert the last remaining 2 <a> tags without href
2022-10-29 02:00:27 +02:00
Aevann1
5719688178
use tabs, not spaces
2022-10-29 01:39:31 +02:00
Aevann1
fdd608532b
add type="button" to all <button> tags
2022-10-29 01:35:14 +02:00
Aevann1
5eb2eb5035
remove role="button" from all <a> tags
2022-10-29 01:32:31 +02:00
Aevann1
2019f68217
same as last commit
2022-10-29 01:31:39 +02:00
Aevann1
11ad9a4a0a
remove role="button" from button tags
2022-10-29 01:28:17 +02:00
Aevann1
582a29232b
convert all <a> tags without a href, except 2 in award_modal.html
2022-10-29 01:27:38 +02:00
Aevann1
a33680dc22
convert more <a> tags to <button> tags
2022-10-29 01:09:06 +02:00
Aevann1
6c32916f1a
convert more <a> tags to <button> tags
2022-10-29 00:51:10 +02:00
Aevann1
b66f9fdb0a
convert 1 a tag to a button, and change native button css
2022-10-29 00:30:28 +02:00
Aevann1
86beaad37c
remove unused shit in profile template
2022-10-29 00:26:06 +02:00
Aevann1
649fc2414d
disable adding admins on WPD
2022-10-29 00:14:59 +02:00
Aevann1
58912b124a
display "@" before account name in failed login attempt
2022-10-28 22:25:35 +02:00
Aevann1
067a83b1b1
remove 2 weird role="button"
2022-10-28 22:19:05 +02:00
Aevann1
f41b09cc07
small change to /admin/app
2022-10-28 22:13:58 +02:00
Aevann1
062e2523b5
change some <a> tags to <button>
2022-10-28 22:08:37 +02:00
justcool393
f5b40ebbbc
leaderboard: qol: link to relevant user pages for posts and comments
2022-10-28 12:36:18 -07:00
justcool393
b9b084ca1e
fix more templating errors
2022-10-28 12:36:18 -07:00
justcool393
efd63b8666
leaderboards: show user as last row if not in lb
2022-10-28 12:36:18 -07:00
justcool393
3aac8f1f24
leaderboard: fix some templating bugs i introduced
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
89e10db2e0
leaderboards: fix prev commit i think
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
0258bfb356
i've done it... i've really done it 🥲
...
i've made the leaderboard code less crap all around
to those who wrote this old code
i forgive you
2022-10-28 12:36:18 -07:00
justcool393
09c3ac2b65
jinja2 doesn't has getattr but we can subscript apparently
...
weird but ok
2022-10-28 12:36:18 -07:00
justcool393
ad58490dd0
call the leaderboard, not LEADERBOARDS and also do it correctly
2022-10-28 12:36:18 -07:00
justcool393
db587a2501
i forgot a bloody comma ok
2022-10-28 12:36:18 -07:00
justcool393
0b61a83270
this leaderboard code is affecting my mental sanity
...
idk maybe this'll fix it it's 1 am who knows anything about coding anymore
2022-10-28 12:36:18 -07:00
justcool393
67768bf44d
fix prev commit
2022-10-28 12:36:18 -07:00
justcool393
b2cfabf244
i don't think the person who worked on either this template or the leaderboard python function has ever thought about the idea of code reuse
...
(make this template smaller by 3/4ths)
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
aadd054bc3
remove role="button" from button HTML tags
2022-10-28 21:30:08 +02:00