MCPcopy Create free account

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 3 callersMethoddrawImage
(_img: any, _x: number, _y: number)
front/app/utils/word/utils/svgToImage.test.ts:109
↓ 3 callersMethodduplicate!
Creates and persists a copy of the layout, including all the images ({LayoutImage}) associated with it. The newly created layout is not associated wit
back/engines/commercial/content_builder/app/models/content_builder/layout.rb:50
↓ 3 callersMethodduplicate_all_fields
back/app/services/idea_custom_fields_service.rb:120
↓ 3 callersMethodemail_confirmed?
(_auth)
back/lib/id_methods/base.rb:85
↓ 3 callersMethodenabled?
back/app/services/community_monitor_service.rb:4
↓ 3 callersMethodenabled?
back/engines/commercial/analysis/app/lib/analysis/LLM/base.rb:44
↓ 3 callersMethodend_of_day
(param)
back/lib/finder/helpers.rb:24
↓ 3 callersMethodenqueue_preview
Enqueues a job to generate a preview for the given Files::File
back/app/services/files/preview_service.rb:8
↓ 3 callersMethodenqueue_transcript
Enqueue transcript generation job if eligible @return [Files::Transcript, nil] Created transcript record or nil
back/app/services/files/transcript_service.rb:36
↓ 3 callersFunctionenterEmail
( cy: Cypress.Chainable, email: string = randomEmail() )
front/cypress/support/auth.ts:3
↓ 3 callersFunctionenterProjectName
(projectName: string)
front/cypress/e2e/admin/spaces/sm_permissions.cy.ts:156
↓ 3 callersMethodenvironment_properties
@return [Hash]
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/tracking_tenant_service.rb:19
↓ 3 callersMethodever_published?
back/app/models/admin_publication.rb:135
↓ 3 callersFunctionexpect_to_create_verified_user
(user)
back/engines/commercial/custom_id_methods/spec/requests/clave_unica_verification_spec.rb:63
↓ 3 callersFunctionexpect_user_to_be_verified
(user)
back/engines/commercial/custom_id_methods/spec/requests/etat_lu_verification_spec.rb:72
↓ 3 callersFunctionexpect_user_to_be_verified_and_identified
(user)
back/engines/commercial/custom_id_methods/spec/requests/etat_lu_verification_spec.rb:86
↓ 3 callersFunctionexpect_user_to_be_verified_and_identified
(user)
back/engines/commercial/custom_id_methods/spec/requests/twoday_verification_spec.rb:89
↓ 3 callersMethodexpiration_at
back/app/models/confirmation.rb:35
↓ 3 callersMethodexpire_token!
We can expire a token by changing the token_expiry_key, which is checked when decoding the token in from_token_payload.
back/app/models/user.rb:255
↓ 3 callersMethodexternal_template_names
(prefix: release_prefix, ignore_manifest: false)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/templates/utils.rb:53
↓ 3 callersMethodextra_mailgun_variables
(_command)
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:189
↓ 3 callersMethodextract_and_join
back/engines/commercial/content_builder/app/services/content_builder/craftjs/visible_textual_multilocs.rb:20
↓ 3 callersMethodfamily
Should return a family key as defined in LLMSelector::FAMILIES
back/engines/commercial/analysis/app/lib/analysis/LLM/base.rb:15
↓ 3 callersMethodfavicon
back/engines/commercial/admin_api/app/serializers/admin_api/tenant_serializer.rb:19
↓ 3 callersFunctionfetchAuthenticationRequirements
( authenticationContext: AuthenticationContext )
front/app/api/authentication/authentication_requirements/getAuthenticationRequirements.ts:19
↓ 3 callersFunctionfetchProjectBySlug
({ slug }: { slug?: string | null })
front/app/api/projects/useProjectBySlug.ts:10
↓ 3 callersMethodfields
back/engines/commercial/analytics/app/services/analytics/query.rb:104
↓ 3 callersFunctionfieldsInRegFlow
()
front/cypress/e2e/native_survey/native_survey_permissions/permitted_by_users.cy.ts:101
↓ 3 callersMethodfilter_by_folder_ids
Filter projects by folder IDs
back/app/services/projects_finder_admin_service.rb:176
↓ 3 callersMethodfilter_by_value_references
(value, groups = nil)
back/engines/commercial/smart_groups/app/services/smart_groups/rules_service.rb:92
↓ 3 callersMethodfilter_current_phase_participation_method
Filter projects by the participation method of their current phase
back/app/services/projects_finder_admin_service.rb:331
↓ 3 callersMethodfilter_moderatable
(scope, current_user)
back/app/services/projects_finder_admin_service.rb:127
↓ 3 callersFunctionfilter_parameters
(s)
back/engines/commercial/analysis/spec/acceptance/stats_users_spec.rb:6
↓ 3 callersMethodfilter_recipient
(users_scope, activity:, time: nil)
back/engines/free/email_campaigns/app/models/email_campaigns/campaigns/welcome.rb:55
↓ 3 callersMethodfilter_review_state
(scope, params = {})
back/app/services/projects_finder_admin_service.rb:156
↓ 3 callersMethodfind_verification_group
(groups)
back/app/services/verification/verification_service.rb:9
↓ 3 callersMethodfinished?
back/engines/commercial/analysis/app/models/analysis/background_task.rb:52
↓ 3 callersMethodfirst_method_enabled
NOTE: for real platforms, you should never have more than one verification method enabled at a time.
back/app/services/verification/verification_service.rb:45
↓ 3 callersMethodfirst_method_enabled_for_verified_actions
Not all verification methods are allowed at a permission/action level NOTE: for real platforms, you should never have more than one verification metho
back/app/services/verification/verification_service.rb:37
↓ 3 callersMethodfolder_participants_count
Returns the total count of all folder participants including anonymous posts - cached
back/app/services/participants_service.rb:112
↓ 3 callersFunctionformatPageViews
(pageViews: number)
front/app/components/admin/GraphCards/VisitorsCard/useVisitors/parse.ts:120
↓ 3 callersFunctionformatPercentage
(percentage: number)
front/app/components/admin/Representativeness/ChartCard/utils.ts:1
↓ 3 callersFunctionformatVisitDuration
(seconds: number)
front/app/components/admin/GraphCards/VisitorsCard/useVisitors/parse.ts:129
↓ 3 callersMethodformat_for_front_end
(settings, schema)
back/app/services/settings_service.rb:69
↓ 3 callersMethodformat_in_ranges
Formats both user counts and reference population into labeled age ranges Example usage: age_stats = UserCustomFields::AgeStats.calculate(users) age_s
back/engines/commercial/user_custom_fields/app/models/user_custom_fields/age_stats.rb:49
↓ 3 callersMethodfrom_tenants
@return [Array<::AppConfiguration>]
back/engines/commercial/multi_tenancy/app/models/multi_tenancy/extensions/app_configuration.rb:77
↓ 3 callersFunctiongenerateOptions
( localize: Localize, data?: DataObject[] )
front/app/modules/commercial/smart_groups/components/UserFilterConditions/ValueSelector/utils.ts:12
↓ 3 callersMethodgenerate_code
back/app/models/confirmation.rb:57
↓ 3 callersMethodgenerate_comments_xlsx
(comments, view_private_attributes: false)
back/app/services/xlsx_service.rb:191
↓ 3 callersMethodgenerate_invites_xlsx
(invites, view_private_attributes: false)
back/app/services/xlsx_service.rb:210
↓ 3 callersMethodgenerate_sheet
(workbook, sheetname, columns, instances, reject_duplicate_columns: true)
back/app/services/xlsx_service.rb:79
↓ 3 callersMethodgenerate_users_xlsx
(users, view_private_attributes: false)
back/app/services/xlsx_service.rb:125
↓ 3 callersFunctiongetAnswerGroups
({ questionAnswers }: GetAnswerGroupsProps)
front/app/components/admin/FormResults/FormResultsQuestion/SentimentQuestion/components/SentimentScore/utils.tsx:7
↓ 3 callersFunctiongetAnswerKeys
(field: ICustomFieldResponse)
front/cypress/e2e/report_builder/survey_template.cy.ts:75
↓ 3 callersFunctiongetAuthenticationRequirements
( authenticationContext: AuthenticationContext )
front/app/api/authentication/authentication_requirements/getAuthenticationRequirements.ts:10
↓ 3 callersFunctiongetAuthorNames
(authUser: IUser)
front/app/containers/Admin/inspirationHub/ProjectDrawer/Comments/getAuthorNames.ts:3
↓ 3 callersFunctiongetCampaignsContextPath
({ projectId, phaseId, }: CampaignContext = {})
front/app/api/campaigns/util.ts:10
↓ 3 callersFunctiongetCollapsedY
()
front/app/containers/IdeasFeedPage/BottomSheet.tsx:133
↓ 3 callersFunctiongetCurrentPreferences
( appConfiguration: IAppConfigurationData | NilOrError, authUser: IUserData | undefined, cookieConsent:
front/app/components/ConsentManager/utils.ts:63
↓ 3 callersFunctiongetDaysInMonth
(year: number, month: number)
front/app/utils/dateUtils.ts:76
↓ 3 callersFunctiongetDelta
(total: number, previousRow?: [BaseRow] | [])
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/ParticipationWidget/useParticipation/parse/parseStats.ts:43
↓ 3 callersFunctiongetDestinationConfig
(destination: IDestination)
front/app/components/ConsentManager/destinations.ts:32
↓ 3 callersFunctiongetEmptyMessage
({ projectId, phaseId, }: { projectId?: string; phaseId?: string; })
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/utils.ts:3
↓ 3 callersFunctiongetEndMonth
({ endMonth, selectedRange, disabledRanges, defaultMonth, }: GetEndMonthProps)
front/app/components/admin/DatePickers/DatePhasePicker/Calendar/utils/getStartEndMonth.ts:44
↓ 3 callersFunctiongetEventDateString
(event: IEventData)
front/app/utils/dateUtils.ts:266
↓ 3 callersFunctiongetExampleBins
()
front/app/utils/representativeness/bins.ts:30
↓ 3 callersFunctiongetFieldNumbers
(formCustomFields: IFlatCustomField[])
front/app/components/FormBuilder/components/utils.ts:18
↓ 3 callersFunctiongetFlatGroupStructure
( nestedGroupStructure: NestedGroupingStructure[] )
front/app/components/FormBuilder/edit/utils.ts:93
↓ 3 callersFunctiongetFormattedNumbers
( serie: TimeSeriesTotalRow[] | NilOrError, firstSerieBar: number )
front/app/components/admin/GraphCards/_utils/parse.ts:20
↓ 3 callersFunctiongetGeojsonLayerType
( mapLayer: IMapLayerAttributes | undefined )
front/app/utils/mapUtils/map.ts:161
↓ 3 callersFunctiongetGroupQuestions
( groups: NestedGroupingStructure[], groupId: string )
front/app/components/FormBuilder/edit/utils.ts:106
↓ 3 callersFunctiongetIdeaOfficialFeedbackModalEventName
(ideaId: string)
front/app/components/admin/PostManager/components/IdeaOfficialFeedbackModal/index.tsx:31
↓ 3 callersFunctiongetIframeBody
()
front/cypress/e2e/project_description_builder/project_description_builder_preview_toggle.cy.ts:8
↓ 3 callersFunctiongetInitialMapCenter
( inputType: MapInputType, mapConfig: IMapConfig | undefined, data: any )
front/app/components/CustomFieldsForm/Fields/MapField/utils.tsx:133
↓ 3 callersFunctiongetInitialUserFormValues
( author: IUser | undefined, ideaMetadata: ImportedIdeaMetadataResponse )
front/app/containers/Admin/projects/project/inputImporter/ReviewSection/IdeaEditor/utils.ts:40
↓ 3 callersFunctiongetLegendLabels
( attributes: ResultGrouped, localize: Localize, formatMessage: FormatMessage )
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/SurveyQuestionResultWidget/Question/utils.ts:9
↓ 3 callersFunctiongetListItems
()
front/app/components/admin/ResourceList/SortableList.tsx:89
↓ 3 callersFunctiongetListItems
()
front/app/containers/Admin/projects/project/poll/PollAdminForm.tsx:84
↓ 3 callersFunctiongetMentions
(queryParameters: IQueryParameters)
front/app/api/mentions/getMentions.ts:16
↓ 3 callersFunctiongetPageNumberFromUrl
(url: string)
front/app/components/admin/GraphCards/_utils/pagination.ts:5
↓ 3 callersFunctiongetPeriodRemainingUntil
( date: string, tenantTimezone: string, timeUnit: unitOfTime.Diff )
front/app/utils/dateUtils.ts:198
↓ 3 callersFunctiongetRadioInputs
()
front/app/components/ConsentManager/PreferencesScreen/MainContent/CategoryCard.test.tsx:12
↓ 3 callersFunctiongetScaledDimensions
(width: number, height: number)
front/app/utils/word/utils/styleConstants.ts:82
↓ 3 callersFunctiongetSectionTitleAndDescription
( title: MessageDescriptor, description: MessageDescriptor )
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/PlatformTemplate/index.tsx:157
↓ 3 callersFunctiongetSkippedPageIndices
({ pages, formData, }: { pages: Pages; formData?: Record<string, any>; })
front/app/components/CustomFieldsForm/SurveyForm/logic.ts:220
↓ 3 callersFunctiongetSubmitState
( errors: IInviteError[] | null, processed: boolean )
front/app/containers/Admin/invitations/invite/index.tsx:518
↓ 3 callersFunctiongetTemplateData
(phases: IPhaseData[])
front/app/containers/Admin/reporting/components/ReportBuilder/Templates/ProjectTemplate/getTemplateData.ts:8
↓ 3 callersFunctiongetTheme
(tenant: any = null)
front/app/component-library/utils/styleUtils.ts:523
↓ 3 callersFunctiongetTranslations
( formatMessage: FormatMessage )
front/app/components/admin/GraphCards/DeviceTypesCard/translations.ts:14
↓ 3 callersFunctiongetValidPagePath
({ pages, formData, }: { pages: Pages; formData?: Record<string, any>; })
front/app/components/CustomFieldsForm/SurveyForm/logic.ts:176
↓ 3 callersMethodget_transcript
Get transcript status and results @param transcript_id [String] AssemblyAI transcript ID @return [Hash] Transcript data including status and results
back/app/services/assembly_ai_client.rb:43
↓ 3 callersFunctiongotoURL
(baseURL: string, withLocale: boolean)
front/cypress/e2e/nav_bar.cy.ts:83
↓ 3 callersFunctionhandleArraySearchParam
( paramValue: unknown )
front/app/containers/Admin/projects/project/analysis/util.ts:3
↓ 3 callersFunctionhandleAvailableViewsChange
( available_views: PresentationMode[], presentation_mode?: PresentationMode )
front/app/containers/Admin/projects/project/phaseSetup/components/PhaseParticipationConfig/index.tsx:277
↓ 3 callersFunctionhandleGroupLinkClick
(groupId?: string)
front/app/containers/Admin/messaging/CustomEmails/Show/index.tsx:163
↓ 3 callersFunctionhandleOnClick
(selectedView: PresentationMode)
front/app/components/PostCardsComponents/ViewButtons.tsx:132
↓ 3 callersFunctionhandleSkip
(name: OnboardingCampaignName)
front/app/containers/HomePage/SignedInHeader/index.tsx:74
↓ 3 callersFunctionhandleSortingOnChange
(sort: IQueryParameters['sort'])
front/app/containers/Admin/users/_shared/UserManager/UsersTable/index.tsx:70
↓ 3 callersFunctionhandleVotingMethodOnChange
(voting_method: VotingMethod)
front/app/containers/Admin/projects/project/phaseSetup/components/PhaseParticipationConfig/index.tsx:234
↓ 3 callersMethodhandle_error
(error)
back/engines/commercial/analysis/app/jobs/analysis/q_and_a_job.rb:26
← previousnext →1,601–1,700 of 15,961, ranked by callers