Implemented new Achievement and Badge: Invited a Friend (Fixes #8615) (#8819)

* Added text to locale

* Added achievement to content and libs

* Added achievement modal

* Added achievement to notification model and controller

* Added achievement to user schema

* Grant achievement to inviter when user registers using emailed link

* Fix icon name

* Added integration test

* Fix linting

* Added sprite
This commit is contained in:
Kevin Smith
2017-07-20 02:39:39 +01:00
committed by Sabe Jones
parent 625b159880
commit 11a4c1c95d
10 changed files with 55 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ const NOTIFICATION_TYPES = [
'GUILD_PROMPT',
'GUILD_JOINED_ACHIEVEMENT',
'CHALLENGE_JOINED_ACHIEVEMENT',
'INVITED_FRIEND_ACHIEVEMENT',
];
const Schema = mongoose.Schema;