MCPcopy Create free account

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 4 callersMethoddown?
back/app/models/reaction.rb:64
↓ 4 callersFunctiondragAndDrop
( dropZone: HTMLElement, dragElement: HTMLElement )
front/app/utils/testUtils/dragAndDrop.ts:3
↓ 4 callersMethodenabled?
back/app/models/custom_field.rb:208
↓ 4 callersFunctionencode_content
(json)
back/spec/services/content_image_service_spec.rb:24
↓ 4 callersFunctionencode_json_file_as_base64
(filename)
back/engines/commercial/custom_maps/spec/acceptance/layers_spec.rb:471
↓ 4 callersFunctionexpect_serializer_to_hide_name
(user1, user2, admin, notification_factory_name, serializer_class)
back/spec/serializers/web_api/v1/notifications_spec.rb:6
↓ 4 callersFunctionexpect_to_create_verified_and_identified_user
(user)
back/engines/commercial/custom_id_methods/spec/requests/clave_unica_verification_spec.rb:77
↓ 4 callersFunctionexpect_user_to_be_verified
(user)
back/engines/commercial/custom_id_methods/spec/requests/criipto_verification_spec.rb:115
↓ 4 callersFunctionexpect_user_to_be_verified
(user, first_name: 'Otto', last_name: 'Ottakringer')
back/engines/commercial/custom_id_methods/spec/requests/id_austria_verification_spec.rb:82
↓ 4 callersFunctionexpect_user_to_be_verified
(user)
back/engines/commercial/custom_id_methods/spec/requests/keycloak_idporten_verification_spec.rb:92
↓ 4 callersMethodexpires_at
back/app/models/idea.rb:379
↓ 4 callersMethodextension_allowlist
back/app/uploaders/base_file_uploader.rb:4
↓ 4 callersFunctionextractIdsFromValue
(value: string)
front/app/components/UI/MentionsTextArea/utils.ts:1
↓ 4 callersFunctionextractOptions
( question: IFlatCustomField, localize: Localize, randomize = false )
front/app/components/CustomFieldsForm/util.ts:114
↓ 4 callersMethodextract_expanded_mention_users
@param [String] text @return [User::ActiveRecord_Relation] users
back/app/services/mention_service.rb:12
↓ 4 callersMethodextract_location_headers
(headers)
back/app/services/participation_location_service.rb:5
↓ 4 callersFunctionfeedback_needed_filter_parameter
(s)
back/spec/acceptance/stats_ideas_spec.rb:30
↓ 4 callersFunctionfetchPhase
({ phaseId, }: { phaseId: string | undefined | null; })
front/app/api/phases/usePhase.ts:9
↓ 4 callersMethodfield_title
(field)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/pdf/idea_pdf_template_reader.rb:221
↓ 4 callersMethodfilter_status
FILTERING METHODS
back/app/services/folders_finder_admin_service.rb:13
↓ 4 callersMethodfilter_trending
(ideas = Idea.all)
back/app/services/trending_idea_service.rb:4
↓ 4 callersFunctionfindChartSvg
(container: HTMLElement)
front/app/utils/word/utils/svgToImage.ts:137
↓ 4 callersFunctionfindPageIndex
(pages: Pages, pageId: string | number)
front/app/components/CustomFieldsForm/SurveyForm/logic.ts:5
↓ 4 callersMethodfind_or_create_previous_quarter_report
back/app/services/community_monitor_service.rb:80
↓ 4 callersMethodfolder_id
back/app/services/notifications/internal_comments/base_notification_builder.rb:55
↓ 4 callersFunctionformChange
( changedFormValue: Partial<IFormValues>, touched = true )
front/app/containers/Admin/CustomMapConfigPage/MapConfiguration/MapCenterAndZoomConfig.tsx:172
↓ 4 callersFunctionformatCommentContent
(commentBody: string)
front/app/components/PostShowComponents/utils.ts:1
↓ 4 callersFunctionformatDate
(date?: Date)
front/app/containers/Admin/inspirationHub/ProjectDrawer/utils.ts:24
↓ 4 callersFunctionformatPercentage
(value: number | undefined)
front/app/components/admin/GraphCards/_utils/format.ts:1
↓ 4 callersMethodfull_title_multiloc
Returns "Parent > Child" format for subtopics
back/app/models/input_topic.rb:57
↓ 4 callersMethodgenerate_descriptions?
(file)
back/app/services/files/description_generator.rb:134
↓ 4 callersMethodgenerate_for_request
(request)
back/app/services/visitor_hash_service.rb:8
↓ 4 callersFunctiongeocode
(address: string | null | undefined)
front/app/utils/locationTools.ts:19
↓ 4 callersFunctiongetAnalysisScope
( participationMethod: ParticipationMethod | undefined )
front/app/containers/Admin/projects/_shared/components/AnalysisBanner/utils.ts:9
↓ 4 callersFunctiongetAnswerKeys
(field: ICustomFieldResponse)
front/cypress/e2e/report_builder/widgets/survey_question_widget.cy.ts:100
↓ 4 callersFunctiongetCenter
( centerLatLng?: LatLngTuple | null, appConfig?: IAppConfigurationData )
front/app/utils/map.ts:12
↓ 4 callersFunctiongetComparedPeriod
(resolution: IResolution)
front/app/components/admin/GraphCards/_utils/query.ts:85
↓ 4 callersFunctiongetComparedTimeRange
(startAt?: string, endAt?: string)
front/app/components/admin/GraphCards/_utils/query.ts:68
↓ 4 callersFunctiongetCoordinatesFromMultiPointData
( data: any, inputType: MapInputType )
front/app/components/CustomFieldsForm/Fields/MapField/multiPointUtils.tsx:54
↓ 4 callersFunctiongetDateInTimezone
( isoString: string | null | undefined, timeZone: string | undefined )
front/app/utils/dateUtils.ts:387
↓ 4 callersFunctiongetDelta
(total: number, compared: number | undefined)
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/VisitorsWidget/useVisitors/parse.ts:75
↓ 4 callersFunctiongetFullName
(firstName?: string, lastName?: string)
front/app/containers/Admin/projects/all/_shared/ManagerBubbles.tsx:30
↓ 4 callersFunctiongetIsFileAlreadyUsed
( craftjsJson: SerializedNodes, fileId: string )
front/app/components/admin/ContentBuilder/Widgets/FileAttachment/utils.ts:6
↓ 4 callersFunctiongetLayerColor
(mapLayer: IMapLayerAttributes | undefined)
front/app/utils/mapUtils/map.ts:169
↓ 4 callersFunctiongetModeratedItems
(user: IUserData, treeView: TreeView)
front/app/components/admin/UsersTable/UserRole/UserAssignedItems/utils.ts:9
↓ 4 callersFunctiongetNewIdsOnDrop
( ids: string[], draggedItemId: string, targetIndex: number )
front/app/containers/Admin/pagesAndMenu/containers/ContentBuilder/components/Widgets/Selection/Settings/utils.ts:8
↓ 4 callersFunctiongetParams
(tab: string)
front/app/containers/Admin/reporting/containers/ReportBuilderPage/index.tsx:90
↓ 4 callersFunctiongetQuillPlainTextLength
(editor: Quill)
front/app/components/UI/QuillEditor/utils.ts:7
↓ 4 callersFunctiongetRechartsAccessibilityProps
( ariaLabel: string | undefined, ariaDescribedBy: string | undefined )
front/app/components/admin/Graphs/utils.ts:73
↓ 4 callersFunctiongetRemoteFormValues
({ type, attributes: { distribution }, }: TReferenceDistributionData)
front/app/api/reference_distribution/useReferenceDistributionData.ts:41
↓ 4 callersFunctiongetReorderedFields
( result: DragAndDropResult, nestedGroupData: NestedGroupingStructure[] )
front/app/components/FormBuilder/edit/utils.ts:116
↓ 4 callersFunctiongetSortDirection
(sort: Sort)
front/app/utils/paginationUtils.ts:17
↓ 4 callersFunctiongetStatusColor
( status: PublicationStatus, isScheduled = false )
front/app/containers/Admin/projects/all/_shared/utils.ts:6
↓ 4 callersFunctiongetTimePeriodTranslationByResolution
( formatMessage: FormatMessage, resolution: IResolution )
front/app/components/admin/GraphCards/_utils/resolution.ts:31
↓ 4 callersFunctiongetTooltipConfig
( tooltip?: boolean | Tooltip | ((props: TooltipConfig) => React.ReactNode) )
front/app/components/admin/Graphs/utils.ts:18
↓ 4 callersFunctiongetUrl
(medium: Medium)
front/app/components/Sharing/SharingButtons/index.tsx:57
↓ 4 callersFunctiongetZoomLevel
( zoom?: number, appConfig?: IAppConfigurationData | null | Error )
front/app/utils/map.ts:37
↓ 4 callersFunctiongoToLayerExtent
( layer: Layer, mapView: MapView, zoomOutFurther?: boolean )
front/app/components/EsriMap/utils.tsx:708
↓ 4 callersFunctiongroupBy
(key: string)
front/app/containers/Admin/messaging/AutomatedEmails/utils.ts:12
↓ 4 callersFunctiongroupIncludedResources
( values: T[] )
front/app/utils/cl-react-query/groupIncludedResources.ts:15
↓ 4 callersFunctiongroup_filter_parameter
(s)
back/spec/acceptance/stats_comments_spec.rb:22
↓ 4 callersFunctiongroup_filter_parameter
(s)
back/spec/acceptance/stats_reactions_spec.rb:20
↓ 4 callersFunctiongroup_filter_parameter
(s)
back/spec/acceptance/stats_ideas_spec.rb:22
↓ 4 callersFunctionhandleUpdate
(permittedBy: PermittedBy)
front/app/components/admin/ActionForm/AccessRestrictions/CardButtons.tsx:29
↓ 4 callersFunctionhasSvgChart
(container: HTMLElement)
front/app/utils/word/utils/svgToImage.ts:156
↓ 4 callersFunctionhexToRGBA
(hex: string, alpha: number)
front/app/utils/helperUtils.ts:192
↓ 4 callersMethodhidden?
back/app/models/project.rb:316
↓ 4 callersMethodhome_url
(options = {})
back/engines/free/frontend/app/services/frontend/url_service.rb:72
↓ 4 callersMethodidea_blank?
(fields)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/idea_row_mapper.rb:74
↓ 4 callersFunctionimage_elements
(content)
back/spec/services/content_image_service_spec.rb:32
↓ 4 callersMethodindex
back/engines/commercial/analysis/app/controllers/analysis/web_api/v1/tags_controller.rb:11
↓ 4 callersFunctionindexById
( items: T[] )
front/app/utils/cl-react-query/indexById.ts:1
↓ 4 callersFunctioninvalidateCacheAfterUpdateUser
(queryClient: QueryClient)
front/app/api/users/useUpdateUser.ts:26
↓ 4 callersFunctioninvalidatePollQuestionsCache
(variables: IPollQuestionParameters)
front/app/api/poll_questions/util/invalidatePollQuestionsCache.ts:8
↓ 4 callersFunctionisAuthor
(comment: ICommentData, user?: IUser | null)
front/app/utils/permissions/rules/commentPermissions.ts:8
↓ 4 callersFunctionisFollowUpFiltered
(filters: IInputsFilterParams | undefined)
front/app/components/admin/FormResults/FormResultsQuestion/TextQuestion/Analysis/utils.ts:32
↓ 4 callersFunctionisHiddenField
(field: IUserCustomFieldData)
front/app/api/user_custom_fields/util.ts:7
↓ 4 callersFunctionisModerator
(user: IUser | undefined | null)
front/app/utils/permissions/roles.ts:49
↓ 4 callersFunctionisNonEmptyString
(str: string)
front/app/utils/helperUtils.ts:38
↓ 4 callersFunctionisPDFUploadSupported
( participationMethod?: ParticipationMethod )
front/app/containers/Admin/projects/project/inputImporter/ReviewSection/utils.ts:15
↓ 4 callersFunctionisPageRuleValid
( fields: IFlatCustomField[], sourcePageId: string, nextPageId?: string )
front/app/utils/yup/validateLogic.ts:30
↓ 4 callersFunctionjanuary
()
front/app/utils/patchMomentDeAtJanuary.test.ts:12
↓ 4 callersMethodklass
back/lib/spherical_point_impl_active_job_serializer.rb:26
↓ 4 callersMethodlast_name
Returns nil when user is nil, but logs a warning. @param [User, nil] user @return [String]
back/app/services/user_display_name_service.rb:46
↓ 4 callersMethodlocked_custom_fields
back/app/policies/user_policy.rb:136
↓ 4 callersMethodlocked_custom_fields
(user)
back/app/services/verification/verification_service.rb:102
↓ 4 callersMethodmailer_class
back/engines/free/email_campaigns/spec/models/email_campaigns/concerns/content_configurable_spec.rb:8
↓ 4 callersFunctionmakeRequest
(jwt: any)
front/cypress/support/commands.ts:341
↓ 4 callersFunctionmakeSummary
( id: string, publishedFrom: string | null, publishedTo: string | null )
front/app/components/admin/FormResults/FormResultsQuestion/TextQuestion/Analysis/filterForCommunityMonitorQuarter.test.ts:38
↓ 4 callersMethodmembers
back/engines/commercial/smart_groups/app/models/smart_groups/patches/group.rb:45
↓ 4 callersFunctionmockEndpoints
(mockedEndpoints: Partial<Record<Endpoint, Handler>>)
front/app/utils/storybook/mockEndpoints.ts:6
↓ 4 callersFunctionmockPageData
(bannerLayout: TCustomPageBannerLayout)
front/app/containers/CustomPageShow/CustomPageHeader/CustomPageHeader.test.tsx:14
↓ 4 callersFunctionmodel_class
(factory)
back/engines/commercial/content_builder/spec/models/content_builder/concerns/content_buildable_spec.rb:78
↓ 4 callersMethodmoderators_per_space
Returns a hash with space IDs as keys and arrays of users as values
back/app/services/user_role_service.rb:112
↓ 4 callersMethodobserve
(target: Element)
front/app/components/CustomFieldsForm/SurveyForm/index.test.tsx:13
↓ 4 callersFunctiononClick
(event: FormEvent<any>)
front/app/components/UI/FileUploader/FileInput.tsx:172
↓ 4 callersFunctiononDelete
(fieldIndex: number)
front/app/components/FormBuilder/components/FormFields/FormField/index.tsx:195
↓ 4 callersFunctiononFileAdd
(file: UploadFile, value)
front/app/components/CustomFieldsForm/Fields/MultiFileUploadField.tsx:132
↓ 4 callersFunctiononProjectFilter
({ value })
front/app/containers/Admin/Representativeness/Dashboard/index.tsx:28
↓ 4 callersFunctionparseQuestionResult
( result: ResultUngrouped | ResultGrouped, colorScheme: string[], localize: Localize, noAnswerCopy: st
front/app/components/admin/Graphs/SurveyBars/utils.ts:11
← previousnext →1,301–1,400 of 15,961, ranked by callers