Commit Graph

16799 Commits (3569c06ce2b53afe0258cfd1d6259c8e44aa358b)

Author SHA1 Message Date
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
justcool393 3049b69e33 truescore -> truecoins 2022-11-06 20:06:37 -08:00
justcool393 c2350d36bf add patronage message and message for when it's enabled permanently 2022-11-06 20:06:37 -08:00
justcool393 06736dfb75 fix badge id 2022-11-06 20:06:37 -08:00
justcool393 2c532af1ce set defaults in user class and schema.sql 2022-11-06 20:06:37 -08:00
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