Commit Graph

12240 Commits (75d4f0d3aa9c698ded1e44a9aec5bd8d8d20fb12)

Author SHA1 Message Date
Aevann1 2cfd7c74a0 fds 2022-05-20 21:00:13 +02:00
Aevann1 aed84df4ad fsd 2022-05-20 20:45:12 +02:00
Aevann1 4f9df8c5bf sdf 2022-05-20 20:32:36 +02:00
Aevann1 301f134309 fds 2022-05-20 18:02:27 +02:00
Aevann1 a83a72ca95 fsd 2022-05-20 16:51:14 +02:00
Aevann1 f4ac063354 sfd 2022-05-20 16:48:13 +02:00
Aevann1 4a6545ef5d dfsfds 2022-05-20 16:39:46 +02:00
Aevann1 40dce26a65 Merge branch 'birthgay-staging' of https://github.com/Aevann1/Drama into birthgay-staging 2022-05-20 16:17:11 +02:00
Aevann1 eead5570e5 fsd 2022-05-20 16:17:09 +02:00
Snakes 16e3d3b3e9 Disable tilts on distinguished posts. 2022-05-19 22:27:51 -04:00
Snakes 97bfdc5d3e Improve readability on header birthgay bg. 2022-05-19 19:15:49 -04: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
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 0eb39b987c 2022-05-20 00:24:34 +02:00
Aevann1 85bf0ab866 sfd 2022-05-20 00:10:02 +02:00
Aevann1 b3740dca14 gf 2022-05-20 00:00:24 +02: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 db3ed7961f idk 2022-05-19 20:36:26 +02: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 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
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 ef0046f091 fsd 2022-05-18 21:29:07 +02:00
Aevann1 3354363261 dfs 2022-05-18 21:04:06 +02: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
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
Snakes b51ab09b27 Lootboxes: re-enable for birthgay, improve.
Re-enable lootboxes in const.py, and update their contents in
awards.py. Additionally, improve appearance in shop.

Upon purchasing a lootbox, users now receive a message informing
them of the contents thereof.

Lootbox backend now properly uses CARP_ID (and checks for the
existence thereof correctly).

Also, minor changes to how const.py whitelists awards.
2022-05-17 22:10:04 -04:00
Snakes 8d6e542eaf Fix shop MBux button wrapping to two lines. 2022-05-17 22:07:07 -04:00
Snakes f9bfb6ddc6 Update birthgay award descs, ricardo price. 2022-05-17 20:04:16 -04:00
Nekobit 86e90efb90 bump (#272)
* q

* Update comments.html
2022-05-17 18:23:44 -04:00
Snakes 1434270975 Cache busting comments_v.js (again). 2022-05-17 17:20:37 -04:00
Aevann1 e7e37cd657 Merge branch 'frost' of https://github.com/Aevann1/Drama into frost 2022-05-17 23:09:39 +02:00
Aevann1 0b28758e16 stole testing from mottechads 2022-05-17 23:09:36 +02:00