MCPcopy Create free account

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 5 callersFunctionupdateAnalysis
({ id, show_insights, additional_custom_field_ids, files, }: IAnalysisUpdate)
front/app/api/analyses/useUpdateAnalysis.ts:18
↓ 5 callersFunctionuseAddCampaign
()
front/app/api/campaigns/useAddCampaign.ts:18
↓ 5 callersFunctionuseAddContentBuilderLayout
()
front/app/api/content_builder/useAddContentBuilderLayout.ts:29
↓ 5 callersFunctionuseAdminPublication
(id: string | null)
front/app/api/admin_publications/useAdminPublication.ts:15
↓ 5 callersFunctionuseAnalysisQuestion
(params: IQuestionParams)
front/app/api/analysis_questions/useAnalysisQuestion.ts:16
↓ 5 callersFunctionuseAuthenticationRequirements
( authenticationContext: AuthenticationContext )
front/app/api/authentication/authentication_requirements/useAuthenticationRequirements.ts:12
↓ 5 callersFunctionuseCauses
({ phaseId }: ICauseParameters)
front/app/api/causes/useCauses.ts:15
↓ 5 callersFunctionuseContainerWidthAndHeight
()
front/app/hooks/useContainerWidthAndHeight.ts:3
↓ 5 callersFunctionuseCraftComponentDefaultPadding
()
front/app/components/admin/ContentBuilder/useCraftComponentDefaultPadding.ts:6
↓ 5 callersFunctionuseCustomPageBySlug
(slug: string)
front/app/api/custom_pages/useCustomPageBySlug.ts:15
↓ 5 callersFunctionuseEventsByUserId
(attendeeId?: string)
front/app/api/events/useEventsByUserId.ts:16
↓ 5 callersFunctionuseIdeaMarkers
( queryParameters: QueryParameters, loadIdeaMarkers = true )
front/app/api/idea_markers/useIdeaMarkers.ts:26
↓ 5 callersFunctionuseIdeas
( queryParams: IIdeaQueryParameters, { enabled = true }: { enabled: boolean } = { enabled: true } )
front/app/api/ideas/useIdeas.ts:23
↓ 5 callersFunctionuseInfiniteUsers
(queryParameters: IQueryParameters)
front/app/api/users/useInfiniteUsers.ts:21
↓ 5 callersFunctionuseLocalizeWithFallback
()
front/app/containers/Admin/pagesAndMenu/containers/ContentBuilder/components/Widgets/_shared/useLocalizeWithFallback.ts:10
↓ 5 callersFunctionuseParallelParticipation
()
front/app/hooks/useParallelParticipation.ts:11
↓ 5 callersFunctionusePermissionsPhaseCustomFields
({ phaseId, action, }: IListParameters)
front/app/api/permissions_phase_custom_fields/usePermissionsPhaseCustomFields.ts:25
↓ 5 callersFunctionuseProjectFolderFiles
(queryParams: IQueryParameters)
front/app/api/project_folder_files/useProjectFolderFiles.ts:19
↓ 5 callersFunctionuseProjectGroups
(params: IProjectGroupsParams)
front/app/api/project_groups/useProjectGroups.ts:19
↓ 5 callersFunctionuseProjectImage
({ projectId, imageId }: Params)
front/app/api/project_images/useProjectImage.ts:17
↓ 5 callersFunctionuseProjectReview
(projectId: string)
front/app/api/project_reviews/useProjectReview.ts:15
↓ 5 callersFunctionuseReportBuilderEnabled
({ onlyCheckAllowed = false } = {})
front/app/api/reports/useReportBuilderEnabled.ts:7
↓ 5 callersFunctionuseSupportedCampaignNames
( context: CampaignContext = {} )
front/app/api/campaigns/useSupportedCampaignNames.ts:25
↓ 5 callersFunctionuseWordExportContext
()
front/app/containers/Admin/projects/project/insights/word/WordExportContext.tsx:228
↓ 5 callersMethoduse_fog_engine?
back/app/uploaders/base_uploader.rb:5
↓ 5 callersMethoduser_mentioned?
@param [String] text @param [User] user @return [Boolean]
back/app/services/mention_service.rb:68
↓ 5 callersFunctionusersByCustomFieldXlsxEndpoint
(customFieldId: string)
front/app/api/users_by_custom_field/util.ts:3
↓ 5 callersMethoduses_content_builder?
back/engines/commercial/content_builder/app/models/content_builder/concerns/content_buildable.rb:68
↓ 5 callersMethodvalidate_baskets_idea
(_baskets_idea)
back/lib/voting_method/base.rb:17
↓ 5 callersMethodverify_sync
(run:, id_serial:)
back/engines/commercial/custom_id_methods/app/lib/custom_id_methods/cow/cow_verification.rb:46
↓ 5 callersMethodvisit_file_upload
(_field)
back/spec/models/custom_field_spec.rb:102
↓ 5 callersFunctionwaitForCustomFormFields
()
front/cypress/e2e/survey_builder/survey_creation_and_basic_flow.cy.ts:3
↓ 5 callersFunctionwaitForCustomFormFields
()
front/cypress/e2e/survey_builder/survey_logic_and_advanced_features.cy.ts:3
↓ 4 callersFunction_if
(condition: boolean, key: string, value: any)
front/app/containers/Authentication/steps/BuiltInFields/form.ts:16
↓ 4 callersMethodactivity_context
(_activity)
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:185
↓ 4 callersMethodactivity_event_name
(activity)
back/app/services/tracking_service.rb:4
↓ 4 callersMethodactivity_triggers
back/engines/free/email_campaigns/app/models/email_campaigns/campaigns/welcome.rb:51
↓ 4 callersFunctionaddAnalysis
(requestBody: IAddAnalysis)
front/app/api/analyses/useAddAnalysis.ts:9
↓ 4 callersFunctionaddBin
(bins: Bins)
front/app/utils/representativeness/bins.ts:142
↓ 4 callersFunctionaddFile
(requestBody: IAddFileProperties)
front/app/api/files/useAddFile.ts:9
↓ 4 callersFunctionaddTextWidget
()
front/cypress/e2e/report_builder/phase_report.cy.ts:4
↓ 4 callersMethodadd_method
(id_method)
back/lib/id_methods.rb:18
↓ 4 callersMethodadd_missing_settings
(settings, schema)
back/app/services/settings_service.rb:25
↓ 4 callersMethodadmin_project_url
(project_id, configuration = app_config_instance)
back/engines/free/frontend/app/services/frontend/url_service.rb:141
↓ 4 callersMethodafter_create
(cause, user)
back/engines/free/volunteering/app/services/volunteering/side_fx_cause_service.rb:9
↓ 4 callersMethodafter_destroy
(frozen_option, user)
back/engines/free/polls/app/services/polls/side_fx_option_service.rb:21
↓ 4 callersMethodafter_destroy
(frozen_tag, user)
back/engines/commercial/analysis/app/services/analysis/side_fx_tag_service.rb:19
↓ 4 callersMethodafter_failure
(user, phase, model, format, error)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/side_fx_bulk_import_service.rb:22
↓ 4 callersMethodafter_import
(idea, current_user)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/patches/side_fx_idea_service.rb:6
↓ 4 callersMethodafter_update
(option, user)
back/engines/free/polls/app/services/polls/side_fx_option_service.rb:15
↓ 4 callersFunctionallAreClosedDateRanges
( ranges: DateRange[] )
front/app/components/admin/DatePickers/DatePhasePicker/Calendar/utils/utils.ts:9
↓ 4 callersFunctionallCategories
()
front/app/components/ConsentManager/destinations.ts:36
↓ 4 callersMethodanonymized_attributes
(locales, user: nil, start_at: nil)
back/app/services/anonymize_user_service.rb:25
↓ 4 callersMethodapply_internal_template
(template_name)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/templates/apply_service.rb:30
↓ 4 callersMethodassign_baskets_idea
(_baskets_idea)
back/lib/voting_method/base.rb:25
↓ 4 callersMethodauto_insights_too_many_fields?
back/engines/commercial/analysis/app/models/analysis/analysis.rb:88
↓ 4 callersMethodauto_transition_hourly!
back/app/services/input_status_service.rb:27
↓ 4 callersMethodbefore_create
(layout, _user)
back/engines/commercial/content_builder/app/services/content_builder/side_fx_layout_service.rb:7
↓ 4 callersMethodbin_boundaries
back/engines/commercial/user_custom_fields/app/models/user_custom_fields/representativeness/binned_distribution.rb:37
↓ 4 callersFunctionbufferUntilInitialized
( destination: IDestination, o$: Observable<T> )
front/app/utils/analytics.ts:73
↓ 4 callersFunctionbuildAnalysis
( id: string, questionId: string, summaryId?: string )
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/PhaseTemplate/usePrefetchSummaries.test.tsx:34
↓ 4 callersMethodbuilt_in?
back/app/models/custom_field.rb:200
↓ 4 callersFunctioncalculateCumulativeSerie
( serie: SerieRow[], globalTotal: number, getTotal: (s: SerieRow) => number )
front/app/components/admin/GraphCards/_utils/timeSeries.ts:243
↓ 4 callersMethodcampaign_description_multiloc
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:170
↓ 4 callersFunctioncaptureAllMapScreenshots
()
front/app/utils/mapViewRegistry.ts:31
↓ 4 callersFunctioncheckIfUserExceedsSeats
(queryParams: QueryParams)
front/app/api/users/checkIfUserExceedsSeats.ts:27
↓ 4 callersMethodclean_homepage_layout_when_publication_deleted
(publication)
back/engines/commercial/content_builder/app/services/content_builder/layout_service.rb:15
↓ 4 callersFunctioncloseTo
(value1: number, value2: number)
front/app/utils/math.test.ts:4
↓ 4 callersFunctionconfirmSavedToIdea
({ expectUserId }: { expectUserId: boolean })
front/cypress/e2e/native_survey/native_survey_permissions/permitted_by_users.cy.ts:184
↓ 4 callersMethodcontent_worth_sending?
@return [Boolean]
back/engines/free/email_campaigns/app/models/email_campaigns/campaigns/user_digest.rb:110
↓ 4 callersFunctioncoreSettings
(appConfiguration: IAppConfigurationData)
front/app/api/app_configuration/utils.ts:3
↓ 4 callersMethodcounts
(ideas_scope, attributes = %w[idea_status_id input_topic_id])
back/app/services/ideas_count_service.rb:6
↓ 4 callersMethodcounts
back/engines/commercial/user_custom_fields/app/models/user_custom_fields/representativeness/ref_distribution.rb:49
↓ 4 callersMethodcounts_by_tag
back/engines/commercial/analysis/app/services/analysis/tag_counter.rb:12
↓ 4 callersFunctioncraftjs_with_text_multiloc
Shared helper methods for craftjs_json structures
back/engines/commercial/multi_tenancy/spec/tasks/demos/translate_missing_locales_spec.rb:14
↓ 4 callersMethodcreate
back/app/controllers/omniauth_callback_controller.rb:7
↓ 4 callersFunctioncreateCellBorders
()
front/app/utils/word/converters/breakdownBarConverter.ts:294
↓ 4 callersFunctioncreateGroupGenerator
( getGroupKey: (date: T) => string, getGroupLabel: (date: T) => string, getSubCellLabel: (date: T)
front/app/components/UI/GanttChart/utils.ts:57
↓ 4 callersFunctioncreateHeading
(text: string, level: 1 | 2 | 3 = 1)
front/app/utils/word/converters/textConverter.ts:26
↓ 4 callersFunctioncreate_active_phase
(project, factory: :phase)
back/spec/services/timeline_service_spec.rb:355
↓ 4 callersMethodcreate_files
(file_content)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/idea_pdf_file_parser.rb:38
↓ 4 callersFunctioncreate_idea
(phase, downvotes, neutral, upvotes)
back/spec/acceptance/phases_spec.rb:856
↓ 4 callersFunctioncreate_lifecycle_activity
(tenant, lifecycle)
back/engines/commercial/multi_tenancy/spec/services/multi_tenancy/churned_tenant_service_spec.rb:12
↓ 4 callersFunctioncreate_session
(project, created_at)
back/spec/services/projects_finder_admin_service_spec.rb:538
↓ 4 callersMethodcurrent_phase_or_last_completed_not_archived
(project, time = Time.now)
back/app/services/timeline_service.rb:27
↓ 4 callersMethodcustom_field_values_params
(allowed_fields)
back/app/services/custom_field_params_service.rb:2
↓ 4 callersMethoddata_by_graph
(graph_resolved_name, props)
back/engines/commercial/report_builder/app/services/report_builder/query_repository.rb:29
↓ 4 callersFunctiondateRange
(start: Moment, end: Moment, step: IResolution)
front/app/components/admin/GraphCards/_utils/timeSeries.ts:207
↓ 4 callersFunctiondecode
(jwt)
front/app/utils/auth/jwt.ts:52
↓ 4 callersFunctiondecode_content
(content, raise_on_error: false)
back/spec/services/content_image_service_spec.rb:10
↓ 4 callersFunctiondeduplicateBins
(bins: ICustomFieldBins)
front/app/api/custom_field_bins/utils.ts:3
↓ 4 callersMethoddefault_schedule
back/engines/free/email_campaigns/app/models/email_campaigns/campaigns/user_digest.rb:53
↓ 4 callersFunctiondefined
(bound: string | undefined)
front/app/utils/representativeness/bins.ts:122
↓ 4 callersMethoddelete_custom_field_option_values
(option_key, field)
back/app/services/user_custom_field_service.rb:12
↓ 4 callersFunctiondelete_raw_info_attribute
(attribute_name)
back/engines/commercial/custom_id_methods/spec/requests/vienna_shared.rb:17
↓ 4 callersMethoddescription_generation_status
back/app/models/files/file.rb:175
↓ 4 callersMethoddeserialize
(hash)
back/lib/spherical_point_impl_active_job_serializer.rb:15
↓ 4 callersMethoddestroy
back/engines/commercial/analysis/app/controllers/analysis/web_api/v1/tags_controller.rb:81
↓ 4 callersMethoddestroy?
back/engines/commercial/mcp_server/app/policies/doorkeeper/application_policy.rb:16
↓ 4 callersMethoddestroy_all_async
(scope = User)
back/app/models/user.rb:72
← previousnext →1,201–1,300 of 15,961, ranked by callers