Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CitizenLabDotCo/citizenlab
/ functions
Functions
15,961 in github.com/CitizenLabDotCo/citizenlab
⨍
Functions
15,961
◇
Types & classes
7,295
↓ 2 callers
Method
host_to_schema_name
(host)
back/engines/commercial/multi_tenancy/app/models/tenant.rb:61
↓ 2 callers
Function
htmlToImageBuffer
( element: HTMLElement, options: HtmlToImageOptions = {} )
front/app/utils/word/utils/htmlToImage.ts:17
↓ 2 callers
Method
idea_status_method
Remove after unified status implementation
back/lib/participation_method/base.rb:88
↓ 2 callers
Method
image_elements
(content)
back/engines/commercial/content_builder/app/services/content_builder/layout_image_service.rb:7
↓ 2 callers
Function
importJobComplete
( invitesImport: IInvitesImport | undefined, jobType: InvitesImportJobType )
front/app/containers/Admin/invitations/invite/index.tsx:369
↓ 2 callers
Function
inForm
()
front/cypress/e2e/ideation_permissions/permitted_by_users.cy.ts:220
↓ 2 callers
Function
inRegFlow
()
front/cypress/e2e/ideation_permissions/permitted_by_users.cy.ts:95
↓ 2 callers
Method
index
back/engines/commercial/moderation/app/controllers/moderation/web_api/v1/moderations_controller.rb:8
↓ 2 callers
Method
initialize_tenant
@return [Array(Boolean, Tenant, AppConfiguration)]
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/tenant_service.rb:15
↓ 2 callers
Function
initiativeShowPageSlug
(urlSegments: string[])
front/app/utils/helperUtils.ts:90
↓ 2 callers
Function
injectLocalize
( Component: React.ComponentType<P & InjectedLocalized> )
front/app/utils/localize.tsx:21
↓ 2 callers
Function
interceptHomepageUpdate
()
front/cypress/e2e/homepage_builder/areas_widget.cy.ts:6
↓ 2 callers
Method
internal_template_names
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/templates/utils.rb:40
↓ 2 callers
Method
introduce_flag!
(flaggable, attributes = {})
back/engines/commercial/flag_inappropriate_content/app/services/flag_inappropriate_content/inappropriate_content_flag_service.rb:5
↓ 2 callers
Method
invite_not_pending?
back/app/models/user.rb:267
↓ 2 callers
Function
isActive
(id: string)
front/app/components/admin/PostManager/components/FilterSidebar/statuses/StatusFilters.tsx:43
↓ 2 callers
Function
isAdminRoute
(path: string)
front/app/utils/permissions/rules/routePermissions.ts:50
↓ 2 callers
Function
isClosedDateRange
(range: DateRange)
front/app/components/admin/DatePickers/DatePhasePicker/Calendar/utils/utils.ts:6
↓ 2 callers
Function
isCommunityMonitorProject
( projectId: string, appConfig?: IAppConfiguration )
front/app/utils/projectUtils.ts:6
↓ 2 callers
Function
isExternal
(url: string)
front/app/components/UI/QuillEditor/configureQuill.ts:102
↓ 2 callers
Function
isIdeaInParticipationContext
( idea: IIdeaData, participationContext: IProjectData | IPhaseData )
front/app/api/phases/utils.ts:109
↓ 2 callers
Function
isInternalLink
(url?: string)
front/app/containers/Admin/pagesAndMenu/containers/ContentBuilder/components/Widgets/CallToAction/index.tsx:97
↓ 2 callers
Function
isModerationSelected
( selectedModeration: IModerationData, selectedModerations: IModerationData[] )
front/app/containers/Admin/Moderation/index.tsx:301
↓ 2 callers
Function
isModeratorRoute
(item: IRouteItem)
front/app/utils/permissions/rules/routePermissions.ts:32
↓ 2 callers
Function
isOnRoute
(to: NavItem['to'])
front/app/containers/Admin/projects/project/newBackoffice/ProjectNavRail/index.tsx:54
↓ 2 callers
Function
isOptionArray
( option: Option | readonly Option[] )
front/app/components/UI/IdeaSelect/utils.ts:12
↓ 2 callers
Function
isPhasePermission
( permission: IPermissionData )
front/app/api/phase_permissions/utils.ts:5
↓ 2 callers
Function
isSelectedRangeOpenEnded
( { from, to }: Partial<DateRange>, disabledRanges: DateRange[] )
front/app/components/admin/DatePickers/DatePhasePicker/isSelectedRangeOpenEnded.ts:3
↓ 2 callers
Function
isSingleMultilocObjectFilled
( locale: Locale, values?: MultilocFormValues )
front/app/component-library/components/LocaleSwitcher/index.tsx:69
↓ 2 callers
Function
isSupported
({ attributes: { input_type, code }, }: IUserCustomFieldData)
front/app/containers/Admin/Representativeness/Dashboard/utils.ts:9
↓ 2 callers
Function
isUserFormDataValid
(userFormData: UserFormData | null)
front/app/containers/Admin/projects/project/inputImporter/ReviewSection/IdeaEditor/utils.ts:68
↓ 2 callers
Function
isValidEmail
(email: string)
front/app/utils/validate.ts:1
↓ 2 callers
Function
isValidPhase
( phaseParam: string | undefined, phases: IPhaseData[] )
front/app/containers/ProjectsShowPage/phaseParam.ts:14
↓ 2 callers
Method
item_slug
back/app/models/nav_bar_item.rb:106
↓ 2 callers
Method
items_claz
back/app/models/custom_field.rb:245
↓ 2 callers
Method
last_delivery_for_recipient
(user)
back/engines/free/email_campaigns/app/models/concerns/email_campaigns/trackable.rb:19
↓ 2 callers
Function
localeIsDeAt
(locale: string | undefined)
front/app/utils/patchIntlDeAtJanuary.ts:16
↓ 2 callers
Function
localeStream
()
front/app/utils/__mocks__/localeStream.ts:17
↓ 2 callers
Method
log_activity
Schedules a `LogActivityJob` which creates an activity to document that a password reset has been requested for the user. @param user [User] the user
back/app/services/reset_password_service.rb:48
↓ 2 callers
Function
logoutUrl
(decodedJwt: IDecodedJwt | null)
front/app/api/authentication/sign_in_out/logoutUrl.ts:5
↓ 2 callers
Function
luminance
(r: number, g: number, b: number)
front/app/component-library/utils/styleUtils.ts:576
↓ 2 callers
Function
makeRequest
(adminJwt: string)
front/cypress/support/permitted_by_utils.ts:104
↓ 2 callers
Method
map_center
@return [Float] default map center
back/engines/commercial/multi_tenancy/db/seeds/runner.rb:150
↓ 2 callers
Method
map_offset
@return [Float] default map offset
back/engines/commercial/multi_tenancy/db/seeds/runner.rb:155
↓ 2 callers
Method
maximum_retry_count
back/app/jobs/application_job.rb:17
↓ 2 callers
Method
maybe_delete!
(flag)
back/engines/commercial/flag_inappropriate_content/app/services/flag_inappropriate_content/inappropriate_content_flag_service.rb:19
↓ 2 callers
Method
member_ids
back/engines/commercial/smart_groups/app/models/smart_groups/patches/group.rb:57
↓ 2 callers
Method
method_classes
back/engines/commercial/analysis/app/lib/analysis/q_and_a_method/base.rb:13
↓ 2 callers
Method
model
back/engines/commercial/analytics/app/services/analytics/query.rb:55
↓ 2 callers
Method
moderated_project_folder_ids
back/app/models/concerns/user_roles.rb:215
↓ 2 callers
Function
moveOptionInArray
(sourceIndex: number, destinationIndex: number)
front/app/components/CustomFieldsForm/Fields/RankingField/Ranking.tsx:75
↓ 2 callers
Function
new_test_controller
Helper to create a controller instance with proper request/response setup
back/spec/controllers/concerns/action_caching_spec.rb:46
↓ 2 callers
Method
nodes_by_resolved_name
(resolved_name)
back/engines/commercial/content_builder/app/services/content_builder/craftjs/state.rb:82
↓ 2 callers
Method
not_in?
(collection)
back/config/initializers/core_ext_file.rb:14
↓ 2 callers
Method
notification_classes
back/app/services/notification_service.rb:41
↓ 2 callers
Function
onChange
(inputValue: string)
front/app/components/PostShowComponents/Comments/CommentsSection/PublicComments/ParentCommentForm.tsx:117
↓ 2 callers
Function
onChangePage
(pageNumber: number)
front/app/components/admin/PostManager/InputManager.tsx:179
↓ 2 callers
Function
onChangeProjects
(projects: string[])
front/app/components/admin/PostManager/InputManager.tsx:175
↓ 2 callers
Function
onChangeTab
(tab: string)
front/app/containers/ProjectsShowPage/timeline/CommonGround/CommonGroundTabs.tsx:60
↓ 2 callers
Function
onChangeTopics
(topics: string[])
front/app/components/admin/PostManager/InputManager.tsx:155
↓ 2 callers
Function
onCloseModal
()
front/app/components/admin/PostManager/components/IdeaOfficialFeedbackModal/index.tsx:66
↓ 2 callers
Function
onError
()
front/app/components/PostShowComponents/OfficialFeedback/OfficialFeedbackForm.tsx:272
↓ 2 callers
Function
onExploreClick
({ unit, columnCustomFieldId, rowType, }: { unit: Unit; columnCustomFieldId?: string;
front/app/containers/Admin/projects/project/analysis/Heatmap/index.tsx:92
↓ 2 callers
Function
onFormSubmit
(formValues: FormValues)
front/app/components/CustomFieldsForm/SurveyForm/SurveyPage.tsx:187
↓ 2 callers
Function
onFormSubmit
( formValues: FormValues, isDisclaimerAccepted?: boolean )
front/app/components/CustomFieldsForm/IdeationForm/IdeationPage.tsx:163
↓ 2 callers
Function
onReaction
(reactionMode: 'up' | 'down')
front/app/components/ReactionControl/index.tsx:214
↓ 2 callers
Function
onSave
()
front/app/containers/Admin/projects/project/poll/PollAnswerOptions/OptionFormRow.tsx:79
↓ 2 callers
Function
onSubmit
()
front/app/components/admin/InternalComments/InternalChildCommentForm.tsx:168
↓ 2 callers
Function
onSubmit
(event: React.FormEvent)
front/app/containers/Admin/projects/project/general/setUp/index.tsx:327
↓ 2 callers
Function
openInNewTab
(url?: string)
front/app/containers/Admin/pagesAndMenu/containers/ContentBuilder/components/Widgets/CallToAction/index.tsx:104
↓ 2 callers
Function
openPreview
(id: string)
front/app/components/admin/PostManager/CommonGroundInputManager/index.tsx:92
↓ 2 callers
Method
openid_config_url
# The location of the OpenID configuration for the tenant. @return String
back/lib/omni_auth/strategies/azure_active_directory.rb:275
↓ 2 callers
Method
ordered_options
back/app/models/custom_field.rb:321
↓ 2 callers
Function
parseDays
( timeSeries: Row[], startAtMoment: Moment | null | undefined, endAtMoment: Moment | null, getDate: (r
front/app/components/admin/GraphCards/_utils/timeSeries.ts:124
↓ 2 callers
Function
parseExcelData
(data: StatCardData)
front/app/components/admin/GraphCards/StatCard/useStatCard/parse.ts:10
↓ 2 callers
Function
parseFormValues
( formValues: FormValues, bins?: Bins )
front/app/utils/representativeness/form.ts:84
↓ 2 callers
Function
parsePageViews
(pageViews: number | undefined)
front/app/components/admin/GraphCards/VisitorsCard/useVisitors/parse.ts:115
↓ 2 callers
Function
parsePieData
(feedbackRow: FeedbackRow)
front/app/containers/Admin/dashboard/overview/charts/InputStatusCard/usePostsFeedback/parse.ts:14
↓ 2 callers
Function
parseStats
( data: RegistrationsResponse['data']['attributes'] )
front/app/components/admin/GraphCards/RegistrationsCard/useRegistrations/parse.ts:53
↓ 2 callers
Function
parseTableData
( { top_50_referrers }: VisitorsTrafficSourcesResponse['data']['attributes'], translations: Translations )
front/app/components/admin/GraphCards/VisitorsTrafficSourcesCard/useVisitorReferrerTypes/parse.ts:41
↓ 2 callers
Function
parseTimeSeries
( responseTimeSeries: RegistrationsResponse['data']['attributes']['registrations_timeseries'], startAtMome
front/app/components/admin/GraphCards/RegistrationsCard/useRegistrations/parse.ts:39
↓ 2 callers
Function
parseTimeSeries
( responseTimeSeries: ParticipantsResponse['data']['attributes']['participants_timeseries'], startAtMoment
front/app/components/admin/GraphCards/ParticipantsCard/useParticipants/parse.ts:41
↓ 2 callers
Function
parseVisitDuration
(seconds: number | undefined)
front/app/components/admin/GraphCards/VisitorsCard/useVisitors/parse.ts:124
↓ 2 callers
Method
participation_context_created
(phase, pm, service, url)
back/engines/free/surveys/app/services/surveys/typeform_webhook_manager.rb:31
↓ 2 callers
Method
participation_context_to_be_deleted
(phase_id, pm, service, url)
back/engines/free/surveys/app/services/surveys/typeform_webhook_manager.rb:35
↓ 2 callers
Method
participation_possible
Returns an ActiveRecord collection of published projects that are in an active participatory phase (where user can probably do something), ordered by
back/app/services/projects_finder_service.rb:16
↓ 2 callers
Method
participation_possible?
(action_descriptors)
back/app/services/permissions/project_permissions_service.rb:114
↓ 2 callers
Function
patchDisabledRanges
( { from }: Partial<DateRange>, disabledRanges: DateRange[] )
front/app/components/admin/DatePickers/DatePhasePicker/patchDisabledRanges.ts:9
↓ 2 callers
Method
pending?
back/app/models/invite.rb:58
↓ 2 callers
Function
performScroll
()
front/app/components/IdeaCard/hooks/useScrollToCard.ts:26
↓ 2 callers
Method
permission_scope_from_permissions_params
(params)
back/app/services/permissions/permissions_update_service.rb:25
↓ 2 callers
Method
persist_visit_data
(visit_data)
back/engines/commercial/analytics/app/services/analytics/matomo_data_importer.rb:41
↓ 2 callers
Method
phase_insights_class
back/lib/participation_method/poll.rb:9
↓ 2 callers
Function
populated_attrs_for
Build a contact's current custom_attributes hash from what the service would write — keeps the test in sync with TrackIntercomService.
back/spec/tasks/single_use/backfill_intercom_user_attributes_spec.ignore.rb:23
↓ 2 callers
Function
precompute_for_rendering
(_imageable)
back/spec/services/content_image_service_spec.rb:61
↓ 2 callers
Method
prescreening_flagged_only?
back/app/models/phase.rb:330
↓ 2 callers
Method
probabilities_and_counts
back/engines/commercial/user_custom_fields/app/models/user_custom_fields/representativeness/categorical_distribution.rb:32
↓ 2 callers
Method
profile_to_uid
(auth)
back/engines/commercial/custom_id_methods/app/lib/custom_id_methods/acm/acm_verification.rb:74
↓ 2 callers
Method
profile_to_user_attrs
Extracts user attributes from the Omniauth response auth. @param [OmniAuth::AuthHash] auth @return [Hash] The user attributes
back/lib/id_methods/base.rb:50
↓ 2 callers
Function
project_filter_parameter
(s)
back/spec/acceptance/stats_comments_spec.rb:18
← previous
next →
2,401–2,500 of 15,961, ranked by callers