MCPcopy Create free account

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 3 callersMethodhighest_role
(roles)
back/app/services/additional_seats_incrementer.rb:32
↓ 3 callersMethodidentify_user
(user)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/patches/track_intercom_service.rb:8
↓ 3 callersMethodimage?
back/app/models/files/file.rb:190
↓ 3 callersFunctionimage_attributes
(img_elt, imageable, field)
back/spec/services/content_image_service_spec.rb:45
↓ 3 callersFunctioninForm
()
front/cypress/e2e/ideation_permissions/permitted_by_everyone.cy.ts:60
↓ 3 callersMethodindex
back/engines/free/polls/app/controllers/polls/web_api/v1/options_controller.rb:11
↓ 3 callersFunctionindexTimeSeries
( responseTimeSeries: Row[], getDate: (row: Row) => Moment )
front/app/components/admin/GraphCards/_utils/timeSeries.ts:163
↓ 3 callersFunctioninitializePosthog
( token: string, user: IUser | undefined, appConfig: IAppConfiguration )
front/app/modules/commercial/posthog_integration/index.ts:44
↓ 3 callersFunctioninvalidateFollowQueries
( queryClient: QueryClient, followableType: FollowableType, followableId: string, followableSlug?: str
front/app/api/follow_unfollow/utils.ts:14
↓ 3 callersFunctioninvalidateOnCRUD
()
front/app/api/project_folders/utils.ts:11
↓ 3 callersFunctionisAdminPublication
( option: IAdminPublicationData | LoadMore )
front/app/containers/Admin/pagesAndMenu/containers/ContentBuilder/components/Widgets/Selection/Settings/utils.ts:23
↓ 3 callersFunctionisDestinationActive
( config: IDestinationConfig, tenant: IAppConfigurationData, user?: IUserData | null )
front/app/components/ConsentManager/destinations.ts:44
↓ 3 callersFunctionisElegible
(tag: ITagData)
front/app/containers/Admin/projects/project/analysis/Tags/AutoTaggingModal/Step2FewShotClassification.tsx:43
↓ 3 callersFunctionisNillish
(value: any)
front/app/components/CustomFieldsForm/util.ts:39
↓ 3 callersFunctionisReady
( project: IProjectData | NilOrError, phases: IPhases | NilOrError )
front/app/containers/ProjectsShowPage/utils.ts:6
↓ 3 callersFunctionisStringArray
(value: any)
front/app/containers/Admin/projects/project/analysis/util.ts:23
↓ 3 callersFunctionjanuarize
(value: string)
front/app/utils/patchIntlDeAtJanuary.ts:21
↓ 3 callersFunctionjoinAriaIds
( ...ids: (string | false | null | undefined)[] )
front/app/utils/a11y/index.ts:29
↓ 3 callersMethodjson_schema_str
back/lib/citizen_lab/mixins/settings_specification.rb:7
↓ 3 callersMethodlanguage
back/lib/locale.rb:52
↓ 3 callersMethodmailgun_headers
back/app/mailers/application_mailer.rb:116
↓ 3 callersFunctionmapFilterEntityToOptions
( input: IAreaData[] | IGlobalTopicData[] | SpaceData[] )
front/app/containers/Admin/pagesAndMenu/containers/CustomPages/CustomPageSettingsForm/index.tsx:191
↓ 3 callersMethodmatches_event?
(event_type)
back/engines/commercial/webhooks/app/models/webhooks/subscription.rb:66
↓ 3 callersMethodmembership_types
back/app/models/group.rb:90
↓ 3 callersMethodmethod_metadata
(method)
back/app/services/id_method_service.rb:49
↓ 3 callersFunctionmockAnalyses
(analyses: IAnalysisData[])
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/PhaseTemplate/usePrefetchSummaries.test.tsx:66
↓ 3 callersMethodmoderators_per_folder
Returns a hash with folder IDs as keys and arrays of users as values
back/app/services/user_role_service.rb:103
↓ 3 callersMethodmunicipality_code
(cpr_number)
back/engines/commercial/custom_id_methods/app/lib/custom_id_methods/nemlog_in/kki_location_api.rb:7
↓ 3 callersMethodname_for_hashing
It allows to migrate from one provider to another. See how it's overridden.
back/lib/id_methods/base.rb:37
↓ 3 callersMethodnew_mentioned_users
@param [String] old_text @param [String] new_text @return [User::ActiveRecord_Relation] users
back/app/services/mention_service.rb:59
↓ 3 callersMethodnext_idea
(user)
back/app/services/common_ground/progress_service.rb:39
↓ 3 callersMethodnormalize
Be careful when changing this method. Removing a normalization rule could potentially unban emails that were previously banned.
back/app/services/email_normalization_service.rb:17
↓ 3 callersFunctiononAccept
()
front/app/containers/App/ModalQueue/modals/UserSessionRecording/Modal.tsx:27
↓ 3 callersFunctiononAdd
()
front/app/components/VoteInputs/single/AssignSingleVoteButton/index.tsx:108
↓ 3 callersFunctiononFileRemove
(fileToRemove: FileToUploadFormat, value)
front/app/components/CustomFieldsForm/Fields/MultiFileUploadField.tsx:109
↓ 3 callersFunctiononInit
(mapView: MapView)
front/app/containers/Admin/projects/project/analysis/InputPreview/components/MapPreview/LineMapPreview.tsx:68
↓ 3 callersFunctiononSuccess
()
front/app/components/PostShowComponents/OfficialFeedback/OfficialFeedbackForm.tsx:264
↓ 3 callersFunctionopenAnalysis
(analysisId: string)
front/app/containers/Admin/projects/project/insights/methodSpecific/nativeSurvey/SurveyActions.tsx:152
↓ 3 callersFunctionopenFollowRule
(predicateLabel: string)
front/cypress/e2e/admin/smart_group_follow_input_selectors.cy.ts:128
↓ 3 callersFunctionoptionIsIdea
(option: Option)
front/app/components/UI/IdeaSelect/utils.ts:5
↓ 3 callersFunctionparseModuleRoutes
( routes: RouteConfiguration[] = [], parentRoute: AnyRoute )
front/app/utils/moduleUtils.tsx:252
↓ 3 callersFunctionparseResult
( result: ResultUngrouped | ResultGrouped )
front/app/components/admin/FormResults/FormResultsQuestion/SentimentQuestion/utils.tsx:56
↓ 3 callersFunctionparseRow
(date: Moment, row?: TimeSeriesResponseRow)
front/app/components/admin/GraphCards/_utils/timeSeries.test.ts:27
↓ 3 callersFunctionparseStats
( data: ParticipantsResponse['data']['attributes'] )
front/app/components/admin/GraphCards/ParticipantsCard/useParticipants/parse.ts:55
↓ 3 callersFunctionparseStats
([ inputsTimeSeries, commentsTimeSeries, votesTimeSeries, inputsComparedPeriod, commentsComparedPeri
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/ParticipationWidget/useParticipation/parse/parseStats.ts:7
↓ 3 callersMethodpast_phases
(project, time = Time.now)
back/app/services/timeline_service.rb:9
↓ 3 callersFunctionpatchMomentDeAtJanuary
()
front/app/utils/patchMomentDeAtJanuary.ts:13
↓ 3 callersFunctionpopulated_attrs_for
Build a company's current custom_attributes hash from what the service would write — keeps the test in sync with TrackIntercomService and the MultiTen
back/spec/tasks/single_use/backfill_intercom_company_attributes_spec.ignore.rb:24
↓ 3 callersMethodpopulation_counts
The reference population counts. @return [Array<Integer>, nil]
back/engines/commercial/user_custom_fields/app/models/user_custom_fields/age_stats.rb:76
↓ 3 callersMethodport
back/engines/commercial/custom_id_methods/app/lib/custom_id_methods/fake_sso/fake_sso_omniauth.rb:63
↓ 3 callersFunctionprefixed_custom_field_values
(values)
back/spec/acceptance/phase_insights/native_survey_phase_insights_spec.rb:6
↓ 3 callersMethodprescreening_all?
back/app/models/phase.rb:331
↓ 3 callersMethodprevent_user_account_hijacking
(user)
back/app/services/authentication_service.rb:37
↓ 3 callersMethodpreview_command
(recipient, _context)
back/engines/free/email_campaigns/app/mailers/email_campaigns/welcome_mailer.rb:17
↓ 3 callersMethodpreview_email
(campaign, recipient)
back/engines/free/email_campaigns/app/services/email_campaigns/delivery_service.rb:130
↓ 3 callersMethodprevious_phase_end_at_updated?
back/app/models/phase.rb:237
↓ 3 callersMethodprocessing?
back/app/models/files/transcript.rb:54
↓ 3 callersMethodprofile_to_uid
(auth)
back/lib/id_methods/base.rb:54
↓ 3 callersMethodprompt
(project, inputs_text, include_comments)
back/engines/commercial/analysis/app/lib/analysis/q_and_a_method/one_pass_llm.rb:86
↓ 3 callersMethodpublic?
back/engines/commercial/report_builder/app/models/report_builder/report.rb:62
↓ 3 callersMethodpublished?
back/engines/commercial/report_builder/app/policies/report_builder/published_graph_data_unit_policy.rb:5
↓ 3 callersFunctionquery
({ projectId, startAtMoment, endAtMoment, }: QueryParameters)
front/app/containers/Admin/dashboard/overview/charts/InputStatusCard/usePostsFeedback/index.ts:28
↓ 3 callersFunctionqueryBase
( startMoment: Moment | null | undefined, endMoment: Moment | null, dateType: 'start' | 'end
front/app/containers/Admin/dashboard/overview/charts/EventsCard/config.ts:76
↓ 3 callersMethodquestion_category_multiloc
back/app/models/custom_field.rb:359
↓ 3 callersMethodraise_if_error
(response)
back/engines/commercial/matomo/app/services/matomo/client.rb:141
↓ 3 callersMethodreference_distribution
back/engines/commercial/user_custom_fields/app/controllers/user_custom_fields/web_api/v1/ref_distributions_controller.rb:47
↓ 3 callersFunctionregisterMapView
(id: string, view: MapView)
front/app/utils/mapViewRegistry.ts:14
↓ 3 callersMethodregistered?
back/app/models/user.rb:306
↓ 3 callersFunctionremoveBin
(bins: Bins)
front/app/utils/representativeness/bins.ts:118
↓ 3 callersFunctionremoveProcessing
()
front/app/containers/Authentication/SuccessActions/actions/vote.ts:61
↓ 3 callersMethodremove_additional_features
(settings, schema)
back/app/services/settings_service.rb:55
↓ 3 callersMethodremove_additional_settings
(settings, schema)
back/app/services/settings_service.rb:60
↓ 3 callersMethodrender
()
front/app/components/UI/Collapse/index.tsx:122
↓ 3 callersFunctionrenderComponent
(question: IFlatCustomField)
front/app/components/CustomFieldsForm/Fields/SentimentScaleField/SentimentScaleField.test.tsx:26
↓ 3 callersMethodrender_html_to_pdf
Use Gotenberg web service (separate docker container) to render html to PDF
back/app/services/gotenberg_client.rb:23
↓ 3 callersFunctionrequestEmailConfirmationCodeChangeEmail
( new_email?: string )
front/app/api/authentication/confirm_email/requestEmailConfirmationCode.ts:17
↓ 3 callersMethodrequired?
back/app/models/custom_field.rb:212
↓ 3 callersMethodrequired?
(rows, column_name)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/extractors/base_extractor.rb:43
↓ 3 callersMethodreset
back/engines/commercial/multi_tenancy/config/initializers/apartment.rb:203
↓ 3 callersFunctionresetSelection
()
front/app/components/admin/PostManager/CommonGroundInputManager/index.tsx:69
↓ 3 callersMethodreset_tenant
back/app/models/current.rb:16
↓ 3 callersMethodresolve
back/engines/commercial/public_api/app/policies/public_api/idea_policy.rb:13
↓ 3 callersMethodsanitize_sheetname
Sanitize sheet names to comply with Excel naming restrictions. See: https://support.microsoft.com/en-us/office/rename-a-worksheet-3f1f7148-ee83-404d-8
back/app/services/export/xlsx/utils.rb:29
↓ 3 callersFunctionsaveConsent
(newPreferences: IPreferences)
front/app/components/ConsentManager/ConsentManagerModal/index.tsx:69
↓ 3 callersFunctionsaveFileToDisk
(file: IFileData)
front/app/utils/fileUtils.ts:156
↓ 3 callersMethodsave_files!
(model, remote_url_field_names)
back/lib/carrierwave_temp_remote.rb:29
↓ 3 callersMethodschema
(schema_option, record)
back/app/validators/json_validator.rb:28
↓ 3 callersFunctionselectAssigneeFilter
(optionLabelText: string)
front/cypress/e2e/admin/input_manager.cy.ts:10
↓ 3 callersFunctionselectPhase
(phase: IPhaseData)
front/app/containers/ProjectsShowPage/timeline/index.tsx:85
↓ 3 callersFunctionsendCampaign
(id: string)
front/app/api/campaigns/useSendCampaign.ts:9
↓ 3 callersMethodsend_email
Sends the password reset email to the user immediately (synchronously) through the EmailCampaigns engine, so the user receives it without waiting on t
back/app/services/reset_password_service.rb:26
↓ 3 callersFunctionsetConsent
(consent: IConsentCookie)
front/app/components/ConsentManager/consent.ts:28
↓ 3 callersFunctionsetHTML
(editor: Quill, html: string = '')
front/app/components/UI/QuillEditor/utils.ts:200
↓ 3 callersMethodset_manual_voters
(amount, user)
back/app/models/phase.rb:306
↓ 3 callersFunctionshouldShowModal
()
front/app/containers/App/ModalQueue/modals/UserSessionRecording/ModalManager.tsx:16
↓ 3 callersMethodshow?
back/engines/commercial/idea_custom_fields/app/policies/idea_custom_fields/idea_custom_field_policy.rb:9
↓ 3 callersFunctionshowIdeationReactions
(idea: IIdeaData)
front/app/components/ReactionControl/utils.ts:5
↓ 3 callersFunctionshowResetButton
( permittedBy: PermittedBy, fields: IPermissionsPhaseCustomFieldData[], groupIds?: string[] )
front/app/components/admin/ActionForm/utils.ts:14
↓ 3 callersFunctionshutdownFor
(destination: IDestination)
front/app/utils/analytics.ts:85
↓ 3 callersFunctionskipCarrousel
(endId: string)
front/app/containers/Admin/pagesAndMenu/containers/ContentBuilder/components/Widgets/_shared/BaseCarrousel/ScrollableCarrousel/utils.ts:5
← previousnext →1,701–1,800 of 15,961, ranked by callers