Hey Pod runners.
As an FYI, I am about to merge a new "invite link" functionality into master.
"why are you working on this feature" you might ask?
Good question:
The main reason was because for invite functionality, we were using a gem called "Devise invitalbe". It was a good idea when we first used it, but customizing proved problematic, as forking the gem meant it would not upgrade cleanly. We needed to upgrade cleanly, as we want to stay more current with new versions of Rails, which have tons of great features around cleaner code and modularity.
Since our junky fork of Devise Invitable was not updateable, we were forced to remove it. At the same time, we slightly changed how invites work.
Now every user has a URL with a default amount of invites on it. A user can share that link wherever they want, and each time a user signs up, the limit counter is decremented. User objects are no longer created with each invite, which should make people databases cleaner, and be generally less annoying :) We also got to delete tons of terrible code!
The default invite count is set in application.yml, under the optional "invite_count" key. A pod admin can also increase the number of invites for a specific user via the admin panel.
Additionally, admin invites now work slightly differently. The invite itself will come from the current logged in admin. If you do not want this to happen, you can specify and admin username to send the invite from the optional "admin_account" key.
You can see the updated application.yml.example for more details on these two new keys.
There are a bunch of features which could be extended for this new, more flexible admin link, so by all means, if you wanted to work on it, I would love to have a conversations to help you contribute!
Thanks again,
Maxwell.