Commit Graph

18953 Commits (bef687f82f5e1df4c8634bf892e861d950da263d)

Author SHA1 Message Date
Aevann 13dafeb8a2 improve chat 2023-02-07 03:06:07 +02:00
mummified-corroding-granny c8b0655f54 Post: Reduce amount of scrolling necessary after changing comments sorting (#114)
As per title. Especially useful on long posts both in mobile and desktop so that we don't have to scroll through the long post ater each change.

Don't have time for anything else today. Added to my list to analyze if we can add this skip in other pages especially those that have this same button

Reviewed-on: #114
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-07 00:53:45 +00:00
Aevann 30f1d9157d Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-07 02:48:07 +02:00
Aevann 9ab3c6df0a fix coon slur filter 2023-02-07 02:48:04 +02:00
Aevann 2890630064 remove leftover regex dependancy 2023-02-07 02:29:18 +02:00
Aevann f35bfca450 reposition formatting help again in replies 2023-02-07 02:29:03 +02:00
SneedBot 4b75091f1e sneed 2023-02-06 13:00:06 +00:00
SneedBot b7ef5c4463 sneed 2023-02-06 12:00:12 +00:00
Aevann b119c3c50f Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-06 08:05:55 +02:00
Aevann a9ce706ff6 minor css fix 2023-02-06 08:05:37 +02:00
Aevann 16cc1721e8 fix rules on win98 theme 2023-02-06 07:59:33 +02:00
SneedBot 3004f260d3 sneed 2023-02-06 05:42:49 +00:00
Aevann 38183e05fb fix granny bug 2023-02-06 07:42:11 +02:00
Aevann b600303a0b Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-06 07:31:09 +02:00
Aevann b1d2b09e2a add 2 allowed embed hosts 2023-02-06 07:10:53 +02:00
Aevann 2a1b8b1131 add extra searchbar on mobile 2023-02-06 07:10:42 +02:00
Aevann b896efcf82 reposition formatting help 2023-02-06 06:57:09 +02:00
Aevann 0beb4283af remove unnecessary function 2023-02-06 06:45:44 +02:00
Aevann 8329287150 make countryclub and masterbaiters immune to deletion 2023-02-06 06:30:21 +02:00
Aevann 2086b64c22 remove new year banners 2023-02-06 06:26:50 +02:00
Aevann 2421effcd3 fix body top padding 2023-02-06 06:26:16 +02:00
SneedBot 3b9393dc68 sneed 2023-02-06 04:00:11 +00:00
Aevann ed41a660fb make gumroad warnings more prominent 2023-02-06 05:39:44 +02:00
Aevann 47b9edfaf3 fix 500 error 2023-02-06 05:36:47 +02:00
Aevann 102fea12ec rethuglican instead of republiKKKan 2023-02-06 05:34:53 +02:00
Aevann 1041b3e564 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-06 05:34:11 +02:00
Aevann 925fd0497a disable showmore button in sidebars 2023-02-06 05:34:09 +02:00
mummified-corroding-granny fd613097b3 Improve page titles in some profile-related pages (#113)
Kindly,

As per title

granny

Reviewed-on: #113
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-06 03:23:15 +00:00
Aevann 1eb12901f6 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-06 04:37:55 +02:00
Aevann 0a9cdb337e fix blackjack bug 2023-02-06 04:22:13 +02:00
mummified-corroding-granny 113a1b4959 small lil tisms: table column sort disabling, remove ugly https:// string from rules (#112)
* about the rdrama_rules, when I changed from http:// to https:// the other day, in some browsers it now displays the protocol tag which is ugly and inconsistent. Not sure why on some browsers it did not display "http://" before
* about the sorting: I will disable sorting on more table columns later on. This is all I can do right now

Reviewed-on: #112
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-06 02:07:39 +00:00
mummified-corroding-granny 786ba6aa56 moved toggleelement to register_new_elements() (#111)
We currently cannot see (toggle the dropdown/button) reports that are hidden behind the "show more" (comments) button. This PR fixes that.

Example of what is happening without this PR:
1. open megathread. The thread is long includes hundreds of comments implying need to click "show more" (comments) button
2. without clicking any "show more" (comments) button, click the flaggers button on one of the first comments
3. flaggers are presented as expected
4. click the "show more" (comments) button at the end
5. click the flaggers button on one of the comments that was hidden behind the "show more" (comments) button
6. the button does nothing and has no event listenner associated

With this PR:
1. all flaggers buttons work regardless if hidden behind "Show More" (comments) or not. Tested up to two "Show More" (comments) buttons

I did the PR this way because the view_more button calls register_new_elements() and not bottom.js as a whole

There are other things using data-toggleelement like the undelete button on comments and the Preview button on /submit. Both of those still work as expected

Reviewed-on: #111
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-06 02:07:18 +00:00
SneedBot b2b48efd24 sneed 2023-02-05 08:00:10 +00:00
mummified-corroding-granny e45d64ed4e Post Meta: prevent/minimize meta elements getting split between multiple lines (#110)
prevent/minimize meta elements getting split between multiple lines in post meta:
* posted relative time: 2m ago
* type (youtube.com)
* edited: x time ago
* views: 5 thread views

While this is not common for your average post with low ammount of awards on a 1080p desktop, it is especially bad:
* on mobile for most posts
* users with different system zoom
* on posts popular posts
* when the poster has a long flair

Reviewed-on: #110
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-03 19:55:19 +00:00
SneedBot 2e734f7a06 sneed 2023-02-03 08:00:09 +00:00
SneedBot e781bfc203 sneed 2023-02-03 04:00:08 +00:00
Aevann 3286a54de8 minor fix 2023-02-03 05:15:30 +02:00
Aevann 1245298954 increase header--icon size 2023-02-03 05:10:20 +02:00
Aevann b772cf12fe minor change to print statement 2023-02-03 05:05:16 +02:00
Aevann e1a0e6a03e make images expandable in markdown preview 2023-02-03 05:04:23 +02:00
Aevann 1dd20d512d same as last commit 2023-02-03 02:12:19 +02:00
Aevann 6ad1c88391 fix WPD charts 2023-02-03 02:08:00 +02:00
Aevann 2ce7829238 add 2 NY banners 2023-02-03 01:26:42 +02:00
Aevann df1f2792a1 comment /csp_violations again 2023-02-02 22:47:22 +02:00
Aevann 97ec2acadc claim rewards automatically on email verification 2023-02-02 22:42:56 +02:00
Aevann 28dbece47e restore /csp_violations 2023-02-02 22:15:03 +02:00
Aevann 6e389bccc7 reduce print statements 2023-02-02 22:13:22 +02:00
Aevann db5bc5c9ec fix 500 error 2023-02-02 22:09:08 +02:00
Aevann 6c24c3cfe9 remove types from emoji_modal.js 2023-02-02 22:07:28 +02:00
Aevann 8133b219a4 refactor popovers 2023-02-02 22:07:14 +02:00
Aevann 9d244af7f5 increase ratelimit on /csp_violations 2023-02-02 21:33:52 +02:00
Aevann 38fe32703e modify /csp_violations 2023-02-02 21:33:22 +02:00
Aevann c5634cac78 fix automatic patron rewards 2023-02-02 21:28:23 +02:00
Aevann c7e565214e comment /csp_violations for now 2023-02-02 21:24:51 +02:00
Aevann 26e74411fd fix this https://stupidpol.site/post/144304/when-is-the-lol-carp-is/3526187#context 2023-02-02 21:00:26 +02:00
Aevann 6911ec8635 add lesswrong to boosted sites 2023-02-02 19:46:10 +02:00
Aevann ae83aa15ed fix /csp_violations 2023-02-02 19:33:47 +02:00
Aevann 24ba5a6663 remove duplicate shit in core.js 2023-02-02 19:15:25 +02:00
mummified-corroding-granny b0797c4493 fix-small-tisms that I had piled up in my todo (#109)
fix-small-tisms that I had piled up in my todo

Reviewed-on: #109
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-02 16:54:52 +00:00
Aevann 59ee320584 remove underscore_in_link_regex 2023-02-02 18:53:35 +02:00
Aevann 235fb21674 more print statements 2023-02-02 18:47:52 +02:00
Aevann 6ef6d06984 same as last commit 2023-02-02 06:16:54 +02:00
Aevann 6a53fa2063 add some print statements to claim_rewards 2023-02-02 06:14:09 +02:00
Aevann 9135a1a241 fix spoilers on some themes 2023-02-02 06:03:26 +02:00
Aevann 3efa1dfb04 remove unnecessary timeouts in cache.memoize 2023-02-02 02:42:47 +02:00
Aevann cd8bdaa5fd cache worldcup result forever 2023-02-02 02:37:03 +02:00
Aevann 415dd9cc4a Revert "remove worldcup leaderboard"
This reverts commit 6dcb000c8f.
2023-02-02 02:27:38 +02:00
Aevann 4689e3ba17 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-02 01:31:54 +02:00
Aevann 20067bb2b2 remove #modal shit 2023-02-02 01:31:52 +02:00
official-techsupport 08571dece1 add 'blog' tld (#108)
https://scottaaronson.blog/ is a thing, for example. We must support the thing.

Add .blog as an approved TLD.

Co-authored-by: official-techsupport <official_techsupport@protonmail.com>
Reviewed-on: #108
Co-authored-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
Co-committed-by: official-techsupport <official-techsupport@noreply.fsdfsd.net>
2023-02-01 23:20:08 +00:00
Aevann 29b5a16ad5 enable new year banners 2023-02-01 23:38:40 +02:00
Aevann a190121095 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3520807#context 2023-02-01 23:04:44 +02:00
Aevann 54cb5dc360 minor cosmetic fix 2023-02-01 22:49:23 +02:00
Aevann 06a70f7fd7 refactor donation code 2023-02-01 21:49:39 +02:00
Aevann c09ca02a1e remove unnecessary shit 2023-02-01 21:05:39 +02:00
Aevann b7e4f27f65 use transactions table in rdrama 2023-02-01 21:04:15 +02:00
Aevann 59fe09d0af disable NSFW marking in WPD 2023-02-01 20:52:34 +02:00
Aevann b0832d9ef6 update marseybux message 2023-02-01 20:41:52 +02:00
Aevann d39093b286 fix marseybux disbursing 2023-02-01 20:35:42 +02:00
Aevann 0fdb2dadc8 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-01 19:21:19 +02:00
Aevann 20cbd7da43 remove unneeded shit (testing on devrama) 2023-02-01 19:21:14 +02:00
Aevann 0453367f47 hanlde git_head error 2023-02-01 19:17:12 +02:00
SneedBot a4c9eae0bd sneed 2023-02-01 17:02:19 +00:00
Aevann d4922b0e4c consistency in asset ordering 2023-02-01 19:00:50 +02:00
Aevann 4ea5dd6d54 disable numbered lists 2023-02-01 17:59:10 +02:00
Aevann b8534e3586 Merge branches 'master' and 'master' of https://fsdfsd.net/rDrama/rDrama 2023-02-01 17:44:43 +02:00
Aevann 2cd909b645 fix roulette 2023-02-01 17:30:42 +02:00
Aevann 68cff67af6 do this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3516763#context 2023-02-01 16:52:46 +02:00
mummified-corroding-granny 3a3e1d8d74 add javascript and css for non-click-sortable table headers th (#107)
I noticed there are some over-interactive tables in general on rdrama. Particularly, multiple columns in the shop tables (awards and hats), which allow you to sort by buttons, icons, … The one page for user profile views also comes to mind, because it uses relative time since last visit, is paged server-side and browsers do not know how to sort that type of data anyway.

Also I noticed there are some tables that have disabled sorting by using <td> instead of <th> for the headers as is the case of the following pages:
* @uid/followed
* @uid/following

All of these situations are accounted for but need to be changed later in a different PR, because I can't right now.

For example, the "Buy" column of the shop can be changed to the following to disable sorting:

`<th class="disable-sort-click">Buy</th>`

Reviewed-on: #107
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-01 14:10:10 +00:00
mummified-corroding-granny 23c11fa7b7 search page: always force advanced search to dropdown to avoid overlap searchbar (#106)
* the advanced search dropdown (was dropping up depending on layout) was covering the search bar. This makes sure it always drops down. Works fine on small screens (mobile)
* this is complementary to #96 with exception to the rare edge case that is happening before this new PR. The edge case is under some very specific combination of resolution + zoom, where the advanced search was partially going under the navbar because there are already some unknown z-index contexts in that area. In that case, it was impossible to fix with increasing z-index because we would just go back to the original problem or worse

Reviewed-on: #106
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-01 14:09:34 +00:00
Aevann 5a9fb8f285 Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-31 23:22:23 +02:00
Aevann 728217c075 remove FORBIDDEN 2023-01-31 23:22:21 +02:00
SneedBot 6bce928314 sneed 2023-01-31 04:00:10 +00:00
Aevann 668851851c Merge branch 'master' of https://fsdfsd.net/rDrama/rDrama 2023-01-30 11:57:11 +02:00
Aevann 1529e70abd remove /admin/chat for being unused and redundant to /contact 2023-01-30 11:57:00 +02:00
Aevann 995b5365cc Revert "give me modaction notifs on WPD"
This reverts commit 6105640429.
2023-01-30 11:39:12 +02:00
mummified-corroding-granny cde07fb112 complete and switch slots order in formatting table (#105)
Small lil PR:
* slots comment command was on the first column of the table which is for descriptions
* added a small description because the table looked weird due to the rows being shorter than the surrounding ones. Could have gone with a colspan but I guess it is useful information that the winnings are of the same type of currency

Reviewed-on: #105
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-01-30 09:35:37 +00:00
Aevann 8e5c00e351 pin snally posts 2023-01-29 18:29:17 +02:00
Aevann fad8d35992 fix this https://stupidpol.site/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3501310#context 2023-01-29 17:08:03 +02:00
Aevann 17a7430193 fix 500 error 2023-01-29 15:58:11 +02:00