-
Notifications
You must be signed in to change notification settings - Fork 2
/
User Model Methods
48 lines (45 loc) · 897 Bytes
/
User Model Methods
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
constructor X
updateInfo X
isInActiveQuest
findCheckins
isPrevoiusCheckIn
getActiveQuestId
updateActiveQuest
updateCheckIns
calculateUserScore
isActiveQuestComplete
addCompletedQuest
updateBadgeAndClass
processPhoto
save
isOwner
removeGroup
makeActiveQuest X
addQuest X
removeQuest
isInMyQuest
isCompletedQuest
isActiveQuest
resetPassword
sortUsersByPoints
findUsersWithoutQuests
removeGroupFromUserGroup
removeGroupFromUserCreatedGroups
updateQuestOnManyUsers
register X
login X
findManyUsersByGroup X
findManyById X
findManyCheckInCommentsById
findByEmail X
matchUserToComment
findById X
findByUserName X
FindLeaders
searchByName X
findAndReplaceQuestCreators
generateTemporaryPassword
sendPasswordResetEmail
If the user has no joined quests then the link needs to go to the find quests page and not the view your quests
Add to ReadMe
-seed test database with locations through curl -X POST