MCPcopy Create free account

hub / github.com/Premshaw23/Learnova / functions

Functions1,455 in github.com/Premshaw23/Learnova

↓ 4 callersFunctionsanitizeSavedCourseIds
(ids, courses = COURSES)
lib/courses.js:238
↓ 4 callersFunctionsendEvent
(event, data)
app/api/events/stream/route.js:34
↓ 4 callersFunctionshouldBypass
()
lib/sessionManager.js:5
↓ 4 callersFunctionstartEditing
( entityType, entityId, currentTitle, parentId = null )
components/dashboard/CurriculumBuilder.jsx:183
↓ 4 callersFunctionupdateOutbox
()
components/AdminDashboard.js:149
↓ 4 callersFunctionupdatePendingOperation
* Updates the status of a pending operation. * @param {string} operationId * @param {string} status - "completed", "failed", "compensating" * @para
lib/transactionCoordinator.js:83
↓ 4 callersFunctionuseFirestoreContext
()
contexts/FirestoreContext.js:213
↓ 3 callersFunctionGET
(request)
app/api/auth/csrf/route.js:7
↓ 3 callersFunctionGET
(request)
app/api/courses/route.js:12
↓ 3 callersFunctioncalculateBadgeProgress
(attendanceRecords = [])
lib/badgeEngine.js:68
↓ 3 callersFunctioncallGroq
( trimmedMessage, messages = [], userId = "anonymous", context = {} )
lib/ai/groq.js:148
↓ 3 callersMethodcheckForConflicts
* Detect conflicting or suspicious offline changes
utils/offlineSyncValidator.js:134
↓ 3 callersFunctioncleanup
()
app/api/events/stream/route.js:43
↓ 3 callersFunctioncleanupSoundscape
()
app/productivity/page.js:702
↓ 3 callersFunctionclearTimers
()
hooks/useIdleTimeout.js:19
↓ 3 callersFunctioncountAchievements
(filter = {})
lib/models/achievementModel.js:127
↓ 3 callersFunctioncreateMockRequest
(headers, bodyData)
components/__tests__/gamificationAwardRoute.test.js:34
↓ 3 callersFunctioncreateMockRequest
(body)
app/api/auth/set-role/__tests__/route.test.js:112
↓ 3 callersFunctioncreateRequest
()
app/api/upload/avatar/route.test.js:42
↓ 3 callersMethoddb
(name)
lib/__tests__/mongodb.test.js:37
↓ 3 callersFunctionensureAchievementIndexes
(db)
lib/models/achievementModel.js:7
↓ 3 callersFunctioneuclideanDistance
(point1, point2)
utils/livenessUtils.js:12
↓ 3 callersFunctionexportToPDF
(data, columns, title, filename)
utils/exportUtils.js:95
↓ 3 callersFunctionextractImageFileFromFormData
(formData)
lib/images/imagesService.js:181
↓ 3 callersFunctionfetchGamification
()
components/StudentDashboard.js:382
↓ 3 callersFunctionfetchLinks
()
components/AdminDashboard.js:281
↓ 3 callersFunctionfilterCourses
({ courses = COURSES, q = "", category = "all", } = {})
lib/courses.js:209
↓ 3 callersFunctionformatDateToICS
(date)
components/TeacherDashboardComponent.js:1484
↓ 3 callersFunctiongenerateCertificatePDF
({ studentName = "Learnova Student", courseTitle = "Advanced Course", completionDate = new Date().toLoca
utils/pdf/generateCertificatePDF.js:15
↓ 3 callersFunctiongetAchievementById
(achievementId)
lib/models/achievementModel.js:89
↓ 3 callersFunctiongetAdminDb
()
lib/firebase-admin.js:184
↓ 3 callersFunctiongetCachedClientPromise
()
lib/mongodb.js:119
↓ 3 callersFunctiongetDashboardLink
(role)
lib/navigation.js:124
↓ 3 callersFunctiongetEncryptionKey
()
lib/progress-encryption.js:20
↓ 3 callersFunctiongetEngagementCategory
(score)
lib/engagementScore.js:68
↓ 3 callersFunctiongetEnvValidationResult
(env = process.env)
lib/env.js:75
↓ 3 callersFunctiongetJob
(jobId)
lib/queue.js:68
↓ 3 callersFunctiongetPdfJs
()
app/StudyAI/DocumentLoader.js:15
↓ 3 callersFunctiongetQuizDataByTitle
(title)
constants/quizData.js:196
↓ 3 callersFunctiongetRouteIcon
(pathname)
lib/navigation.js:166
↓ 3 callersFunctiongetTokenExpiryMinutes
* Maintenance Security Configuration * All values must come from environment variables
utils/maintenanceSecure.js:23
↓ 3 callersFunctiongetWebhookById
(webhookId)
lib/models/webhookModel.js:40
↓ 3 callersFunctionhandleCancelPreview
()
components/universal-profile.js:384
↓ 3 callersFunctionhandleDragOver
( e, targetType, targetIndex, targetModuleId, targetLessonId = null )
components/dashboard/CurriculumBuilder.jsx:349
↓ 3 callersFunctionhandleDrop
( e, targetType, targetIndex, targetModuleId, targetLessonId = null )
components/dashboard/CurriculumBuilder.jsx:376
↓ 3 callersFunctionhandleSeek
(seconds)
app/courses/[id]/page.jsx:308
↓ 3 callersFunctionhandleSelect
(format)
components/ui/ExportDropdown.jsx:49
↓ 3 callersFunctionhandler
()
tests/integration/attendance-warnings.test.js:3
↓ 3 callersFunctionisObject
(item)
lib/conflictResolver.js:12
↓ 3 callersFunctionisRouteActive
(pathname, href)
lib/navigation.js:89
↓ 3 callersFunctionlistAchievements
(filter = {}, { limit = 100, skip = 0 } = {})
lib/models/achievementModel.js:112
↓ 3 callersFunctionmakeFirestoreDb
({ docExists = false } = {})
tests/api/attendance.test.js:108
↓ 3 callersFunctionmarkIdempotent
(idempotencyKey, result)
lib/transactionCoordinator.js:364
↓ 3 callersFunctionnormalizeCategoryId
(value = "")
lib/courses.js:203
↓ 3 callersFunctionnormalizeMimeType
(contentType = "")
lib/images/imagesService.js:32
↓ 3 callersFunctionnotifyStudentAchievement
( studentId, message, { notifyParents = false } = {} )
lib/services/achievementNotifications.js:15
↓ 3 callersFunctionpad
(n)
app/api/attendance/heatmap/route.js:89
↓ 3 callersFunctionparseInteger
(value)
lib/wellnessStorage.js:11
↓ 3 callersFunctionpoll
()
hooks/useRealtime.js:24
↓ 3 callersFunctionprocessOfflineQueueWithRetry
( queue, apiSyncFunction, options = {} )
worker/syncWorker.js:7
↓ 3 callersFunctionprocessSyncQueue
(fetchFn = fetch)
services/syncQueue.js:9
↓ 3 callersFunctionrecordAttendance
({ userId, studentName, email, confidenceScore, })
services/attendanceService.js:73
↓ 3 callersMethodrecordAttendance
(data, decodedToken)
lib/services/attendanceService.js:10
↓ 3 callersFunctionrenderCourseLibrary
(props = {})
components/__tests__/CourseLibrary.test.jsx:43
↓ 3 callersFunctionrenderSection
(title, items)
components/navigation/Sidebar.jsx:55
↓ 3 callersFunctionrequireParent
(request, options = {})
lib/rbac.js:118
↓ 3 callersFunctionresetFeedbackState
()
components/ui/CopyInviteButton.jsx:29
↓ 3 callersFunctionsafeLocalStorageRemove
(key)
lib/storage.js:62
↓ 3 callersFunctionsanitizeMessage
(message)
utils/promptGuard.js:141
↓ 3 callersFunctionserializeAchievement
(doc)
lib/models/achievementModel.js:24
↓ 3 callersFunctionstopPoolMonitor
()
lib/mongodb.js:73
↓ 3 callersFunctionsyncAttendanceQueue
()
lib/syncService.js:119
↓ 3 callersFunctiontestSpecificBadge
(badgeType)
lib/badgeEngine.test.js:130
↓ 3 callersFunctiontriggerToast
(msg)
app/streaks/page.js:61
↓ 3 callersFunctionunwrapApiPayload
(payload)
hooks/useAttendance.js:19
↓ 3 callersFunctionupdateActionStatus
(id, status, retryCount = 0)
db/offlineStore.js:38
↓ 3 callersFunctionuseCurriculum
({ role, user } = {})
hooks/useCurriculum.js:8
↓ 3 callersFunctionusePooledCollection
* Internal hook — subscribes to one pool key and returns cached state. * Delivers the current cached value synchronously to avoid loading flash.
contexts/FirestoreContext.js:43
↓ 3 callersFunctionuseUnsavedChangesWarning
(isDirty)
hooks/useUnsavedChangesWarning.js:5
↓ 3 callersFunctionvalidateAuthField
(field, value, context = {})
utils/authFormValidation.js:20
↓ 3 callersFunctionvalidateImageRequestId
(id)
lib/images/imagesService.js:44
↓ 2 callersFunctionPOST
(req)
app/api/admin/data-retention/route.js:41
↓ 2 callersFunctionaddEvent
(dateStr, event)
app/calendar/page.js:52
↓ 2 callersFunctionassertAllowedImageType
(contentType, message)
lib/images/imagesService.js:36
↓ 2 callersFunctionassertParentAccess
(parentId, studentId)
lib/services/achievementAccess.js:13
↓ 2 callersFunctionbuildGroqRequest
(trimmedMessage, messages = [], context = {})
lib/ai/groq.js:101
↓ 2 callersFunctionbuildNoticeFileName
(notice, extension = "txt")
components/NoticeCard.jsx:25
↓ 2 callersFunctioncalculateAttendancePercentage
(attendanceRecords = [])
lib/badgeEngine.js:191
↓ 2 callersFunctioncalculateDistance
(lat1, lon1, lat2, lon2)
components/AttendanceValidation.js:280
↓ 2 callersFunctioncalculateEarlyBirdCount
(attendanceRecords = [])
lib/badgeEngine.js:163
↓ 2 callersFunctioncalculateEngagementScore
( scorePayload = {}, weightsPayload = DEFAULT_ENGAGEMENT_WEIGHTS )
lib/engagementScore.js:42
↓ 2 callersFunctioncheckMagicBytes
(buffer, expectedSignatures)
lib/services/uploadService.js:22
↓ 2 callersFunctioncheckRateLimitFallback
* Fallback sliding-window rate limiter using local server memory. * Ensures the API stays online even if Redis completely crashes.
lib/rateLimit.js:29
↓ 2 callersFunctionclamp
(value, min, max)
lib/wellnessStorage.js:19
↓ 2 callersFunctioncleanupExpiredTokens
()
utils/maintenanceSecure.js:237
↓ 2 callersFunctionclear
()
hooks/useTimer.js:25
↓ 2 callersFunctionclearRecentlyVisitedPages
()
utils/recentlyVisitedPages.js:73
↓ 2 callersFunctioncreateAchievement
(data)
lib/models/achievementModel.js:62
↓ 2 callersFunctioncreateMockRequest
(headers = {}, cookies = {})
app/api/attendance/record/__tests__/webhook-gating.test.js:104
↓ 2 callersFunctioncreateMockRequest
(headers, body)
app/api/flashcards/__tests__/route.test.js:20
← previousnext →201–300 of 1,455, ranked by callers