MCPcopy Create free account

hub / github.com/devsoc-unsw/chaos / functions

Functions761 in github.com/devsoc-unsw/chaos

↓ 1 callersFunctionbuildAnswerPayload
(question: QuestionAndAnswer, value: unknown)
frontend-nextjs/src/lib/utils.ts:16
↓ 1 callersFunctionbuildEmailItem
( a: SendEmailsApplicant, emailType: "Accept" | "Reject", )
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/applications/send-email-modal.tsx:161
↓ 1 callersFunctionbuildUpdatedRolesPayload
(orderedIds: string[])
frontend-nextjs/src/app/[lang]/campaign/apply/[campaignId]/application/[applicationId]/application-answer.tsx:134
↓ 1 callersFunctionbuild_oauth_client
Builds and configures an OAuth2 client for Google authentication. This function creates a BasicClient configured with Google's OAuth2 endpoints and t
backend/server/src/service/oauth2.rs:39
↓ 1 callersFunctioncalculateApplicationStatusFromRoles
* Calculate the application status based on all role statuses. * Logic: * - If ANY role is "Successful" → application status = "Successful" * - Els
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/applications/application-summary.tsx:136
↓ 1 callersFunctioncheckCampaignSlugAvailability
(orgId: string, slug: string)
frontend-nextjs/src/models/campaign.ts:144
↓ 1 callersFunctioncheckSlugAvailability
()
frontend-nextjs/src/components/slug-input.tsx:9
↓ 1 callersFunctioncreateAnswer
(applicationId: string, body: any)
frontend-nextjs/src/models/answer.ts:40
↓ 1 callersFunctioncreateCampaign
(name: string, description: string, startsAt: string, endsAt: string, organisationId: string, slug?: string)
frontend-nextjs/src/models/campaign.ts:124
↓ 1 callersFunctioncreateCampaignRole
(campaignId: string, role: RoleUpdate)
frontend-nextjs/src/models/campaign.ts:165
↓ 1 callersFunctioncreateCategoryRatingFromRating
(ratingId: string, categoryRating: NewCategoryRating)
frontend-nextjs/src/models/rating.ts:89
↓ 1 callersFunctioncreateEmailTemplate
( organisationId: string, template: NewEmailTemplate )
frontend-nextjs/src/models/email.ts:91
↓ 1 callersFunctioncreateOrGetApplication
( campaignId: string, )
frontend-nextjs/src/models/application.ts:25
↓ 1 callersFunctioncreateQuestion
(campaignId: string, question: Question)
frontend-nextjs/src/models/question.ts:53
↓ 1 callersFunctioncreateRating
(applicationId: string, comment: string | null, categoryRatings: Array<{campaign_rating_category_id: string, r
frontend-nextjs/src/models/rating.ts:64
↓ 1 callersFunctioncreate_or_get_user_id
Checks if a user exists in DB based on given email address. If so, their user_id is returned. Otherwise, a new user is created in the DB, and the new
backend/server/src/service/auth.rs:37
↓ 1 callersFunctiondecode_auth_token
Decodes and validates an authorization JWT token. This function attempts to decode and validate a JWT token using the provided decoding key and valid
backend/server/src/service/jwt.rs:102
↓ 1 callersFunctiondeleteAnswer
(answerId: string)
frontend-nextjs/src/models/answer.ts:47
↓ 1 callersFunctiondeleteEmailTemplate
( templateId: string )
frontend-nextjs/src/models/email.ts:128
↓ 1 callersFunctiondeleteOrganisationUser
(orgId: string, memberId: string)
frontend-nextjs/src/models/organisation.ts:94
↓ 1 callersFunctiondeleteQuestion
(campaignId: string, questionId: string)
frontend-nextjs/src/models/question.ts:67
↓ 1 callersMethoddelete_from_db
Deletes the answer data from the database. # Arguments `answer_id` - ID of the answer to delete data for `transaction` - Database transaction to use
backend/server/src/models/answer.rs:668
↓ 1 callersMethoddelete_from_db
( self, question_id: i64, transaction: &mut Transaction<'_, Postgres>, )
backend/server/src/models/question.rs:667
↓ 1 callersFunctiondeserialize_option_vec
(deserializer: D)
backend/server/src/models/serde_string.rs:73
↓ 1 callersFunctionduplicateEmailTemplate
( templateId: string )
frontend-nextjs/src/models/email.ts:109
↓ 1 callersFunctionformatTime
(dateStr: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/review/application-discussion-panel.tsx:52
↓ 1 callersMethodget
Retrieves the details of a specific role. This handler allows any authenticated user to view role details. # Arguments `state` - The application st
backend/server/src/handler/role.rs:35
↓ 1 callersFunctiongetAllOrganisations
()
frontend-nextjs/src/models/organisation.ts:12
↓ 1 callersFunctiongetApplication
( applicationId: string, )
frontend-nextjs/src/models/application.ts:36
↓ 1 callersFunctiongetApplicationRoleStatusesBatch
( applicationIds: string[], )
frontend-nextjs/src/models/application.ts:165
↓ 1 callersFunctiongetCategoryRatingValue
(categoryId: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/review/application-rating-form.tsx:133
↓ 1 callersFunctiongetColorForRole
(roleId: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/applications/columns.tsx:125
↓ 1 callersFunctiongetColumns
(userRole: OrganisationUserRole, dict: any)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/columns.tsx:22
↓ 1 callersFunctiongetColumns
( dict: any, roleIdsToNames: Record<string, string>, roleOrder: string[], ratingCategories: RatingCate
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/applications/columns.tsx:52
↓ 1 callersFunctiongetColumns
( handleDeleteMember: (memberId: string) => Promise<void>, handleUpdateMemberRole: (memberId: string,
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/members/columns.tsx:52
↓ 1 callersFunctiongetOrganisationById
(orgId: string)
frontend-nextjs/src/models/organisation.ts:16
↓ 1 callersFunctiongetQueryClient
()
frontend-nextjs/src/app/providers.tsx:21
↓ 1 callersFunctionhandleAddVariable
(value: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/templates/template-form.tsx:100
↓ 1 callersFunctionhandleBannerUpload
()
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/edit/campaign-settings.tsx:139
↓ 1 callersFunctionhandleChange
(optionId: string | number, checked: boolean)
frontend-nextjs/src/components/application-answer/questions/multiselect.tsx:56
↓ 1 callersFunctionhandleDeleteMember
(memberId: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/members/members.tsx:41
↓ 1 callersFunctionhandleDeleteTemplate
(templateId: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/templates/templates.tsx:101
↓ 1 callersFunctionhandleDeleting
()
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/members/columns.tsx:115
↓ 1 callersFunctionhandleDuplicateTemplate
(templateId: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/templates/templates.tsx:92
↓ 1 callersFunctionhandleNameChange
(name: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/new/new-campaign.tsx:59
↓ 1 callersFunctionhandleOrgChange
(newOrgId: string)
frontend-nextjs/src/components/admin-sidebar.tsx:45
↓ 1 callersFunctionhandleSave
()
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/templates/template-form.tsx:56
↓ 1 callersFunctionhandleSetValue
(value: string, oldRoleId: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/questions/campaign-questions.tsx:234
↓ 1 callersFunctionhandleStarChange
(categoryId: string, rating: number)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/review/application-rating-form.tsx:143
↓ 1 callersFunctionhandleSubmit
()
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/review/application-rating-form.tsx:155
↓ 1 callersFunctioninviteOrganisationUser
(orgId: string, email: string)
frontend-nextjs/src/models/organisation.ts:85
↓ 1 callersFunctionpopulateQAByRole
(roleIds: string[], campaignId: string, applicationId: string)
frontend-nextjs/src/app/[lang]/campaign/apply/[campaignId]/application/[applicationId]/application-answer.tsx:90
↓ 1 callersFunctionprocessAnswerForDisplay
( questionType: QuestionType, answerData: AnswerData | null | undefined, options?: MultiOptionQues
frontend-nextjs/src/models/question.ts:73
↓ 1 callersFunctionprocessMarkdown
()
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/campaign-details.tsx:111
↓ 1 callersFunctionpublishCampaign
(campaignId: string)
frontend-nextjs/src/models/campaign.ts:181
↓ 1 callersFunctionqueueCampaignOutcomeEmails
( campaignId: string, payload: QueueOutcomeEmailsPayload )
frontend-nextjs/src/models/email.ts:153
↓ 1 callersFunctionremoveOption
(id: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/questions/campaign-questions.tsx:331
↓ 1 callersFunctionrenderQuestion
(q:QuestionAndAnswer)
frontend-nextjs/src/components/application-answer/main-content.tsx:182
↓ 1 callersFunctionreplyToOffer
( offerId: string, reply: OfferReply, )
frontend-nextjs/src/models/offer.ts:49
↓ 1 callersFunctionresyncQuestionFromServer
(question: QuestionAndAnswer)
frontend-nextjs/src/components/application-answer/main-content.tsx:59
↓ 1 callersFunctionscoreForCategory
( rating: RatingDetails, categoryId: string, )
frontend-nextjs/src/components/application-details/application-ratings-section/application-ratings-section.tsx:34
↓ 1 callersFunctionseed_database
(dev_email: String, mut seeder: Seeder)
backend/database-seeding/src/seeder.rs:29
↓ 1 callersMethodseed_database
(&mut self, admin_email: String)
backend/server/src/models/seeder.rs:18
↓ 1 callersFunctionsubmitApplication
(applicationId: string)
frontend-nextjs/src/models/application.ts:83
↓ 1 callersFunctionsubmitData
( templateId: string, name: string, subject: string, body: string )
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/templates/new/new-template.tsx:21
↓ 1 callersFunctionsubmitData
()
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/new/new-campaign.tsx:41
↓ 1 callersFunctionupdateApplicationPrivateStatus
( applicationId: string, status: ApplicationStatus, )
frontend-nextjs/src/models/application.ts:117
↓ 1 callersFunctionupdateApplicationRoles
(applicationId: string, roles: any)
frontend-nextjs/src/models/answer.ts:24
↓ 1 callersFunctionupdateCampaign
(campaignId: string, campaign: CampaignUpdate)
frontend-nextjs/src/models/campaign.ts:107
↓ 1 callersFunctionupdateCategoryRating
(ratingId: string, categoryRatingId: string, rating: number)
frontend-nextjs/src/models/rating.ts:99
↓ 1 callersFunctionupdateEmailTemplate
( templateId: string, template: EmailTemplate )
frontend-nextjs/src/models/email.ts:118
↓ 1 callersFunctionupdateOption
(id: string, text: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/questions/campaign-questions.tsx:337
↓ 1 callersFunctionupdateOrganisationMemberRole
( orgId: string, userId: string, role: OrganisationRole )
frontend-nextjs/src/models/organisation.ts:66
↓ 1 callersFunctionupdateQuestion
(campaignId: string, questionId: string, question: Question)
frontend-nextjs/src/models/question.ts:60
↓ 1 callersFunctionupdateQuestionType
(questionType: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/questions/campaign-questions.tsx:348
↓ 1 callersFunctionupdateRatingComment
(ratingId: string, comment: string | null)
frontend-nextjs/src/models/rating.ts:80
↓ 1 callersFunctionupdateWordLimit
(value: string)
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/campaigns/[campaignId]/questions/campaign-questions.tsx:480
↓ 1 callersFunctionuseIsMobile
()
frontend-nextjs/src/hooks/use-mobile.ts:5
↓ 1 callersFunctionuser_is_answer_owner
Verifies if a user is the owner of an answer. This function checks if the user owns the application that contains the answer. # Arguments `user_id`
backend/server/src/service/answer.rs:25
↓ 1 callersFunctionuser_is_application_admin
Verifies if a user has admin privileges for an application. This function checks if the user is an admin of the organisation that owns the campaign t
backend/server/src/service/application.rs:27
↓ 1 callersFunctionuser_is_campaign_admin
Verifies if a user has admin privileges for a campaign. This function checks if the user is an admin of the organisation that owns the campaign. # A
backend/server/src/service/campaign.rs:25
↓ 1 callersFunctionuser_is_campaign_org_member
( user_id: i64, campaign_id: i64, transaction: &mut Transaction<'_, Postgres>, )
backend/server/src/service/campaign.rs:53
↓ 1 callersFunctionuser_is_comment_author
Verifies if a user has owner privileges for a comment This function checks if the user is the author of a comment and can thus edit/delete it # Argu
backend/server/src/service/comment.rs:22
↓ 1 callersFunctionuser_is_email_template_admin
Verifies if a user has admin privileges for an email template. This function checks if the user is an admin of the organisation that owns the templat
backend/server/src/service/email_template.rs:23
↓ 1 callersFunctionuser_is_question_admin
Verifies if a user has admin privileges for a question. This function checks if the user is an admin of the organisation that owns the campaign the q
backend/server/src/service/question.rs:24
↓ 1 callersFunctionuser_is_role_admin
Verifies if a user has admin privileges for a role. This function checks if the user is an admin of the organisation that owns the campaign the role
backend/server/src/service/role.rs:24
↓ 1 callersMethodvalidate
(&self)
backend/server/src/models/campaign.rs:843
FunctionAcceptOffer
({offerId}:{offerId:string})
frontend-nextjs/src/app/[lang]/campaign/[orgSlug]/[campaignSlug]/offer/[offerId]/accept-offer.tsx:9
FunctionAddMemberDialog
({ orgId, dict }: { orgId: string, dict: any })
frontend-nextjs/src/app/[lang]/dashboard/organisation/[orgId]/members/members.tsx:71
FunctionAdminSidebar
({ userRole, dict }: AdminSidebarProps)
frontend-nextjs/src/components/admin-sidebar.tsx:29
FunctionAlertDialog
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>)
frontend-nextjs/src/components/ui/alert-dialog.tsx:9
FunctionAlertDialogAction
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>)
frontend-nextjs/src/components/ui/alert-dialog.tsx:121
FunctionAlertDialogCancel
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>)
frontend-nextjs/src/components/ui/alert-dialog.tsx:133
FunctionAlertDialogContent
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>)
frontend-nextjs/src/components/ui/alert-dialog.tsx:47
FunctionAlertDialogDescription
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>)
frontend-nextjs/src/components/ui/alert-dialog.tsx:108
FunctionAlertDialogFooter
({ className, ...props }: React.ComponentProps<"div">)
frontend-nextjs/src/components/ui/alert-dialog.tsx:79
FunctionAlertDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
frontend-nextjs/src/components/ui/alert-dialog.tsx:66
FunctionAlertDialogOverlay
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>)
frontend-nextjs/src/components/ui/alert-dialog.tsx:31
FunctionAlertDialogPortal
({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>)
frontend-nextjs/src/components/ui/alert-dialog.tsx:23
FunctionAlertDialogTitle
({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>)
frontend-nextjs/src/components/ui/alert-dialog.tsx:95
← previousnext →101–200 of 761, ranked by callers