Commit graph

7816 commits

Author SHA1 Message Date
Ben Rog-Wilhelm
7c72815dcc
Merge branch 'frost' into remove-more-dramaisms 2022-11-09 20:45:31 -06:00
TLSM
3f360bb457 Remove special cases for unused awards.
Removes the following awards / fields on User:
 - flairlock
 - progressivestack
 - bird
 - longpost (pizzashill)
 - marseyawarded
 - rehab
 - deflector
 - mute
 - unmutable
 - eye (All-Seeing Eye)
 - alt (Alt-Seeing Eye)

Primarily motivated by starting to remove some un-Mottelike cruft
from core commenting/posting routes. Cleared out other inapplicable
awards while in the process.
2022-11-09 20:37:04 -06:00
TLSM
9de6f20dea Remove vestigial user ID special cases. 2022-11-09 20:37:04 -06:00
TLSM
010c56a35e Implement #380: remove signatures feature. 2022-11-09 20:37:04 -06:00
justcool393
2fabe6d010 remove "meme admin" functionality
(JL1, which doesn't actually have any real use on the site, and their "meme" status is hidden to non-admins anyway)
2022-11-07 03:33:56 -06:00
justcool393
51ef10d7c3 remove vestiges of fart mode 2022-11-07 03:30:31 -06:00
TLSM
72995ef3f1 Fix #352: don't collapse comments when ?context.
While checking for the key in the Request object is highly inelegant,
it is consistent with how we determine elsewhere if rendered comments
are being shown as a context.
2022-11-06 03:13:10 -06:00
justcool393
7970b17574 caching: fix CSRF
this removes the ability to do a GET to dump the internal cache but i've added a button to the admin panel that makes it so you can do it
2022-11-02 23:51:33 -05:00
Inire
08a98429e0 Change hidden score placeholder from ? to empty string 2022-10-28 03:55:07 -05:00
Ben Rog-Wilhelm
4197aded0e
Support non-logged-in admin contacts. (#377) 2022-10-27 22:16:42 -05:00
Inire
e4cf2f7b52 Support The Motte 2022-10-27 21:54:07 -05:00
Inire
bb34723a81 Support -> Support Us 2022-10-27 21:54:07 -05:00
Inire
4e2047624b Hide votes for posts and comments under 24 hours old 2022-10-27 21:50:08 -05:00
Ben Rog-Wilhelm
120e299f46 Update CSP to allow Google Analytics. 2022-10-19 06:29:02 -05:00
Ben Rog-Wilhelm
f04c79799e Try copypasting the Google tag again 2022-10-19 05:43:13 -05:00
Ben Rog-Wilhelm
877b572c66 Add Google Analytics (hopefully correctly) 2022-10-15 11:33:28 -05:00
DinoInNameOnly
f36a0b88e2 Add RSS Link 2022-10-07 13:56:23 -05:00
DinoInNameOnly
67a83ba0a8 Allow viewing the popup card 2022-10-07 13:53:37 -05:00
Ben Rog-Wilhelm
9939a382a3 Adjust starting color for colored comment bars 2022-09-26 03:32:51 -05:00
Julian Rota
563f3df7c5 Refactor reasons into a shared template 2022-09-26 03:07:48 -05:00
Julian Rota
0e5bf61d73 Add reasons to report screens 2022-09-26 03:07:48 -05:00
Ben Rog-Wilhelm
8cd6548620 Change bar coloring period to 8 and adjust colors. 2022-09-26 03:06:57 -05:00
Michael House
0bfbf17e45 Implemented collapse bar colorization on the server side 2022-09-23 22:11:55 -05:00
DinoInNameOnly
d62b6e8215 Improve search icon 2022-09-22 01:12:27 -05:00
DinoInNameOnly
39a56b52ea Make entire format buttons clickable 2022-09-22 01:11:03 -05:00
christopher morris
37396d42b5 remove email from admins contact form 2022-09-22 01:09:16 -05:00
Ben Rog-Wilhelm
41e5f38d19 Add the Support page. 2022-09-19 06:43:42 -05:00
Ben Rog-Wilhelm
2aa8a4bc10 Reintroduce the new post guidelines. 2022-09-16 00:59:04 -05:00
TLSM
ccabc8b881 Change default RSS sort to 'new'. 2022-09-12 12:16:54 -05:00
Ben Rog-Wilhelm
a083b4618b Fix: Logo aspect ratio broken. 2022-09-12 06:11:24 -05:00
TLSM
cc70c9e20f Remove conflicting widths set for #logo. 2022-09-12 06:06:43 -05:00
Ben Rog-Wilhelm
c5ed98bad9 Explicitly set width and height for every graphical element. 2022-09-12 00:54:22 -05:00
TLSM
2d59865363 Fix #316: restrict access to /badges, remove link. 2022-09-11 23:18:14 -05:00
Ben Rog-Wilhelm
74cfce4c2e
Update visual theme to be cleaner and less cluttered. 2022-09-11 19:12:23 -05:00
Michael House
e097dc1e70 De-float navigation menu 2022-09-10 08:01:19 -05:00
Jack Byrne
0ec522d897 Remove thumbnail on /post pages for text (self) posts
The thumbnail is ugly and as far as I can tell pointless,
so it should be removed.
2022-09-09 21:28:47 -05:00
TLSM
72b46a6888 Implement client-side collapsed comment memory.
Fixes #290. h/t Suspicious Turtle for initial implementation.
2022-09-09 19:47:26 -05:00
JulianRota
93400e531e
Require admin for blocks section 2022-09-09 17:09:13 -05:00
TLSM
48d5e92a25 Densify comment whitespace (low-hanging fruit).
Pending a more thorough comments rework, make comment listings denser:
  - Reduce margin between comments from 28px to 3.5px.
  - Reduce padding around comment text from 10px to 5px.
  - Shrink comment-actions text size by 20% to maintain visual balance.
  - Add some padding to frontpage list entries, because the size of
    voting arrows was holding the size up. Should be about the same
    as before action icons were shrinked.

Also wound up semi-unrelated fixing the comment nesting border-left
colors on TheMotte mobile, coffee, win98, dramblr, and midnight.
All changes tested most thoroughly on those themes.
2022-09-08 05:09:41 -05:00
iro84657
2767d556ca Clean up handling of "view more comments" button 2022-09-07 17:30:18 -05:00
DinoInNameOnly
4b935addb8 Remove the rule against weaponizing the block feature. #166 2022-09-07 03:31:40 -05:00
Ben Rog-Wilhelm
20fa9ce79f Move a bunch of moderation tools to admin level 2 2022-09-06 18:51:24 -05:00
TLSM
e0e4c79048 Add secondary navbar for orphaned pages.
Originally motivated by fixing #263 (add a mod list), the root cause
of which was that we had a number of orphaned pages, one being the
admins list.

In the upstream, we moved links to a number of infrequently-accessed
pages to a secondary nav in the sidebar. This commit implements a
similar approach to provide links to the admin list and modlog. To
make the nav less visually unbalanced, Random Post/User were also
moved out of the header.

To provide mobile support, this secondary nav is presented in the
hamburger menu. This also provides a place to link /rules, which
otherwise has no link on mobile (that I can readily find).

Finally, the original intent of providing a mod list motivates some
style changes to admins.html to get rid of visible truescore, make
names appear consistently with names elsewhere, and ensure links to
leaderboard aren't accidentally leaked.
2022-09-06 12:40:20 -05:00
TLSM
e40228d7ee Remove slur replacer toggle from settings.
The Slur Replacer feature from rDrama has already been removed, but
the toggle for it in settings remained. A user in Discord pointed out
it was confusing and potentially disconcerting to have a default-on
toggle to 'enable slurs'.
2022-09-06 12:35:22 -05:00
TLSM
13a6444f67 Fix #265: show sidebar on post/comment pages.
Logic already existed for this and is operative on the upstream.
However, it was restricted to only show sidebars for posts inside
subs ("holes"). We simply remove that check so it works on posts
without a sub set, namely all of the ones on TheMotte.
2022-09-06 12:35:22 -05:00
TLSM
70c8a942b6 Remove games.
Unfortunately not totally dead code paths, and special case behavior
for them complicated commenting and sorting logic in a number of
places.
2022-09-05 23:44:18 -05:00
TLSM
3e8904757a Remove coins from popovers, disable coin routes.
The last places coins were visible to non-admins were in user popovers
and, potentially, via direct access of /@<username>/coins. These have
been removed.

Additionally, there are a number of routes which, despite being removed
from the UI, were still operative and usable. These are disabled
pending possible(?) future uses of coins.
2022-09-05 23:44:18 -05:00
TLSM
ef65a3f341 Fix #246: new comment counts on desktop listings.
Logic to provide new comment count indicators on submission_listings
exists but seems to have been lost on desktop (though working on
mobile) during some frontpage design changes. We now add it back.
2022-09-05 00:44:13 -05:00
TLSM
2f8afbf4f8 Reorder header icons to prioritize notifications. 2022-09-05 00:44:13 -05:00
TLSM
129d644a3f Add active user counter logic; add to admin tools.
Ports in lightly modified logic from the upstream which tracks active
sessions to provide counters and listings to understand site traffic
in the admin panel.
2022-09-05 00:44:13 -05:00