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
↓ 6 callers
Method
campaign_classes
back/engines/free/email_campaigns/app/services/email_campaigns/delivery_service.rb:62
↓ 6 callers
Method
check_transcript_status
Check transcript status and update if completed (used by background job) @param transcript [Files::Transcript] Transcript record to check @return [Fil
back/app/services/files/transcript_service.rb:66
↓ 6 callers
Method
classify_parallel_batch
Classifies multiple ideas in parallel. LLM requests are parallelized, but database operations are kept sequential. Returns a hash of { idea => selecte
back/app/services/idea_feed/topic_classification_service.rb:29
↓ 6 callers
Function
close
()
front/app/components/admin/InternalComments/InternalParentCommentForm.tsx:133
↓ 6 callers
Method
column_header
back/app/services/export/custom_field_for_export.rb:15
↓ 6 callers
Function
configure_locales
(locales)
back/spec/tasks/single_use/replace_de_de_content_builder_layout_multilocs_with_de_at_task_spec.rb:18
↓ 6 callers
Function
convertGeojsonToWKT
(rawData: any)
front/app/components/CustomFieldsForm/Fields/MapField/multiPointUtils.tsx:396
↓ 6 callers
Function
convertToGraphqlLocale
(locale: SupportedLocale)
front/app/utils/helperUtils.ts:112
↓ 6 callers
Function
convertWKTToGeojson
(rawData: any)
front/app/components/CustomFieldsForm/Fields/MapField/multiPointUtils.tsx:426
↓ 6 callers
Method
create
back/engines/free/onboarding/app/controllers/onboarding/web_api/v1/campaign_dismissals_controller.rb:9
↓ 6 callers
Method
create
back/engines/free/email_campaigns/app/controllers/email_campaigns/hooks/mailgun_events_controller.rb:23
↓ 6 callers
Method
create
@param [Object] tenant The tenant to create a template from. @param [String] prefix The S3 prefix to use for the template.
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/templates/create_service.rb:41
↓ 6 callers
Function
createEditor
(htmlContent: string)
front/app/components/UI/QuillEditor/utils.test.ts:12
↓ 6 callers
Function
createMatchMedia
(width: number)
front/app/component-library/hooks/useBreakpoint.test.ts:7
↓ 6 callers
Method
current_ref_distribution
back/engines/commercial/user_custom_fields/app/models/user_custom_fields/patches/custom_field.rb:25
↓ 6 callers
Method
custom_field
back/engines/commercial/user_custom_fields/app/controllers/user_custom_fields/web_api/v1/stats_users_controller.rb:59
↓ 6 callers
Method
deleted?
back/engines/commercial/flag_inappropriate_content/app/models/flag_inappropriate_content/inappropriate_content_flag.rb:32
↓ 6 callers
Method
destroy
back/engines/commercial/admin_api/app/controllers/admin_api/tenants_controller.rb:54
↓ 6 callers
Function
determinePreviousPageNumber
({ userNavigationHistory, currentPageIndex, }: { userNavigationHistory: number[]; currentPageIndex: nu
front/app/components/CustomFieldsForm/SurveyForm/logic.ts:149
↓ 6 callers
Method
enqueue_job
(file)
back/app/services/files/description_generator.rb:124
↓ 6 callers
Method
event_type
(activity)
back/engines/commercial/webhooks/app/services/webhooks/payload_service.rb:22
↓ 6 callers
Method
everyone_tracking_enabled?
back/app/models/permission.rb:110
↓ 6 callers
Method
execute
back/engines/commercial/analysis/app/lib/analysis/auto_tagging_method/base.rb:78
↓ 6 callers
Method
extract
Orders textual (text & title) multilocs found in the craftjs by how they appear in the layout, so that columns are ordered from left to right, and tex
back/engines/commercial/content_builder/app/services/content_builder/craftjs/visible_textual_multilocs.rb:15
↓ 6 callers
Method
fields_to_json_schema
(fields, locale = 'en')
back/app/services/custom_field_service.rb:19
↓ 6 callers
Method
filter_visibility
Filter projects by visibility (access rights)
back/app/services/projects_finder_admin_service.rb:358
↓ 6 callers
Method
find_or_create_project
(current_user)
back/app/services/community_monitor_service.rb:26
↓ 6 callers
Method
finished_or_archived
Returns ActiveRecord collection of projects that are either (finished OR have a last phase that contains a report) OR are archived, ordered by last ph
back/app/services/projects_finder_service.rb:147
↓ 6 callers
Method
follow_up_text_field
back/app/models/custom_field.rb:296
↓ 6 callers
Method
followed_by_user
Returns an ActiveRecord collection of published projects that are also followed by user OR relate to an idea, area, topic or folder followed by user,
back/app/services/projects_finder_service.rb:74
↓ 6 callers
Method
format
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/exporters/base_form_exporter.rb:17
↓ 6 callers
Method
full_name
back/engines/commercial/content_builder/config/initializers/pg_search.rb:12
↓ 6 callers
Method
full_url
back/app/uploaders/base_uploader.rb:36
↓ 6 callers
Function
generateOptions
(n: number)
front/app/components/admin/Representativeness/Field/Options/Options.test.tsx:8
↓ 6 callers
Function
generateTemporaryFileAttachment
({ fileId, attachableId, attachableType, position, }: GenerateTemporaryFileAttachmentParams)
front/app/utils/fileUtils.ts:191
↓ 6 callers
Method
generate_res_stats_xlsx
(serie, resource_name, grouped_by)
back/app/services/xlsx_service.rb:115
↓ 6 callers
Function
getAverageValue
( groupAnswers: SentimentAnswers, groupAnswersArray?: ReturnType<typeof transformGroupedAnswerUsableArray>
front/app/components/admin/FormResults/FormResultsQuestion/SentimentQuestion/components/GroupedSentimentScore/utils.ts:26
↓ 6 callers
Function
getBase64FromFile
(file: File)
front/app/utils/fileUtils.ts:33
↓ 6 callers
Function
getConsent
()
front/app/components/ConsentManager/consent.ts:19
↓ 6 callers
Function
getDate
(row: TimeSeriesResponseRow)
front/app/components/admin/GraphCards/_utils/timeSeries.test.ts:43
↓ 6 callers
Function
getDateFilter
( filter: string, startAtMoment: Moment | null | undefined, endAtMoment: Moment | null | undefined )
front/app/components/admin/GraphCards/_utils/query.ts:27
↓ 6 callers
Function
getFirstDateInData
( responseTimeSeries: Row[], getDate: (row: Row) => Moment )
front/app/components/admin/GraphCards/_utils/timeSeries.ts:175
↓ 6 callers
Function
getLastDateInData
( responseTimeSeries: Row[], getDate: (row: Row) => Moment )
front/app/components/admin/GraphCards/_utils/timeSeries.ts:187
↓ 6 callers
Function
getOrigin
()
front/app/utils/storybook/getOrigin.ts:1
↓ 6 callers
Function
getPreciseOffsetInWeeks
( timelineStart: Date, eventStart: Date )
front/app/components/UI/GanttChart/utils.ts:194
↓ 6 callers
Function
getProjectId
(path: string)
front/app/modules/commercial/matomo/getProjectId.ts:52
↓ 6 callers
Function
getPublishedAtFromFilter
( yearParam: string | undefined, quarterParam: Quarter | undefined )
front/app/components/admin/FormResults/FormResultsQuestion/TextQuestion/Analysis/utils.ts:97
↓ 6 callers
Function
getPublishedAtToFilter
( yearParam: string | undefined, quarterParam: Quarter | undefined )
front/app/components/admin/FormResults/FormResultsQuestion/TextQuestion/Analysis/utils.ts:118
↓ 6 callers
Function
getShapeSymbol
({ shape, color, outlineColor, outlineWidth, sizeInPx, }: SimpleShapeProps)
front/app/components/EsriMap/utils.tsx:270
↓ 6 callers
Function
getSubmitAction
( formValues: FormValues, remoteFormValues?: RemoteFormValues )
front/app/utils/representativeness/form.ts:39
↓ 6 callers
Function
getTimePeriodTranslations
( formatMessage: FormatMessage )
front/app/components/admin/GraphCards/_utils/resolution.ts:14
↓ 6 callers
Function
getTimeRangeDates
( range: TimeRangeOption, today: Date )
front/app/components/UI/GanttChart/utils.ts:242
↓ 6 callers
Method
handle
(_error_class = nil)
back/lib/error_reporter.rb:10
↓ 6 callers
Function
hasNoData
(data: any)
front/app/components/admin/Graphs/utils.ts:15
↓ 6 callers
Method
ic_schedule
back/engines/free/email_campaigns/app/models/concerns/email_campaigns/schedulable.rb:23
↓ 6 callers
Method
identify_user
(user)
back/engines/commercial/posthog_integration/app/services/posthog_integration/track_posthog_service.rb:8
↓ 6 callers
Method
index
back/engines/free/email_campaigns/app/controllers/email_campaigns/web_api/v1/consents_controller.rb:9
↓ 6 callers
Method
internal_comment
back/app/services/notifications/internal_comments/base_notification_builder.rb:31
↓ 6 callers
Method
intro_multiloc
back/engines/free/email_campaigns/app/models/concerns/email_campaigns/content_configurable.rb:38
↓ 6 callers
Function
isLastIdMethod
( idMethodName: IdMethodName, idMethods: IdMethodData[] )
front/app/api/id_methods/util.ts:3
↓ 6 callers
Function
isPhaseActive
(phase: IPhaseData)
front/app/utils/projectUtils.ts:15
↓ 6 callers
Function
isRuleValid
( rule: QuestionRuleType | undefined, fieldBeingValidatedId: string, fields: IFlatCustomField[] )
front/app/utils/yup/validateLogic.ts:7
↓ 6 callers
Method
key_mapping
Returns a Hash mapping schema keys back to original field identifiers Built as a side effect of output_schema construction
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/pdf/form_sync_schema_builder.rb:21
↓ 6 callers
Method
llm
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/pdf/llm_form_parser.rb:113
↓ 6 callers
Method
manual_campaign_types
back/engines/free/email_campaigns/app/services/email_campaigns/delivery_service.rb:74
↓ 6 callers
Method
mark
Mark claim tokens for a user. Sets `pending_claimer_id` so tokens can be claimed after email confirmation. @param user [User, String] the user to mark
back/app/services/claim_token_service.rb:19
↓ 6 callers
Method
monolingual
Returns the monolingual locale from the app_configuration if there is only one locale configured, otherwise nil
back/lib/locale.rb:12
↓ 6 callers
Method
no_password?
User has no password
back/app/models/user.rb:294
↓ 6 callers
Method
normalize
(card_id)
back/engines/commercial/custom_id_methods/app/services/custom_id_methods/id_card_lookup/id_card_service.rb:9
↓ 6 callers
Function
onAction
(action: Action)
front/app/components/admin/UsersTable/ActionsMenu/index.tsx:69
↓ 6 callers
Function
onClose
()
front/app/components/ConsentManager/ConsentManagerModal/index.tsx:95
↓ 6 callers
Function
onMouseOut
()
front/app/components/admin/GraphCards/DeviceTypesCard/index.tsx:37
↓ 6 callers
Function
onMouseOver
({ rowIndex })
front/app/components/admin/GraphCards/DeviceTypesCard/index.tsx:33
↓ 6 callers
Function
onSelectedLocaleChange
(selectedLocale: SupportedLocale)
front/app/containers/Admin/projects/project/poll/PollAnswerOptions/OptionFormRow.tsx:64
↓ 6 callers
Function
parseStats
( data: RegistrationsResponse['data']['attributes'] )
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/RegistrationsWidget/useRegistrations/parse.ts:5
↓ 6 callers
Function
parseStats
( data: ParticipantsResponse['data']['attributes'] )
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/ParticipantsWidget/useParticipants/parse.ts:5
↓ 6 callers
Method
parse_idea
Return in format compatible with idea_to_idea_row
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/pdf/llm_form_parser.rb:12
↓ 6 callers
Method
plan
(question)
back/engines/commercial/analysis/app/lib/analysis/q_and_a_method/base.rb:17
↓ 6 callers
Method
possible?
back/engines/commercial/analysis/app/lib/analysis/q_and_a_plan.rb:34
↓ 6 callers
Method
preview
back/engines/free/email_campaigns/app/controllers/email_campaigns/web_api/v1/campaigns_controller.rb:120
↓ 6 callers
Method
process_custom_form_fields
Processes all fields - including built in fields @param [Array<Hash>] merged_fields - pre-merged fields from the parser @param [Hash] idea_row - the i
back/engines/commercial/bulk_import_ideas/app/services/bulk_import_ideas/parsers/idea_row_mapper.rb:117
↓ 6 callers
Method
project_participants_count_uncached
(project)
back/app/services/participants_service.rb:91
↓ 6 callers
Method
public_post?
back/app/models/idea_status.rb:50
↓ 6 callers
Method
reactable_type
(reaction)
back/app/services/side_fx_reaction_service.rb:21
↓ 6 callers
Method
recipients
(project)
back/app/models/notifications/project_published.rb:76
↓ 6 callers
Function
regFieldToIncludedUsers
( usersByField: IUsersByCustomField )
front/app/hooks/parseReferenceData.ts:115
↓ 6 callers
Function
renderRow
()
front/app/containers/Admin/projects/all/Projects/Table/Row.test.tsx:62
↓ 6 callers
Method
render_data_images
Replaces references to image models in the content by actual image data.
back/app/services/content_image_service.rb:122
↓ 6 callers
Function
replacePathnameLocale
( pathname: string, locale: SupportedLocale, search?: string )
front/app/utils/replacePathnameLocale.ts:10
↓ 6 callers
Function
reportShouldBeVisible
()
front/cypress/e2e/report_builder/phase_report.cy.ts:170
↓ 6 callers
Method
response_body
back/config/initializers/rspec_api_documentation.rb:18
↓ 6 callers
Method
search
(inputs)
back/engines/commercial/analysis/app/services/analysis/inputs_finder.rb:113
↓ 6 callers
Function
setLoadingState
( type: 'deleting' | 'copying', isLoading: boolean )
front/app/containers/Admin/projects/_shared/components/ProjectRow/ProjectMoreActionsMenu.tsx:74
↓ 6 callers
Function
show
(type: ParticipationType)
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/ParticipationWidget/ParticipationCard/Wide.tsx:42
↓ 6 callers
Method
sort_ideas
rubocop:disable Metrics/CyclomaticComplexity
back/app/services/sort_by_params_service.rb:9
↓ 6 callers
Method
state
back/app/models/project_review.rb:44
↓ 6 callers
Function
stripHtml
(html: string, maxLength?: number)
front/app/utils/textUtils.ts:20
↓ 6 callers
Method
supports_multiple_selection?
back/lib/input_type_strategy/base.rb:57
↓ 6 callers
Function
switchLocale
(locale: string)
front/cypress/e2e/project_description_builder/language_switch.cy.ts:7
↓ 6 callers
Method
tenant
Returns the corresponding tenant. @return [Tenant]
back/engines/commercial/multi_tenancy/app/models/multi_tenancy/extensions/app_configuration.rb:20
← previous
next →
901–1,000 of 15,961, ranked by callers