MCPcopy Create free account

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 12 callersFunctionuseCustomFields
({ projectId, phaseId, inputTypes, copy, publicFields = false, }: ICustomFieldsParameters)
front/app/api/custom_fields/useCustomFields.ts:7
↓ 12 callersFunctionuseGlobalTopics
( queryParameters?: IGlobalTopicsQueryParams, { enabled = true } = {} )
front/app/api/global_topics/useGlobalTopics.ts:33
↓ 12 callersFunctionuseIdeasFilterCounts
( queryParams: IIdeasFilterCountsQueryParameters, enabled = true )
front/app/api/ideas_filter_counts/useIdeasFilterCounts.ts:26
↓ 12 callersFunctionuseRansackParam
( paramName: ParamName )
front/app/containers/Admin/inspirationHub/utils.ts:31
↓ 12 callersFunctionuserModeratesFolder
( user: IUser | undefined | null, projectFolderId: string, folderSpaceId?: string | null )
front/app/utils/permissions/rules/projectFolderPermissions.ts:15
↓ 12 callersMethoduser_data_collection
Only implemented in native_survey and community monitor
back/lib/participation_method/base.rb:236
↓ 11 callersMethodafter_create
(tenant, current_user = nil)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/side_fx_tenant_service.rb:9
↓ 11 callersMethodafter_create
(layout, user)
back/engines/commercial/content_builder/app/services/content_builder/side_fx_layout_service.rb:11
↓ 11 callersMethodassociated_custom_fields
back/engines/commercial/analysis/app/models/analysis/analysis.rb:84
↓ 11 callersMethodbefore_destroy
(tag, _user)
back/engines/commercial/analysis/app/services/analysis/side_fx_tag_service.rb:15
↓ 11 callersMethodby_job_id!
(job_id)
back/app/models/que_job.rb:33
↓ 11 callersMethodclaim
Claim items for a user. Only marks tokens if the user requires confirmation. Effectively claims items if the user does not require confirmation. @para
back/app/services/claim_token_service.rb:48
↓ 11 callersFunctioncreate_model
(factory, craftjs_json_props)
back/engines/commercial/content_builder/spec/models/content_builder/concerns/content_buildable_spec.rb:84
↓ 11 callersMethodcustom_form
back/app/services/idea_feed/topic_modeling_service.rb:62
↓ 11 callersFunctiondestroy
(resource_type, id)
back/engines/commercial/mcp_server/spec/lib/mcp_server/tools/destroy_resource_spec.rb:9
↓ 11 callersMethoddomicile?
back/app/models/custom_field.rb:224
↓ 11 callersFunctionensureJSONSerializable
( params: JSONCompatible<T> )
front/app/containers/Authentication/SuccessActions/actions/index.ts:132
↓ 11 callersMethodfollowable_id
back/app/controllers/web_api/v1/followers_controller.rb:49
↓ 11 callersFunctionformatDate
(date: string | null)
front/app/containers/Admin/projects/all/Projects/Table/Row.tsx:80
↓ 11 callersMethodformatted
(input, **options)
back/engines/commercial/analysis/app/services/analysis/input_to_text.rb:37
↓ 11 callersFunctiongenerateTempId
()
front/app/utils/helperUtils.ts:208
↓ 11 callersMethodgenerate_descriptions!
Generate and update the descriptions for the given file @return [Boolean] true if descriptions were updated, false if not.
back/app/services/files/description_generator.rb:15
↓ 11 callersFunctiongetStatus
( formValues: FormValues, remoteFormValues: RemoteFormValues | undefined, touched: boolean, binsSet?:
front/app/utils/representativeness/form.ts:61
↓ 11 callersFunctiongetUrlLocale
(pathname: string)
front/app/utils/getUrlLocale.ts:11
↓ 11 callersFunctiongoToMapLocation
( coordinates: GeoJSON.Point, mapView?: MapView, zoomLevel?: number )
front/app/components/EsriMap/utils.tsx:392
↓ 11 callersFunctionhandleMethodSelect
(event, method: ParticipationMethod)
front/app/containers/Admin/projects/project/phaseSetup/components/PhaseParticipationConfig/components/ParticipationMethodPicker.tsx:102
↓ 11 callersMethodhome_url
back/engines/free/email_campaigns/app/mailers/email_campaigns/manual_campaign_mailer.rb:68
↓ 11 callersMethodidea_statuses_participants
(idea_statuses, options = {})
back/app/services/participants_service.rb:166
↓ 11 callersMethodinput_topics_participants
(input_topics, options = {})
back/app/services/participants_service.rb:161
↓ 11 callersFunctioninvalidateSeatsCache
()
front/app/api/seats/invalidateSeatsCache.ts:7
↓ 11 callersFunctionisAllowedOnUrl
(location: string)
front/app/containers/App/ModalQueue/modals/CommunityMonitor/utils.ts:3
↓ 11 callersFunctionisRegularUser
(user: IUser | undefined | null)
front/app/utils/permissions/roles.ts:69
↓ 11 callersFunctionload
(id)
front/vite.config.ts:87
↓ 11 callersFunctionlogIn
( cy: Cypress.Chainable, email: string, password: string )
front/cypress/support/auth.ts:58
↓ 11 callersMethodmoderators_for
(object, scope = User)
back/app/services/user_role_service.rb:38
↓ 11 callersMethodnode
(id)
back/engines/commercial/content_builder/app/services/content_builder/craftjs/state.rb:109
↓ 11 callersFunctiononChange
()
front/app/component-library/components/ColorPickerInput/ColorPickerInput.test.tsx:9
↓ 11 callersFunctionparseLayers
( mapConfig: IMapConfig | null | undefined, localize: Localize )
front/app/components/EsriMap/utils.tsx:561
↓ 11 callersMethodproject
back/app/controllers/web_api/v1/project_reviews_controller.rb:83
↓ 11 callersMethodproject_participants_count
Returns the total count of all project participants including anonymous posts - cached
back/app/services/participants_service.rb:82
↓ 11 callersMethodpublication_status
back/engines/commercial/admin_api/app/graphql/admin_api/types/project_type.rb:23
↓ 11 callersMethodreport
back/engines/commercial/report_builder/app/controllers/report_builder/web_api/v1/reports_controller.rb:120
↓ 11 callersFunctionsetRansackParam
( paramName: ParamName, paramValue: RansackParams[ParamName] )
front/app/containers/Admin/inspirationHub/utils.ts:17
↓ 11 callersMethodsso_return_url
(options = {})
back/engines/free/frontend/app/services/frontend/url_service.rb:78
↓ 11 callersMethodswap_data_images
Extracts and remove image data from the content, stores it in a separate image model, and updates the original content to reference the image model in
back/app/services/content_image_service.rb:50
↓ 11 callersMethodtest?
back/engines/commercial/webhooks/app/policies/webhooks/subscription_policy.rb:36
↓ 11 callersFunctiontoMultiloc
(message: MessageDescriptor)
front/app/containers/Admin/pagesAndMenu/containers/ContentBuilder/components/Toolbox/index.tsx:98
↓ 11 callersFunctiontoTextMultiloc
( message: MessageDescriptor, bold?: boolean, values?: FormatMessageValues )
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/PlatformTemplate/index.tsx:190
↓ 11 callersMethodtracker
back/app/concerns/jobs/trackable_job.rb:7
↓ 11 callersMethodtransitive?
Returns whether inputs in this participation method can be moved to another phase.
back/lib/participation_method/base.rb:199
↓ 11 callersMethodupdate_all_permissions
back/app/services/permissions/permissions_update_service.rb:16
↓ 11 callersMethodupdate_counts
(phase)
back/app/models/basket.rb:67
↓ 11 callersMethodupdate_permissions_for_scope
(scope)
back/app/services/permissions/permissions_update_service.rb:5
↓ 11 callersFunctionuseCustomPageById
(id?: string)
front/app/api/custom_pages/useCustomPageById.ts:12
↓ 11 callersFunctionuseEvents
({ projectIds, staticPageId, currentAndFutureOnly, pastOnly, pageSize, sort, projectPublicationS
front/app/api/events/useEvents.ts:45
↓ 11 callersFunctionuseGraphDataUnitsLive
( parameters: ParametersLive, { enabled = true, onSuccess }: Options = { enabled: true } )
front/app/api/graph_data_units/useGraphDataUnitsLive.ts:21
↓ 11 callersFunctionuseGroups
(queryParameters: GroupsQueryParameters)
front/app/api/groups/useGroups.ts:28
↓ 11 callersFunctionuseModalQueue
()
front/app/containers/App/ModalQueue/index.tsx:62
↓ 11 callersFunctionuseNavbarItems
(params?: NavbarParameters)
front/app/api/navbar/useNavbarItems.ts:25
↓ 11 callersFunctionusePdfExportContext
()
front/app/containers/Admin/projects/project/insights/pdf/PdfExportContext.tsx:85
↓ 11 callersFunctionuseProjectFolders
(queryParams: Pagination = {}, enabled = true)
front/app/api/project_folders/useProjectFolders.ts:18
↓ 11 callersFunctionuseReport
(id?: string)
front/app/api/reports/useReport.ts:12
↓ 11 callersFunctionuseUpdateProject
()
front/app/api/projects/useUpdateProject.ts:19
↓ 11 callersFunctionuseUsers
(queryParameters: IQueryParameters)
front/app/api/users/useUsers.ts:20
↓ 11 callersFunctionuseWindowSize
()
front/app/component-library/hooks/useWindowSize.ts:5
↓ 11 callersMethodvoting_method
back/lib/participation_method/voting.rb:48
↓ 10 callersMethodadd_row
@param [Hash<String,Array>] columns @param [Hash<String,Object>] row
back/engines/commercial/user_custom_fields/app/serializers/user_custom_fields/xlsx/age_stats_serializer.rb:32
↓ 10 callersMethodafter_update
(tenant, current_user = nil)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/side_fx_tenant_service.rb:53
↓ 10 callersMethodall_methods
back/app/services/id_method_service.rb:4
↓ 10 callersMethodbasket
back/app/controllers/web_api/v1/baskets_controller.rb:43
↓ 10 callersMethodbilled_moderators
back/app/controllers/web_api/v1/users_controller.rb:75
↓ 10 callersMethodcan_moderate_project?
back/app/policies/project_review_policy.rb:34
↓ 10 callersMethodcomplete
Complete all pending claims for a user. Transfers ownership and destroys the claim tokens. @param user [User] the user whose pending claims to complet
back/app/services/claim_token_service.rb:36
↓ 10 callersFunctionconfigure_platform_locales
(locales)
back/spec/services/project_copy_service_spec.rb:503
↓ 10 callersFunctionconfirmEmail
(cy: Cypress.Chainable)
front/cypress/support/auth.ts:21
↓ 10 callersMethodcontent_type_multiloc_key
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:109
↓ 10 callersFunctioncreateField
( id: string, key: string, input_type: string )
front/app/components/FormBuilder/edit/getQuestionCategory.test.ts:5
↓ 10 callersFunctioncreateParagraph
( text: string, options: { bold?: boolean; italic?: boolean; color?: string; alignment?: '
front/app/utils/word/converters/textConverter.ts:54
↓ 10 callersFunctioncreateTestSvg
(width = 400, height = 200)
front/app/utils/word/utils/svgToImage.test.ts:113
↓ 10 callersMethodcreate_for_some_locales
@return [Hash] multiloc hash
back/engines/commercial/multi_tenancy/db/seeds/runner.rb:203
↓ 10 callersMethoddefault_locale
back/app/controllers/web_api/v1/events_controller.rb:190
↓ 10 callersMethoddraft?
back/app/models/idea.rb:389
↓ 10 callersFunctionfakeSSOSignup
( cy: Cypress.Chainable, profileName: ProfileName, { email, sub }: Overrides = {} )
front/cypress/e2e/auth/sso/utils.ts:17
↓ 10 callersFunctionformatMessage
( message: MessageDescriptor, values?: FormatMessageValues )
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/PlatformTemplate/index.tsx:112
↓ 10 callersFunctiongenerateData
(n: number)
front/app/components/admin/Representativeness/ChartCard/ChartCard.test.tsx:7
↓ 10 callersMethodgenerate_for_visitor
(ip, user_agent)
back/engines/commercial/impact_tracking/app/services/impact_tracking/session_hash_service.rb:8
↓ 10 callersFunctiongetDaysInRange
( startAt?: string | null, endAt?: string | null )
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/utils.ts:28
↓ 10 callersFunctiongetFormCompletionPercentage
({ pageQuestions, currentPageIndex, // actually page index lastPageIndex, // actually page index formV
front/app/components/CustomFieldsForm/util.ts:65
↓ 10 callersFunctiongetLastPhase
(phases: IPhaseData[] | undefined)
front/app/api/phases/utils.ts:47
↓ 10 callersFunctiongetLocalizedWithFallback
( multiloc: Multiloc | null | undefined, locale: SupportedLocale | null | undefined | Error, tenantLocal
front/app/utils/i18n.ts:101
↓ 10 callersFunctiongetQuarterFilter
(quarter?: string)
front/app/containers/Admin/communityMonitor/components/LiveMonitor/components/HealthScoreWidget/utils.ts:101
↓ 10 callersFunctiongetUpdatedRange
({ selectedRange: { from, to }, selectionMode, clickedDate, }: GetUpdatedRangeParams)
front/app/components/admin/DatePickers/DateRangePicker/Calendar/utils/getUpdatedRange.ts:11
↓ 10 callersFunctiongetYearFilter
(year?: string)
front/app/containers/Admin/communityMonitor/components/LiveMonitor/components/HealthScoreWidget/utils.ts:90
↓ 10 callersFunctionhandleSortClick
(newSortAttribute: IdeasSort)
front/app/components/admin/PostManager/components/PostTable/index.tsx:114
↓ 10 callersMethodideas_to_idea_rows
(ideas_array, file)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/idea_xlsx_file_parser.rb:22
↓ 10 callersMethodinput_manager_url
Generates a URL for the Input Manager with optional filters. @param for_phase [Phase, String, nil] Phase record or ID to scope the Input Manager to.
back/engines/free/frontend/app/services/frontend/url_service.rb:165
↓ 10 callersFunctionisError
(obj: any)
front/app/utils/helperUtils.ts:20
↓ 10 callersFunctionisValidCoordinate
(coordStr: string)
front/app/components/UI/LocationInput/utils.ts:1
↓ 10 callersFunctionisValidUrl
(url: string)
front/app/utils/validate.ts:10
↓ 10 callersMethodlocale
back/app/services/similar_ideas_service.rb:86
← previousnext →501–600 of 15,961, ranked by callers