Commit Graph

19277 Commits (cea377b562e92a59c744a073ca71939c9e23f231)

Author SHA1 Message Date
Aevann bd97dc7d5f fix last commit 2023-02-22 16:43:39 +02:00
Aevann 42ed35770c paginate /admin/dm_images 2023-02-22 16:36:52 +02:00
SneedBot 65d25f5e0d sneed 2023-02-22 07:09:05 +00:00
mummified-corroding-granny 3b261a76ba post: fix post vote horizontal content reflow (#131)
Kindly,

Currently, the vote count at the top left of any post reserves too little space leading to many reflow situations when we vote on it:
* only happens on desktop version, considering the mobile website uses different layout/code
* happens whenever our vote changes the count between 9 to 10 (?), 99 to 100, 999 to 1000. Also happens in more common situations like 81 to 82 and :marseymanysuchcases:

I did a minimalist approach by removing the margin, reserving just enough width (values between -XXX and XXXX) and lowering the vote buttons to minimize hat collision. Arguably, the vote buttons look better with the PR, because they are centered with flairs (WPD) and less off-center on rdrama with post rewards, pfp, ...
Net excess of ~10px, which I feel is borderline too much

Thanks,
granny

Reviewed-on: #131
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-22 06:27:11 +00:00
SneedBot bb0a78aaa4 sneed 2023-02-22 00:00:13 +00:00
Aevann b1d86491f8 fix page title 2023-02-21 22:18:41 +02:00
Aevann 0825c3776e remove report with js 2023-02-21 20:30:55 +02:00
Aevann d649801cc7 use console.error instead of console.log in bottom.js 2023-02-21 20:29:32 +02:00
Aevann e652a9bfd0 delete unecessary linefeed 2023-02-21 20:24:30 +02:00
Aevann ecaa080a46 moe 2 files 2023-02-21 20:24:21 +02:00
Aevann c7d7de289f search post urls too 2023-02-21 20:18:42 +02:00
Aevann 94d10fa274 hide number arrows 2023-02-21 20:12:33 +02:00
Aevann 8cf4b6fda6 reduce default admin level 2023-02-21 17:14:37 +02:00
Aevann 089173f40d reduce post ratelimit in rdrama 2023-02-21 16:53:33 +02:00
Aevann e2206278a1 Revert "Revert "routes: added various per-app exclusions (#128)""
This reverts commit f4a4b5f7be.
2023-02-21 16:51:22 +02:00
Aevann a752b9d8d5 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-21 16:40:12 +02:00
Aevann 3ab70d6cd0 remove @darkmarsey from blacklist 2023-02-21 16:37:45 +02:00
Aevann fd1f253ede check for ban_reason length after sanitizing 2023-02-21 16:30:31 +02:00
mummified-corroding-granny c51261aab3 user tables: add float plus margins to replace whitespace (#130)
Kindly,

In most pages where there are tables containing usernames, there is a space between the user icon and the username that gets underlined on hover. It happens in most tables in this app (applies both to rdrama and WPD). That automatic whitepace appears to come from the usual HTML default space between inline elements. The alternative is to change inheritence but appears cumbersome.

This PR fixes that.

Affected pages (those that render user_in_table.html):

./files/templates/admin/alts.html
./files/templates/admin/loggedin.html
./files/templates/admin/lottery.html
./files/templates/admin/patrons.html
./files/templates/admin/shadowbanned.html
./files/templates/admins.html
./files/templates/banned.html
./files/templates/chuds.html
./files/templates/grassed.html
./files/templates/hats.html
./files/templates/leaderboard.html
./files/templates/marseys.html
./files/templates/poll_votes.html
./files/templates/settings/security.html
./files/templates/special/worldcup22_leaderboard.html
./files/templates/sub/blockers.html
./files/templates/sub/exilees.html
./files/templates/sub/mods.html
./files/templates/userpage/blockers.html
./files/templates/userpage/followers.html
./files/templates/userpage/following.html
./files/templates/userpage/views.html
./files/templates/userpage/voters.html
./files/templates/votes.html

Thanks,
Granny

Reviewed-on: #130
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-21 14:21:45 +00:00
SneedBot c31019e65a sneed 2023-02-21 13:00:06 +00:00
Aevann 479b508762 fix this https://stupidpol.site/h/changelog/post/148586/message-search/3624361#context 2023-02-20 21:14:35 +02:00
Aevann 01840338e8 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-20 20:42:25 +02:00
Aevann ce52c59e4f more exclusion for torture_regex 2023-02-20 20:42:21 +02:00
Aevann e7141796bc dont apply torture_regex when blockquote 2023-02-20 20:40:31 +02:00
SneedBot 9ee5b68f8f sneed 2023-02-20 18:36:00 +00:00
Aevann 113a48d638 add nginx 404 template 2023-02-20 20:34:58 +02:00
Aevann 7433dec94c made the reverting mod actions mod log clearer 2023-02-20 20:03:26 +02:00
Aevann 9dc06cca35 ping @marco 2023-02-20 20:03:09 +02:00
Aevann f4a4b5f7be Revert "routes: added various per-app exclusions (#128)"
This reverts commit 4e52488b35.
2023-02-20 18:06:51 +02:00
Aevann 8b74d907c6 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-20 18:06:36 +02:00
SneedBot ceb0bf072f sneed 2023-02-20 16:00:09 +00:00
Aevann 5457b676de remove rdrama sidebar image 2023-02-20 16:48:14 +02:00
mummified-corroding-granny 4e52488b35 routes: added various per-app exclusions (#128)
Kindly,

Why (at least on WPD):
* /marseys results in a 500 (balls-deep)
* /worldcup... and /directory are empty pages
* /toggle_holes results in almost all posts getting removed from the front page in the perspective of the logged-in user

Thanks,
granny

Reviewed-on: #128
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-20 14:40:21 +00:00
mummified-corroding-granny 6f06b24ead routes: add /flairs as an alternative route to /holes (#129)
Kindly,

As per $title. For WPD, with love

Thanks,
granny

Reviewed-on: #129
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-20 14:40:00 +00:00
Aevann 59c2c169e4 remove refresh button for applenigs 2023-02-19 23:26:08 +02:00
Aevann cff77f21e3 fix for future messages 2023-02-19 22:02:13 +02:00
Aevann 6ebd6aaaf1 minor fix 2023-02-19 21:59:59 +02:00
Aevann 15c303f9f2 add message search 2023-02-19 21:56:52 +02:00
SneedBot 37e53d5f4b sneed 2023-02-19 19:32:04 +00:00
Aevann 288fcde832 add /admin/delete_media 2023-02-19 21:31:26 +02:00
Aevann 5e68334ff5 reduce insane margins 2023-02-19 21:25:11 +02:00
Aevann 8d660cb49a add perms conditionals in /admin 2023-02-19 21:17:09 +02:00
Aevann 472bed996f add button to remove progstack 2023-02-19 16:02:30 +02:00
Aevann f462562080 reduce COMMENT_SPAM_LENGTH_THRESHOLD from 50 to 0 for spam like this https://watchpeopledie.tv/h/bladed/post/1622/woman-gets-aggressive-with-a-guy/533389#context 2023-02-19 15:26:48 +02:00
Aevann d8b998a3c5 capitalize word 2023-02-19 15:24:42 +02:00
Aevann b819fa51d0 make it possible for jannies to stack chuds and bans 2023-02-19 15:23:08 +02:00
Aevann 5980810004 remove excessive margin on mobile 2023-02-19 15:00:25 +02:00
Aevann f6b0282634 increase comment paragraph max height from 50vh to 100vh 2023-02-19 14:29:44 +02:00
Aevann 338033df2b use href attribute for refreshing instead of js 2023-02-19 14:22:19 +02:00
Aevann 3262548655 remove leftover { that made videos autoplay 2023-02-19 11:35:16 +02:00
Aevann cb9ffefb7f rename /shop to /shop/awards and /hats to /shop/hats 2023-02-19 11:34:10 +02:00
Aevann f74d37e286 add text-break to quoted messages in chat 2023-02-19 11:27:40 +02:00
Aevann 8158b70c20 apparently cardview toggle got removed from the settings, so might as well remove it from the code 2023-02-19 11:20:16 +02:00
Aevann f5eea88ca3 remove mx-sm-auto from the youtube embed (it breaks it) 2023-02-19 11:15:48 +02:00
Aevann c02acb1271 center all embeds in submission_listing on mobile 2023-02-19 11:12:35 +02:00
Aevann 8b8a0423d8 restore -sm bootstrap margins/padding classes but use them different;y 2023-02-19 11:12:14 +02:00
Aevann 24100351ce make embeds margins on submission_listing desktop-only 2023-02-19 10:56:20 +02:00
Aevann dd0ca9dafb restore all bootstrap css classes for desktop margins/padding 2023-02-19 10:56:06 +02:00
Aevann bc93d6c7b7 reduce chat history from 500 messages to 250 to make it load faster 2023-02-19 10:47:20 +02:00
mummified-corroding-granny c5d1a11aca 502.html: remove search bar from 502 template on rdrama and WPD (#127)
Kindly,

Suggesting to remove search bar from the top bar on this page because it just looks inconsistent/abandonware

The search thing does not even render on this page if on mobile or if we don't have a large enough monitor/res

Thanks,
granny

Reviewed-on: #127
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-19 08:44:49 +00:00
mummified-corroding-granny 12d1c81f4b Post comments: jump to comments after click button for view entire discussion (#124)
Kindly,

$title

Whenever we click the "view entire discussion" we want to see more comments and not be sent to the top of the page.

This PR fixes that by sending us to the dropdown sort button just above the comments section.

Thanks,
granny

Reviewed-on: #124
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-19 08:44:45 +00:00
Aevann b0b2b76c81 add ping groups to /formatting + minor cosmetic changes 2023-02-19 10:36:13 +02:00
Aevann e385ba6987 remove ordered list from formatting help 2023-02-19 10:28:29 +02:00
Aevann 5060afbe4a add @sodajerk to biofoids 2023-02-19 10:26:36 +02:00
Aevann 7e3c2bdb06 ping august when "august" is said 2023-02-19 01:00:40 +02:00
Aevann a6f57c1bc3 fix the "more comments" link on walls on mobile 2023-02-19 00:58:17 +02:00
Aevann 745dc3e85b fix radio buttons on mobile 2023-02-19 00:53:31 +02:00
Aevann 1754eeffe2 add a link to the post/comment in the grass ban reason 2023-02-19 00:44:16 +02:00
Aevann 5d0c3742b0 change the grass award message to be clearer 2023-02-19 00:43:51 +02:00
Aevann 17488de9d2 remove unused import 2023-02-19 00:35:59 +02:00
Aevann 81cc869fe2 make sure autojanny, zozbot, longpostbot add to the comment count of a post 2023-02-18 23:59:17 +02:00
Aevann 104060e79a fix replying in chat while keeping expanded images fixed 2023-02-18 23:45:37 +02:00
Aevann 8c0fcc5405 add 4 additional mod log actions for approving and rejecting assets 2023-02-18 23:34:39 +02:00
Aevann d7d7a681f9 add 2 additional links in /admin 2023-02-18 23:07:37 +02:00
Aevann 4dfb21cd0a fix comment jumping 2023-02-18 23:03:23 +02:00
Aevann e87d5b9db8 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3596659#context 2023-02-18 22:56:00 +02:00
Aevann 9a5c184144 add a const 2023-02-18 22:55:39 +02:00
Aevann b99f17216e fix boot error 2023-02-18 22:01:28 +02:00
Aevann f1a3f365b5 actually disable comments in css 2023-02-18 22:00:39 +02:00
Aevann 835e1f6155 give gambling badges for roulette too (testing on devrama) 2023-02-18 21:57:34 +02:00
Aevann cd2d36e8ef disallow comments in css 2023-02-18 21:49:11 +02:00
Aevann 44914cd166 remove accidentially commited code 2023-02-18 21:43:17 +02:00
Aevann c819f2bd14 restore schizo ping 2023-02-18 21:42:47 +02:00
Aevann acdec1272d implement g-tix's fix 2023-02-18 21:41:36 +02:00
Aevann e6c4b7d91f make "homocracy" ping homocracy 2023-02-18 21:39:28 +02:00
Aevann f81e6feeca add a max height for individial tags inside comments so this doesnt happen again https://stupidpol.site/h/meta/post/147023/poll-whos-ur-favorite-rdrama-train/3587461#context 2023-02-18 21:32:37 +02:00
Aevann 952fe68ea6 dont focus search bars on mobile since it triggers the keyboard which can be annoying 2023-02-18 20:58:07 +02:00
Aevann 7c01b13adf add margins to searchbar in mobile dropdown 2023-02-18 20:49:07 +02:00
Aevann ffa4212c87 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3604423#context 2023-02-18 20:45:08 +02:00
Aevann 98b9c27442 readd temp code i removed earlier 2023-02-18 20:35:22 +02:00
Aevann 445ac519f6 add @arsey to !biofoids 2023-02-18 20:33:30 +02:00
Aevann 0c044acc01 use class "disabled' instead of attribute "disabled" for checkboxes (it looks better) 2023-02-18 20:26:33 +02:00
Aevann d4913ce4ee constantify CASINO_RATELIMIT 2023-02-18 20:22:48 +02:00
Aevann d2c2d313a2 show the reply box on deleted posts 2023-02-18 20:10:44 +02:00
Aevann 96a85bd140 remove temp code 2023-02-18 19:09:33 +02:00
Aevann 69480ac2c5 temp code cuz im lazy 2023-02-18 19:09:16 +02:00
Aevann 198a1f65bf make it exclusive to rdrama 2023-02-18 18:59:36 +02:00
Aevann 0015deba7a add !biofoids ping group 2023-02-18 18:58:59 +02:00
Aevann 6af1954b8f Revert "bandaid fix to ping groups post"
This reverts commit 8205efa318.
2023-02-18 18:43:06 +02:00
Aevann d4210c2710 renamed p.embed_url to p.embed 2023-02-18 18:33:19 +02:00
Aevann 13b5df569f size consistency for small expanded images in chat 2023-02-18 18:10:05 +02:00
Aevann 4615e4138d fix expanded images in chat 2023-02-18 18:08:48 +02:00
Aevann c1c6c06547 fix minor console error 2023-02-18 18:02:19 +02:00
Aevann 38db199123 move the formatting copy buttons granny added 2023-02-18 17:58:08 +02:00
SneedBot a1ac0d1f22 sneed 2023-02-18 15:28:36 +00:00
Aevann e38ebf8749 rename marseywookie to marseywookiee 2023-02-18 17:26:52 +02:00
Aevann aced15b039 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-18 17:19:25 +02:00
Aevann 57e9cb3428 remove .deleted column for alts 2023-02-18 17:19:14 +02:00
SneedBot d669c365cc sneed 2023-02-18 14:55:41 +00:00
Aevann ef2bda6920 remove relinking 2023-02-18 16:55:18 +02:00
Aevann a5b006e9ad make sure awards are ordered by price 2023-02-18 16:28:18 +02:00
Aevann 7c35e1d5a9 increase cosmetic awards price from 150 to 200 2023-02-18 16:27:09 +02:00
Aevann e5a336952e increase marsify price from 300 to 500 2023-02-18 16:26:23 +02:00
Aevann a167059ab8 increase house awards price from 400 to 500 2023-02-18 16:24:55 +02:00
Aevann 1e3f5eddff increase owoify and rainbow on WPD from 400 to 500 2023-02-18 16:24:35 +02:00
Aevann b4ee5cc67b increase marsify price from 150 to 300 2023-02-18 16:21:31 +02:00
Aevann 593b25d86a Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-18 16:20:52 +02:00
Aevann cd603e82cf reduce deflector price from 2750 to 2500 2023-02-18 16:20:50 +02:00
Aevann 8202005fde reduce flairlock price from 1250 to 1000 2023-02-18 16:19:30 +02:00
SneedBot 3167da357f sneed 2023-02-18 13:00:08 +00:00
SneedBot 92bc90d9ec sneed 2023-02-18 04:00:08 +00:00
SneedBot 27b32c513e sneed 2023-02-18 00:00:09 +00:00
Aevann e8f17db1da dont replace hole value with blank 2023-02-18 01:44:53 +02:00
Aevann 03bd9653ea disallow non-jannies from moving their posts to /h/changelog 2023-02-18 01:26:38 +02:00
Aevann d5d3e1f65e use abort in /submit 2023-02-18 01:25:01 +02:00
Aevann d26c209c75 exclude SRDEnjoyer from algo 2023-02-17 22:56:56 +02:00
Aevann 85587d28cd remove @chiobu from algo ban 2023-02-17 22:13:14 +02:00
Aevann 7d926e56c9 keep twitter params for search 2023-02-17 20:27:41 +02:00
Aevann 844098ebfc add 4 additional boosted sites 2023-02-17 19:50:29 +02:00
Aevann ab98f923df minor slur fix for "heeb" 2023-02-17 19:23:05 +02:00
Aevann ad72a9fc94 add max-width to quoted msg in chat 2023-02-17 19:22:10 +02:00
Aevann 7cd1b2a83f remove duplicated code 2023-02-17 19:20:07 +02:00
Aevann 52907b4a2e remove UI animations 2023-02-17 19:11:23 +02:00
Aevann 5da9c26664 allow jannies to add additional tags 2023-02-17 19:06:22 +02:00
Aevann c3842b8bf8 remove unnecessary song change code 2023-02-17 18:42:55 +02:00
Aevann b5b7c8ef5e stop centering yt videos 2023-02-17 17:27:50 +02:00
Aevann d278c7dd70 fix cropped banner on mobile 2023-02-17 17:24:11 +02:00
Aevann 92b77735ae fix profile songs in localhost 2023-02-17 17:20:51 +02:00
Aevann 44e9085d8d add .network to supported TLDs 2023-02-17 16:57:58 +02:00
Aevann 0d817d0d86 add choachan.cafe to BOOSTED_SITES 2023-02-17 16:57:22 +02:00
Aevann 8537dfbf21 dont commit on error 2023-02-17 16:49:23 +02:00
Aevann fa836ee549 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-17 16:21:16 +02:00
Aevann d027e51faa fix 500 error 2023-02-17 16:21:12 +02:00
Aevann 362cd288d8 fix 500 error 2023-02-17 16:17:05 +02:00
mummified-corroding-granny 58e985525b chat: prevent usernames sticking after rename and color change (#123)
Kindly,

As per $title.

Currently, if a user changes name or color while in chat, the username will stick forever (until clearing all sessions with a process restart).

This PR fxes both of these situations. The code is getting ugly and would benefit from using dictionaries instead of lists, but I suspect there are other priorities.

Thanks,
granny

Reviewed-on: #123
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-17 13:58:02 +00:00
mummified-corroding-granny e2adf9e53d Chat: add minimalistic chat session tracking and fix shadow user spy problem (#121)
Kindly,

Not sure if this is too dramaphobic. I also went with the just enough (TM) approach

The issue this PR intends to fix:
1. user has no chat tabs open
2. user opens two chat tabs
3. user closes second chat tab
4. user disappears from sidebar and user count (because was removed from online py list)
5. user (became shadow user) can now spy on the chat without being listed

Thanks,
granny

Reviewed-on: #121
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-16 13:41:58 +00:00
mummified-corroding-granny 0c670299c0 chat: update header chat count on websocket update message (#122)
Kindly,

Just a small lil PR to make sure the chat counts keep synchronized in /chat as users come and go

Thanks,
granny

Reviewed-on: #122
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-16 13:41:43 +00:00
mummified-corroding-granny 0c2128811f formatting page: add javascript to generate format copy buttons programmatically (#120)
Kindly,

As per $title:
* we add a button to the first column of each row of /formatting programatically
  * programatically because table is subject to change and tedious/complicated to write it for each row
* clicking on button copies text of second row to clipboard (reusing toasts code)
* did some javascript replacing because of preserving newlines and removing extraneous tabs

Thanks,
granny

Reviewed-on: #120
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-14 17:44:04 +00:00
mummified-corroding-granny cc6ad3ded4 comments: changed display to inline block in more meta elements (#118)
Kindly,

This is follow-up work to #110 where I target post comments.

This fixes element spliting for "Edited X ago", reply arrow + name and lottery icon + lottery message

Thanks,
granny

Reviewed-on: #118
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-13 18:58:07 +00:00
mummified-corroding-granny 2cf1300498 chat: stop console error after clicking marsey emoji speed modal (#119)
Kindly,

As per $title. This is just a suggestion implementation

Whenever we click any marsey in the speed modal, it generates an error in developer tools console because markdown() is not defined. I suspect not being available is expected because that function is for re-rendering the markdown preview (????? when I look at chat code it is all spaghette to me)

Thanks,
granny

Reviewed-on: #119
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
2023-02-13 18:57:52 +00:00