Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cv-Keep/cvkeep-backend
/ functions
Functions
128 in github.com/Cv-Keep/cvkeep-backend
⨍
Functions
128
◇
Types & classes
4
↓ 25 callers
Function
route
(type, url, resource)
endpoints/routes.js:15
↓ 8 callers
Function
sendError
(error, status = 400)
endpoints/resources/account/changeemail.js:8
↓ 7 callers
Function
sendError
(error, status = 400)
endpoints/resources/account/forgotpassword.js:10
↓ 5 callers
Function
sendError
(error, status = 403)
endpoints/resources/auth/register.js:9
↓ 5 callers
Function
sendError
(error, status = 403)
endpoints/resources/account/changepassword.js:9
↓ 4 callers
Method
isProfane
* Determine if a string contains profane language. * @param {string} string - String to evaluate for profanity.
functions/badwords/index.js:30
↓ 4 callers
Function
sendError
(error, status = 403)
endpoints/resources/auth/signin.js:7
↓ 4 callers
Function
sendError
(error, status = 400)
endpoints/resources/auth/confirm.js:8
↓ 4 callers
Function
sendError
(error, status = 400)
endpoints/resources/curriculum/get.js:8
↓ 4 callers
Function
sendError
(error, status = 400)
endpoints/resources/account/changeprivacy.js:8
↓ 4 callers
Function
sendError
(error, status)
endpoints/resources/account/changelanguage.js:5
↓ 4 callers
Function
sendError
(error, status = 400)
endpoints/resources/account/deactivateaccount.js:5
↓ 3 callers
Function
sendError
(error = 'error.doLoginToExecuteAction', status = 403)
endpoints/resources/auth/guard/index.js:8
↓ 3 callers
Function
sendError
(error, status = 403)
endpoints/resources/auth/socials/facebook/facebook.js:9
↓ 3 callers
Function
sendError
endpoints/resources/auth/socials/github/github.js:12
↓ 3 callers
Function
sendError
(error, status = 400)
endpoints/resources/search/searchable.js:8
↓ 3 callers
Function
sendError
(error, status = 403)
endpoints/resources/account/changeusername.js:9
↓ 3 callers
Function
sendResOk
()
endpoints/resources/account/forgotpassword.js:19
↓ 2 callers
Function
allDone
(data)
endpoints/resources/auth/register.js:48
↓ 2 callers
Function
getKey
(salt)
functions/encryption.js:16
↓ 2 callers
Function
sendError
(error, status = 403)
endpoints/resources/avatar/removeavatar.js:4
↓ 2 callers
Function
sendError
(error, status)
endpoints/resources/curriculum/report.js:8
↓ 2 callers
Function
sendError
(error, status = 400)
endpoints/resources/curriculum/email.js:8
↓ 2 callers
Function
sendError
(error, details, status = 500)
endpoints/resources/curriculum/save.js:10
↓ 2 callers
Function
sendError
(error, status = 400)
endpoints/resources/account/checkusername.js:7
↓ 1 callers
Method
clean
* Evaluate a string for profanity and return an edited version. * @param {string} string - Sentence to filter.
functions/badwords/index.js:53
↓ 1 callers
Method
cleanObject
* Evaluate an object for profanity and return an edited version. * @param {string} string - Sentence to filter.
functions/badwords/index.js:63
↓ 1 callers
Method
registerRSA
()
functions/jwt/index.js:17
↓ 1 callers
Method
replaceWord
* Replace a word with placeHolder characters; * @param {string} string - String to replace.
functions/badwords/index.js:43
↓ 1 callers
Function
sendError
endpoints/resources/action-url/action-url-exec.js:8
↓ 1 callers
Method
sign
(payload)
functions/jwt/index.js:26
↓ 1 callers
Method
verify
(token)
functions/jwt/index.js:34
Function
Cryptr
(secret)
functions/encryption.js:4
Function
_arrClean
(arr, strLimit)
functions/ngrams.js:21
Function
_chunkStr
(str, chSize)
functions/ngrams.js:15
Function
_flatObjectStrings
(obj)
functions/cvNgrams.js:7
Function
_generateCvNgrams
(data)
functions/cvNgrams.js:20
Function
_generateCvRawText
(data)
functions/cvNgrams.js:33
Method
addWords
* Add word(s) to blacklist filter / remove words from whitelist filter * @param {...string} word - Word(s) to add to blacklist
functions/badwords/index.js:71
Function
areValidEmails
(arrayOfEmails)
functions/email.js:25
Function
arrayUnique
(array)
functions/utils.js:54
Function
bytesToMB
(b)
functions/utils.js:50
Function
changeEmail
(currentEmail, newEmail)
functions/user.js:174
Function
changePassword
(email, newPassword)
functions/user.js:197
Function
changeUsername
(currentUserEmail, newUsername)
functions/user.js:203
Function
checkMX
(email = '')
functions/email.js:45
Function
confirmationEmailsMatch
(email, confirmation)
functions/email.js:29
Method
constructor
* Filter constructor. * @constructor * @param {object} options - Filter instance options * @param {boolean} options.emptyList - Instantiate f
functions/badwords/index.js:15
Method
constructor
()
functions/jwt/index.js:13
Function
corsMiddle
()
cors.js:15
Function
create
* Use this function to schedule an action for a given user. You * Must specify the following parameters: * * { * user: String, // user
functions/actionUrl.js:26
Function
create
(data)
functions/user.js:42
Function
create
(data)
functions/cv.js:20
Function
createJwtSecrets
()
functions/jwt/jwtRsa.js:17
Function
createRegisteringHash
(email)
functions/user.js:108
Function
daysSince
(date)
functions/utils.js:58
Function
deactivateAccount
(userEmail)
functions/user.js:343
Function
decText
(hash)
functions/encryption.js:59
Method
decode
(token)
functions/jwt/index.js:22
Function
decodeActionUrl
(url)
functions/actionUrl.js:81
Function
dispatch
* call the current mailer to send email with * the given options overriden by defaults * * @param {mailer options} options
functions/mailer/index.js:68
Function
encText
(text)
functions/encryption.js:55
Function
encodeActionUrl
(params)
functions/actionUrl.js:73
Function
encodePassword
(pass)
functions/user.js:161
Function
errorPage
(res, message)
functions/utils.js:7
Function
forgotPass
(email, res)
functions/user.js:223
Function
generate
(word, limit = 3)
functions/ngrams.js:2
Function
generateRSAKeyPair
()
functions/jwt/jwtRsa.js:31
Function
get
(query, options = {})
functions/user.js:14
Function
get
(query)
functions/cv.js:8
Function
getAccessToken
(ghCode, ghClientId, ghClientSecret)
endpoints/resources/auth/socials/github/helpers.js:5
Function
getActiveUser
(query, options = {})
functions/user.js:74
Function
getAllowedOrigins
()
cors.js:5
Function
getAvatar
(username)
functions/user.js:320
Function
getDefaults
()
functions/mailer/helpers.js:22
Function
getEnv
(debug = false)
config/envUtils.js:7
Function
getEnvContent
(envPath)
config/envUtils.js:23
Function
getEnvPath
()
config/envUtils.js:16
Function
getForgotPassCompleteData
(hash)
functions/user.js:282
Function
getForgotPassObject
(hash)
functions/user.js:256
Function
getJwtRSAKeys
()
functions/jwt/jwtRsa.js:5
Function
getLayout
(locale)
functions/mailer/helpers.js:14
Function
getLoggedUser
(req)
functions/auth.js:44
Function
getMailer
()
functions/mailer/helpers.js:10
Function
getRegisteringByHash
(hash)
functions/user.js:145
Function
getSchema
(data = {})
functions/user.js:355
Function
getTemplate
(folder, filename, locale)
functions/mailer/helpers.js:18
Function
getUser
(accessToken)
endpoints/resources/auth/socials/github/helpers.js:19
Function
getUserData
(userID, accessToken)
endpoints/resources/auth/socials/facebook/helpers.js:5
Function
getUserEmail
(accessToken)
endpoints/resources/auth/socials/github/helpers.js:34
Function
guard
(app)
cors.js:33
Function
incViewCounter
(email)
functions/cv.js:108
Function
isRegistering
(email)
functions/user.js:137
Function
isValidEmail
(email)
functions/email.js:21
Function
lock
(cv, photo)
functions/cv.js:62
Function
mkdirp
(path)
functions/utils.js:38
Function
parseEnv
(envContent, debug)
config/envUtils.js:27
Function
passwordsMatch
(passA, passB, encode = false)
functions/user.js:165
Function
perform
(action)
functions/actionUrl.js:53
Function
reactivate
(email)
functions/user.js:98
next →
1–100 of 128, ranked by callers