MCPcopy Create free account

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 4 callersMethodparticipants
(options = {})
back/app/services/participants_service.rb:15
↓ 4 callersMethodpermitted_attributes
back/app/policies/group_policy.rb:54
↓ 4 callersMethodphase?
back/engines/commercial/report_builder/app/models/report_builder/report.rb:58
↓ 4 callersMethodphase_number
(phase)
back/app/services/timeline_service.rb:82
↓ 4 callersMethodprefix_key
(key)
back/app/services/user_fields_in_form_service.rb:175
↓ 4 callersMethodpublish
back/engines/commercial/report_builder/app/services/report_builder/report_publisher.rb:9
↓ 4 callersMethodreferenced_file_ids
Returns file IDs referenced by FileAttachment widgets in craftjs_json.
back/engines/commercial/content_builder/app/models/content_builder/layout.rb:65
↓ 4 callersFunctionremoveJwt
()
front/app/utils/auth/jwt.ts:48
↓ 4 callersFunctionremoveLocale
(location: Partial<Location> | string)
front/app/utils/cl-router/updateLocationDescriptor.ts:41
↓ 4 callersMethodremove_unlisted_that_user_cannot_moderate
( projects_scope, user )
back/app/services/projects_listed_scope_service.rb:6
↓ 4 callersMethodreorder
back/app/controllers/web_api/v1/areas_controller.rb:79
↓ 4 callersFunctionreplace_first_count
(ref_distribution, new_count)
back/engines/commercial/user_custom_fields/spec/support/shared_examples/ref_distribution.rb:32
↓ 4 callersMethodrequirements_custom_fields
(permission)
back/app/services/permissions/user_requirements_service.rb:32
↓ 4 callersFunctionrestoreLocationAfterAuthReturn
(currentPathname: string)
front/app/containers/Authentication/useSteps/restoreLocationAfterAuthReturn.ts:13
↓ 4 callersMethodresults
@param [Integer] num_ideas Number of ideas to return for each category
back/app/services/common_ground/results_service.rb:10
↓ 4 callersFunctionround
(x: number)
front/cypress/e2e/idea_new_page.cy.ts:3
↓ 4 callersFunctionround
(n: number)
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/utils.ts:16
↓ 4 callersMethodrun_after_send_hooks
(command)
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:159
↓ 4 callersMethodrun_before_send_hooks
(command)
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:147
↓ 4 callersFunctionsafeSetProgress
(v: { completed: number; total: number })
front/app/containers/Admin/projects/project/insights/pdf/useInsightsPdfDownload.ts:173
↓ 4 callersFunctionsafeSetStatus
(v: PdfExportStatus)
front/app/containers/Admin/projects/project/insights/pdf/useInsightsPdfDownload.ts:170
↓ 4 callersFunctionsaveReport
(reportId: string)
front/cypress/e2e/report_builder/phase_report.cy.ts:18
↓ 4 callersMethodscheme
back/engines/commercial/custom_id_methods/app/lib/custom_id_methods/fake_sso/fake_sso_omniauth.rb:69
↓ 4 callersFunctionscrollToElementWithId
(elementId: string)
front/app/containers/ProjectsShowPage/shared/header/ProjectActionButtons.tsx:62
↓ 4 callersFunctionscrollToTopIdeasList
()
front/app/components/FilterBoxes/utils.ts:11
↓ 4 callersMethodselect_craftjs_elements_for_types
(craftjs, types)
back/engines/commercial/content_builder/app/services/content_builder/layout_service.rb:5
↓ 4 callersFunctionsendCampaignPreview
(id: string)
front/app/api/campaigns/useSendCampaignPreview.ts:8
↓ 4 callersMethodsend_now
called when explicit send is requested by human
back/engines/free/email_campaigns/app/services/email_campaigns/delivery_service.rb:99
↓ 4 callersFunctionsetJwt
( jwt: string, rememberMe: boolean, tokenLifetime?: number )
front/app/utils/auth/jwt.ts:33
↓ 4 callersFunctionsetSelectedField
(field: IFlatCustomFieldWithIndex | undefined)
front/app/components/FormBuilder/edit/index.tsx:152
↓ 4 callersMethodsettings
@return [Array<Setting>]
back/lib/citizen_lab/mixins/feature_specification.rb:56
↓ 4 callersMethodshared_permitted_attributes
back/app/policies/project_policy.rb:154
↓ 4 callersMethodshift_timestamps
(num_days)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/tenant_service.rb:99
↓ 4 callersMethodshould_generate_transcript?
Check if the file should have a transcript generated @return [Boolean] True if file is eligible for transcription
back/app/services/files/transcript_service.rb:26
↓ 4 callersFunctionshowConditions
(bannerLayout: TCustomPageBannerLayout)
front/app/containers/Admin/pagesAndMenu/containers/GenericHeroBannerForm/BannerImageFields/index.tsx:106
↓ 4 callersFunctionshowOnboarding
( requirements: AuthenticationRequirements['requirements'] )
front/app/containers/Authentication/useSteps/stepConfig/utils.ts:77
↓ 4 callersFunctionsignOut
()
front/app/api/authentication/sign_in_out/signOut.ts:12
↓ 4 callersFunctionsignUpAndGoToProfile
(password?: string)
front/cypress/e2e/auth/change_email_in_profile.cy.ts:16
↓ 4 callersMethodsplit_xlsx
Splits a single sheet XLSX into multiple XLSXs, each containing at most `max_rows` rows. Rows are not rewritten — we re-parse the original xlsx per ch
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/patches/xlsx_service.rb:14
↓ 4 callersMethodsso?
back/app/models/user.rb:298
↓ 4 callersMethodsubmitted?
back/app/models/basket.rb:44
↓ 4 callersMethodsubmitted_or_published?
back/app/models/idea.rb:393
↓ 4 callersMethodsupports_context?
(_context)
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:113
↓ 4 callersMethodsupports_custom_field_categories?
back/lib/participation_method/base.rb:227
↓ 4 callersMethodsupports_input_term?
back/lib/participation_method/base.rb:137
↓ 4 callersMethodsupports_pdf_import?
back/lib/input_type_strategy/base.rb:89
↓ 4 callersMethodswap_data_images
This ensures we process image data in a homepage layout created from the internal templates
back/engines/commercial/content_builder/app/models/content_builder/layout.rb:115
↓ 4 callersFunctiontabName
( messageKey: 'statusesTab' | 'timelineTab' | 'topicsTab' | 'projectsTab', selection: string | string[
front/app/components/admin/PostManager/components/FilterSidebar/index.tsx:99
↓ 4 callersFunctiontempfile_with
(name, content)
back/spec/uploaders/files/file_uploader_spec.rb:10
↓ 4 callersMethodtenant_properties
(tenant = Tenant.current)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/tracking_tenant_service.rb:7
↓ 4 callersFunctiontestForHeadingsPresence
()
front/app/containers/HomePage/SignedOutHeader/SignedOutHeader.test.tsx:32
↓ 4 callersFunctiontoMultiloc
( message: MessageDescriptor, appConfigurationLocales: SupportedLocale[], formatMessageWithLocale: Forma
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/utils.ts:40
↓ 4 callersFunctiontoMultilocParagraph
( title: MessageDescriptor, text: MessageDescriptor )
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/ProjectTemplate/index.tsx:142
↓ 4 callersFunctiontoggleValuesList
()
front/app/components/FilterSelector/index.tsx:171
↓ 4 callersFunctiontransformSentimentScoreData
( scoreResults: CommunityMonitorSentimentScoreAttributes | undefined, locale: Locale )
front/app/containers/Admin/communityMonitor/components/LiveMonitor/components/HealthScoreWidget/utils.ts:43
↓ 4 callersFunctiontriggerResize
(dimension: 'width' | 'height', value: number)
front/app/component-library/hooks/useWindowSize.test.ts:12
↓ 4 callersMethodupdate
back/engines/commercial/custom_maps/app/controllers/custom_maps/web_api/v1/layers_controller.rb:22
↓ 4 callersFunctionupdateMapConfig
({ mapConfigId, ...map_config }: IMapConfigUpdate)
front/app/api/map_config/useUpdateMapConfig.ts:13
↓ 4 callersMethodupload_source_file
(file_content)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/idea_row_mapper.rb:34
↓ 4 callersMethodusable_context_window
Returns the practical context window size after applying a safety margin. This prevents hitting rate limits and accounts for system overhead, response
back/engines/commercial/analysis/app/lib/analysis/LLM/base.rb:26
↓ 4 callersFunctionuseAddCommentToIdea
()
front/app/api/comments/useAddCommentToIdea.ts:19
↓ 4 callersFunctionuseAddContentBuilderImage
()
front/app/api/content_builder_images/useAddContentBuilderImage.ts:15
↓ 4 callersFunctionuseAddCustomFieldOption
()
front/app/api/custom_field_options/useAddCustomFieldOption.ts:25
↓ 4 callersFunctionuseAddFile
()
front/app/api/files/useAddFile.ts:19
↓ 4 callersFunctionuseAddIdea
()
front/app/api/ideas/useAddIdea.ts:27
↓ 4 callersFunctionuseAddIdeaOfficialFeedback
()
front/app/api/idea_official_feedback/useAddIdeaOfficialFeedback.ts:21
↓ 4 callersFunctionuseAddInternalCommentToIdea
()
front/app/api/internal_comments/useAddInternalCommentToIdea.ts:22
↓ 4 callersFunctionuseAddMapLayer
(projectId?: string)
front/app/api/map_layers/useAddMapLayer.ts:21
↓ 4 callersFunctionuseAddProjectFolderFile
()
front/app/api/project_folder_files/useAddProjectFolderFile.ts:19
↓ 4 callersFunctionuseAddReport
()
front/app/api/reports/useAddReport.ts:34
↓ 4 callersFunctionuseAddUserCustomField
()
front/app/api/user_custom_fields/useAddUserCustomField.ts:26
↓ 4 callersFunctionuseCosponsorships
({ ideaId }: ICosponsorshipParameters)
front/app/api/cosponsorship/useCosponsorships.ts:19
↓ 4 callersFunctionuseCurrentOnboardingCampaign
()
front/app/api/onboarding_campaigns/useCurrentOnboardingCampaign.ts:15
↓ 4 callersFunctionuseDeleteAnalysisInsight
()
front/app/api/analysis_insights/useDeleteAnalysisInsight.ts:19
↓ 4 callersFunctionuseDeleteCustomPage
()
front/app/api/custom_pages/useDeleteCustomPage.ts:15
↓ 4 callersFunctionuseDeleteIdeaFile
()
front/app/api/idea_files/useDeleteIdeaFile.ts:19
↓ 4 callersFunctionuseDeletePageFile
()
front/app/api/page_files/useDeletePageFile.ts:19
↓ 4 callersFunctionuseDeleteSurveyResults
()
front/app/api/survey_results/useDeleteSurveyResults.ts:17
↓ 4 callersFunctionuseDuplicateMapConfig
()
front/app/api/map_config/useDuplicateMapConfig.ts:15
↓ 4 callersFunctionuseEvent
(eventId?: string)
front/app/api/events/useEvent.ts:15
↓ 4 callersFunctionuseFileAttachments
({ attachable_id, attachable_type, }: { attachable_id?: string; attachable_type: AttachableType; })
front/app/api/file_attachments/useFileAttachments.ts:21
↓ 4 callersFunctionuseFileById
(id?: string | null)
front/app/api/files/useFileById.ts:15
↓ 4 callersFunctionuseGroup
(id: string)
front/app/api/groups/useGroup.ts:12
↓ 4 callersFunctionuseIdeaImage
(ideaId: string, imageId?: string)
front/app/api/idea_images/useIdeaImage.ts:21
↓ 4 callersFunctionuseIdeaOfficialFeedback
(params: IParameters)
front/app/api/idea_official_feedback/useIdeaOfficialFeedback.ts:24
↓ 4 callersFunctionuseImportedIdeaMetadata
( queryParams: ImportedIdeaMetadataQueryParams )
front/app/api/import_ideas/useImportedIdeaMetadata.ts:19
↓ 4 callersFunctionuseInappropriateContentFlag
(id?: string)
front/app/api/inappropriate_content_flags/useInappropriateContentFlag.ts:18
↓ 4 callersFunctionuseInfiniteProjectsMiniAdmin
( params: Omit<Parameters, 'page[number]' | 'page[size]' | 'locale'>, pageSize: number = DEFAULT_PAGE_SIZE
front/app/api/projects_mini_admin/useInfiniteProjectsMiniAdmin.ts:30
↓ 4 callersFunctionuseInputTopicById
(id?: string)
front/app/api/input_topics/useInputTopicById.ts:15
↓ 4 callersFunctionuseLocalizeProjectLibrary
()
front/app/containers/Admin/inspirationHub/utils.ts:85
↓ 4 callersFunctionuseMarkAllAsRead
()
front/app/api/notifications/useMarkAllAsRead.ts:17
↓ 4 callersFunctionuseMarkCommentForDeletion
({ ideaId, parentCommentId, }: { ideaId?: string; parentCommentId?: string; })
front/app/api/comments/useMarkCommentForDeletion.ts:30
↓ 4 callersFunctionusePageForm
({ pageQuestions, defaultValues, }: { pageQuestions: IFlatCustomField[]; defaultValues?: FormValues; }
front/app/components/CustomFieldsForm/Page/usePageForm.ts:16
↓ 4 callersFunctionusePollQuestions
({ phaseId }: IPollQuestionParameters)
front/app/api/poll_questions/usePollQuestions.ts:19
↓ 4 callersFunctionusePrefetchSummaries
({ phaseId, }: { phaseId: string; })
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/PhaseTemplate/usePrefetchSummaries.tsx:24
↓ 4 callersFunctionuseProjectFiles
(projectId: string | null)
front/app/api/project_files/useProjectFiles.ts:15
↓ 4 callersFunctionuseProjectFolderImage
({ folderId, imageId }: Params)
front/app/api/project_folder_images/useProjectFolderImage.ts:17
↓ 4 callersFunctionuseProjectLibraryCountries
({ enabled = true } = {})
front/app/api/project_library_countries/useProjectLibraryCountries.ts:11
↓ 4 callersFunctionuseProjectModerators
({ projectId }: ProjectModeratorParams)
front/app/api/project_moderators/useProjectModerators.ts:18
↓ 4 callersFunctionuseProjectsMini
( queryParams: Parameters, { enabled = true }: { enabled: boolean } = { enabled: true } )
front/app/api/projects_mini/useProjectsMini.ts:21
← previousnext →1,401–1,500 of 15,961, ranked by callers