MCPcopy Create free account

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 8 callersMethodbulk_reorder!
Reorders records in the current scope to match the given ID sequence. - IDs not found in the scope are silently ignored. - Records in the scope but m
back/app/models/concerns/bulk_reorderable.rb:38
↓ 8 callersMethodcaches_action
(*actions)
back/app/controllers/concerns/action_caching.rb:17
↓ 8 callersMethodcan_moderate?
(object, user)
back/app/services/user_role_service.rb:4
↓ 8 callersMethodcan_moderate?
(project)
back/engines/commercial/analysis/app/policies/analysis/analysis_policy.rb:41
↓ 8 callersFunctioncapture_stdout
(&)
back/engines/commercial/multi_tenancy/spec/tasks/demos/translate_missing_locales_spec.rb:48
↓ 8 callersFunctioncheckMissingData
( requirements: AuthenticationRequirements['requirements'], { context }: AuthenticationData, flow: 'sign
front/app/containers/Authentication/useSteps/stepConfig/utils.ts:15
↓ 8 callersMethodconfiguration
back/engines/commercial/admin_api/app/serializers/admin_api/tenant_serializer.rb:23
↓ 8 callersMethodcreate
back/engines/commercial/public_api/app/controllers/public_api/v2/ideas_controller.rb:20
↓ 8 callersMethoddelete_person_by_distinct_id
(distinct_id, retries: 0)
back/engines/commercial/posthog_integration/lib/posthog_integration/post_hog/client.rb:32
↓ 8 callersMethoddelete_role
(type, options = {})
back/app/models/concerns/user_roles.rb:229
↓ 8 callersMethoddestroy_participation_data
(project)
back/app/services/participants_service.rb:171
↓ 8 callersFunctiondetectConflictsByPage
( groupedData: NestedGroupingStructure[] )
front/app/components/FormBuilder/edit/utils.ts:186
↓ 8 callersFunctiondoesNotMeetGroupCriteria
( requirements: AuthenticationRequirements['requirements'] )
front/app/containers/Authentication/useSteps/stepConfig/utils.ts:63
↓ 8 callersMethodescape_formula
(text)
back/app/services/export/xlsx/utils.rb:16
↓ 8 callersFunctionexpectDateToMatch
(received: Date, expected: string)
front/app/components/UI/GanttChart/utils.test.ts:22
↓ 8 callersFunctionexpect_user_to_be_identified
(user)
back/engines/commercial/custom_id_methods/spec/requests/acm_verification_spec.rb:101
↓ 8 callersFunctionexpect_user_to_be_verified_and_identified
(user, first_name: 'Mario', last_name: 'Rossi')
back/engines/commercial/custom_id_methods/spec/requests/federa_verification_spec.rb:77
↓ 8 callersFunctionexpect_user_to_be_verified_and_identified
(user, first_name: 'Otto', last_name: 'Ottakringer')
back/engines/commercial/custom_id_methods/spec/requests/id_austria_verification_spec.rb:96
↓ 8 callersFunctionf
(n: number)
front/app/containers/Admin/inspirationHub/constants.ts:25
↓ 8 callersMethodfind_for
(email)
back/app/models/email_ban.rb:46
↓ 8 callersMethodgenerate_for_user
(user_id)
back/engines/commercial/impact_tracking/app/services/impact_tracking/session_hash_service.rb:4
↓ 8 callersMethodgenerate_ideas_xlsx
(ideas, view_private_attributes: false, with_tags: false, with_cosponsors: false)
back/app/services/xlsx_service.rb:185
↓ 8 callersFunctiongetHTML
(editor: Quill)
front/app/components/UI/QuillEditor/utils.ts:194
↓ 8 callersFunctiongetLinearScaleLabel
( question: IFlatCustomField, labelNumber: number )
front/app/components/CustomFieldsForm/Fields/LinearScale/utils.ts:11
↓ 8 callersFunctiongetLocalized
( multiloc: Multiloc | GraphqlMultiloc | null | undefined, locale: SupportedLocale | null | undefined | Er
front/app/utils/i18n.ts:21
↓ 8 callersFunctiongetProjectFilter
( filter: string, projectId: string | undefined )
front/app/components/admin/GraphCards/_utils/query.ts:10
↓ 8 callersFunctiongetSignNumber
(delta: number)
front/app/components/admin/Graphs/Statistic/StatisticDelta.tsx:7
↓ 8 callersFunctiongetUpdatedRange
({ selectedRange: { from, to }, disabledRanges, clickedDate, }: GetUpdatedRangeParams)
front/app/components/admin/DatePickers/DatePhasePicker/Calendar/utils/getUpdatedRange.ts:16
↓ 8 callersMethodgroup_ids
back/app/models/concerns/user_groups.rb:30
↓ 8 callersFunctionhandleError
(errorName, errorElement)
front/app/containers/Admin/users/_shared/UserManager/index.tsx:87
↓ 8 callersFunctionhasProjectEndedOrIsArchived
( project: IProjectData, currentPhase: IPhaseData | undefined )
front/app/components/ParticipationCTABars/utils.ts:11
↓ 8 callersMethodidentify_user
@param [User] user @return [Intercom::Contact,NilClass]
back/app/services/track_intercom_service.rb:13
↓ 8 callersMethodindex
back/engines/commercial/webhooks/app/controllers/webhooks/web_api/v1/webhook_deliveries_controller.rb:11
↓ 8 callersMethodinvite_url
(token, options = {})
back/engines/free/frontend/app/services/frontend/url_service.rb:97
↓ 8 callersFunctionisCLErrorsWrapper
(value: unknown)
front/app/utils/errorUtils.ts:7
↓ 8 callersFunctionisFormValid
(formValues: FormValues)
front/app/utils/representativeness/form.ts:28
↓ 8 callersFunctionisObject
( v: any )
front/app/utils/helperUtils.ts:185
↓ 8 callersFunctionisOtherFiltered
( filters: IInputsFilterParams | undefined, questionFieldId: string )
front/app/components/admin/FormResults/FormResultsQuestion/TextQuestion/Analysis/utils.ts:20
↓ 8 callersFunctionlegendColorMap
( legend: (string | number | null)[], colorScheme: string[] )
front/app/components/admin/Graphs/legendColors.ts:9
↓ 8 callersMethodlogic?
back/app/models/custom_field.rb:150
↓ 8 callersMethodmethod_by_name
(name)
back/app/services/id_method_service.rb:12
↓ 8 callersFunctionparsePixelValue
(value)
front/internals/jest/setup.js:9
↓ 8 callersFunctionparseTimeSeries
( responseTimeSeries: TimeSeriesResponseRow[], startAtMoment: Moment | null | undefined, endAtMoment: Mo
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/ParticipationWidget/useParticipation/parse/parseTimeSeries.ts:42
↓ 8 callersMethodpreview
Preview the data that will be imported to the import log
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/previewers/project_previewer.rb:13
↓ 8 callersFunctionprojectPointToWebMercator
(geometry: Geometry)
front/app/utils/mapUtils/map.ts:20
↓ 8 callersMethodremove_unlisted_projects
(projects_scope)
back/app/services/projects_listed_scope_service.rb:2
↓ 8 callersFunctionresetErrorAndSuccessState
()
front/app/containers/Admin/invitations/invite/index.tsx:447
↓ 8 callersMethodresolve
back/engines/commercial/multi_tenancy/app/policies/tenant_policy.rb:5
↓ 8 callersMethodresolve_multiloc
(multiloc)
back/lib/locale.rb:32
↓ 8 callersFunctionrun_task
(execute: false)
back/spec/tasks/single_use/dedupe_baskets_spec.ignore.rb:10
↓ 8 callersFunctionrun_task
(host: Tenant.current.host, execute: false)
back/spec/tasks/single_use/replace_de_de_content_builder_layout_multilocs_with_de_at_task_spec.rb:14
↓ 8 callersFunctionrun_task
(execute: false)
back/spec/tasks/single_use/nullify_email_like_user_names_spec.ignore.rb:10
↓ 8 callersMethodschema_name
@return [String, nil] +nil+ if the tenant has not been persisted yet. Otherwise, the name of the corresponding PG schema.
back/engines/commercial/multi_tenancy/app/models/tenant.rb:126
↓ 8 callersMethodserialize
(record_or_collection, params: {})
back/engines/commercial/mcp_server/app/lib/mcp_server/serializers/base.rb:51
↓ 8 callersFunctionsetupProject
({ participationMethod, }: { participationMethod: ParticipationMethod; })
front/cypress/support/permitted_by_utils.ts:20
↓ 8 callersMethodsso_enforced_for_email?
(email)
back/app/services/authentication_service.rb:10
↓ 8 callersMethodstart_at
back/engines/commercial/public_api/app/serializers/public_api/v2/phase_serializer.rb:28
↓ 8 callersMethodsupports_options?
back/lib/input_type_strategy/base.rb:21
↓ 8 callersMethodto_bool
(value)
back/lib/utils.rb:6
↓ 8 callersMethodto_token_payload
back/app/models/user.rb:233
↓ 8 callersMethodtop_consensus_ideas
(n, reverse: false)
back/app/services/common_ground/results_service.rb:21
↓ 8 callersMethodtotal_votes
(phase)
back/app/models/idea.rb:367
↓ 8 callersMethodtrack
(trackable, location_attrs)
back/app/services/participation_location_service.rb:17
↓ 8 callersFunctionuploadLocalImageForHeroBanner
()
front/app/containers/Admin/pagesAndMenu/containers/GenericHeroBannerForm/BannerImageFields/BannerImageFields.test.tsx:17
↓ 8 callersFunctionuseComment
(id: string)
front/app/api/comments/useComment.ts:12
↓ 8 callersFunctionuseCustomFieldOptions
(customFieldId?: string)
front/app/api/custom_field_options/useCustomFieldOptions.ts:15
↓ 8 callersFunctionuseIdeaCustomField
({ projectId, phaseId, customFieldId, }: { projectId?: string; phaseId?: string; customFieldId?: s
front/app/api/idea_custom_fields/useIdeaCustomField.ts:31
↓ 8 callersFunctionuseRawCustomFields
({ projectId, phaseId, inputTypes, copy, publicFields = false, }: Params)
front/app/api/custom_fields/useRawCustomFields.ts:44
↓ 8 callersFunctionuseUpdateCampaign
()
front/app/api/campaigns/useUpdateCampaign.ts:21
↓ 8 callersFunctionuseVoting
()
front/app/api/baskets_ideas/useVoting.tsx:182
↓ 8 callersMethodvisit_select
(_field)
back/spec/models/custom_field_spec.rb:34
↓ 8 callersMethodvisits_by_date
Grouping needs to join page views to session to be able to group by the date of each page view @param [String] resolution - hour|day|month|year
back/app/services/insights/visits_service.rb:24
↓ 7 callersMethodaccept
(visitor)
back/app/models/custom_field.rb:255
↓ 7 callersFunctionaddFollower
({ followableType, followableId, }: FollowerAdd)
front/app/api/follow_unfollow/useAddFollower.ts:9
↓ 7 callersMethodadd_missing_features
Given a settings object, add all missing feature objects from the schema
back/app/services/settings_service.rb:9
↓ 7 callersMethodafter_create
(option, user)
back/engines/free/polls/app/services/polls/side_fx_option_service.rb:9
↓ 7 callersMethodafter_update
(tag, user)
back/engines/commercial/analysis/app/services/analysis/side_fx_tag_service.rb:11
↓ 7 callersMethodall_fields
back/app/services/idea_custom_fields_service.rb:9
↓ 7 callersMethodattributes
(*attributes_list, &block)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/templates/serializers/core.rb:47
↓ 7 callersMethodauthenticate
(unencrypted_password)
back/app/models/user.rb:282
↓ 7 callersMethodauto_reposition!
(item)
back/app/services/nav_bar_item_service.rb:4
↓ 7 callersMethodcall
(campaign, user)
back/engines/free/email_campaigns/app/services/email_campaigns/send_manual_campaign_service.rb:5
↓ 7 callersFunctioncall_pcc
(phase, service, from, to)
back/engines/free/surveys/spec/services/typeform_webhook_manager_spec.rb:5
↓ 7 callersMethodcampaign_types
back/engines/free/email_campaigns/app/services/email_campaigns/delivery_service.rb:70
↓ 7 callersMethodcenter_geojson
back/engines/commercial/custom_maps/app/models/custom_maps/map_config.rb:42
↓ 7 callersMethodclassify_topics!
Given an idea, classifies it into one or more topics, overwriting any previous classifications.
back/app/services/idea_feed/topic_classification_service.rb:17
↓ 7 callersMethodcomplete!
back/app/models/jobs/tracker.rb:117
↓ 7 callersMethodconfiguration
Returns the app configuration of the tenant. config = tenant.configuration If the optional code block is specified, it will be run in the context of t
back/engines/commercial/multi_tenancy/app/models/tenant.rb:147
↓ 7 callersFunctionconfirmUserCustomFieldHasValue
({ key, value, }: { key: string; value?: string; })
front/cypress/support/permitted_by_utils.ts:152
↓ 7 callersMethodconsentable_campaign_types_for
(user)
back/engines/free/email_campaigns/app/services/email_campaigns/delivery_service.rb:78
↓ 7 callersMethodcreate_author_hash
(author_id, project_id, anonymous)
back/app/models/concerns/anonymous_participation.rb:9
↓ 7 callersMethoddefault
(config: nil)
back/lib/locale.rb:6
↓ 7 callersMethoddefault
(field)
back/spec/services/field_visitor_service_spec.rb:6
↓ 7 callersMethoddelete_node
(node_id)
back/engines/commercial/content_builder/app/services/content_builder/craftjs/state.rb:89
↓ 7 callersMethodembedding
(text)
back/lib/cohere_multilingual_embeddings.rb:16
↓ 7 callersMethodenabled_fields
back/app/services/idea_custom_fields_service.rb:66
↓ 7 callersMethodends_before?
(time)
back/app/models/phase.rb:225
↓ 7 callersFunctionesriPointToGeoJson
(esriPoint: Point)
front/app/components/EsriMap/utils.tsx:414
↓ 7 callersMethodexecute
back/engines/commercial/public_api/app/finders/public_api/ideas_finder.rb:13
↓ 7 callersFunctionfillOutTitleAndBody
( cy: any, { title, body }: { title: string; body: string } )
front/cypress/e2e/ideation_permissions/_utils.ts:1
← previousnext →701–800 of 15,961, ranked by callers