forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

15496 Commits (eead5570e59cddd092ed2cb7f334fb7e600e9db0)

Author SHA1 Message Date
Aevann1 eead5570e5 fsd 2022-05-20 16:17:09 +02:00
Aevann1 8a54215464 Merge branch 'birthgay-staging' of https://github.com/Aevann1/Drama into birthgay-staging 2022-05-20 00:56:55 +02:00
Aevann1 5548160912 fsd 2022-05-20 00:56:53 +02:00
Snakes ee8c54a8d4 Replace journoid w b-day message, h/t @nekobbbbbbit 2022-05-19 18:48:55 -04:00
Aevann1 f4d5998e80 fsd 2022-05-20 00:38:03 +02:00
Aevann1 330bea7c32 Merge branch 'birthgay-staging' of https://github.com/Aevann1/Drama into birthgay-staging 2022-05-20 00:33:55 +02:00
Aevann1 c093d8cbb1 fsd 2022-05-20 00:33:53 +02:00
Snakes b7594e2cd2 Merge remote-tracking branch 'upstream/frost' into birthgay-staging 2022-05-19 18:32:17 -04:00
Nekobit 568e32fff5 Birthday Navbar (#276)
* q

* Update comments.html

* Update comments_v.js

* Baloons.webp

* Birthday bash
2022-05-20 00:31:40 +02:00
Aevann1 b1db6b1bfa Merge branch 'birthgay-staging' of https://github.com/Aevann1/Drama into birthgay-staging 2022-05-20 00:24:37 +02:00
Aevann1 0eb39b987c 2022-05-20 00:24:34 +02:00
gooseman d903da42a8 mnbvghfybhj 2022-05-19 18:19:44 -04:00
Aevann1 d5443a9efc Merge branch 'birthgay-staging' of https://github.com/Aevann1/Drama into birthgay-staging 2022-05-20 00:10:05 +02:00
Aevann1 85bf0ab866 sfd 2022-05-20 00:10:02 +02:00
Aevann1 9ea8d1e23a Update main.css 2022-05-20 00:09:13 +02:00
Snakes 73b9bb3743 Fix merge mistake on FA icons. 2022-05-19 18:05:13 -04:00
Aevann1 5d07623c1c Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-20 00:00:26 +02:00
Aevann1 b3740dca14 gf 2022-05-20 00:00:24 +02:00
Aevann1 c6810689ec sneed 2022-05-19 22:00:02 +00:00
Snakes c789f6923e Merge remote-tracking branch 'upstream/frost' into birthgay-staging 2022-05-19 17:59:35 -04:00
Snakes 039991dd43 Add birthgay event banner assets, template change. 2022-05-19 17:26:22 -04:00
Snakes 5e85f34d3c Double XP enabled: actual launch timestamp. 2022-05-19 17:22:55 -04:00
Snakes b09cad1a84 Swap header icon to :marseyparty:. 2022-05-19 17:16:07 -04:00
Snakes 39c354c3fd Enable DXP at 2022-05-19 2200Z. 2022-05-19 17:15:39 -04:00
Aevann1 a2a3765393 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-19 20:36:29 +02:00
Aevann1 db3ed7961f idk 2022-05-19 20:36:26 +02:00
Aevann1 6987601bdb sneed 2022-05-19 18:00:01 +00:00
Aevann1 e511737702 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-19 19:58:22 +02:00
Aevann1 3e2af45a59 fds 2022-05-19 19:58:18 +02:00
Snakes ad328ff2d8 Award modal: flairlock note length limit in UI.
The award modal note field had a maxLength of 200 characters.
This was retained when repurposing the field for the new flair to be
applied by a flairlock award. However, flairs have a maxLength of 100
characters. award_modal.js now makes this clearer in the UI by
changing the maxLength of note when a flairlock award is picked.
2022-05-19 13:56:04 -04:00
Snakes 69dec16f55 Shop badge discount: fix Spender, add Roller disc.
The shop discount from Big Spender badges was incorrectly implemented:
intended behavior was for 2pp per badge. However, the values in
const.py were set as if a user could only have one Spender badge at
once, while user.py @ discount was implemented as if they were
additive. Since users factually do have multiple big spender badges,
the values in const were adjusted to reflect this fact.

Also, lootbox Roller badges now each offer a 1pp discount.
users.py @ discount was improved to check against the `discounts`
keys for appropriate badges, rather than a hardcoded list.
2022-05-19 13:41:04 -04:00
Snakes 0608e0ce9d Media folder: create, add birthgay, move crab. 2022-05-19 13:09:19 -04:00
Aevann1 db2e8a58db sneed 2022-05-19 14:00:02 +00:00
Aevann1 44cd7f4a92 fds 2022-05-19 09:49:15 +02:00
Aevann1 f6cf02b210 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-19 09:44:46 +02:00
Aevann1 371c7375c8 fds 2022-05-19 09:44:43 +02:00
William 5ae53637af Also check KeyboardEvent.metaKey for the post shortcut. (#275) 2022-05-19 00:20:05 -04:00
Snakes 5500bd4e03 Polls formatting help, minor revision. 2022-05-18 18:04:17 -04:00
Snakes 9ef2d95874 Expand formatting help on polls. 2022-05-18 17:41:01 -04:00
Snakes 289a00c302 Lootboxes: remove notification to Carp. 2022-05-18 17:33:40 -04:00
Aevann1 2e9d6e13fd sneed 2022-05-18 20:00:01 +00:00
Aevann1 e9e4a219f9 fdMerge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-18 19:29:15 +00:00
Aevann1 ef0046f091 fsd 2022-05-18 21:29:07 +02:00
Aevann1 3354363261 dfs 2022-05-18 21:04:06 +02:00
Aevann1 cb09ab4b12 sneed 2022-05-18 19:00:01 +00:00
Aevann1 1874c3ffbc Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-18 20:45:05 +02:00
Aevann1 15f0b963c7 fc 2022-05-18 20:45:04 +02:00
Aevann1 29d8acc09f sneed 2022-05-18 06:00:01 +00:00
Snakes 38680fd38c Fix user popovers failing from early bs_trigger.
Very strange bug, and I hope this fixes it. User popovers, e.g. on
comments pages when names are clicked, spontaneously stopped working
on my local instance. This parallels occasional reports from others
that their popovers stop working for seemingly no reason.

The primary symptom appeared to be in comments+submission_listing.js
@ popclick(...), which became unable to find any `.popover` elements
in the document, resulting in a console error. Running `bs_trigger(
document)` manually in console after page load always fixed this.
As such, I am assuming this is (hopefully) a timing bug from the
bs_trigger call in header.js running before document ready. The call
now runs on a standard document ready callback boilerplate.
May God have mercy on our souls if this doesn't fix it.
I discovered that running `bs_trigger(document)`
2022-05-18 01:46:14 -04:00
Snakes f0c9a354e9 Implement better double XP infrastructure.
Double XP now has a constant for unixtime to start. Logic around
DXP is designed to only apply to votes made after DOUBLE_XP_ENABLED.
This prevents an exploit in the old implementation where spam voting/
unvoting a post made prior to the DXP start could farm 300 DC/hr/alt.
Also it's more maintainable and comports with the coin_delta changes
to prevent self-vote coin changes.
2022-05-18 00:54:05 -04:00