Commit Graph

16951 Commits (3e8712cd1d8f762b72c6e5ab73b26de2313f2d94)

Author SHA1 Message Date
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