Commit graph

15206 commits

Author SHA1 Message Date
Ben Rog-Wilhelm
728260e4ad
Add .editorconfig. 2022-05-08 23:14:58 -05:00
Ben Rog-Wilhelm
db411b04e4
Remove not-tonally-appropriate Code of Conduct. 2022-05-08 23:14:43 -05:00
Ben Rog-Wilhelm
edfc35bce2
Merge pull request #35 from 64617/frost
Default all sorts to new
2022-05-08 22:18:50 -05:00
64617
8dc3be28fc dont force users who dont want new to switch sorting every time they open a page (Is this the intended behaviour?) 2022-05-09 11:11:54 +08:00
64617
f6cc00ea1f don't change noeol in files to make the PR cleaner 2022-05-09 11:03:52 +08:00
64617
2298f3536f Merge branch 'frost' of github.altdev.com:64617/rDrama into frost 2022-05-09 11:01:00 +08:00
64617
19d54d8521 default user settings to sort all posts && comments by new 2022-05-09 10:59:14 +08:00
Ben Rog-Wilhelm
761d1affab
Merge pull request #32 from themotte/remove-marsey-bot-autocomments
Remove automatic marsey comments
2022-05-08 21:58:57 -05:00
64617
0a37be8020 use default value instead of editing kwargs 2022-05-09 10:58:22 +08:00
Ben Rog-Wilhelm
879271dd19
Merge pull request #29 from k5josh/frost
Replacing icon images
2022-05-08 21:53:52 -05:00
64617
c30de9335e
Merge branch 'themotte:frost' into frost 2022-05-09 02:52:59 +00:00
64617
7c18978c54 default comment sorts to new 2022-05-09 10:51:27 +08:00
Michael House
8a89482d33
Merge pull request #30 from themotte/remove_sidebar
Created rules page and updated sidebar
2022-05-08 21:34:26 -05:00
Julian Rota
21f867a6ae Remove automatic marsey comments 2022-05-08 19:20:53 -04:00
Michael House
d25d5aa70e Created rules page and updated sidebar 2022-05-08 07:29:01 -05:00
k5josh
47081ac7e0 Update icon.webp
This is the favicon
2022-05-08 07:08:23 -05:00
k5josh
731f924a1b Update headericon.webp 2022-05-08 07:08:03 -05:00
k5josh
fd0216fab8 Update logo.webp
This is the header logo
2022-05-08 07:07:39 -05:00
Ben Rog-Wilhelm
5b09b72206
Merge pull request #8 from themotte/removing_unused_assets
Removing unused assets
2022-05-04 22:50:17 -05:00
Michael House
74cdfce186 Removed or moved some images that are not relevant to TheMotte 2022-05-04 05:08:48 -05:00
Michael House
e9d6bb151e Removing reliance on rDrama assets 2022-05-03 22:10:41 -05:00
Michael House
e6df489d33
Merge pull request #5 from themotte/fixing_header_image
Set static image for banner
2022-05-03 21:53:15 -05:00
Michael House
a18b2f134e Set static image for banner 2022-05-03 21:29:33 -05:00
Michael House
d827372d62
Merge pull request #3 from themotte/fixing_dev_env
Fixed some bugs likely caused by using a newer version of docker-compose
2022-05-02 21:39:52 -05:00
Michael House
37765f8449 Fixed some bugs likely caused by using a newer version of docker-compose 2022-05-02 21:01:35 -05:00
Aevann1
e8f0d84cc7 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-02 23:30:06 +02:00
Aevann1
9a793883c1 dsa 2022-05-02 23:30:03 +02:00
Aevann1
a0395a86dd fgMerge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-02 21:13:44 +00:00
Aevann1
b74a2b9c84 sneed 2022-05-02 21:00:01 +00:00
Aevann1
8921415b65 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-02 22:02:24 +02:00
Aevann1
7d872bd6ef sfd 2022-05-02 22:02:22 +02:00
TLSM
bdda95a582
Partially revert self-upvote UI bug fix. (#239)
Turns out the snippet in templates/comments.html was necessary to
get proper behavior in notifications.

Might come back to debug this later, but people use notifications more
than they deal with edge case self-upvotes, so reverting for now.

The changes to prevent coin fuckery with self-upvoting appear to work
correctly in the wild, so leaving those in place.
2022-05-02 21:42:28 +02:00
Aevann1
307c7afc4d dfg 2022-05-02 21:39:18 +02:00
gooseman
2d6fee44fe
fix table thing for carp 2022-05-02 15:36:43 -04:00
Aevann1
8536d93c87 fhg 2022-05-02 21:32:15 +02:00
Aevann1
737d3a80a8 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-02 21:30:15 +02:00
Aevann1
eb68ac3907 fsd 2022-05-02 21:30:12 +02:00
carpathianflorist
0171d965a1
Update journoid_banner.html 2022-05-02 15:13:10 -04:00
Aevann1
8c77b36c33 sdf 2022-05-02 21:11:03 +02:00
Aevann1
d124c14a78 dfg 2022-05-02 21:10:49 +02:00
Aevann1
9057d39729 sdf 2022-05-02 20:56:10 +02:00
Aevann1
128119a5dc sfd 2022-05-02 20:54:53 +02:00
Aevann1
fbf86d553f tre 2022-05-02 20:50:43 +02:00
TLSM
d60ee252a0
Add badge quantity and rarity to /badges. (#238)
Implements feature request to know how many of each badge exists and
to have a 'rarity', a la Steam or PSN badges, relative to number of
non-lurker users.

Because Postgres `COUNT()`s are notoriously costly, /badges has been
memoized for 1hr to avoid a DOS target.
2022-05-02 20:14:06 +02:00
TLSM
5be5528982
Update journoid banner entries. (#237)
Fix Business Insider URL: was duplicate of LoTT Mashable link.
Add Glenn Beck Program mention.
2022-05-02 20:13:07 +02:00
TLSM
344df24148
Fix comment self-upvote removal UI bug. (#236)
Fixes minor UI bug when removing self-upvote on a comment. Previous
behavior, starting from a new comment:
    - Initial state: score 1 from self-upvote, upvote button shows
      highlighted as `color: var(--primary)`.
    - Click on upvote button to remove self-upvote → button
      unhighlights, score displays as 0.
    - [reload page]
    - Score displays as 0, but button is highlighted.
    - Click on upvote button → button unhighlights, score displays
      as -1. [If you reload the page now, state is score 0 &
      highlighted; no change in serverside votes.]
    - Click on upvote again → button highlights, score displays as 0.
    - [reload page]
    - Score displays as 1, button is highlighted.
Direct cause is `templates/comments.html @ L115-117`. I checked
`api_comment`, though, and it adds a vote on new comments, and that
state change propagates to the template's parameters before it renders,
so I believe the only time this triggers is specifically when a user
has removed their self-upvote. Bug is fixed when testing with L115-117
removed. Is there some other edge case it was meant to solve?

Secondary bugfix: Removing a self-upvote _costs_ you a coin & a
truescore point. I think this is one of the few ways to get negative
dramacoin. I chose to fix it by having self-votes and self-unvotes not
change coins/truecoins. The alternative of having new comments & posts
give the user +1 coin/truecoin would modify site behavior, and you'd
retroactively owe some powerusers thousands of DC & truescore.
2022-05-02 20:12:28 +02:00
Aevann1
aba226b95b sfd\ 2022-05-02 20:07:17 +02:00
Aevann1
23cb88ee06 fgd\ 2022-05-02 07:06:43 +02:00
Aevann1
cbd40daf97 6yutg 2022-05-02 04:11:01 +02:00
Aevann1
6fa44b38f9 sdgf 2022-05-02 04:00:14 +02:00