MCPcopy Create free account

hub / github.com/CitizenLabDotCo/citizenlab / functions

Functions15,961 in github.com/CitizenLabDotCo/citizenlab

↓ 10 callersFunctionmakeQuestion
( id: string, inputType: string, rules: { goto_page_id: string }[] = [] )
front/app/components/FormBuilder/edit/utils.test.ts:237
↓ 10 callersMethodmanual?
back/engines/free/email_campaigns/app/models/email_campaigns/campaign.rb:181
↓ 10 callersFunctionmomentToIsoDate
(moment: Moment | null | undefined)
front/app/utils/dateUtils.ts:194
↓ 10 callersMethodnormal_user?
back/app/models/concerns/user_roles.rb:172
↓ 10 callersMethodon_every_hour
back/app/services/idea_feed/topic_modeling_scheduler.rb:23
↓ 10 callersFunctionparseMonths
( timeSeries: Row[], startAtMoment: Moment | null | undefined, endAtMoment: Moment | null, getDate: (r
front/app/components/admin/GraphCards/_utils/timeSeries.ts:56
↓ 10 callersFunctionparseWeeks
( timeSeries: Row[], startAtMoment: Moment | null | undefined, endAtMoment: Moment | null, getDate: (r
front/app/components/admin/GraphCards/_utils/timeSeries.ts:90
↓ 10 callersMethodpermission_scope
back/app/models/phase.rb:233
↓ 10 callersMethodpermitted_attributes_for_update
back/app/policies/user_policy.rb:114
↓ 10 callersMethodproject_folder
(args)
back/engines/commercial/admin_api/app/graphql/admin_api/types/query_type.rb:100
↓ 10 callersMethodpublished?
back/app/models/idea.rb:397
↓ 10 callersMethodrand_instance
Returns a random record from a relation @param scope [ActiveRecord::Relation] relation of why to pick a random entry from @return [ActiveRecord::Base]
back/engines/commercial/multi_tenancy/db/seeds/runner.rb:169
↓ 10 callersMethodreason_code
back/engines/commercial/flag_inappropriate_content/app/models/flag_inappropriate_content/inappropriate_content_flag.rb:42
↓ 10 callersMethodresolve
back/engines/commercial/analysis/app/policies/analysis/analysis_policy.rb:6
↓ 10 callersFunctionrun_task
(host: Tenant.current.host, num_users: 3, locale: 'fr-FR')
back/engines/commercial/multi_tenancy/spec/tasks/demos/create_n_fake_users_spec.rb:15
↓ 10 callersMethodsafe_switch_each
(scope: nil)
back/engines/commercial/multi_tenancy/app/models/tenant.rb:81
↓ 10 callersMethodsearch_ids_by_all_including_patches
(term)
back/engines/commercial/content_builder/app/models/content_builder/concerns/content_buildable.rb:74
↓ 10 callersMethodsecret
back/app/services/reset_password_service.rb:57
↓ 10 callersMethodshould_merge_user_fields_from_idea_into_user?
This function is used to check if user fields are asked on the last page of the form, and if so, if they should be merged into the user.
back/app/services/user_fields_in_form_service.rb:74
↓ 10 callersMethodshould_merge_user_fields_into_idea?
( current_user, phase, idea )
back/app/services/user_fields_in_form_service.rb:11
↓ 10 callersMethodsimilar_ideas
(scope: nil, limit: nil, title_threshold: 0.0, body_threshold: 0.0, embedded_attributes: DEFAULT_EMBEDDED_ATTR
back/app/services/similar_ideas_service.rb:10
↓ 10 callersMethodsuper_admin?
back/app/models/concerns/user_roles.rb:148
↓ 10 callersMethodtimeline_active
(project)
back/app/services/timeline_service.rb:55
↓ 10 callersFunctiontoBackendDateString
(date?: Date)
front/app/utils/dateUtils.ts:334
↓ 10 callersFunctiontoMultiloc
(message: MessageDescriptor)
front/app/containers/Admin/reporting/components/ReportBuilder/Toolbox/index.tsx:135
↓ 10 callersFunctiontrackPageChange
(path: string)
front/app/modules/commercial/matomo/actions.ts:31
↓ 10 callersMethodunfollow_url
(follower)
back/engines/free/frontend/app/services/frontend/url_service.rb:123
↓ 10 callersFunctionupdateUser
({ userId, ...requestBody }: IUserUpdate)
front/app/api/users/useUpdateUser.ts:19
↓ 10 callersFunctionuseAnalysisTags
(queryParams: ITagParams)
front/app/api/analysis_tags/useAnalysisTags.ts:17
↓ 10 callersFunctionuseFormatMessageWithLocale
()
front/app/utils/cl-intl/useFormatMessageWithLocale.ts:12
↓ 10 callersFunctionuseInfiniteAnalysisInputs
({ analysisId, queryParams, }: { analysisId: string; queryParams?: IInputsQueryParams; })
front/app/api/analysis_inputs/useInfiniteAnalysisInputs.ts:25
↓ 10 callersFunctionuseInfiniteIdeas
(queryParams: IIdeaQueryParameters)
front/app/api/ideas/useInfiniteIdeas.ts:23
↓ 10 callersFunctionuseUpdateAppConfiguration
()
front/app/api/app_configuration/useUpdateAppConfiguration.ts:18
↓ 10 callersFunctionuseUpdatePhase
()
front/app/api/phases/useUpdatePhase.ts:20
↓ 10 callersFunctionuseUserCustomField
(customFieldId?: string)
front/app/api/user_custom_fields/useUserCustomField.ts:15
↓ 10 callersMethodvisible_to_public?
back/app/models/custom_field.rb:216
↓ 9 callersFunctionaddPermissionsCustomField
({ adminJwt, phaseId, customFieldId, permission = 'posting_idea', }: { adminJwt?: string; phaseId:
front/cypress/support/permitted_by_utils.ts:123
↓ 9 callersMethodadd_member
(user)
back/app/models/group.rb:56
↓ 9 callersMethodadditional_export_columns
back/lib/voting_method/base.rb:37
↓ 9 callersMethodafter_update
(campaign, user)
back/engines/free/email_campaigns/app/services/email_campaigns/side_fx_campaign_service.rb:9
↓ 9 callersMethodafter_update
(layout, user)
back/engines/commercial/content_builder/app/services/content_builder/side_fx_layout_service.rb:19
↓ 9 callersMethodapprove!
@param [User] reviewer
back/app/models/project_review.rb:49
↓ 9 callersMethodargs
back/app/models/que_job.rb:47
↓ 9 callersMethodbanned?
(email)
back/app/models/email_ban.rb:32
↓ 9 callersMethodbilled_admins
back/app/controllers/web_api/v1/users_controller.rb:69
↓ 9 callersMethodconfigured?
Whether the method has been configured by the admin. @param [AppConfiguration] app_configuration @return [Boolean]
back/app/services/id_method_service.rb:45
↓ 9 callersMethodcounts_by_field_option
Counts the number of users by custom field option. The counts are indexed by the option key by default. The resulting hash also includes a special ent
back/engines/commercial/user_custom_fields/app/services/user_custom_fields/field_value_counter.rb:26
↓ 9 callersFunctioncreate_inactive_phase
(project, phase_options = {})
back/spec/services/timeline_service_spec.rb:359
↓ 9 callersFunctioncreate_token
(owner, application, **opts)
back/engines/commercial/mcp_server/spec/requests/mcp_authorizations_spec.rb:18
↓ 9 callersFunctioncreate_token
(owner, app, **opts)
back/engines/commercial/mcp_server/spec/policies/doorkeeper/application_policy_spec.rb:14
↓ 9 callersMethoddestroy
back/engines/free/email_campaigns/app/controllers/email_campaigns/web_api/v1/campaigns_controller.rb:93
↓ 9 callersMethoddestroy?
back/app/policies/user_policy.rb:64
↓ 9 callersMethodediting_disabled_reason_for_report
(report, current_user)
back/engines/commercial/report_builder/app/services/report_builder/permissions/report_permissions_service.rb:7
↓ 9 callersFunctionemptyDateRange
( startAtMoment: Moment | null | undefined, endAtMoment: Moment | null | undefined, resolution: IResolut
front/app/components/admin/GraphCards/_utils/timeSeries.ts:225
↓ 9 callersFunctionensureCorrectGrouping
()
front/cypress/e2e/report_builder/widgets/survey_question_widget.cy.ts:231
↓ 9 callersMethodfill
()
front/__mocks__/canvas.js:20
↓ 9 callersMethodfilter_participation_states
(scope, params = {})
back/app/services/projects_finder_admin_service.rb:282
↓ 9 callersMethodformat_all
(inputs, shorten_labels: false, **options)
back/engines/commercial/analysis/app/services/analysis/input_to_text.rb:46
↓ 9 callersMethodgenerate
(item)
back/app/services/claim_token_service.rb:8
↓ 9 callersMethodgenerate
(activity)
back/engines/commercial/webhooks/app/services/webhooks/payload_service.rb:5
↓ 9 callersMethodgenerate_for_visitor
(ip, user_agent)
back/app/services/visitor_hash_service.rb:12
↓ 9 callersFunctiongetPhaseVoteTermMessage
( phase: IPhaseData, voteTermMessages: { [key in VoteTerm]: MessageDescriptor } )
front/app/api/phases/utils.ts:153
↓ 9 callersFunctiongetShowFilters
({ isSmallerThanPhone, hasPublications, statusCounts, selectedTopics, selectedAreas, }: GetShowFilte
front/app/components/ProjectAndFolderCards/components/Topbar/show.ts:15
↓ 9 callersFunctionhandleProjectAttributeDiffOnChange
( projectAttributesDiff: IUpdatedProjectProperties, submitState: ISubmitState = 'enabled' )
front/app/containers/Admin/projects/project/general/setUp/index.tsx:185
↓ 9 callersMethodin_folder?
back/app/models/project.rb:259
↓ 9 callersMethodlocation_point_geojson
back/app/models/concerns/geo_json_helpers.rb:8
↓ 9 callersMethodmoderatable_folders
(user, scope = ProjectFolders::Folder)
back/app/services/user_role_service.rb:78
↓ 9 callersMethodmoderator?
back/engines/commercial/content_builder/app/policies/content_builder/layout_policy.rb:47
↓ 9 callersMethodmultiloc_with_fallback_locale
(record, attribute_name)
back/app/services/export/xlsx/utils.rb:72
↓ 9 callersMethodno_name?
back/app/models/user.rb:278
↓ 9 callersMethodother_option_text_field
(print_version: false)
back/app/models/custom_field.rb:276
↓ 9 callersMethodquery
(**_props)
back/engines/commercial/report_builder/app/services/report_builder/queries/analytics/base.rb:20
↓ 9 callersMethodrebalance_topics!
`rebalance_topics!` is supposed to be called periodically (every day or few days) to update the topics. It tries to keep the topics stable to some ext
back/app/services/idea_feed/topic_modeling_service.rb:15
↓ 9 callersMethodresolve
back/engines/free/polls/app/policies/polls/option_policy.rb:6
↓ 9 callersFunctionsanitizeForClassname
(val: string)
front/app/utils/JSONFormUtils.ts:18
↓ 9 callersFunctionshow
(type: ParticipationType)
front/app/containers/Admin/reporting/components/ReportBuilder/Widgets/ChartWidgets/ParticipationWidget/ParticipationCard/Narrow.tsx:32
↓ 9 callersFunctionstub_wijk_budget_api
(response, status: 200)
back/engines/commercial/custom_id_methods/spec/requests/acm_verification_spec.rb:121
↓ 9 callersMethodsupports_private_attributes_in_export?
back/lib/participation_method/base.rb:133
↓ 9 callersMethodsupports_submission?
back/lib/input_type_strategy/base.rb:13
↓ 9 callersMethodtaggings
back/engines/commercial/analysis/app/services/analysis/tag_stats.rb:62
↓ 9 callersFunctiontimeSeriesParser
( getDate: (row: Row) => Moment, parseRow: (date: Moment, row?: Row) => ParsedRow )
front/app/components/admin/GraphCards/_utils/timeSeries.ts:7
↓ 9 callersFunctiontime_at_hour
Returns a time at the specified hour in the app's timezone for today
back/spec/services/idea_feed/topic_modeling_scheduler_spec.rb:16
↓ 9 callersFunctiontoFullMonth
(date: string, resolution: IResolution)
front/app/utils/dateUtils.ts:230
↓ 9 callersFunctiontoThreeLetterMonth
(date: string, resolution: IResolution)
front/app/utils/dateUtils.ts:224
↓ 9 callersFunctionupdateAppConfiguration
( requestBody: IUpdatedAppConfigurationProperties )
front/app/api/app_configuration/useUpdateAppConfiguration.ts:9
↓ 9 callersFunctionupdateCustomPage
({ id, ...requestBody }: Partial<ICustomPageAttributes> & { id: string })
front/app/api/custom_pages/useUpdateCustomPage.ts:11
↓ 9 callersFunctionupdateProject
({ projectId, ...requestBody }: IUpdatedProjectProperties)
front/app/api/projects/useUpdateProject.ts:9
↓ 9 callersFunctionuseBasket
(id?: string)
front/app/api/baskets/useBasket.ts:12
↓ 9 callersFunctionuseComments
( parameters: ICommentParameters & ICommentQueryParameters, hasComments = true )
front/app/api/comments/useComments.ts:40
↓ 9 callersFunctionuseCraftComponentDefaultPadding
()
front/app/components/admin/ContentBuilder/__mocks__/useCraftComponentDefaultPadding.ts:3
↓ 9 callersFunctionuseIdMethods
()
front/app/api/id_methods/useIdMethods.ts:15
↓ 9 callersFunctionuseMapConfigById
(mapConfigId?: string | null)
front/app/api/map_config/useMapConfigById.ts:19
↓ 9 callersFunctionuseUpdateCustomPage
()
front/app/api/custom_pages/useUpdateCustomPage.ts:21
↓ 9 callersFunctionuseUpdateIdea
()
front/app/api/ideas/useUpdateIdea.ts:30
↓ 9 callersFunctionuseWordSection
( exportId: ExportId, serializer: WordSerializer, options: UseWordSectionOptions = {} )
front/app/containers/Admin/projects/project/insights/word/useWordSection.ts:65
↓ 9 callersMethodwith_preprocessed_file_content
(file, &)
back/app/services/files/llm_file_preprocessor.rb:12
↓ 8 callersMethodavailable_actions
(permission_scope)
back/app/models/permission.rb:71
↓ 8 callersMethodbefore_create
(tenant, current_user = nil)
back/engines/commercial/multi_tenancy/app/services/multi_tenancy/side_fx_tenant_service.rb:7
↓ 8 callersMethodbefore_update
(idea, user)
back/engines/commercial/idea_assignment/app/services/idea_assignment/patches/side_fx_idea_service.rb:6
↓ 8 callersMethodblocked?
back/app/models/user.rb:302
← previousnext →601–700 of 15,961, ranked by callers