feat(referrals): add referral attribution and daily login rewards
- Track referral attribution at registration via ?ref code with same-IP and duplicate-pair guards - Add daily login rewards with streak tracking, claim flow and sendCurrency payout backed by RCON with DB fallback - Add admin pages for referral settings and the daily reward schedule - Add migration 0033 with tables, seed schedule, settings and ACL grants - Add admin.referrals.* and admin.dailyrewards.* permission slugs - Localize new copy in en, nl and it
This commit is contained in:
1 parent
463bc2cb47
commit
c3ff497050
30 files changed
+2028
-11
No files matched your search
@@ -48,6 +48,12 @@ export const PERMS = {
|
||||
// ── Polls Module ──
|
||||
POLLS_VIEW: "admin.polls.view",
|
||||
POLLS_EDIT: "admin.polls.edit",
|
||||
// ── Referrals Module ──
|
||||
REFERRALS_VIEW: "admin.referrals.view",
|
||||
REFERRALS_EDIT: "admin.referrals.edit",
|
||||
// ── Daily Login Rewards Module ──
|
||||
DAILY_REWARDS_VIEW: "admin.dailyrewards.view",
|
||||
DAILY_REWARDS_EDIT: "admin.dailyrewards.edit",
|
||||
// ── Notifications Module ──
|
||||
NOTIFICATIONS_VIEW: "admin.notifications.view",
|
||||
NOTIFICATIONS_EDIT: "admin.notifications.edit",
|
||||
|
||||
Reference in new issue
Block a user