MCPcopy Create free account

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 3 callersFunctionwaitForCustomFormFields
()
front/cypress/e2e/survey_builder/survey_results_and_data_management.cy.ts:5
↓ 3 callersFunctionwaitForInvites
(minCount = 2, maxRetries = 10, delay = 1000)
front/cypress/e2e/auth/invitation_authentication_flow.cy.ts:48
↓ 3 callersMethodwill_be_published?
back/app/models/idea.rb:329
↓ 3 callersMethodxlsx_exportable_fields
back/app/services/idea_custom_fields_service.rb:27
↓ 3 callersMethodxlsx_from_columns
(columns, sheetname: 'sheet 1')
back/app/services/xlsx_service.rb:66
↓ 3 callersMethodxlsx_from_rows
(rows, sheetname: 'sheet 1')
back/app/services/xlsx_service.rb:55
↓ 2 callersMethodactive?
@param [AppConfiguration] configuration @return [Boolean]
back/app/services/verification/verification_service.rb:26
↓ 2 callersMethodactivity_properties
(activity)
back/app/services/tracking_service.rb:12
↓ 2 callersFunctionaddCampaign
({ context, ...requestBody }: CampaignAdd)
front/app/api/campaigns/useAddCampaign.ts:10
↓ 2 callersFunctionaddCommentReaction
({ commentId, userId, ...requestBody }: INewReactionProperties)
front/app/api/comment_reactions/useAddCommentReaction.ts:10
↓ 2 callersFunctionaddContentBuilderImage
(base64: string)
front/app/api/content_builder_images/useAddContentBuilderImage.ts:8
↓ 2 callersFunctionaddEventAttendance
( requestBody: IAddEventAttendanceProperties )
front/app/api/event_attendance/useAddEventAttendance.ts:12
↓ 2 callersFunctionaddIdea
(requestBody: IIdeaAdd)
front/app/api/ideas/useAddIdea.ts:20
↓ 2 callersFunctionaddIdeaReaction
({ ideaId, userId, ...requestBody }: INewReactionProperties)
front/app/api/idea_reactions/useAddIdeaReaction.ts:10
↓ 2 callersFunctionaddNavbarItem
(item: IItemNotInNavbar)
front/app/api/navbar/useAddNavbarItem.ts:12
↓ 2 callersFunctionaddOfflineIdeas
({ phase_id, file, format, locale, personal_data, pages_per_form, }: RequestParams)
front/app/api/import_ideas/useAddImportedIdeasAsync.ts:24
↓ 2 callersFunctionaddPollResponse
({ phaseId, optionIds, projectId: _id, }: AddPollResponse)
front/app/api/poll_responses/useAddPollResponse.ts:16
↓ 2 callersFunctionaddPrefix
(customFieldValues: Record<string, any>)
front/app/components/CustomFieldsForm/util.ts:187
↓ 2 callersFunctionaddProjectFolderFile
({ projectFolderId, ...requestBody }: AddProjectFolderObject)
front/app/api/project_folder_files/useAddProjectFolderFile.ts:9
↓ 2 callersFunctionaddProjectFolderImage
({ folderId, base64, alt_text_multiloc, }: addProjectFolderImageObject)
front/app/api/project_folder_images/useAddProjectFolderImage.ts:9
↓ 2 callersFunctionaddSpaceModerator
({ spaceId, user_email, user_id }: Params)
front/app/api/space_moderators/useAddSpaceModerator.ts:21
↓ 2 callersFunctionaddToBasketAndInvalidateCache
({ ideaId, votes, phase, }: { ideaId: string; votes: number; phase: IPhaseData; })
front/app/containers/Authentication/SuccessActions/actions/vote.ts:66
↓ 2 callersFunctionaddVolunteer
(causeId: string)
front/app/api/causes/useAddVolunteer.ts:9
↓ 2 callersMethodadd_duplicate_column_name_suffix
Add __[0-9] suffix to duplicate column names to allow serialization of XLSX to a hash array.
back/app/services/export/xlsx/utils.rb:57
↓ 2 callersMethodadd_hyperlinks
(sheet, hyperlink_indexes)
back/app/services/export/xlsx/utils.rb:46
↓ 2 callersMethodadd_member
(user)
back/engines/commercial/smart_groups/app/models/smart_groups/patches/group.rb:33
↓ 2 callersMethodadditional_text_question?
back/app/models/custom_field.rb:317
↓ 2 callersMethodadditional_text_question_key
back/app/models/custom_field.rb:313
↓ 2 callersMethodadmin_space_url
(space_id, configuration = app_config_instance)
back/engines/free/frontend/app/services/frontend/url_service.rb:145
↓ 2 callersMethodafter_attendees_xlsx
(event, current_user)
back/app/services/side_fx_event_service.rb:29
↓ 2 callersMethodafter_create
(idea, user, phase)
back/engines/commercial/flag_inappropriate_content/app/services/flag_inappropriate_content/patches/side_fx_idea_service.rb:8
↓ 2 callersMethodafter_create
(report, user)
back/engines/commercial/report_builder/app/services/report_builder/side_fx_report_service.rb:9
↓ 2 callersMethodafter_destroy
(frozen_user, current_user, **)
back/engines/commercial/matomo/app/services/matomo/patches/side_fx_user_service.rb:6
↓ 2 callersMethodafter_destroy_participation_data
(project, user)
back/app/services/side_fx_project_service.rb:42
↓ 2 callersMethodafter_mark_as_deleted
(comment, user, reason_code, other_reason)
back/app/services/side_fx_comment_service.rb:39
↓ 2 callersMethodafter_regenerate
(summary, user)
back/engines/commercial/analysis/app/services/analysis/side_fx_summary_service.rb:11
↓ 2 callersMethodafter_unblock
(user, current_user)
back/app/services/side_fx_user_service.rb:80
↓ 2 callersMethodafter_update
(cause, user)
back/engines/free/volunteering/app/services/volunteering/side_fx_cause_service.rb:15
↓ 2 callersMethodafter_votes_by_input_xlsx
(project, user)
back/app/services/side_fx_project_service.rb:112
↓ 2 callersMethodafter_votes_by_user_xlsx
(project, user)
back/app/services/side_fx_project_service.rb:102
↓ 2 callersFunctionageFieldToIncludedUsers
(data: IUsersByAge)
front/app/hooks/parseReferenceData.ts:166
↓ 2 callersFunctionageFieldToReferenceData
( data: IUsersByAge, locale: SupportedLocale )
front/app/hooks/parseReferenceData.ts:146
↓ 2 callersFunctionageToBirthyear
(age: number)
front/app/containers/Admin/projects/project/analysis/Demographics/AuthorsByAge.tsx:64
↓ 2 callersFunctionallSelected
(selection: Set<string>)
front/app/components/admin/PostManager/components/PostTable/index.tsx:156
↓ 2 callersMethodall_by_job_ids
(job_ids)
back/app/models/que_job.rb:37
↓ 2 callersMethodall_page_views_query
Because we want to calculate timings based on all page views of sessions that had a page view in the period, we need to get all page views of for the
back/app/services/insights/visits_service.rb:44
↓ 2 callersMethodall_responses
(form_id:, **params)
back/engines/free/surveys/lib/surveys/typeform/api.rb:51
↓ 2 callersFunctionallowAddingFields
( explanation: UserFieldsInFormFrontendDescriptor['explanation'] )
front/app/components/admin/ActionForm/utils.ts:28
↓ 2 callersMethodallow_posting_again_after
back/lib/participation_method/base.rb:149
↓ 2 callersFunctionanalysisUrl
(analysisId: string)
front/app/components/admin/FormResults/FormResultsQuestion/TextQuestion/Analysis/index.tsx:204
↓ 2 callersMethodapply
The context is most useful when the filter needs to access instance variables (e.g. to store partial results). But we should try to avoid that kind of
back/app/concerns/filterer.rb:57
↓ 2 callersMethodapply
(template_name, external_template_group: nil)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/templates/apply_service.rb:22
↓ 2 callersFunctionapplyHeatMapRenderer
(layer: FeatureLayer, mapView: MapView)
front/app/components/EsriMap/utils.tsx:688
↓ 2 callersFunctionapplyMapRenderer
( layer: FeatureLayer, mapView: MapView, showHeatmap: boolean )
front/app/components/admin/Graphs/PointMap/utils.ts:19
↓ 2 callersMethodassure_campaigns
back/engines/free/email_campaigns/app/services/email_campaigns/assure_campaigns_service.rb:5
↓ 2 callersMethodauthentication?
Whether this method can be used for authentication (i.e. sign up and log in with SSO)
back/lib/id_methods/base.rb:16
↓ 2 callersMethodautomatically_assigned_idea_assignee
(idea)
back/engines/commercial/idea_assignment/app/services/idea_assignment/idea_assignment_service.rb:27
↓ 2 callersMethodavatars_for_folder
Returns a hash containing a list of users with avatars for a folder and the total number of participants.
back/app/services/avatars_service.rb:25
↓ 2 callersMethodaverage_rankings
(scope)
back/app/models/custom_field.rb:166
↓ 2 callersMethodbase_asset_host_uri
back/app/models/app_configuration.rb:181
↓ 2 callersFunctionbboxesIntersect
(a: Bbox, b: Bbox)
front/cypress/support/commands.ts:1969
↓ 2 callersMethodbefore_accept
(invite)
back/app/services/side_fx_invite_service.rb:10
↓ 2 callersMethodbefore_create
(option, user)
back/engines/free/polls/app/services/polls/side_fx_option_service.rb:7
↓ 2 callersMethodbefore_create
(report, user)
back/engines/commercial/report_builder/app/services/report_builder/side_fx_report_service.rb:5
↓ 2 callersMethodbefore_destroy
(option, user)
back/engines/free/polls/app/services/polls/side_fx_option_service.rb:19
↓ 2 callersFunctionblurEditor
()
front/app/containers/Admin/projects/project/phaseDescription/DraftPhaseDescription/index.tsx:91
↓ 2 callersMethodbody_to_response
(body)
back/engines/free/surveys/app/services/surveys/typeform_webhook_parser.rb:7
↓ 2 callersFunctionbuildChartRows
( keys: string[], series: Record<string, number>, blankLabel: string, populationDistribution?: Record<
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/DemographicsWidget/utils.ts:176
↓ 2 callersFunctionbuildMultiloc
(fn: (formatMessage: FormatMessage) => string)
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/PlatformTemplate/index.tsx:110
↓ 2 callersMethodbuild_base_idea_row
(fields:, file:, index:, page_range: nil)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/idea_row_mapper.rb:12
↓ 2 callersFunctionbuild_field_hashes_from
(fields)
back/engines/commercial/bulk_import_ideas/spec/services/exporters/logic_instruction_generator_spec.rb:180
↓ 2 callersFunctioncalculateDropTargetIndex
( result: DragAndDropResult, formCustomFields: IFlatCustomField[], nestedGroupData: NestedGroupingStruct
front/app/components/FormBuilder/edit/utils.ts:584
↓ 2 callersFunctioncalculateResponseCountForGroup
(answers: Answer[])
front/app/components/admin/FormResults/FormResultsQuestion/SentimentQuestion/utils.tsx:21
↓ 2 callersFunctioncallLifecycleMethods
(lifecycleMethod: LifecycleMethod)
front/app/utils/moduleUtils.tsx:276
↓ 2 callersFunctioncallWeglotApi
* Shared fetch logic for both weglotTranslate and weglotTranslateHtml. * Sends a batch of words to the Weglot REST API and returns the translated str
front/app/utils/weglot.ts:27
↓ 2 callersMethodcampaigns
back/engines/free/onboarding/app/services/onboarding/onboarding_service.rb:5
↓ 2 callersFunctioncanAccessRoute
( item: IRouteItem, user: IUser | undefined | null, tenant: IAppConfigurationData )
front/app/utils/permissions/rules/routePermissions.ts:79
↓ 2 callersFunctioncanContainIdeas
(phase: IPhaseData)
front/app/api/phases/utils.ts:14
↓ 2 callersFunctioncanModerateProjectByIds
({ projectId, folderId, spaceId, user, }: { projectId: string; folderId?: string | null; spaceId
front/app/utils/permissions/rules/projectPermissions.ts:72
↓ 2 callersFunctioncanReview
(project: IProjectData, user: IUser | undefined | null)
front/app/utils/permissions/rules/projectPermissions.ts:25
↓ 2 callersMethodcan_manually_transition_to?
back/app/models/idea_status.rb:46
↓ 2 callersFunctioncaptureSection
(section: HTMLElement)
front/app/containers/Admin/projects/project/insights/pdf/useInsightsPdfDownload.ts:272
↓ 2 callersFunctioncaptureWithTimeout
( capture: () => Promise<HTMLCanvasElement>, timeoutMs: number )
front/app/containers/Admin/projects/project/insights/pdf/useInsightsPdfDownload.ts:62
↓ 2 callersFunctionchangeCursorOnHover
(event: any, mapView: MapView)
front/app/components/EsriMap/utils.tsx:374
↓ 2 callersFunctionchangeQuarter
(direction: number)
front/app/containers/Admin/communityMonitor/components/LiveMonitor/components/QuarterlyDatePicker.tsx:37
↓ 2 callersFunctionchangeSelectedExample
(offset: number)
front/app/containers/Admin/messaging/AutomatedEmails/ExampleModal/index.tsx:40
↓ 2 callersFunctionchartContainerToImageBuffer
( container: HTMLElement, options: SvgToImageOptions = {} )
front/app/utils/word/utils/svgToImage.ts:82
↓ 2 callersMethodchat
(prompt, **params)
back/engines/commercial/analysis/app/lib/analysis/LLM/ruby_llm.rb:4
↓ 2 callersFunctioncheckApplyBorder
()
front/app/components/CustomFieldsForm/Fields/MatrixField/Matrix.tsx:100
↓ 2 callersFunctioncheckMapInputWorks
()
front/cypress/e2e/form_builder/elements/point_field.cy.ts:117
↓ 2 callersMethodcheck_common_ground!
(phase)
back/lib/common_ground.rb:11
↓ 2 callersMethodcl2_schema_leaf_models
back/app/services/cl2_data_listing_service.rb:14
↓ 2 callersMethodclamp
(range, bounds)
back/lib/time_boundaries.rb:37
↓ 2 callersFunctionclassNames
(...classes: (string | undefined)[])
front/app/utils/helperUtils.ts:204
↓ 2 callersMethodclean_assignees_for_project!
(project)
back/engines/commercial/idea_assignment/app/services/idea_assignment/idea_assignment_service.rb:20
↓ 2 callersMethodclean_idea_assignees_for_user!
(user)
back/engines/commercial/idea_assignment/app/services/idea_assignment/idea_assignment_service.rb:15
↓ 2 callersMethodcleanup_expired
Delete all expired tokens. @return [Integer] number of tokens deleted
back/app/services/claim_token_service.rb:55
↓ 2 callersFunctionclearOptionAndStatementIds
( customFields: IFlatCustomField[] )
front/app/containers/Admin/projects/project/surveyFormAssets/utils.tsx:87
↓ 2 callersFunctionclear_data_codes
@return [void]
back/engines/commercial/report_builder/spec/acceptance/reports_spec.rb:218
↓ 2 callersMethodclear_project_participants_count_cache
(project)
back/app/services/participants_service.rb:107
← previousnext →2,001–2,100 of 15,961, ranked by callers