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
↓ 4 callers
Function
useRegenerateAnalysisSummary
()
front/app/api/analysis_summaries/useRegenerateAnalysisSummary.ts:27
↓ 4 callers
Function
useReorderAdminPublication
()
front/app/api/admin_publications/useReorderAdminPublication.ts:21
↓ 4 callers
Function
useSeats
()
front/app/api/seats/useSeats.ts:15
↓ 4 callers
Function
useSendCampaign
()
front/app/api/campaigns/useSendCampaign.ts:16
↓ 4 callers
Function
useSidebarCollapsed
()
front/app/containers/Admin/sideBar/useSidebarCollapsed.ts:7
↓ 4 callers
Function
useSurveyResults
({ phaseId, filterLogicIds, quarter, year, }: IParameters)
front/app/api/survey_results/useSurveyResults.ts:29
↓ 4 callers
Function
useSyncFiles
()
front/app/hooks/files/useSyncFiles.ts:12
↓ 4 callers
Function
useUpdateArea
()
front/app/api/areas/useUpdateArea.ts:16
↓ 4 callers
Function
useUpdateBasket
()
front/app/api/baskets/useUpdateBasket.ts:23
↓ 4 callers
Function
useUpdateCampaignConsents
()
front/app/api/campaign_consents/useUpdateCampaignConsents.ts:30
↓ 4 callers
Function
useUpdateGlobalTopic
()
front/app/api/global_topics/useUpdateGlobalTopic.ts:16
↓ 4 callers
Function
useUpdatePollQuestion
()
front/app/api/poll_questions/useUpdatePollQuestion.ts:29
↓ 4 callers
Function
useUpdateProjectFolder
()
front/app/api/project_folders/useUpdateProjectFolder.ts:19
↓ 4 callers
Function
useUpdateProjectFolderMembership
()
front/app/api/projects/useUpdateProjectFolderMembership.ts:25
↓ 4 callers
Function
useUpdateReport
()
front/app/api/reports/useUpdateReport.ts:25
↓ 4 callers
Function
useUpdateUserCustomField
()
front/app/api/user_custom_fields/useUpdateUserCustomField.ts:29
↓ 4 callers
Function
useUserCommentsCount
({ userId }: IParameters)
front/app/api/user_comments_count/useUserCommentsCount.ts:15
↓ 4 callers
Function
useUserCustomFieldsForPermission
( authenticationContext: AuthenticationContext )
front/app/api/user_custom_fields_for_permission/useUserCustomFieldsForPermission.ts:15
↓ 4 callers
Function
useVerificationMethodVerifiedActions
()
front/app/api/id_methods/useVerificationMethodVerifiedActions.ts:15
↓ 4 callers
Method
user_custom_field_columns
(record_to_user)
back/app/services/xlsx_service.rb:225
↓ 4 callers
Method
user_locales
(serialized_models)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/templates/utils.rb:263
↓ 4 callers
Method
user_participation_stats
@param user [User] The user to get participation stats for @return [Hash] Counts of each participation type
back/app/services/participants_service.rb:208
↓ 4 callers
Method
valid_attribute?
(attribute_name)
back/app/models/application_record.rb:25
↓ 4 callers
Function
validateLocale
()
front/app/utils/yup/validateLocale.ts:9
↓ 4 callers
Method
validate_and_confirm_unauthenticated!
(user, code)
back/app/services/user_confirmation_service.rb:37
↓ 4 callers
Method
value_from
(model)
back/app/services/export/xlsx/computed_field_for_report.rb:12
↓ 4 callers
Method
visit_files
(_field)
back/spec/models/custom_field_spec.rb:58
↓ 4 callers
Method
visit_multiline_text
(_field)
back/spec/models/custom_field_spec.rb:14
↓ 4 callers
Method
visit_number
(_field)
back/spec/models/custom_field_spec.rb:10
↓ 4 callers
Method
visit_shapefile_upload
(_field)
back/spec/models/custom_field_spec.rb:106
↓ 4 callers
Method
visit_text
(_field)
back/spec/models/custom_field_spec.rb:6
↓ 4 callers
Function
weglotTranslateSubmission
( text: string, locale: SupportedLocale, weglotApiKey: string | null | undefined )
front/app/utils/weglot.ts:125
↓ 4 callers
Method
where_pmethod
Filters out all the ideas for which the ParticipationMethod responds truety to the given block. The block receives the ParticipationMethod object as a
back/app/models/idea.rb:275
↓ 3 callers
Method
active_moderator?
back/app/policies/phase_policy.rb:81
↓ 3 callers
Function
addConflict
(pageId: string, conflict: Conflict)
front/app/components/FormBuilder/edit/utils.ts:191
↓ 3 callers
Function
addOrDeleteEventImage
(data: IEvent)
front/app/containers/Admin/projects/project/events/edit.tsx:412
↓ 3 callers
Function
addPhaseContext
(url: string)
front/app/components/Sharing/SharingButtons/index.tsx:67
↓ 3 callers
Method
add_change
(old_value, new_value, context: {})
back/lib/script_reporter.rb:16
↓ 3 callers
Method
add_user_fields_to_form
Append user custom fields to form
back/app/services/user_fields_in_form_service.rb:107
↓ 3 callers
Method
after_accept
(invite, claim_tokens: nil)
back/app/services/side_fx_invite_service.rb:15
↓ 3 callers
Method
after_block
(user, current_user)
back/app/services/side_fx_user_service.rb:62
↓ 3 callers
Method
after_delete_inputs
(phase, user)
back/app/services/side_fx_phase_service.rb:103
↓ 3 callers
Method
after_destroy
(frozen_cause, user)
back/engines/free/volunteering/app/services/volunteering/side_fx_cause_service.rb:21
↓ 3 callers
Method
after_destroy
(frozen_layout, user)
back/engines/commercial/content_builder/app/services/content_builder/side_fx_layout_service.rb:25
↓ 3 callers
Method
aggregate_child_input_topic_counts
Adds child topic counts to their parent topic counts. Can be called with either: - A result hash from counts() method: aggregate_child_input_topic_cou
back/app/services/ideas_count_service.rb:36
↓ 3 callers
Method
aggregations_names
back/engines/commercial/analytics/app/services/analytics/query.rb:151
↓ 3 callers
Function
allowMultilinePaste
({ options, index, locale, }: AllowMultilinePasteParams)
front/app/components/FormBuilder/components/FormBuilderSettings/ConfigOptionsWithLocaleSwitcher/utils.ts:21
↓ 3 callers
Method
allowed_ideas_orders
back/lib/participation_method/base.rb:37
↓ 3 callers
Method
any_enabled?
back/engines/commercial/webhooks/app/models/webhooks/subscription.rb:77
↓ 3 callers
Method
approved?
back/app/models/project_review.rb:40
↓ 3 callers
Method
around_apply_template
(tenant, _template, current_user = nil)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/side_fx_tenant_service.rb:17
↓ 3 callers
Function
assertCorrectReturnToLandingPage
()
front/cypress/e2e/nav_bar.cy.ts:13
↓ 3 callers
Method
attachments
(row)
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/extractors/project_extractor.rb:141
↓ 3 callers
Method
avatars_for_project
Returns a hash containing a list of users with avatars for a project and the total number of participants. @param project[Project] The project for whi
back/app/services/avatars_service.rb:15
↓ 3 callers
Method
before_destroy
(tenant, _current_user = nil)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/side_fx_tenant_service.rb:60
↓ 3 callers
Method
before_destroy
(layout, user)
back/engines/commercial/content_builder/app/services/content_builder/side_fx_layout_service.rb:23
↓ 3 callers
Method
before_update
(option, user)
back/engines/free/polls/app/services/polls/side_fx_option_service.rb:13
↓ 3 callers
Method
before_update
(layout, _user)
back/engines/commercial/content_builder/app/services/content_builder/side_fx_layout_service.rb:15
↓ 3 callers
Function
buildStat
(counts: Counts, compared?: Counts)
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/InternalAdoptionWidget/useInternalAdoption/parseStats.ts:40
↓ 3 callers
Method
build_in_input_importer
User can also be updated in input importer by PATCH /users/:id (`update_in_web_api` is called)
back/app/services/user_service.rb:75
↓ 3 callers
Function
build_query
(size = 1, number = 1)
back/engines/commercial/analytics/spec/services/analytics/query_runner_service_spec.rb:98
↓ 3 callers
Function
calculateDynamicHeight
(isSmallerThanPhone: boolean)
front/app/containers/IdeasNewSurveyPage/IdeasNewSurveyForm/utils.tsx:18
↓ 3 callers
Method
callback_phase
# Overridden method from OmniAuth::Strategy. This is the second step in the authentication process. It is called after the user enters credentials at
back/lib/omni_auth/strategies/azure_active_directory.rb:121
↓ 3 callers
Method
can_merge?
To make this method return false and so to reproduce merging error, you need: 1. Sign up with FranceConnect using the user with email wossewodda-3728@
back/engines/commercial/custom_id_methods/app/lib/custom_id_methods/franceconnect/franceconnect_omniauth.rb:131
↓ 3 callers
Method
chat_async
(prompt, **params)
back/engines/commercial/analysis/app/lib/analysis/LLM/base.rb:40
↓ 3 callers
Method
churn_datetime
(tenant)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/churned_tenant_service.rb:25
↓ 3 callers
Method
classify_all_inputs_in_background!
back/app/services/idea_feed/topic_classification_service.rb:57
↓ 3 callers
Function
cleanUp
()
front/cypress/e2e/admin/users/seat-billing.cy.ts:31
↓ 3 callers
Method
clean_ai_providers!
(app_configuration)
back/app/services/llm_selector.rb:118
↓ 3 callers
Function
clearClaimToken
()
front/app/utils/claimToken.ts:12
↓ 3 callers
Function
clearPointData
( mapView: MapView | null | undefined, setAddress?: (value: React.SetStateAction<Option>) => void )
front/app/components/CustomFieldsForm/Fields/MapField/pointUtils.tsx:62
↓ 3 callers
Function
clickSocialSharingLink
(href: string)
front/app/components/Sharing/utils.ts:37
↓ 3 callers
Function
close
()
front/app/components/PostShowComponents/Comments/CommentsSection/PublicComments/ParentCommentForm.tsx:134
↓ 3 callers
Function
closeDropdown
()
front/app/containers/Admin/projects/project/analysis/Tags/TagActions.tsx:56
↓ 3 callers
Method
compact_custom_field_values!
Removes all blank values from the values hash in place, except for `false` values, and returns self. @example compact_custom_field_values!({a: 1, b: '
back/app/services/custom_field_service.rb:59
↓ 3 callers
Function
computeDefaultDate
(tz?: string)
front/app/containers/Admin/projects/project/projectHeader/PublicationButtons/ScheduleLaunchModal/index.tsx:32
↓ 3 callers
Method
compute_rscore
(users)
back/engines/commercial/user_custom_fields/app/models/user_custom_fields/representativeness/binned_distribution.rb:45
↓ 3 callers
Method
configured_methods
(app_configuration)
back/app/services/id_method_service.rb:34
↓ 3 callers
Function
confirmSavedToProfile
()
front/cypress/e2e/native_survey/native_survey_permissions/permitted_by_everyone.cy.ts:60
↓ 3 callers
Function
constructFlatCustomFields
(rawCustomFields: ICustomFields)
front/app/api/custom_fields/constructFlatCustomFields.ts:15
↓ 3 callers
Method
content_type_allowlist
back/app/uploaders/avatar_uploader.rb:16
↓ 3 callers
Method
core_settings_json_schema
back/app/models/app_configuration.rb:54
↓ 3 callers
Function
countFilesWithStatus
( fileList: FileWithMeta[], status: UploadStatus )
front/app/containers/Admin/projects/project/files/components/FilesUpload/utils.ts:4
↓ 3 callers
Function
craftjson_with_iframe_url
(url)
back/engines/commercial/content_builder/spec/models/content_builder/layout_spec.rb:270
↓ 3 callers
Method
create
back/engines/commercial/analysis/app/controllers/analysis/web_api/v1/tags_controller.rb:41
↓ 3 callers
Function
createData
(offset: number)
front/app/containers/Admin/pagesAndMenu/containers/ContentBuilder/components/Widgets/_shared/ProjectCarrousel/ProjectCarrousel.stories.tsx:17
↓ 3 callers
Function
createProject
()
front/cypress/e2e/admin/smart_group_follow_input_selectors.cy.ts:35
↓ 3 callers
Function
createUsers
(createUserData: CreateUserType[])
front/cypress/e2e/admin/users/seat-billing.cy.ts:18
↓ 3 callers
Function
create_baskets_ideas
(basket, votes: [3, 2, 1])
back/spec/acceptance/baskets_ideas_spec.rb:314
↓ 3 callers
Function
create_campaign_params
(context)
back/engines/free/email_campaigns/spec/acceptance/campaigns_spec.rb:6
↓ 3 callers
Method
create_in_tenant_template!
(user_params)
back/app/services/user_service.rb:83
↓ 3 callers
Method
creation_phase_with_fallback
back/app/models/idea.rb:340
↓ 3 callers
Method
db_version
back/lib/gem_extensions/que/migrations.rb:13
↓ 3 callers
Function
defaultBinFunction
(birthYear: string)
front/app/utils/dataUtils/binAge.ts:40
↓ 3 callers
Function
deleteFollower
({ followerId }: FollowerDelete)
front/app/api/follow_unfollow/useDeleteFollower.ts:8
↓ 3 callers
Function
deleteProject
(projectName: string)
front/cypress/e2e/admin/spaces/sm_permissions.cy.ts:166
↓ 3 callers
Method
description
back/engines/commercial/mcp_server/app/lib/mcp_server/base_tool.rb:16
↓ 3 callers
Function
descriptorToOptionValue
(fieldDescriptor: FieldDescriptor)
front/app/modules/commercial/smart_groups/components/UserFilterConditions/FieldSelector.tsx:130
↓ 3 callers
Function
downloadSurveyResults
( locale: string, phase: IPhaseData )
front/app/api/survey_results/utils.ts:24
↓ 3 callers
Method
dragOver
( target: JQuery<HTMLElement>, options?: Partial<DropOptions> )
front/cypress/support/dnd.ts:15
← previous
next →
1,501–1,600 of 15,961, ranked by callers