[dreamwidth/dreamwidth] dcb215: shop til you drop part 2 (#3008)
Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: dcb2154aff7b457a92a14adab6a6ffb81a2944da https://github.com/dreamwidth/dreamwidth/commit/dcb2154aff7b457a92a14adab6a6ffb81a2944da Author: Jen kareila@dreamwidth.org Date: 2022-11-10 (Thu, 10 Nov 2022)
Changed paths: M bin/upgrading/en.dat M cgi-bin/DW/Shop/Item/Account.pm M cgi-bin/LJ/Widget/ShopItemOptions.pm M htdocs/shop/account.bml M htdocs/shop/account.bml.text M htdocs/shop/gifts.bml M views/shop/icons.tt M views/shop/icons.tt.text M views/shop/points.tt M views/shop/points.tt.text
Log Message:
shop til you drop part 2 (#3008)
- not all CAP entries are created equal
This was generating "Use of uninitialized value in string eq at cgi-bin/DW/Shop/Item/Account.pm line 480."
- don't include staff accounts in "gift paid time" suggestion list
It just looks wrong, especially if you follow a LOT of official comms.
- add backlinks to shop pages for icons and points
The pages for accounts and rename tokens had these, but the others did not.
- allow for=self paid time buyers to future date purchases
We were hiding all of the "gift" options on this version of the form, but there are legit reasons for someone to want to future-date a purchase for themselves. You could work around it by visiting the for=gift version of the page and entering your own username, but that's pointlessly annoying.
- [#1339] warn when purchasing regular paid time for premium account
You can override the warning by resubmitting the form with the new checkbox checked, if you don't want to adjust the delivery date or the type of account time.
Fixes #1339.
warning should only include date if the logged-in user owns the account
[#2917] include expiration date in paid time notification email