Precedence: bulk
X-Auto-Response-Suppress: OOF
-{{ _("Hello %s,") % account.first_name }}
+Dear Friends of IPFire,
- I’m writing to you, about to sign off for Christmas, filled with pride for our
- great project and gratitude for our wonderful supporters.
+ Did you see the highlights of 2023 we shared on our socials? If you didn’t, check our our
+ Mastodon (https://social.ipfire.org/@news), Twitter (https://twitter.com/ipfire) and our
+ LinkedIn (https://www.linkedin.com/company/ipfire) to see some of our favourite users
+ stories sent in by our friends and colleagues using IPFire.
- This has been a challenging but enjoyable year and I’d like to thank you for
- the support you’ve shown, whether through your contributions to the project,
- your feedback or your donations, our project wouldn’t have such an impact
- without people like you!
+ I wanted to take the opportunity to thank you for all of your support in 2023 and thank you
+ in advance for your continued support as we head into 2024. As you know, we’re the only
+ remaining truly Open Source Linux-based firewall and it is important to us not just to
+ continue to develop this great project, but also to remain Open Source and available to all.
+ Our mission is to continue to provide the same level of service with continued enhancements
+ and better usability and all of this requires the continued to support of our fantastic users.
- As ever, thank you to my fellow IPFire team members and contributors for your
- efforts to make our project the best it can be
- Everyone has worked super-hard this year so whatever you’re celebrating this
- December, I wish the very best for you and your families over the festive
- break and may you have a happy and prosperous New Year.
-
- If you haven’t yet donated to the project, it isn’t too late -
- you can donate via the link below.
+ If you’d like to help us kick off 2024 the right way, please click the link where
+ you can donate to our project. Every donation is appreciated as it contributes to the
+ continued success of our project and helps us keep our software open to all.
https://www.ipfire.org/donate
import iso3166
import tornado.web
-from . import auth
from . import base
-class DonateHandler(auth.CacheMixin, base.BaseHandler):
+ SKUS = {
+ "monthly" : "IPFIRE-DONATION-MONTHLY",
+ "quarterly" : "IPFIRE-DONATION-QUARTERLY",
+ "yearly" : "IPFIRE-DONATION-YEARLY",
+ }
+ DEFAULT_SKU = "IPFIRE-DONATION"
+
+class DonateHandler(base.BaseHandler):
def get(self):
- country = self.current_country_code
+ if self.current_user:
+ country = self.current_user.country_code
+ else:
+ country = self.current_country_code
# Get defaults
- first_name = self.get_argument("first_name", None)
- last_name = self.get_argument("last_name", None)
amount = self.get_argument_float("amount", None)
currency = self.get_argument("currency", None)
frequency = self.get_argument("frequency", None)