Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CitizenLabDotCo/citizenlab
/ functions
Functions
15,961 in github.com/CitizenLabDotCo/citizenlab
⨍
Functions
15,961
◇
Types & classes
7,295
↓ 1 callers
Function
addIdeaStatus
(requestBody: IIdeaStatusAdd)
front/app/api/idea_statuses/useAddIdeaStatus.ts:9
↓ 1 callers
Function
addInputTopic
({ projectId, ...requestBody }: IInputTopicAdd)
front/app/api/input_topics/useAddInputTopic.ts:9
↓ 1 callers
Function
addInternalCommentToIdea
({ ideaId, ...requestBody }: IIdeaNewInternalComment)
front/app/api/internal_comments/useAddInternalCommentToIdea.ts:12
↓ 1 callers
Function
addMapLegend
( mapView: MapView, isMobileOrSmaller: boolean, showLegendExpanded: boolean | undefined, formatMessage
front/app/components/EsriMap/config.ts:133
↓ 1 callers
Function
addOption
()
front/app/containers/Admin/projects/project/poll/PollAnswerOptions/OptionForm.tsx:48
↓ 1 callers
Function
addPageFile
({ pageId, file: { name, file, ordering = null }, }: AddPageFileObject)
front/app/api/page_files/useAddPageFile.ts:9
↓ 1 callers
Function
addPercentages
(serie)
front/app/components/admin/Graphs/PieChartByCategory.tsx:90
↓ 1 callers
Function
addPhase
({ projectId, ...requestBody }: AddPhaseObject)
front/app/api/phases/useAddPhase.ts:11
↓ 1 callers
Function
addPhaseFile
({ phaseId, ...requestBody }: AddPhaseFileObject)
front/app/api/phase_files/useAddPhaseFile.ts:9
↓ 1 callers
Function
addPointGraphicToMap
( point: GeoJSON.Point, mapView: MapView | null | undefined, graphic: Graphic )
front/app/components/EsriMap/utils.tsx:360
↓ 1 callers
Function
addPollOption
({ questionId, title_multiloc }: AddPollOption)
front/app/api/poll_options/useAddPollOption.ts:13
↓ 1 callers
Function
addPollQuestion
({ phaseId, title_multiloc }: AddPollQuestion)
front/app/api/poll_questions/useAddPollQuestion.ts:13
↓ 1 callers
Function
addProject
(project: IUpdatedProjectProperties)
front/app/api/projects/useAddProject.ts:9
↓ 1 callers
Function
addProjectFolder
( requestBody: Partial<INewProjectFolderDiff> )
front/app/api/project_folders/useAddProjectFolder.ts:9
↓ 1 callers
Function
addProjectGroup
({ groupId, projectId }: IProjectGroupsAdd)
front/app/api/project_groups/useAddProjectGroup.ts:9
↓ 1 callers
Function
addProjectImage
({ projectId, ...requestBody }: AddProjectImageObject)
front/app/api/project_images/useAddProjectImage.ts:9
↓ 1 callers
Function
addProjectImport
({ file, locale, preview = false, }: RequestParams)
front/app/api/project_imports/useAddProjectImportAsync.ts:21
↓ 1 callers
Function
addResultRanking
(optionArrayWithRanks: OptionAverageRank[])
front/app/components/admin/FormResults/FormResultsQuestion/RankingQuestion/utils.tsx:40
↓ 1 callers
Function
addSpace
(requestBody: RequestBody)
front/app/api/spaces/useAddSpace.ts:9
↓ 1 callers
Function
addSpamReport
({ targetId, targetType, ...requestBody }: ISpamReportAdd)
front/app/api/spam_reports/useAddSpamReport.ts:12
↓ 1 callers
Function
addWidget
()
front/cypress/e2e/homepage_builder/areas_widget.cy.ts:33
↓ 1 callers
Method
add_autoreaction_to_inputs?
Whether to add a reaction to inputs when they are submitted. See +Idea::SUBMISSION_STATUSES+ for what it means for an input to be considered submitted
back/lib/participation_method/base.rb:261
↓ 1 callers
Method
add_create
(model_name, attributes, context: {})
back/lib/script_reporter.rb:12
↓ 1 callers
Method
add_delete
(model_name, id, context: {})
back/lib/script_reporter.rb:20
↓ 1 callers
Method
add_error
(error, context: {})
back/lib/script_reporter.rb:24
↓ 1 callers
Method
add_processed_tenant
(tenant)
back/lib/script_reporter.rb:28
↓ 1 callers
Function
adjustEndForDisplay
(date?: Date)
front/app/containers/Admin/projects/project/phaseSetup/components/utils.ts:28
↓ 1 callers
Function
adjustRangeTimes
({ from, to, selectedStartTime, selectedEndTime, }: { from?: Date; to?: Date; selectedStartTime:
front/app/components/admin/DatePickers/DatePhasePicker/Calendar/utils/utils.ts:55
↓ 1 callers
Function
adminCustomPageSettingsPath
(pageId: string)
front/app/containers/Admin/pagesAndMenu/routes.tsx:59
↓ 1 callers
Function
adminProjectsProjectPath
(projectId: string)
front/app/containers/Admin/projects/routes.tsx:90
↓ 1 callers
Method
after_apply_template
(tenant, template, current_user = nil)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/side_fx_tenant_service.rb:26
↓ 1 callers
Method
after_create
(verification, current_user)
back/app/services/verification/side_fx_verification_service.rb:9
↓ 1 callers
Method
after_create
(response, user)
back/engines/free/surveys/app/services/surveys/side_fx_response_service.rb:7
↓ 1 callers
Method
after_create
(moderation_status, user)
back/engines/commercial/moderation/app/services/moderation/side_fx_moderation_status_service.rb:7
↓ 1 callers
Method
after_create
(user)
back/engines/commercial/impact_tracking/app/services/impact_tracking/side_fx_session_service.rb:5
↓ 1 callers
Method
after_destroy
(frozen_resource, user)
back/app/services/events/side_fx_attendance_service.rb:10
↓ 1 callers
Method
after_destroy
(frozen_tenant, current_user = nil)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/side_fx_tenant_service.rb:64
↓ 1 callers
Method
after_destroy
(frozen_report, user)
back/engines/commercial/report_builder/app/services/report_builder/side_fx_report_service.rb:28
↓ 1 callers
Method
after_error
(user, remote_ip)
back/app/services/side_fx_user_service.rb:85
↓ 1 callers
Method
after_mark_as_deleted
(flag, user)
back/engines/commercial/flag_inappropriate_content/app/services/flag_inappropriate_content/side_fx_inappropriate_content_flag_service.rb:5
↓ 1 callers
Method
after_mark_as_flagged
(flag, user)
back/engines/commercial/flag_inappropriate_content/app/services/flag_inappropriate_content/side_fx_inappropriate_content_flag_service.rb:9
↓ 1 callers
Method
after_rate
(insight, user, rating)
back/engines/commercial/analysis/app/services/analysis/side_fx_insight_service.rb:6
↓ 1 callers
Method
after_send
(campaign, user)
back/engines/free/email_campaigns/app/services/email_campaigns/side_fx_campaign_service.rb:29
↓ 1 callers
Method
after_send_hooks
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:84
↓ 1 callers
Method
after_update
old_group_ids: snapshot of the permission's group_ids taken before the save, since group changes go through the groups_permissions join and don't show
back/app/services/permissions/side_fx_permission_service.rb:10
↓ 1 callers
Method
after_update
(moderation_status, user)
back/engines/commercial/moderation/app/services/moderation/side_fx_moderation_status_service.rb:11
↓ 1 callers
Method
after_update
(report, user)
back/engines/commercial/report_builder/app/services/report_builder/side_fx_report_service.rb:19
↓ 1 callers
Method
aggregations_sql
back/engines/commercial/analytics/app/services/analytics/query.rb:137
↓ 1 callers
Function
allImagesLoaded
(imagesToBeLoaded: string[])
front/app/components/admin/ContentBuilder/Frame/imageLoading.ts:15
↓ 1 callers
Method
all_by_tenant_schema_name
(tenant_schema_name)
back/app/models/que_job.rb:42
↓ 1 callers
Method
allow_global_custom_fields?
back/app/models/permission.rb:104
↓ 1 callers
Method
allowed_extra_field_input_types
back/lib/participation_method/base.rb:33
↓ 1 callers
Function
analysisFor
(customFieldId: string)
front/app/components/admin/FormResults/FormResultsQuestion/TextQuestion/Analysis/Analysis.test.tsx:42
↓ 1 callers
Method
analyze!
back/app/services/authoring_assistance_service.rb:6
↓ 1 callers
Function
animateProgress
(message, amountOfDots = 3)
front/internals/scripts/helpers/progress.js:3
↓ 1 callers
Method
annotations
back/engines/commercial/mcp_server/app/lib/mcp_server/base_tool.rb:24
↓ 1 callers
Function
anyIsDefined
(...args)
front/app/utils/helperUtils.ts:170
↓ 1 callers
Function
anyIsUndefined
(...args)
front/app/utils/helperUtils.ts:169
↓ 1 callers
Method
api_key
back/app/services/location/service.rb:39
↓ 1 callers
Method
approve
(reviewer)
back/app/models/project_review.rb:54
↓ 1 callers
Function
approveIdeas
(phaseId: string)
front/app/api/import_ideas/useApproveImportedIdeas.ts:9
↓ 1 callers
Function
approveProjectReview
(projectId: string)
front/app/api/project_reviews/useApproveProject.ts:9
↓ 1 callers
Function
areAllOptionsEmpty
(formValues: FormValues)
front/app/utils/representativeness/options.ts:96
↓ 1 callers
Function
areAllOptionsFilledOut
(formValues: FormValues)
front/app/utils/representativeness/form.ts:136
↓ 1 callers
Function
areCraftjsObjectsEqual
( craftjsCurrentData: SerializedNodes, persistedData: SerializedNodes )
front/app/containers/Admin/reporting/utils/areCraftjsObjectsEqual.ts:4
↓ 1 callers
Function
areasOptions
()
front/app/components/ProjectAndFolderCards/components/Topbar/SelectAreas.tsx:23
↓ 1 callers
Function
asNumber
(value: string)
front/app/utils/representativeness/options.ts:38
↓ 1 callers
Function
askCustomFields
( requirements: AuthenticationRequirements['requirements'] )
front/app/containers/Authentication/useSteps/stepConfig/utils.ts:83
↓ 1 callers
Method
ask_follow_up?
back/app/models/custom_field.rb:162
↓ 1 callers
Method
assemblyai_transcript_json_schema
back/app/models/files/transcript.rb:31
↓ 1 callers
Function
assignFMs
()
front/app/components/admin/UsersTable/ActionsMenu/useAssignModerator.ts:35
↓ 1 callers
Function
assignPMs
()
front/app/components/admin/UsersTable/ActionsMenu/useAssignModerator.ts:20
↓ 1 callers
Function
assignSMs
()
front/app/components/admin/UsersTable/ActionsMenu/useAssignModerator.ts:50
↓ 1 callers
Method
assign_new_translation
(translation)
back/engines/commercial/machine_translations/app/services/machine_translations/machine_translation_service.rb:23
↓ 1 callers
Method
associations_project_filter_types
back/app/models/static_page.rb:140
↓ 1 callers
Function
attendEvent
({ event }: AttendEventParams)
front/app/containers/Authentication/SuccessActions/actions/attendEvent.ts:15
↓ 1 callers
Method
author_hashes_from_request
returns [user_agent_hash, author_hash] - author_hash will only be present if user was logged in when the cookie was set
back/app/services/permissions/everyone_tracking_service.rb:11
↓ 1 callers
Method
automatically_assign_idea?
back/lib/participation_method/base.rb:219
↓ 1 callers
Method
automatically_detected?
We use `toxicity_label` as a proxy to determine whether the flag was automatically detected as it's currently only set when using NLP detection.
back/engines/commercial/flag_inappropriate_content/app/models/flag_inappropriate_content/inappropriate_content_flag.rb:38
↓ 1 callers
Method
available_style_attributes
back/app/models/concerns/style_settings.rb:24
↓ 1 callers
Method
avatars_for_group
Returns a hash containing a list of users with avatars for a group and the total member count. @param group[Group] The group for which avatars of its
back/app/services/avatars_service.rb:39
↓ 1 callers
Method
azure_deployment_name
On Azure, each model needs to be deployed separately and given its own name. To avoid having to introduce an extra deployment_name parameter per model
back/engines/commercial/analysis/app/lib/analysis/LLM/azure_open_ai.rb:29
↓ 1 callers
Function
base64ToBlob
(base64: string)
front/app/utils/fileUtils.ts:132
↓ 1 callers
Method
basket
back/app/controllers/web_api/v1/baskets_ideas_controller.rb:132
↓ 1 callers
Method
before_apply_template
(tenant, _template, current_user = nil)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/side_fx_tenant_service.rb:13
↓ 1 callers
Method
before_create
(verification, current_user)
back/app/services/verification/side_fx_verification_service.rb:7
↓ 1 callers
Method
before_create
(cause, user)
back/engines/free/volunteering/app/services/volunteering/side_fx_cause_service.rb:7
↓ 1 callers
Method
before_create
(campaign, user)
back/engines/free/email_campaigns/app/services/email_campaigns/side_fx_campaign_service.rb:7
↓ 1 callers
Method
before_delete_inputs
(phase, user)
back/app/services/side_fx_phase_service.rb:101
↓ 1 callers
Method
before_destroy
(cause, user)
back/engines/free/volunteering/app/services/volunteering/side_fx_cause_service.rb:19
↓ 1 callers
Method
before_destroy
(campaign, user)
back/engines/free/email_campaigns/app/services/email_campaigns/side_fx_campaign_service.rb:33
↓ 1 callers
Method
before_destroy
(area, user)
back/engines/commercial/smart_groups/app/services/smart_groups/patches/side_fx_area_service.rb:6
↓ 1 callers
Method
before_destroy
(report, user)
back/engines/commercial/report_builder/app/services/report_builder/side_fx_report_service.rb:24
↓ 1 callers
Method
before_send_hooks
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:75
↓ 1 callers
Method
before_set_current_session
Called before setting the current session, to catch cases where upgrade returns a 404 when no visitor session exists for the user. This can happen whe
back/engines/commercial/impact_tracking/app/services/impact_tracking/side_fx_session_service.rb:11
↓ 1 callers
Method
before_update
(cause, user)
back/engines/free/volunteering/app/services/volunteering/side_fx_cause_service.rb:13
↓ 1 callers
Method
before_update
(report, user)
back/engines/commercial/report_builder/app/services/report_builder/side_fx_report_service.rb:15
↓ 1 callers
Method
being_destroyed?
back/app/models/files/file.rb:186
↓ 1 callers
Function
binFunction
(year: string)
front/app/utils/dataUtils/binAge.test.ts:50
↓ 1 callers
Function
blockUser
({ userId, reason }: IBlockUser)
front/app/api/blocked_users/useBlockUser.ts:12
← previous
next →
2,801–2,900 of 15,961, ranked by callers