forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

16825 Commits (aa272729f1b8bc0f135484d38596f815af7f244e)

Author SHA1 Message Date
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
Aevann1 d85ac23c3c add BOOSTED_USERS 2022-11-09 22:53:24 +02:00
gooseman 0c48d4c7e2 hide duplicate buttons in tablet mode 2022-11-09 12:29:04 -08:00
Aevann1 a4141e52be fix sidebar margins 2022-11-09 21:53:37 +02:00
Aevann1 9e6324d7ca remove ajax.cloudflare.com from CSP 2022-11-09 21:49:50 +02:00
Aevann1 a4bf57ae0d fix FP and pusher being triggered inside holes 2022-11-09 21:49:21 +02:00
Aevann1 0060a326d7 allow ppl to link discord media in DMs 2022-11-09 21:33:16 +02:00
Aevann1 170959c071 untick "notify followers" checkbox when "ghost thread" checkbox is ticked 2022-11-09 21:26:38 +02:00
Aevann1 a95d378cf6 perserve status of ALL checkboxes in /submit 2022-11-09 21:25:52 +02:00
Aevann1 6694585434 make ghost threads free again 2022-11-09 21:19:29 +02:00
Aevann1 321f32da34 add pizzashill to ping list 2022-11-09 21:13:34 +02:00
Aevann1 3e884d4548 increase popover width on mobile from 80% to 90% 2022-11-09 21:10:35 +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 4f491d5ef7 reduce chud award cost from 2500 to 1000 (but not advertising that this time) 2022-11-09 21:08:25 +02:00
Aevann1 380e91e9c4 remove chat stuff not used anymore 2022-11-09 21:06:43 +02:00
Aevann1 c8b4947fa4 tweak rdrama algo 2022-11-09 21:02:17 +02:00
Aevann1 5a10b849f8 show the hole name in sub modaction notifs 2022-11-09 20:23:59 +02:00
SneedBot 6433a90c80 sneed 2022-11-09 17:58:40 +00:00
Aevann1 780e0f85f1 fix 500 error 2022-11-09 19:58:32 +02:00
Aevann1 4bced848ee same as last commit 2022-11-09 19:31:53 +02:00
Aevann1 78712da50b better quoting behavior 2022-11-09 19:28:50 +02:00
Aevann1 f32e598a64 when u toggle textarea, make it fit the size of text in it 2022-11-09 19:23:21 +02:00
Aevann1 d545548139 add 2 more boosted domains 2022-11-09 19:17:25 +02:00
Snakes 8e2f76729e
Amend 4f849c2: remove forgotten print debug. 2022-11-09 10:37:54 -05:00
Snakes 4f849c2c36
Fix userpage hat counter showing equipped.
Essentially, just needed to not reuse owned_hats.
2022-11-09 10:32:14 -05: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 c9aee3ebb8
Eager load badge_def with badge.
Removes N guaranteed queries when rendering a userpage for a user with
N badges. We need the badge_def to provide nearly all properties of a
Badge, and it's nearly free with a one-to-one on indexed columns.
2022-11-09 09:25:47 -05:00
Snakes ebb3957f41
Eager load submission listing relationships. 2022-11-09 09:16:22 -05:00
Snakes f1ceb5b079
Respect upper bound on award quantity. 2022-11-09 04:15:19 -05:00
Snakes 618c5dbde0
Deduplicate more code in awards.html. 2022-11-09 04:01:12 -05:00
Snakes c1b371bf1e
Fix template import path from 462e3421b5. 2022-11-09 02:34:18 -05:00
geese-suck 462e3421b5
organize templates (#435)
dude file management lmao
2022-11-09 01:11:46 -05:00
justcool393 ffd9c73566 reduce slur filter down to necessary ones and partially implement what fish wants (closes #432)
signed off by snekfriend
2022-11-09 00:05:56 -06:00
geese-suck e672330614
simplify awards (#434) 2022-11-09 00:39:05 -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 39297b7c22 remove badges from popovers 2022-11-08 15:58:34 +02:00
Aevann1 17ebb4363a cosmetic fix 2022-11-08 15:52:09 +02:00
Aevann1 8b1f76f727 add hole actions notifs for hole mods 2022-11-08 15:49:43 +02:00
Aevann1 4465061162 fix margin 2022-11-08 15:29:02 +02:00
Aevann1 aaa98b9290 sneed 2022-11-08 12:43:53 +02:00
Aevann1 dda1c88f4f fix margins 2022-11-08 12:05:07 +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 d146c595dd add 2 more boosted sites 2022-11-08 10:08:10 +02:00
Aevann1 9f1061fedb fix clearing cf cache 2022-11-08 10:08:10 +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
SneedBot 4052188062 sneed 2022-11-08 08:00:05 +00:00
Aevann1 8ff5c02bf5 higher margin between embed and body 2022-11-08 06:27:43 +02:00
Aevann1 f2b4c527a4 amerikkka -> ameriKKKa 2022-11-08 06:26:35 +02:00
Aevann1 e773e40a0d style change in settings_css 2022-11-08 06:09:55 +02:00
Snakes 6236fb1248
Fix profilecss setting form identifiers. 2022-11-07 23:00:31 -05: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
Aevann1 bd8192781a fix some margins 2022-11-08 05:37:17 +02:00
justcool393 d9c1b31bd6 correct form action too loll 2022-11-07 20:58:56 -06: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
Aevann1 807396648b make :grillcastyes: transparent-transkids 2022-11-08 01:11:28 +02: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 efe168e2c2 increase max filename from 20 chars to 22 chars 2022-11-08 00:25:39 +02:00
Aevann1 8e3cf6774b Revert "stop removing the last 2 characters of filenames (no clue why this is a thing)"
This reverts commit 530233796c.
2022-11-08 00:21:03 +02:00
Aevann1 530233796c stop removing the last 2 characters of filenames (no clue why this is a thing) 2022-11-08 00:17:11 +02:00
Snakes c712fb4b9d
WPD: add POLL_THREAD. 2022-11-07 17:00:37 -05:00
Snakes 1aa2d949bf PCM: enable multiple banners. 2022-11-07 16:40:43 -05:00
Aevann1 cc4c2774f1 fix this https://rdrama.life/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3038729?context=8#context 2022-11-07 23:38:49 +02: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 09d14aca47 revert linefeed change on fish's request 2022-11-07 22:49:54 +02:00
SneedBot af96be1e77 sneed 2022-11-07 19:44:10 +00:00
Snakes 001bb6a3d0
Fix form data names for settings text fields. 2022-11-07 14:43:28 -05:00
Aevann1 016d009d3d cosmetic fix in leaderboard 2022-11-07 14:08:59 +02:00
Aevann1 6a26e69f47 fix z-index 2022-11-07 13:34:07 +02:00
Aevann1 584bf34295 cosmetic fix 2022-11-07 13:30:44 +02:00
Aevann1 bf260330df only show profile-pinned posts in the default sort 2022-11-07 13:27:42 +02:00
justcool393 a18c3cea20 fix "match the requested format" 2022-11-07 04:56:20 -06:00
Aevann1 ee77930fda modify rdrama rules 2022-11-07 12:50:12 +02:00
Aevann1 c8a613389b remove/modify js return statements 2022-11-07 12:49:49 +02:00
Aevann1 f34c70c479 add 1 slur filter 2022-11-07 12:48:50 +02:00
Aevann1 8f59ab648a add 3 more boosted sites 2022-11-07 09:27:10 +02:00
Aevann1 939011a839 small margin fix 2022-11-07 09:25:18 +02:00
Snakes 7462477719 Owoify: exclude 'the' ↦ 'teh' replacement. 2022-11-07 02:23:15 -05:00
Aevann1 8652f5aadd restore bottom margin for WPD/rDrama sidebars 2022-11-07 09:21:22 +02:00
Aevann1 fd6176a948 remove "gosh" 2022-11-07 09:12:03 +02:00
Aevann1 7a8605ee4b small change to slurs 2022-11-07 09:11:49 +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 4b3b52013a remove unnecessary parameter 2022-11-07 08:30:41 +02:00
Aevann1 3b49535c4a make 3 more buttons instant 2022-11-07 08:26:41 +02:00
Aevann1 6c1c79ba44 remove insane indentation in a template 2022-11-07 08:26:37 +02:00
Aevann1 9b939b30a4 Revert "fixed 500"
This reverts commit ee4c534a92.
2022-11-07 08:09:04 +02:00
Aevann1 ce6998bd6e make shadowbanned, banning, chudding from the userpage work without refreshing the page 2022-11-07 08:08:53 +02:00
Aevann1 5ee7eac502 fix root cause for 500 2022-11-07 08:08:53 +02:00
Aevann1 72e76681b5 remove useless blurp 2022-11-07 08:08:53 +02:00
justcool393 ee4c534a92 fixed 500 2022-11-06 23:59:49 -06:00
justcool393 0178ea8249 fix fish bugs 2022-11-06 23:52:52 -06: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
Aevann1 5be668a049 fix "give award" button not getting grayed-out correctly 2022-11-07 07:41:57 +02:00
Aevann1 a66add3897 make profanity filter actually usable 2022-11-07 07:35:20 +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 1adb6bf5f8 remove too estoric slurs 2022-11-07 07:21:34 +02:00
Aevann1 34d147e0ed same as last commit 2022-11-07 07:19:15 +02:00
Aevann1 91b9723dc3 reduce max popover height 2022-11-07 07:18:30 +02:00
Aevann1 14b19ac950 add two words to the message 2022-11-07 07:15:46 +02:00
justcool393 3c406248f3 remove "cel" per @Aevann1 request 2022-11-06 23:12:01 -06:00
justcool393 db8c94d385 fix 500 on settings/apps 2022-11-06 22:59:52 -06: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 099639b4d8 fix checkmark color 2022-11-06 22:18:11 -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 0c42a8d269 correct feature name 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 29f8b14362 fix i think 2022-11-06 20:06:37 -08:00
justcool393 a6227748a2 remove unused jinja constant 2022-11-06 20:06:37 -08:00
justcool393 ddd748b98b fix js and html 2022-11-06 20:06:37 -08:00
justcool393 cac2ef3160 patronage text 2022-11-06 20:06:37 -08:00
justcool393 d0462a1cc1 fix links for WPD 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