makesaltlake / heimdall Goto Github PK
View Code? Open in Web Editor NEWGatekeeper of the Bifröst, Guardian of Makerspaces Everywhere
License: MIT License
Gatekeeper of the Bifröst, Guardian of Makerspaces Everywhere
License: MIT License
Per https://makesaltlake.slack.com/archives/CGDLBCCCT/p1610320781275700
We need a way to allow developers to upload new firmware for the badge readers and writers and allow them to download it over-the-air and update themselves whenever it's changed.
Current thinking is to have that baked into Heimdall itself, probably in the form of something like:
DeviceFirmware
, that has an Active Storage attachment for a binary firmware blobOpen questions:
The only thing keeping MSL's WordPress instance (which costs a pretty penny to run, more than Heimdall itself) around now that the website has been moved to makesaltlake/public_website is that it handles member signup and membership changes (like changing plans and adding card info). That's a lot of money to spend just for that.
I had a look around some time ago at other self-service recurring subscription signup and management portals and all of the options I found were even more expensive at our scale (in no small part because they tend to bill on revenue percentage) or missing features we need (like a way to log in and switch between plans).
So, given all of that and given that a lot of neat possibilities open up if members are able to sign into Heimdall (like certifiers being able to enter certifications themselves instead of Jen having to enter them manually, members being able to purchase gift cards, and Heimdall sending emails to all members certified in a given area when an access code changes), I'd like to try writing a membership signup and management system into Heimdall.
The way I'm thinking that would go down is as follows:
This was an earlier ask from Rio's era; it's possible Jen and Michael may not want it. We should talk to them about the pros and cons of doing this.
Add a system to allow certifiers to:
There may need to be some way for a certifier to create users in the system, or alternatively we could just expect them to enter tentative names for unknown users and someone else can do the reconciliation.
This is per a request from Jen, though I can't find the source at the moment - we would like to be able to view users who have a particular discount applied at the current moment.
This may be tricker than it sounds, because MemberPress creates oneoff Stripe plans for each user and doesn't appear to expose to Stripe which MemberPress-side discount was applied when the user signed up. We may need to talk to MemberPress's API to do that...
...and, given #8, it's debatable whether we should do that now or whether we should wait a bit to see if we're able to do #8 and import all subscriptions, including MemberPress discount data, into Heimdall and save ourselves some trouble.
That will allow the synchrotron reporter to report instantly without having to iterate through all Stripe subscriptions via Stripe's API each time it's about to post.
It will also make #10 easier to implement since we can detect if the subscription in question already has unpaid
set to true
- in which case there's no need to re-notify about a failed payment.
The Synchrotron notification bot posts "failed payment" messages to Slack every time a payment retry fails. Jen tells me that's noise, and having one single "failed payment" message when a member's payment starts failing and another "payment is no longer failing" message when their payment issues have been resolved would be sufficient.
Change the bot to do that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.