MCPcopy Create free account

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 6 callersFunctiontime_boundary_parameters
(s)
back/spec/acceptance/stats_comments_spec.rb:8
↓ 6 callersFunctiontime_boundary_parameters
(s)
back/spec/acceptance/stats_reactions_spec.rb:6
↓ 6 callersFunctiontoPercentage
(value: number | undefined)
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/utils.ts:36
↓ 6 callersMethodtrack_user?
@param [User] user @return [Boolean]
back/app/services/track_intercom_service.rb:32
↓ 6 callersMethodtranslate
(text_or_html, locale_from, locale_to, retries: 0, max_sleep: 60)
back/engines/commercial/machine_translations/app/services/machine_translations/machine_translation_service.rb:36
↓ 6 callersMethodtry_with_transaction_lock
@param [String] lock_name
back/lib/citizen_lab/lock_manager.rb:10
↓ 6 callersMethodup?
back/app/models/reaction.rb:60
↓ 6 callersMethodupdate
back/engines/free/email_campaigns/app/controllers/email_campaigns/web_api/v1/consents_controller.rb:24
↓ 6 callersMethodupdate
back/engines/commercial/analysis/app/controllers/analysis/web_api/v1/tags_controller.rb:59
↓ 6 callersFunctionupdateCampaign
({ id: campaignId, campaign, }: IUpdateCampaignProperties)
front/app/api/campaigns/useUpdateCampaign.ts:11
↓ 6 callersFunctionupdateUserFormData
(newData: Partial<UserFormData>)
front/app/containers/Admin/projects/project/inputImporter/ReviewSection/IdeaEditor/UserForm.tsx:36
↓ 6 callersMethodupdate_manual_votes_count!
back/app/models/phase.rb:314
↓ 6 callersFunctionuseAddAnalysisSummary
()
front/app/api/analysis_summaries/useAddAnalysisSummary.ts:19
↓ 6 callersFunctionuseAddFollower
()
front/app/api/follow_unfollow/useAddFollower.ts:19
↓ 6 callersFunctionuseAdminPublicationsStatusCounts
( queryParams: IQueryParameters, { enabled = true } = {} )
front/app/api/admin_publications_status_counts/useAdminPublicationsStatusCounts.ts:40
↓ 6 callersFunctionuseAnalysisInsights
(queryParams: IInsightsParams)
front/app/api/analysis_insights/useAnalysisInsights.ts:16
↓ 6 callersFunctionuseAnalysisSummary
(params: ISummaryParams)
front/app/api/analysis_summaries/useAnalysisSummary.ts:16
↓ 6 callersFunctionuseAnalytics
( query: Query, onSuccess?: () => void, enabled = true )
front/app/api/analytics/useAnalytics.ts:18
↓ 6 callersFunctionuseAreaTerms
({ capitalized = false }: { capitalized?: boolean } = {})
front/app/hooks/areaTerms/useAreaTerms.ts:11
↓ 6 callersFunctionuseCustomPages
()
front/app/api/custom_pages/useCustomPages.ts:16
↓ 6 callersFunctionuseEventImage
(event: IEventData | undefined)
front/app/api/event_images/useEventImage.ts:23
↓ 6 callersFunctionuseFiles
({ pageNumber, pageSize, uploaderId, project, sort, search, deleted, }: GetFilesParameters)
front/app/api/files/useFiles.ts:21
↓ 6 callersFunctionuseFormatCurrency
()
front/app/utils/currency/useFormatCurrency.ts:12
↓ 6 callersFunctionuseGraphqlTenantLocales
()
front/app/modules/commercial/admin_project_templates/admin/api/useGraphqlTenantLocales.ts:10
↓ 6 callersFunctionuseIdeaImages
(ideaId?: string)
front/app/api/idea_images/useIdeaImages.ts:15
↓ 6 callersFunctionuseIdeaStatus
(id: string)
front/app/api/idea_statuses/useIdeaStatus.ts:12
↓ 6 callersFunctionuseInternalComment
(id: string)
front/app/api/internal_comments/useInternalComment.ts:15
↓ 6 callersFunctionuseInternalComments
( parameters: IInternalCommentParameters & IInternalCommentQueryParameters )
front/app/api/internal_comments/useInternalComments.ts:42
↓ 6 callersFunctionusePageFiles
(pageId?: string)
front/app/api/page_files/usePageFiles.ts:15
↓ 6 callersFunctionusePhasePermissions
({ phaseId }: PhasePermissionsProps)
front/app/api/phase_permissions/usePhasePermissions.ts:20
↓ 6 callersFunctionuseReportContext
()
front/app/containers/Admin/reporting/context/ReportContext.tsx:58
↓ 6 callersFunctionuseReportLayout
(id?: string)
front/app/api/report_layout/useReportLayout.ts:15
↓ 6 callersFunctionuseReports
(queryParams: ReportsParams = {})
front/app/api/reports/useReports.ts:17
↓ 6 callersFunctionuseSendCampaignPreview
()
front/app/api/campaigns/useSendCampaignPreview.ts:15
↓ 6 callersFunctionuseSpaces
(params: Params = {})
front/app/api/spaces/useSpaces.ts:25
↓ 6 callersFunctionuseUpdateAnalysis
()
front/app/api/analyses/useUpdateAnalysis.ts:30
↓ 6 callersFunctionuseUpdateMapConfig
(projectId?: string)
front/app/api/map_config/useUpdateMapConfig.ts:20
↓ 6 callersFunctionuseUpdateUser
()
front/app/api/users/useUpdateUser.ts:36
↓ 6 callersFunctionuseUsersByCustomField
({ enabled = true, ...queryParameters }: ICustomFieldParams & { id: string; enabled?: boolean })
front/app/api/users_by_custom_field/useUsersByCustomField.ts:23
↓ 6 callersFunctionuseVerificationMethod
()
front/app/api/id_methods/useVerificationMethod.ts:15
↓ 6 callersFunctionvalidate
( state: IUpdatedPhaseProperties, phases: IPhases | undefined, formatMessage: FormatMessage, phaseId?:
front/app/containers/Admin/projects/project/phaseSetup/validate.tsx:8
↓ 6 callersMethodvote_counts_with_user_custom_field_grouping
(custom_field = nil)
back/app/services/insights/voting_phase_insights_service.rb:3
↓ 6 callersMethodvoting?
Used for validations (which are hard to delegate through the participation method)
back/app/models/phase.rb:269
↓ 5 callersMethodadd_error
(key, options = {})
back/app/services/invites/error_storage.rb:27
↓ 5 callersMethodafter_copy
@param [Jobs::TrackableJob] job
back/app/services/side_fx_idea_service.rb:138
↓ 5 callersMethodafter_create
(resource, user)
back/app/services/events/side_fx_attendance_service.rb:5
↓ 5 callersMethodafter_create
(project, current_user)
back/engines/commercial/idea_assignment/app/services/idea_assignment/patches/side_fx_project_service.rb:6
↓ 5 callersMethodafter_success
(user, phase, model, format, items, users)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/side_fx_bulk_import_service.rb:5
↓ 5 callersMethodafter_update
(idea, user)
back/engines/commercial/flag_inappropriate_content/app/services/flag_inappropriate_content/patches/side_fx_idea_service.rb:15
↓ 5 callersMethodafter_update
(idea, user)
back/engines/commercial/idea_assignment/app/services/idea_assignment/patches/side_fx_idea_service.rb:13
↓ 5 callersMethodanonymous?
back/app/models/concerns/anonymous_participation.rb:24
↓ 5 callersMethodapp_configuration
back/app/models/current.rb:8
↓ 5 callersMethodarchived?
back/app/models/admin_publication.rb:131
↓ 5 callersMethodassign_params_in_accept_invite
(user, user_params, confirm_user: false)
back/app/services/user_service.rb:62
↓ 5 callersMethodauto_transition_input!
(input)
back/app/services/input_status_service.rb:14
↓ 5 callersMethodavatars_for_idea
Returns a hash containing a list of users with avatars for an idea and the total member count. @param idea[Idea] The group for which avatars of its me
back/app/services/avatars_service.rb:52
↓ 5 callersMethodbutton_text_multiloc
back/engines/free/email_campaigns/app/models/concerns/email_campaigns/content_configurable.rb:42
↓ 5 callersFunctioncalculateScaleFromZoom
(zoom: number)
front/app/utils/mapUtils/map.ts:140
↓ 5 callersMethodcampaign_mail
back/engines/free/email_campaigns/app/mailers/email_campaigns/application_mailer.rb:12
↓ 5 callersMethodcampaign_name
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:97
↓ 5 callersMethodcan_be_disabled?
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:193
↓ 5 callersFunctioncategoricalColorScheme
({ rowIndex, }: { row?: any; rowIndex: number; barIndex?: number; })
front/app/components/admin/Graphs/styling.ts:61
↓ 5 callersFunctioncheckSelectedAssigneeFilter
(optionLabelText: string)
front/cypress/e2e/admin/input_manager.cy.ts:4
↓ 5 callersFunctioncloseExpanded
()
front/app/components/FilterSelector/index.tsx:181
↓ 5 callersMethodcomplete?
back/app/models/phase.rb:229
↓ 5 callersFunctionconfirmSavedToProfile
()
front/cypress/e2e/native_survey/native_survey_permissions/permitted_by_users.cy.ts:180
↓ 5 callersMethodconsentable_for?
(user)
back/engines/free/email_campaigns/app/models/concerns/email_campaigns/consentable.rb:19
↓ 5 callersFunctionconvertBinsToFormValues
( bins: Bins, formValues: FormValues | null )
front/app/utils/representativeness/form.ts:107
↓ 5 callersMethodconvert_to_text_long_lines
(html)
back/app/services/export/xlsx/utils.rb:42
↓ 5 callersFunctioncount_locale_keys
Recursively counts how many times +locale+ appears as a key in a craftjs_json structure.
back/spec/tasks/single_use/replace_de_de_content_builder_layout_multilocs_with_de_at_task_spec.rb:26
↓ 5 callersMethodcreate
(url: string)
front/app/components/UI/QuillEditor/configureQuill.ts:110
↓ 5 callersFunctioncreateChartContainer
(hasSvg = true)
front/app/utils/word/utils/svgToImage.test.ts:149
↓ 5 callersFunctioncreateEsriGeoJsonLayers
( layers: IMapLayerAttributes[], localize: Localize )
front/app/components/EsriMap/utils.tsx:583
↓ 5 callersFunctioncreateSimpleTable
( data: WordCellContent[][], options: TableOptions = {} )
front/app/utils/word/converters/tableConverter.ts:78
↓ 5 callersFunctioncreateSurveyProject
(cy: any)
front/cypress/e2e/survey_builder/utils.ts:4
↓ 5 callersMethodcreate_heatmap_generation_job
(now: Time.current, since: 1.hour)
back/app/services/heatmap_generation_service.rb:4
↓ 5 callersFunctiondeleteIdea
(id: string)
front/app/api/ideas/useDeleteIdea.ts:15
↓ 5 callersFunctionderiveProjectStatus
(period: Period, now: Moment)
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ProjectsWidget/ProjectsCard/utils.ts:9
↓ 5 callersMethoddestroy_user_participation_data
Destroys all participation data for a user.
back/app/services/participants_service.rb:229
↓ 5 callersMethoddisconnect
()
front/app/components/CustomFieldsForm/SurveyForm/index.test.tsx:20
↓ 5 callersMethoddue_status_transition?
back/app/models/admin_publication.rb:158
↓ 5 callersMethodeffective_publication_status
back/app/models/admin_publication.rb:154
↓ 5 callersFunctionencode_json_file_as_base64
(filename)
back/engines/commercial/custom_maps/spec/acceptance/project_map_config_layers_spec.rb:539
↓ 5 callersMethodexecute
back/engines/commercial/admin_api/app/controllers/admin_api/graphql_controller.rb:5
↓ 5 callersMethodexecute
back/engines/commercial/report_builder/app/services/report_builder/report_finder.rb:31
↓ 5 callersFunctionexpect_user_to_be_verified
(user, first_name: 'Mario', last_name: 'Rossi')
back/engines/commercial/custom_id_methods/spec/requests/federa_verification_spec.rb:63
↓ 5 callersFunctionexpect_user_to_be_verified_and_identified
(user)
back/engines/commercial/custom_id_methods/spec/requests/criipto_verification_spec.rb:135
↓ 5 callersFunctionexpect_user_to_be_verified_and_identified
(user)
back/engines/commercial/custom_id_methods/spec/requests/keycloak_idporten_verification_spec.rb:107
↓ 5 callersMethodfeature_name
Feature names should be snake_case strings. @return [String]
back/lib/citizen_lab/mixins/feature_specification.rb:27
↓ 5 callersFunctionfilterForCommunityMonitorQuarter
({ analysisSummaries, insights, yearParam, quarterParam, }: FilterForQuarterArgs)
front/app/components/admin/FormResults/FormResultsQuestion/TextQuestion/Analysis/utils.ts:46
↓ 5 callersMethodfilter_discoverability
Filter projects by discoverability (listed/unlisted status)
back/app/services/projects_finder_admin_service.rb:370
↓ 5 callersMethodfilter_projects
(projects_scope)
back/app/models/static_page.rb:149
↓ 5 callersMethodflag_toxicity!
@return [InappropriateContentFlag, nil] The flag if one was created, nil otherwise
back/engines/commercial/flag_inappropriate_content/app/services/flag_inappropriate_content/toxicity_detection_service.rb:23
↓ 5 callersMethodfor
Called once per request and per tool, by the controller. Builds the SDK-side tool class dynamically.
back/engines/commercial/mcp_server/app/lib/mcp_server/base_tool.rb:28
↓ 5 callersFunctionforEachBin
(bins: Bins)
front/app/utils/representativeness/bins.ts:16
↓ 5 callersFunctionformChange
( changedFormValue: Partial<IFormValues>, touched = true )
front/app/containers/Admin/CustomMapConfigPage/LayerConfiguration/MapLayerConfig.tsx:180
↓ 5 callersMethodform_end_page?
back/app/models/custom_field.rb:229
↓ 5 callersFunctionformatEditableCommentContent
(commentBody: string)
front/app/components/PostShowComponents/utils.ts:9
↓ 5 callersMethodgenerate_file_attributes
@return [Hash]
back/engines/commercial/multi_tenancy/db/seeds/runner.rb:220
↓ 5 callersMethodgenerate_list
(candidates, idea_exposures, n = 5)
back/app/services/idea_feed/diversity_service.rb:8
← previousnext →1,001–1,100 of 15,961, ranked by callers