Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
97d4d926
Commit
97d4d926
authored
Dec 10, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
cfc792b9
Changes
98
Hide whitespace changes
Inline
Side-by-side
Showing
98 changed files
with
194 additions
and
118 deletions
+194
-118
app/assets/javascripts/performance_bar/components/request_selector.vue
...vascripts/performance_bar/components/request_selector.vue
+1
-1
app/assets/javascripts/performance_bar/components/request_warning.vue
...avascripts/performance_bar/components/request_warning.vue
+1
-1
app/assets/javascripts/pipelines/components/graph/job_item.vue
...ssets/javascripts/pipelines/components/graph/job_item.vue
+1
-1
app/assets/javascripts/pipelines/components/pipeline_stop_modal.vue
.../javascripts/pipelines/components/pipeline_stop_modal.vue
+1
-1
app/assets/javascripts/project_find_file.js
app/assets/javascripts/project_find_file.js
+1
-1
app/assets/javascripts/projects/tree/components/commit_pipeline_status_component.vue
...ects/tree/components/commit_pipeline_status_component.vue
+1
-1
app/assets/javascripts/releases/list/components/evidence_block.vue
...s/javascripts/releases/list/components/evidence_block.vue
+1
-1
app/assets/javascripts/releases/list/components/release_block_footer.vue
...scripts/releases/list/components/release_block_footer.vue
+1
-1
app/assets/javascripts/reports/components/report_item.vue
app/assets/javascripts/reports/components/report_item.vue
+1
-1
app/assets/javascripts/reports/components/summary_row.vue
app/assets/javascripts/reports/components/summary_row.vue
+1
-1
app/assets/javascripts/repository/log_tree.js
app/assets/javascripts/repository/log_tree.js
+1
-1
app/assets/javascripts/serverless/components/area.vue
app/assets/javascripts/serverless/components/area.vue
+1
-1
app/assets/javascripts/serverless/components/functions.vue
app/assets/javascripts/serverless/components/functions.vue
+1
-1
app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue
...javascripts/set_status_modal/set_status_modal_wrapper.vue
+2
-2
app/assets/javascripts/sidebar/components/assignees/assignee_avatar_link.vue
...pts/sidebar/components/assignees/assignee_avatar_link.vue
+1
-1
app/assets/javascripts/sidebar/components/assignees/collapsed_assignee_list.vue
.../sidebar/components/assignees/collapsed_assignee_list.vue
+1
-1
app/assets/javascripts/sidebar/components/lock/edit_form_buttons.vue
...javascripts/sidebar/components/lock/edit_form_buttons.vue
+1
-1
app/assets/javascripts/sidebar/components/participants/participants.vue
...ascripts/sidebar/components/participants/participants.vue
+1
-1
app/assets/javascripts/sidebar/components/time_tracking/comparison_pane.vue
...ipts/sidebar/components/time_tracking/comparison_pane.vue
+1
-1
app/assets/javascripts/sidebar/components/todo_toggle/todo.vue
...ssets/javascripts/sidebar/components/todo_toggle/todo.vue
+1
-1
app/assets/javascripts/sidebar/sidebar_mediator.js
app/assets/javascripts/sidebar/sidebar_mediator.js
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/deployment/deployment_stop_button.vue
...t_widget/components/deployment/deployment_stop_button.vue
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/mr_widget_pipeline.vue
...ue_merge_request_widget/components/mr_widget_pipeline.vue
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_merged.vue
...rge_request_widget/components/states/mr_widget_merged.vue
+1
-1
app/assets/javascripts/vue_merge_request_widget/components/states/ready_to_merge.vue
...merge_request_widget/components/states/ready_to_merge.vue
+1
-1
app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue
...avascripts/vue_merge_request_widget/mr_widget_options.vue
+3
-3
app/assets/javascripts/vue_shared/components/content_viewer/viewers/markdown_viewer.vue
...red/components/content_viewer/viewers/markdown_viewer.vue
+2
-2
app/assets/javascripts/vue_shared/components/dropdown/dropdown_button.vue
...cripts/vue_shared/components/dropdown/dropdown_button.vue
+1
-1
app/assets/javascripts/vue_shared/components/gl_countdown.vue
...assets/javascripts/vue_shared/components/gl_countdown.vue
+1
-1
app/assets/javascripts/vue_shared/components/markdown/suggestion_diff_header.vue
...vue_shared/components/markdown/suggestion_diff_header.vue
+1
-1
app/assets/javascripts/vue_shared/components/memory_graph.vue
...assets/javascripts/vue_shared/components/memory_graph.vue
+1
-1
app/assets/javascripts/vue_shared/components/modal_copy_button.vue
...s/javascripts/vue_shared/components/modal_copy_button.vue
+1
-1
app/assets/javascripts/vue_shared/components/notes/system_note.vue
...s/javascripts/vue_shared/components/notes/system_note.vue
+1
-1
app/assets/javascripts/vue_shared/components/project_avatar/image.vue
...avascripts/vue_shared/components/project_avatar/image.vue
+1
-1
app/assets/javascripts/vue_shared/components/project_selector/project_list_item.vue
..._shared/components/project_selector/project_list_item.vue
+1
-1
app/assets/javascripts/vue_shared/components/resizable_chart/resizable_chart_container.vue
.../components/resizable_chart/resizable_chart_container.vue
+1
-1
app/assets/javascripts/vue_shared/components/sidebar/labels_select/base.vue
...ipts/vue_shared/components/sidebar/labels_select/base.vue
+1
-1
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+3
-0
app/assets/stylesheets/utilities.scss
app/assets/stylesheets/utilities.scss
+17
-0
bin/secpick
bin/secpick
+39
-8
changelogs/unreleased/bvl-allow-moving-forked-projects-across-shards.yml
...leased/bvl-allow-moving-forked-projects-across-shards.yml
+5
-0
db/migrate/20191206122926_update_index_for_pool_repositories.rb
...rate/20191206122926_update_index_for_pool_repositories.rb
+24
-0
db/schema.rb
db/schema.rb
+2
-2
spec/frontend/admin/statistics_panel/components/app_spec.js
spec/frontend/admin/statistics_panel/components/app_spec.js
+1
-1
spec/frontend/autosave_spec.js
spec/frontend/autosave_spec.js
+1
-1
spec/frontend/behaviors/markdown/render_metrics_spec.js
spec/frontend/behaviors/markdown/render_metrics_spec.js
+1
-1
spec/frontend/boards/components/issue_time_estimate_spec.js
spec/frontend/boards/components/issue_time_estimate_spec.js
+1
-1
spec/frontend/clusters/clusters_bundle_spec.js
spec/frontend/clusters/clusters_bundle_spec.js
+4
-4
spec/frontend/clusters/components/application_row_spec.js
spec/frontend/clusters/components/application_row_spec.js
+1
-1
spec/frontend/clusters/components/applications_spec.js
spec/frontend/clusters/components/applications_spec.js
+2
-2
spec/frontend/clusters/components/uninstall_application_confirmation_modal_spec.js
...mponents/uninstall_application_confirmation_modal_spec.js
+1
-1
spec/frontend/commit/commit_pipeline_status_component_spec.js
.../frontend/commit/commit_pipeline_status_component_spec.js
+1
-1
spec/frontend/contributors/component/contributors_spec.js
spec/frontend/contributors/component/contributors_spec.js
+1
-1
spec/frontend/contributors/store/actions_spec.js
spec/frontend/contributors/store/actions_spec.js
+1
-1
spec/frontend/create_cluster/eks_cluster/components/cluster_form_dropdown_spec.js
...ster/eks_cluster/components/cluster_form_dropdown_spec.js
+1
-1
spec/frontend/create_cluster/eks_cluster/services/aws_services_facade_spec.js
..._cluster/eks_cluster/services/aws_services_facade_spec.js
+1
-1
spec/frontend/create_cluster/eks_cluster/store/actions_spec.js
...frontend/create_cluster/eks_cluster/store/actions_spec.js
+1
-1
spec/frontend/create_merge_request_dropdown_spec.js
spec/frontend/create_merge_request_dropdown_spec.js
+1
-1
spec/frontend/error_tracking/components/error_tracking_list_spec.js
...end/error_tracking/components/error_tracking_list_spec.js
+1
-1
spec/frontend/error_tracking/store/details/actions_spec.js
spec/frontend/error_tracking/store/details/actions_spec.js
+1
-1
spec/frontend/error_tracking/store/list/actions_spec.js
spec/frontend/error_tracking/store/list/actions_spec.js
+1
-1
spec/frontend/error_tracking_settings/components/app_spec.js
spec/frontend/error_tracking_settings/components/app_spec.js
+1
-1
spec/frontend/error_tracking_settings/mock.js
spec/frontend/error_tracking_settings/mock.js
+1
-1
spec/frontend/grafana_integration/components/grafana_integration_spec.js
...rafana_integration/components/grafana_integration_spec.js
+1
-1
spec/frontend/import_projects/components/imported_project_table_row_spec.js
...rt_projects/components/imported_project_table_row_spec.js
+1
-1
spec/frontend/import_projects/store/actions_spec.js
spec/frontend/import_projects/store/actions_spec.js
+2
-2
spec/frontend/issuables_list/components/issuables_list_app_spec.js
...tend/issuables_list/components/issuables_list_app_spec.js
+1
-1
spec/frontend/lib/utils/suppress_ajax_errors_during_navigation_spec.js
.../lib/utils/suppress_ajax_errors_during_navigation_spec.js
+1
-1
spec/javascripts/feature_highlight/feature_highlight_helper_spec.js
...cripts/feature_highlight/feature_highlight_helper_spec.js
+1
-2
spec/javascripts/feature_highlight/feature_highlight_spec.js
spec/javascripts/feature_highlight/feature_highlight_spec.js
+1
-1
spec/javascripts/filtered_search/visual_token_value_spec.js
spec/javascripts/filtered_search/visual_token_value_spec.js
+1
-1
spec/javascripts/frequent_items/components/app_spec.js
spec/javascripts/frequent_items/components/app_spec.js
+2
-2
spec/javascripts/frequent_items/components/frequent_items_list_item_spec.js
...requent_items/components/frequent_items_list_item_spec.js
+1
-1
spec/javascripts/frequent_items/components/frequent_items_list_spec.js
...pts/frequent_items/components/frequent_items_list_spec.js
+1
-1
spec/javascripts/frequent_items/components/frequent_items_search_input_spec.js
...uent_items/components/frequent_items_search_input_spec.js
+1
-1
spec/javascripts/gpg_badges_spec.js
spec/javascripts/gpg_badges_spec.js
+1
-1
spec/javascripts/groups/components/group_item_spec.js
spec/javascripts/groups/components/group_item_spec.js
+1
-1
spec/javascripts/groups/components/groups_spec.js
spec/javascripts/groups/components/groups_spec.js
+1
-1
spec/javascripts/groups/components/item_actions_spec.js
spec/javascripts/groups/components/item_actions_spec.js
+1
-1
spec/javascripts/groups/components/item_caret_spec.js
spec/javascripts/groups/components/item_caret_spec.js
+1
-2
spec/javascripts/groups/components/item_stats_spec.js
spec/javascripts/groups/components/item_stats_spec.js
+1
-1
spec/javascripts/groups/components/item_stats_value_spec.js
spec/javascripts/groups/components/item_stats_value_spec.js
+1
-2
spec/javascripts/groups/components/item_type_icon_spec.js
spec/javascripts/groups/components/item_type_icon_spec.js
+1
-1
spec/javascripts/helpers/init_vue_mr_page_helper.js
spec/javascripts/helpers/init_vue_mr_page_helper.js
+1
-1
spec/javascripts/importer_status_spec.js
spec/javascripts/importer_status_spec.js
+1
-1
spec/javascripts/issue_show/components/app_spec.js
spec/javascripts/issue_show/components/app_spec.js
+2
-2
spec/javascripts/issue_show/components/description_spec.js
spec/javascripts/issue_show/components/description_spec.js
+1
-1
spec/javascripts/sidebar/assignee_title_spec.js
spec/javascripts/sidebar/assignee_title_spec.js
+1
-1
spec/javascripts/sidebar/components/time_tracking/time_tracker_spec.js
...pts/sidebar/components/time_tracking/time_tracker_spec.js
+1
-2
spec/javascripts/sidebar/lock/edit_form_buttons_spec.js
spec/javascripts/sidebar/lock/edit_form_buttons_spec.js
+1
-1
spec/javascripts/sidebar/lock/lock_issue_sidebar_spec.js
spec/javascripts/sidebar/lock/lock_issue_sidebar_spec.js
+1
-1
spec/javascripts/sidebar/participants_spec.js
spec/javascripts/sidebar/participants_spec.js
+1
-1
spec/javascripts/sidebar/sidebar_assignees_spec.js
spec/javascripts/sidebar/sidebar_assignees_spec.js
+1
-1
spec/javascripts/sidebar/sidebar_subscriptions_spec.js
spec/javascripts/sidebar/sidebar_subscriptions_spec.js
+1
-1
spec/javascripts/sidebar/subscriptions_spec.js
spec/javascripts/sidebar/subscriptions_spec.js
+2
-2
spec/javascripts/smart_interval_spec.js
spec/javascripts/smart_interval_spec.js
+1
-1
spec/javascripts/test_bundle.js
spec/javascripts/test_bundle.js
+1
-1
spec/javascripts/vuex_shared/modules/modal/actions_spec.js
spec/javascripts/vuex_shared/modules/modal/actions_spec.js
+1
-1
No files found.
app/assets/javascripts/performance_bar/components/request_selector.vue
View file @
97d4d926
<
script
>
import
{
GlPopover
}
from
'
@gitlab/ui
'
;
import
{
glEmojiTag
}
from
'
~/emoji
'
;
import
{
n__
}
from
'
~/locale
'
;
import
{
GlPopover
}
from
'
@gitlab/ui
'
;
export
default
{
components
:
{
...
...
app/assets/javascripts/performance_bar/components/request_warning.vue
View file @
97d4d926
<
script
>
import
{
glEmojiTag
}
from
'
~/emoji
'
;
import
{
GlPopover
}
from
'
@gitlab/ui
'
;
import
{
glEmojiTag
}
from
'
~/emoji
'
;
export
default
{
components
:
{
...
...
app/assets/javascripts/pipelines/components/graph/job_item.vue
View file @
97d4d926
<
script
>
import
{
GlTooltipDirective
,
GlLink
}
from
'
@gitlab/ui
'
;
import
ActionComponent
from
'
./action_component.vue
'
;
import
JobNameComponent
from
'
./job_name_component.vue
'
;
import
{
GlTooltipDirective
,
GlLink
}
from
'
@gitlab/ui
'
;
import
{
sprintf
}
from
'
~/locale
'
;
import
delayedJobMixin
from
'
~/jobs/mixins/delayed_job_mixin
'
;
...
...
app/assets/javascripts/pipelines/components/pipeline_stop_modal.vue
View file @
97d4d926
<
script
>
import
_
from
'
underscore
'
;
import
DeprecatedModal2
from
'
~/vue_shared/components/deprecated_modal_2.vue
'
;
import
{
GlLink
}
from
'
@gitlab/ui
'
;
import
DeprecatedModal2
from
'
~/vue_shared/components/deprecated_modal_2.vue
'
;
import
ClipboardButton
from
'
~/vue_shared/components/clipboard_button.vue
'
;
import
CiIcon
from
'
~/vue_shared/components/ci_icon.vue
'
;
import
{
s__
,
sprintf
}
from
'
~/locale
'
;
...
...
app/assets/javascripts/project_find_file.js
View file @
97d4d926
...
...
@@ -2,10 +2,10 @@
import
$
from
'
jquery
'
;
import
fuzzaldrinPlus
from
'
fuzzaldrin-plus
'
;
import
sanitize
from
'
sanitize-html
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
flash
from
'
~/flash
'
;
import
{
__
}
from
'
~/locale
'
;
import
sanitize
from
'
sanitize-html
'
;
// highlight text(awefwbwgtc -> <b>a</b>wefw<b>b</b>wgt<b>c</b> )
const
highlighter
=
function
(
element
,
text
,
matches
)
{
...
...
app/assets/javascripts/projects/tree/components/commit_pipeline_status_component.vue
View file @
97d4d926
<
script
>
import
Visibility
from
'
visibilityjs
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
ciIcon
from
'
~/vue_shared/components/ci_icon.vue
'
;
import
Poll
from
'
~/lib/utils/poll
'
;
import
Flash
from
'
~/flash
'
;
import
{
__
,
s__
,
sprintf
}
from
'
~/locale
'
;
import
tooltip
from
'
~/vue_shared/directives/tooltip
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
CommitPipelineService
from
'
../services/commit_pipeline_service
'
;
export
default
{
...
...
app/assets/javascripts/releases/list/components/evidence_block.vue
View file @
97d4d926
<
script
>
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
{
GlLink
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
{
truncateSha
}
from
'
~/lib/utils/text_utility
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
ClipboardButton
from
'
~/vue_shared/components/clipboard_button.vue
'
;
...
...
app/assets/javascripts/releases/list/components/release_block_footer.vue
View file @
97d4d926
<
script
>
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
GlTooltipDirective
,
GlLink
}
from
'
@gitlab/ui
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
UserAvatarLink
from
'
~/vue_shared/components/user_avatar/user_avatar_link.vue
'
;
import
timeagoMixin
from
'
~/vue_shared/mixins/timeago
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
...
...
app/assets/javascripts/reports/components/report_item.vue
View file @
97d4d926
<
script
>
import
IssueStatusIcon
from
'
~/reports/components/issue_status_icon.vue
'
;
import
{
components
,
componentNames
}
from
'
ee_else_ce/reports/components/issue_body
'
;
import
IssueStatusIcon
from
'
~/reports/components/issue_status_icon.vue
'
;
export
default
{
name
:
'
ReportItem
'
,
...
...
app/assets/javascripts/reports/components/summary_row.vue
View file @
97d4d926
<
script
>
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
CiIcon
from
'
~/vue_shared/components/ci_icon.vue
'
;
import
Popover
from
'
~/vue_shared/components/help_popover.vue
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
/**
* Renders the summary row for each report
...
...
app/assets/javascripts/repository/log_tree.js
View file @
97d4d926
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
normalizeData
}
from
'
ee_else_ce/repository/utils/commit
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
getCommits
from
'
./queries/getCommits.query.graphql
'
;
import
getProjectPath
from
'
./queries/getProjectPath.query.graphql
'
;
import
getRef
from
'
./queries/getRef.query.graphql
'
;
...
...
app/assets/javascripts/serverless/components/area.vue
View file @
97d4d926
<
script
>
import
{
GlAreaChart
}
from
'
@gitlab/ui/dist/charts
'
;
import
{
debounceByAnimationFrame
}
from
'
~/lib/utils/common_utils
'
;
import
dateFormat
from
'
dateformat
'
;
import
{
debounceByAnimationFrame
}
from
'
~/lib/utils/common_utils
'
;
import
{
X_INTERVAL
}
from
'
../constants
'
;
import
{
validateGraphData
}
from
'
../utils
'
;
import
{
__
}
from
'
~/locale
'
;
...
...
app/assets/javascripts/serverless/components/functions.vue
View file @
97d4d926
<
script
>
import
{
sprintf
,
s__
}
from
'
~/locale
'
;
import
{
mapState
,
mapActions
,
mapGetters
}
from
'
vuex
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
sprintf
,
s__
}
from
'
~/locale
'
;
import
FunctionRow
from
'
./function_row.vue
'
;
import
EnvironmentRow
from
'
./environment_row.vue
'
;
import
EmptyState
from
'
./empty_state.vue
'
;
...
...
app/assets/javascripts/set_status_modal/set_status_modal_wrapper.vue
View file @
97d4d926
<
script
>
import
$
from
'
jquery
'
;
import
GfmAutoComplete
from
'
ee_else_ce/gfm_auto_complete
'
;
import
{
GlModal
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
createFlash
from
'
~/flash
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
GfmAutoComplete
from
'
ee_else_ce/gfm_auto_complete
'
;
import
{
__
,
s__
}
from
'
~/locale
'
;
import
Api
from
'
~/api
'
;
import
{
GlModal
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
eventHub
from
'
./event_hub
'
;
import
EmojiMenuInModal
from
'
./emoji_menu_in_modal
'
;
...
...
app/assets/javascripts/sidebar/components/assignees/assignee_avatar_link.vue
View file @
97d4d926
<
script
>
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
{
GlTooltipDirective
,
GlLink
}
from
'
@gitlab/ui
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
{
joinPaths
}
from
'
~/lib/utils/url_utility
'
;
import
AssigneeAvatar
from
'
./assignee_avatar.vue
'
;
...
...
app/assets/javascripts/sidebar/components/assignees/collapsed_assignee_list.vue
View file @
97d4d926
<
script
>
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
{
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
CollapsedAssignee
from
'
./collapsed_assignee.vue
'
;
const
DEFAULT_MAX_COUNTER
=
99
;
...
...
app/assets/javascripts/sidebar/components/lock/edit_form_buttons.vue
View file @
97d4d926
<
script
>
import
{
__
}
from
'
~/locale
'
;
import
$
from
'
jquery
'
;
import
{
__
}
from
'
~/locale
'
;
import
eventHub
from
'
../../event_hub
'
;
export
default
{
...
...
app/assets/javascripts/sidebar/components/participants/participants.vue
View file @
97d4d926
<
script
>
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
__
,
n__
,
sprintf
}
from
'
~/locale
'
;
import
tooltip
from
'
~/vue_shared/directives/tooltip
'
;
import
userAvatarImage
from
'
~/vue_shared/components/user_avatar/user_avatar_image.vue
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
export
default
{
directives
:
{
...
...
app/assets/javascripts/sidebar/components/time_tracking/comparison_pane.vue
View file @
97d4d926
<
script
>
import
{
GlProgressBar
}
from
'
@gitlab/ui
'
;
import
{
parseSeconds
,
stringifyTime
}
from
'
~/lib/utils/datetime_utility
'
;
import
tooltip
from
'
../../../vue_shared/directives/tooltip
'
;
import
{
GlProgressBar
}
from
'
@gitlab/ui
'
;
import
{
s__
,
sprintf
}
from
'
~/locale
'
;
export
default
{
...
...
app/assets/javascripts/sidebar/components/todo_toggle/todo.vue
View file @
97d4d926
<
script
>
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
__
}
from
'
~/locale
'
;
import
tooltip
from
'
~/vue_shared/directives/tooltip
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
...
...
app/assets/javascripts/sidebar/sidebar_mediator.js
View file @
97d4d926
import
Store
from
'
ee_else_ce/sidebar/stores/sidebar_store
'
;
import
{
visitUrl
}
from
'
../lib/utils/url_utility
'
;
import
Flash
from
'
../flash
'
;
import
Service
from
'
./services/sidebar_service
'
;
import
Store
from
'
ee_else_ce/sidebar/stores/sidebar_store
'
;
import
{
__
}
from
'
~/locale
'
;
export
default
class
SidebarMediator
{
...
...
app/assets/javascripts/vue_merge_request_widget/components/deployment/deployment_stop_button.vue
View file @
97d4d926
<
script
>
import
{
__
}
from
'
~/locale
'
;
import
{
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
__
}
from
'
~/locale
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
LoadingButton
from
'
~/vue_shared/components/loading_button.vue
'
;
import
{
visitUrl
}
from
'
~/lib/utils/url_utility
'
;
...
...
app/assets/javascripts/vue_merge_request_widget/components/mr_widget_pipeline.vue
View file @
97d4d926
<
script
>
/* eslint-disable vue/require-default-prop */
import
{
GlTooltipDirective
,
GlLink
}
from
'
@gitlab/ui
'
;
import
mrWidgetPipelineMixin
from
'
ee_else_ce/vue_merge_request_widget/mixins/mr_widget_pipeline
'
;
import
{
sprintf
,
s__
}
from
'
~/locale
'
;
import
PipelineStage
from
'
~/pipelines/components/stage.vue
'
;
import
CiIcon
from
'
~/vue_shared/components/ci_icon.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
TooltipOnTruncate
from
'
~/vue_shared/components/tooltip_on_truncate.vue
'
;
import
mrWidgetPipelineMixin
from
'
ee_else_ce/vue_merge_request_widget/mixins/mr_widget_pipeline
'
;
export
default
{
name
:
'
MRWidgetPipeline
'
,
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/mr_widget_merged.vue
View file @
97d4d926
<
script
>
/* eslint-disable @gitlab/vue-i18n/no-bare-strings */
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
Flash
from
'
~/flash
'
;
import
tooltip
from
'
~/vue_shared/directives/tooltip
'
;
import
{
s__
,
__
}
from
'
~/locale
'
;
...
...
@@ -7,7 +8,6 @@ import ClipboardButton from '~/vue_shared/components/clipboard_button.vue';
import
MrWidgetAuthorTime
from
'
../../components/mr_widget_author_time.vue
'
;
import
statusIcon
from
'
../mr_widget_status_icon.vue
'
;
import
eventHub
from
'
../../event_hub
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
export
default
{
name
:
'
MRWidgetMerged
'
,
...
...
app/assets/javascripts/vue_merge_request_widget/components/states/ready_to_merge.vue
View file @
97d4d926
<
script
>
import
_
from
'
underscore
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
successSvg
from
'
icons/_icon_status_success.svg
'
;
import
warningSvg
from
'
icons/_icon_status_warning.svg
'
;
import
readyToMergeMixin
from
'
ee_else_ce/vue_merge_request_widget/mixins/ready_to_merge
'
;
import
simplePoll
from
'
~/lib/utils/simple_poll
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
MergeRequest
from
'
../../../merge_request
'
;
import
{
refreshUserMergeRequestCounts
}
from
'
~/commons/nav/user_merge_requests
'
;
import
Flash
from
'
../../../flash
'
;
...
...
app/assets/javascripts/vue_merge_request_widget/mr_widget_options.vue
View file @
97d4d926
<
script
>
import
_
from
'
underscore
'
;
import
{
sprintf
,
s__
,
__
}
from
'
~/locale
'
;
import
Project
from
'
~/pages/projects/project
'
;
import
SmartInterval
from
'
~/smart_interval
'
;
import
MRWidgetStore
from
'
ee_else_ce/vue_merge_request_widget/stores/mr_widget_store
'
;
import
MRWidgetService
from
'
ee_else_ce/vue_merge_request_widget/services/mr_widget_service
'
;
import
stateMaps
from
'
ee_else_ce/vue_merge_request_widget/stores/state_maps
'
;
import
{
sprintf
,
s__
,
__
}
from
'
~/locale
'
;
import
Project
from
'
~/pages/projects/project
'
;
import
SmartInterval
from
'
~/smart_interval
'
;
import
createFlash
from
'
../flash
'
;
import
Loading
from
'
./components/loading.vue
'
;
import
WidgetHeader
from
'
./components/mr_widget_header.vue
'
;
...
...
app/assets/javascripts/vue_shared/components/content_viewer/viewers/markdown_viewer.vue
View file @
97d4d926
<
script
>
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
__
}
from
'
~/locale
'
;
import
$
from
'
jquery
'
;
import
{
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
__
}
from
'
~/locale
'
;
const
{
CancelToken
}
=
axios
;
let
axiosSource
;
...
...
app/assets/javascripts/vue_shared/components/dropdown/dropdown_button.vue
View file @
97d4d926
<
script
>
import
{
__
}
from
'
~/locale
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
__
}
from
'
~/locale
'
;
export
default
{
components
:
{
...
...
app/assets/javascripts/vue_shared/components/gl_countdown.vue
View file @
97d4d926
<
script
>
import
{
calculateRemainingMilliseconds
,
formatTime
}
from
'
~/lib/utils/datetime_utility
'
;
import
{
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
calculateRemainingMilliseconds
,
formatTime
}
from
'
~/lib/utils/datetime_utility
'
;
/**
* Counts down to a given end date.
...
...
app/assets/javascripts/vue_shared/components/markdown/suggestion_diff_header.vue
View file @
97d4d926
<
script
>
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
GlButton
,
GlLoadingIcon
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
export
default
{
components
:
{
Icon
,
GlButton
,
GlLoadingIcon
},
...
...
app/assets/javascripts/vue_shared/components/memory_graph.vue
View file @
97d4d926
<
script
>
import
{
formatDate
,
secondsToMilliseconds
}
from
'
~/lib/utils/datetime_utility
'
;
import
{
GlSparklineChart
}
from
'
@gitlab/ui/dist/charts
'
;
import
{
formatDate
,
secondsToMilliseconds
}
from
'
~/lib/utils/datetime_utility
'
;
export
default
{
name
:
'
MemoryGraph
'
,
...
...
app/assets/javascripts/vue_shared/components/modal_copy_button.vue
View file @
97d4d926
<
script
>
import
$
from
'
jquery
'
;
import
{
GlButton
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
Clipboard
from
'
clipboard
'
;
import
{
__
}
from
'
~/locale
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
Clipboard
from
'
clipboard
'
;
export
default
{
components
:
{
...
...
app/assets/javascripts/vue_shared/components/notes/system_note.vue
View file @
97d4d926
...
...
@@ -19,9 +19,9 @@
import
$
from
'
jquery
'
;
import
{
mapGetters
,
mapActions
}
from
'
vuex
'
;
import
{
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
descriptionVersionHistoryMixin
from
'
ee_else_ce/notes/mixins/description_version_history
'
;
import
noteHeader
from
'
~/notes/components/note_header.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
descriptionVersionHistoryMixin
from
'
ee_else_ce/notes/mixins/description_version_history
'
;
import
TimelineEntryItem
from
'
./timeline_entry_item.vue
'
;
import
{
spriteIcon
}
from
'
../../../lib/utils/common_utils
'
;
import
initMRPopovers
from
'
~/mr_popover/
'
;
...
...
app/assets/javascripts/vue_shared/components/project_avatar/image.vue
View file @
97d4d926
...
...
@@ -14,8 +14,8 @@
/>
*/
import
{
__
}
from
'
~/locale
'
;
import
defaultAvatarUrl
from
'
images/no_avatar.png
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
placeholderImage
}
from
'
../../../lazy_loader
'
;
export
default
{
...
...
app/assets/javascripts/vue_shared/components/project_selector/project_list_item.vue
View file @
97d4d926
<
script
>
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
_
from
'
underscore
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
ProjectAvatar
from
'
~/vue_shared/components/project_avatar/default.vue
'
;
import
highlight
from
'
~/lib/utils/highlight
'
;
import
{
truncateNamespace
}
from
'
~/lib/utils/text_utility
'
;
import
_
from
'
underscore
'
;
export
default
{
name
:
'
ProjectListItem
'
,
...
...
app/assets/javascripts/vue_shared/components/resizable_chart/resizable_chart_container.vue
View file @
97d4d926
<
script
>
import
{
debounceByAnimationFrame
}
from
'
~/lib/utils/common_utils
'
;
import
$
from
'
jquery
'
;
import
{
debounceByAnimationFrame
}
from
'
~/lib/utils/common_utils
'
;
export
default
{
data
()
{
...
...
app/assets/javascripts/vue_shared/components/sidebar/labels_select/base.vue
View file @
97d4d926
<
script
>
import
$
from
'
jquery
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
__
}
from
'
~/locale
'
;
import
LabelsSelect
from
'
~/labels_select
'
;
import
DropdownHiddenInput
from
'
~/vue_shared/components/dropdown/dropdown_hidden_input.vue
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
DropdownTitle
from
'
./dropdown_title.vue
'
;
import
DropdownValue
from
'
./dropdown_value.vue
'
;
import
DropdownValueCollapsed
from
'
./dropdown_value_collapsed.vue
'
;
...
...
app/assets/stylesheets/framework/variables.scss
View file @
97d4d926
...
...
@@ -62,6 +62,9 @@ $gray-dark: darken($gray-light, $darken-dark-factor);
$gray-darker
:
#eee
;
$gray-darkest
:
#c4c4c4
;
$purple
:
#6d49cb
;
$purple-light
:
#ede8fb
;
$black
:
#000
;
$black-transparent
:
rgba
(
0
,
0
,
0
,
0
.3
);
$almost-black
:
#242424
;
...
...
app/assets/stylesheets/utilities.scss
View file @
97d4d926
...
...
@@ -33,4 +33,21 @@
.gl-w-64
{
width
:
px-to-rem
(
$grid-size
*
8
);
}
.gl-h-64
{
height
:
px-to-rem
(
$grid-size
*
8
);
}
.gl-text-purple
{
color
:
$purple
;
}
.gl-text-gray-800
{
color
:
$gray-800
;
}
.gl-bg-purple-light
{
background-color
:
$purple-light
;
}
// Classes using mixins coming from @gitlab-ui
// can be removed once https://gitlab.com/gitlab-org/gitlab/merge_requests/19021 has been merged
.gl-bg-blue-500
{
@include
gl-bg-blue-500
;
}
.gl-bg-red-100
{
@include
gl-bg-red-100
;
}
.gl-bg-orange-100
{
@include
gl-bg-orange-100
;
}
.gl-bg-gray-100
{
@include
gl-bg-gray-100
;
}
.gl-bg-green-100
{
@include
gl-bg-green-100
;}
.gl-text-gray-900
{
@include
gl-text-gray-900
;
}
.gl-text-red-700
{
@include
gl-text-red-700
;
}
.gl-text-orange-700
{
@include
gl-text-orange-700
;
}
.gl-text-green-700
{
@include
gl-text-green-700
;
}
bin/secpick
View file @
97d4d926
...
...
@@ -11,8 +11,12 @@ using Rainbow
module
Secpick
BRANCH_PREFIX
=
'security'
.
freeze
STABLE_SUFFIX
=
'stable'
.
freeze
DEFAULT_REMOTE
=
'dev'
.
freeze
SECURITY_REMOTE
=
'security'
.
freeze
NEW_MR_URL
=
'https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/new'
.
freeze
SECURITY_MR_URL
=
'https://gitlab.com/gitlab-org/security/gitlab/merge_requests/new'
.
freeze
class
SecurityFix
def
initialize
...
...
@@ -20,7 +24,7 @@ module Secpick
end
def
ee?
File
.
exist?
(
'./ee/app/models/license.rb'
)
File
.
exist?
(
File
.
expand_path
(
'../ee/app/models/license.rb'
,
__dir__
)
)
end
def
dry_run?
...
...
@@ -62,17 +66,30 @@ module Secpick
end
def
new_mr_url
if
ee?
NEW_MR_URL
.
sub
(
'gitlabhq'
,
'gitlab-ee'
)
if
@options
[
:security_remote
]
if
ee?
SECURITY_MR_URL
else
SECURITY_MR_URL
.
sub
(
'/gitlab/'
,
'/gitlab-foss/'
)
end
else
NEW_MR_URL
if
ee?
NEW_MR_URL
.
sub
(
'gitlabhq'
,
'gitlab-ee'
)
else
NEW_MR_URL
end
end
end
def
create!
if
dry_run?
puts
git_commands
.
join
(
"
\n
"
).
green
puts
"
\n
Merge request params: "
.
blue
puts
"
\n
Git commands:"
.
blue
puts
git_commands
.
join
(
"
\n
"
)
puts
"
\n
Merge request URL:"
.
blue
puts
new_mr_url
puts
"
\n
Merge request params:"
.
blue
pp
gitlab_params
else
cmd
=
git_commands
.
join
(
' && '
)
...
...
@@ -111,13 +128,27 @@ module Secpick
options
[
:remote
]
=
remote
end
opts
.
on
(
'-d'
,
'--dry-run'
,
'Only show Git commands, without calling them'
)
do
|
remote
|
opts
.
on
(
'--security-remote'
,
'Use the new Security group-based workflow on gitlab.com (note: mutually exclusive to --remote)'
)
do
unless
options
[
:remote
].
nil?
abort
(
'Cannot use --security-remote with --remote'
)
end
options
[
:security_remote
]
=
true
options
[
:remote
]
=
SECURITY_REMOTE
end
opts
.
on
(
'-d'
,
'--dry-run'
,
'Only show Git commands, without calling them'
)
do
options
[
:try
]
=
true
end
opts
.
on
(
'-h'
,
'--help'
,
'Displays Help'
)
do
puts
opts
puts
puts
'NOTE: If `--security-remote` is used, commands will default '
\
'to using a `security` remote, and merge requests will be created '
\
'on gitlab.com/gitlab-org/security/ rather than dev.gitlab.org.'
exit
end
end
...
...
@@ -127,7 +158,7 @@ module Secpick
options
[
:branch
]
||=
`git rev-parse --abbrev-ref HEAD`
options
[
:remote
]
||=
DEFAULT_REMOTE
abort
(
"Missing options. Use
#{
$0
}
--help to see the list of options available"
.
red
)
if
options
.
value
s
.
include
?
(
nil
)
abort
(
"Missing options. Use
#{
$0
}
--help to see the list of options available"
.
red
)
if
options
.
value?
(
nil
)
abort
(
"Wrong version format
#{
options
[
:version
].
bold
}
"
.
red
)
unless
options
[
:version
]
=~
/\A\d*\-\d*\Z/
end
end
...
...
changelogs/unreleased/bvl-allow-moving-forked-projects-across-shards.yml
0 → 100644
View file @
97d4d926
---
title
:
Fix forking a deduplicated project after it was moved to a different shard
merge_request
:
21339
author
:
type
:
fixed
db/migrate/20191206122926_update_index_for_pool_repositories.rb
0 → 100644
View file @
97d4d926
# frozen_string_literal: true
class
UpdateIndexForPoolRepositories
<
ActiveRecord
::
Migration
[
5.2
]
include
Gitlab
::
Database
::
MigrationHelpers
DOWNTIME
=
false
disable_ddl_transaction!
def
up
# This index is less restrictive then the one we already have, no need to
# update data.
add_concurrent_index
:pool_repositories
,
[
:source_project_id
,
:shard_id
],
unique:
true
remove_concurrent_index
:pool_repositories
,
:source_project_id
end
def
down
# Not adding this index as a unique one, since while the new index existed
# we could have created multiple pool repositories for a project. In that
# case this rollback would fail.
add_concurrent_index
:pool_repositories
,
:source_project_id
remove_concurrent_index
:pool_repositories
,
[
:source_project_id
,
:shard_id
],
unique:
true
end
end
db/schema.rb
View file @
97d4d926
...
...
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
2019_12_0
4_093410
)
do
ActiveRecord
::
Schema
.
define
(
version:
2019_12_0
6_122926
)
do
# These are extensions that must be enabled in order to support this database
enable_extension
"pg_trgm"
...
...
@@ -2969,7 +2969,7 @@ ActiveRecord::Schema.define(version: 2019_12_04_093410) do
t
.
integer
"source_project_id"
t
.
index
[
"disk_path"
],
name:
"index_pool_repositories_on_disk_path"
,
unique:
true
t
.
index
[
"shard_id"
],
name:
"index_pool_repositories_on_shard_id"
t
.
index
[
"source_project_id"
],
name:
"index_pool_repositories_on_source_project
_id"
,
unique:
true
t
.
index
[
"source_project_id"
,
"shard_id"
],
name:
"index_pool_repositories_on_source_project_id_and_shard
_id"
,
unique:
true
end
create_table
"programming_languages"
,
id: :serial
,
force: :cascade
do
|
t
|
...
...
spec/frontend/admin/statistics_panel/components/app_spec.js
View file @
97d4d926
import
Vuex
from
'
vuex
'
;
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
StatisticsPanelApp
from
'
~/admin/statistics_panel/components/app.vue
'
;
import
statisticsLabels
from
'
~/admin/statistics_panel/constants
'
;
import
createStore
from
'
~/admin/statistics_panel/store
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
mockStatistics
from
'
../mock_data
'
;
const
localVue
=
createLocalVue
();
...
...
spec/frontend/autosave_spec.js
View file @
97d4d926
import
$
from
'
jquery
'
;
import
{
useLocalStorageSpy
}
from
'
helpers/local_storage_helper
'
;
import
Autosave
from
'
~/autosave
'
;
import
AccessorUtilities
from
'
~/lib/utils/accessor
'
;
import
{
useLocalStorageSpy
}
from
'
helpers/local_storage_helper
'
;
describe
(
'
Autosave
'
,
()
=>
{
useLocalStorageSpy
();
...
...
spec/frontend/behaviors/markdown/render_metrics_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
renderMetrics
from
'
~/behaviors/markdown/render_metrics
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
renderMetrics
from
'
~/behaviors/markdown/render_metrics
'
;
const
originalExtend
=
Vue
.
extend
;
...
...
spec/frontend/boards/components/issue_time_estimate_spec.js
View file @
97d4d926
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
IssueTimeEstimate
from
'
~/boards/components/issue_time_estimate.vue
'
;
import
boardsStore
from
'
~/boards/stores/boards_store
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
describe
(
'
Issue Time Estimate component
'
,
()
=>
{
let
wrapper
;
...
...
spec/frontend/clusters/clusters_bundle_spec.js
View file @
97d4d926
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
$
from
'
jquery
'
;
import
{
loadHTMLFixture
}
from
'
helpers/fixtures
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
import
Clusters
from
'
~/clusters/clusters_bundle
'
;
import
{
APPLICATION_STATUS
,
...
...
@@ -5,11 +9,7 @@ import {
APPLICATIONS
,
RUNNER
,
}
from
'
~/clusters/constants
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
loadHTMLFixture
}
from
'
helpers/fixtures
'
;
import
{
setTestTimeout
}
from
'
helpers/timeout
'
;
import
$
from
'
jquery
'
;
import
initProjectSelectDropdown
from
'
~/project_select
'
;
jest
.
mock
(
'
~/lib/utils/poll
'
);
...
...
spec/frontend/clusters/components/application_row_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
eventHub
from
'
~/clusters/event_hub
'
;
import
{
APPLICATION_STATUS
}
from
'
~/clusters/constants
'
;
import
applicationRow
from
'
~/clusters/components/application_row.vue
'
;
import
UninstallApplicationConfirmationModal
from
'
~/clusters/components/uninstall_application_confirmation_modal.vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
{
DEFAULT_APPLICATION_STATE
}
from
'
../services/mock_data
'
;
describe
(
'
Application Row
'
,
()
=>
{
...
...
spec/frontend/clusters/components/applications_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
applications
from
'
~/clusters/components/applications.vue
'
;
import
{
CLUSTER_TYPE
}
from
'
~/clusters/constants
'
;
import
mountComponent
from
'
helpers/vue_mount_component_helper
'
;
import
{
APPLICATIONS_MOCK_STATE
}
from
'
../services/mock_data
'
;
import
eventHub
from
'
~/clusters/event_hub
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
KnativeDomainEditor
from
'
~/clusters/components/knative_domain_editor.vue
'
;
import
CrossplaneProviderStack
from
'
~/clusters/components/crossplane_provider_stack.vue
'
;
...
...
spec/frontend/clusters/components/uninstall_application_confirmation_modal_spec.js
View file @
97d4d926
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
UninstallApplicationConfirmationModal
from
'
~/clusters/components/uninstall_application_confirmation_modal.vue
'
;
import
{
GlModal
}
from
'
@gitlab/ui
'
;
import
UninstallApplicationConfirmationModal
from
'
~/clusters/components/uninstall_application_confirmation_modal.vue
'
;
import
{
INGRESS
}
from
'
~/clusters/constants
'
;
describe
(
'
UninstallApplicationConfirmationModal
'
,
()
=>
{
...
...
spec/frontend/commit/commit_pipeline_status_component_spec.js
View file @
97d4d926
import
Visibility
from
'
visibilityjs
'
;
import
{
GlLoadingIcon
}
from
'
@gitlab/ui
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
Poll
from
'
~/lib/utils/poll
'
;
import
flash
from
'
~/flash
'
;
import
CiIcon
from
'
~/vue_shared/components/ci_icon.vue
'
;
import
CommitPipelineStatus
from
'
~/projects/tree/components/commit_pipeline_status_component.vue
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
getJSONFixture
}
from
'
../helpers/fixtures
'
;
jest
.
mock
(
'
~/lib/utils/poll
'
);
...
...
spec/frontend/contributors/component/contributors_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
createStore
}
from
'
~/contributors/stores
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
ContributorsCharts
from
'
~/contributors/components/contributors.vue
'
;
const
localVue
=
createLocalVue
();
...
...
spec/frontend/contributors/store/actions_spec.js
View file @
97d4d926
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
flashError
from
'
~/flash
'
;
import
*
as
actions
from
'
~/contributors/stores/actions
'
;
import
*
as
types
from
'
~/contributors/stores/mutation_types
'
;
...
...
spec/frontend/create_cluster/eks_cluster/components/cluster_form_dropdown_spec.js
View file @
97d4d926
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
ClusterFormDropdown
from
'
~/create_cluster/eks_cluster/components/cluster_form_dropdown.vue
'
;
import
DropdownButton
from
'
~/vue_shared/components/dropdown/dropdown_button.vue
'
;
import
DropdownSearchInput
from
'
~/vue_shared/components/dropdown/dropdown_search_input.vue
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
describe
(
'
ClusterFormDropdown
'
,
()
=>
{
let
vm
;
...
...
spec/frontend/create_cluster/eks_cluster/services/aws_services_facade_spec.js
View file @
97d4d926
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
import
awsServicesFacadeFactory
from
'
~/create_cluster/eks_cluster/services/aws_services_facade
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
AxiosMockAdapter
from
'
axios-mock-adapter
'
;
describe
(
'
awsServicesFacade
'
,
()
=>
{
let
apiPaths
;
...
...
spec/frontend/create_cluster/eks_cluster/store/actions_spec.js
View file @
97d4d926
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
createState
from
'
~/create_cluster/eks_cluster/store/state
'
;
import
*
as
actions
from
'
~/create_cluster/eks_cluster/store/actions
'
;
import
{
...
...
@@ -23,7 +24,6 @@ import {
SIGN_OUT
,
}
from
'
~/create_cluster/eks_cluster/store/mutation_types
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
createFlash
from
'
~/flash
'
;
jest
.
mock
(
'
~/flash
'
);
...
...
spec/frontend/create_merge_request_dropdown_spec.js
View file @
97d4d926
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
CreateMergeRequestDropdown
from
'
~/create_merge_request_dropdown
'
;
import
confidentialState
from
'
~/confidential_merge_request/state
'
;
import
{
TEST_HOST
}
from
'
./helpers/test_constants
'
;
...
...
spec/frontend/error_tracking/components/error_tracking_list_spec.js
View file @
97d4d926
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
Vuex
from
'
vuex
'
;
import
ErrorTrackingList
from
'
~/error_tracking/components/error_tracking_list.vue
'
;
import
{
GlButton
,
GlEmptyState
,
...
...
@@ -9,6 +8,7 @@ import {
GlLink
,
GlSearchBoxByClick
,
}
from
'
@gitlab/ui
'
;
import
ErrorTrackingList
from
'
~/error_tracking/components/error_tracking_list.vue
'
;
import
errorsList
from
'
./list_mock.json
'
;
const
localVue
=
createLocalVue
();
...
...
spec/frontend/error_tracking/store/details/actions_spec.js
View file @
97d4d926
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
createFlash
from
'
~/flash
'
;
import
*
as
actions
from
'
~/error_tracking/store/details/actions
'
;
import
*
as
types
from
'
~/error_tracking/store/details/mutation_types
'
;
...
...
spec/frontend/error_tracking/store/list/actions_spec.js
View file @
97d4d926
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
*
as
actions
from
'
~/error_tracking/store/list/actions
'
;
import
*
as
types
from
'
~/error_tracking/store/list/mutation_types
'
;
...
...
spec/frontend/error_tracking_settings/components/app_spec.js
View file @
97d4d926
import
Vuex
from
'
vuex
'
;
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
ErrorTrackingSettings
from
'
~/error_tracking_settings/components/app.vue
'
;
import
ErrorTrackingForm
from
'
~/error_tracking_settings/components/error_tracking_form.vue
'
;
import
ProjectDropdown
from
'
~/error_tracking_settings/components/project_dropdown.vue
'
;
import
createStore
from
'
~/error_tracking_settings/store
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
const
localVue
=
createLocalVue
();
localVue
.
use
(
Vuex
);
...
...
spec/frontend/error_tracking_settings/mock.js
View file @
97d4d926
import
createStore
from
'
~/error_tracking_settings/store
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
createStore
from
'
~/error_tracking_settings/store
'
;
const
defaultStore
=
createStore
();
...
...
spec/frontend/grafana_integration/components/grafana_integration_spec.js
View file @
97d4d926
import
{
mount
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
GrafanaIntegration
from
'
~/grafana_integration/components/grafana_integration.vue
'
;
import
{
createStore
}
from
'
~/grafana_integration/store
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
refreshCurrentPage
}
from
'
~/lib/utils/url_utility
'
;
import
createFlash
from
'
~/flash
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
jest
.
mock
(
'
~/lib/utils/url_utility
'
);
jest
.
mock
(
'
~/flash
'
);
...
...
spec/frontend/import_projects/components/imported_project_table_row_spec.js
View file @
97d4d926
import
Vuex
from
'
vuex
'
;
import
createStore
from
'
~/import_projects/store
'
;
import
{
createLocalVue
,
mount
}
from
'
@vue/test-utils
'
;
import
createStore
from
'
~/import_projects/store
'
;
import
importedProjectTableRow
from
'
~/import_projects/components/imported_project_table_row.vue
'
;
import
STATUS_MAP
from
'
~/import_projects/constants
'
;
...
...
spec/frontend/import_projects/store/actions_spec.js
View file @
97d4d926
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
{
...
...
@@ -27,8 +29,6 @@ import {
stopJobsPolling
,
}
from
'
~/import_projects/store/actions
'
;
import
state
from
'
~/import_projects/store/state
'
;
import
testAction
from
'
helpers/vuex_action_helper
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
describe
(
'
import_projects store actions
'
,
()
=>
{
let
localState
;
...
...
spec/frontend/issuables_list/components/issuables_list_app_spec.js
View file @
97d4d926
...
...
@@ -2,9 +2,9 @@ import axios from 'axios';
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
GlEmptyState
,
GlPagination
,
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
flash
from
'
~/flash
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
{
TEST_HOST
}
from
'
helpers/test_constants
'
;
import
flash
from
'
~/flash
'
;
import
IssuablesListApp
from
'
~/issuables_list/components/issuables_list_app.vue
'
;
import
Issuable
from
'
~/issuables_list/components/issuable.vue
'
;
import
issueablesEventBus
from
'
~/issuables_list/eventhub
'
;
...
...
spec/frontend/lib/utils/suppress_ajax_errors_during_navigation_spec.js
View file @
97d4d926
import
suppressAjaxErrorsDuringNavigation
from
'
~/lib/utils/suppress_ajax_errors_during_navigation
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
suppressAjaxErrorsDuringNavigation
from
'
~/lib/utils/suppress_ajax_errors_during_navigation
'
;
describe
(
'
suppressAjaxErrorsDuringNavigation
'
,
()
=>
{
const
OTHER_ERR_CODE
=
'
foo
'
;
...
...
spec/javascripts/feature_highlight/feature_highlight_helper_spec.js
View file @
97d4d926
import
$
from
'
jquery
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
getSetTimeoutPromise
from
'
spec/helpers/set_timeout_promise_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
getSelector
,
dismiss
,
inserted
}
from
'
~/feature_highlight/feature_highlight_helper
'
;
import
{
togglePopover
}
from
'
~/shared/popover
'
;
import
getSetTimeoutPromise
from
'
spec/helpers/set_timeout_promise_helper
'
;
describe
(
'
feature highlight helper
'
,
()
=>
{
describe
(
'
getSelector
'
,
()
=>
{
it
(
'
returns js-feature-highlight selector
'
,
()
=>
{
...
...
spec/javascripts/feature_highlight/feature_highlight_spec.js
View file @
97d4d926
import
$
from
'
jquery
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
*
as
featureHighlight
from
'
~/feature_highlight/feature_highlight
'
;
import
*
as
popover
from
'
~/shared/popover
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
describe
(
'
feature highlight
'
,
()
=>
{
beforeEach
(()
=>
{
...
...
spec/javascripts/filtered_search/visual_token_value_spec.js
View file @
97d4d926
import
VisualTokenValue
from
'
~/filtered_search/visual_token_value
'
;
import
_
from
'
underscore
'
;
import
VisualTokenValue
from
'
~/filtered_search/visual_token_value
'
;
import
AjaxCache
from
'
~/lib/utils/ajax_cache
'
;
import
UsersCache
from
'
~/lib/utils/users_cache
'
;
import
DropdownUtils
from
'
~/filtered_search//dropdown_utils
'
;
...
...
spec/javascripts/frequent_items/components/app_spec.js
View file @
97d4d926
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
Vue
from
'
vue
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
appComponent
from
'
~/frequent_items/components/app.vue
'
;
import
eventHub
from
'
~/frequent_items/event_hub
'
;
import
store
from
'
~/frequent_items/store
'
;
import
{
FREQUENT_ITEMS
,
HOUR_IN_MS
}
from
'
~/frequent_items/constants
'
;
import
{
getTopFrequentItems
}
from
'
~/frequent_items/utils
'
;
import
{
mountComponentWithStore
}
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
currentSession
,
mockFrequentProjects
,
mockSearchedProjects
}
from
'
../mock_data
'
;
let
session
;
...
...
spec/javascripts/frequent_items/components/frequent_items_list_item_spec.js
View file @
97d4d926
import
frequentItemsListItemComponent
from
'
~/frequent_items/components/frequent_items_list_item.vue
'
;
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
{
trimText
}
from
'
spec/helpers/text_helper
'
;
import
frequentItemsListItemComponent
from
'
~/frequent_items/components/frequent_items_list_item.vue
'
;
import
{
mockProject
}
from
'
../mock_data
'
;
// can also use 'mockGroup', but not useful to test here
const
localVue
=
createLocalVue
();
...
...
spec/javascripts/frequent_items/components/frequent_items_list_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
frequentItemsListComponent
from
'
~/frequent_items/components/frequent_items_list.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
frequentItemsListComponent
from
'
~/frequent_items/components/frequent_items_list.vue
'
;
import
{
mockFrequentProjects
}
from
'
../mock_data
'
;
const
createComponent
=
(
namespace
=
'
projects
'
)
=>
{
...
...
spec/javascripts/frequent_items/components/frequent_items_search_input_spec.js
View file @
97d4d926
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
import
searchComponent
from
'
~/frequent_items/components/frequent_items_search_input.vue
'
;
import
eventHub
from
'
~/frequent_items/event_hub
'
;
import
{
shallowMount
,
createLocalVue
}
from
'
@vue/test-utils
'
;
const
localVue
=
createLocalVue
();
...
...
spec/javascripts/gpg_badges_spec.js
View file @
97d4d926
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
GpgBadges
from
'
~/gpg_badges
'
;
import
{
TEST_HOST
}
from
'
spec/test_constants
'
;
describe
(
'
GpgBadges
'
,
()
=>
{
let
mock
;
...
...
spec/javascripts/groups/components/group_item_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
groupItemComponent
from
'
~/groups/components/group_item.vue
'
;
import
groupFolderComponent
from
'
~/groups/components/group_folder.vue
'
;
import
eventHub
from
'
~/groups/event_hub
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
mockParentGroupItem
,
mockChildren
}
from
'
../mock_data
'
;
const
createComponent
=
(
group
=
mockParentGroupItem
,
parentGroup
=
mockChildren
[
0
])
=>
{
...
...
spec/javascripts/groups/components/groups_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
groupsComponent
from
'
~/groups/components/groups.vue
'
;
import
groupFolderComponent
from
'
~/groups/components/group_folder.vue
'
;
import
groupItemComponent
from
'
~/groups/components/group_item.vue
'
;
import
eventHub
from
'
~/groups/event_hub
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
mockGroups
,
mockPageInfo
}
from
'
../mock_data
'
;
const
createComponent
=
(
searchEmpty
=
false
)
=>
{
...
...
spec/javascripts/groups/components/item_actions_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
itemActionsComponent
from
'
~/groups/components/item_actions.vue
'
;
import
eventHub
from
'
~/groups/event_hub
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
mockParentGroupItem
,
mockChildren
}
from
'
../mock_data
'
;
const
createComponent
=
(
group
=
mockParentGroupItem
,
parentGroup
=
mockChildren
[
0
])
=>
{
...
...
spec/javascripts/groups/components/item_caret_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
itemCaretComponent
from
'
~/groups/components/item_caret.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
itemCaretComponent
from
'
~/groups/components/item_caret.vue
'
;
const
createComponent
=
(
isGroupOpen
=
false
)
=>
{
const
Component
=
Vue
.
extend
(
itemCaretComponent
);
...
...
spec/javascripts/groups/components/item_stats_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
itemStatsComponent
from
'
~/groups/components/item_stats.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
itemStatsComponent
from
'
~/groups/components/item_stats.vue
'
;
import
{
mockParentGroupItem
,
ITEM_TYPE
,
...
...
spec/javascripts/groups/components/item_stats_value_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
itemStatsValueComponent
from
'
~/groups/components/item_stats_value.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
itemStatsValueComponent
from
'
~/groups/components/item_stats_value.vue
'
;
const
createComponent
=
({
title
,
cssClass
,
iconName
,
tooltipPlacement
,
value
})
=>
{
const
Component
=
Vue
.
extend
(
itemStatsValueComponent
);
...
...
spec/javascripts/groups/components/item_type_icon_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
itemTypeIconComponent
from
'
~/groups/components/item_type_icon.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
itemTypeIconComponent
from
'
~/groups/components/item_type_icon.vue
'
;
import
{
ITEM_TYPE
}
from
'
../mock_data
'
;
const
createComponent
=
(
itemType
=
ITEM_TYPE
.
GROUP
,
isGroupOpen
=
false
)
=>
{
...
...
spec/javascripts/helpers/init_vue_mr_page_helper.js
View file @
97d4d926
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
initMRPage
from
'
~/mr_notes/index
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
userDataMock
,
notesDataMock
,
noteableDataMock
}
from
'
../notes/mock_data
'
;
import
diffFileMockData
from
'
../diffs/mock_data/diff_file
'
;
...
...
spec/javascripts/importer_status_spec.js
View file @
97d4d926
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
{
ImporterStatus
}
from
'
~/importer_status
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
describe
(
'
Importer Status
'
,
()
=>
{
let
instance
;
...
...
spec/javascripts/issue_show/components/app_spec.js
View file @
97d4d926
/* eslint-disable no-unused-vars */
import
GLDropdown
from
'
~/gl_dropdown
'
;
import
Vue
from
'
vue
'
;
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
setTimeoutPromise
from
'
spec/helpers/set_timeout_promise_helper
'
;
import
GLDropdown
from
'
~/gl_dropdown
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
issuableApp
from
'
~/issue_show/components/app.vue
'
;
import
eventHub
from
'
~/issue_show/event_hub
'
;
import
setTimeoutPromise
from
'
spec/helpers/set_timeout_promise_helper
'
;
import
issueShowData
from
'
../mock_data
'
;
function
formatText
(
text
)
{
...
...
spec/javascripts/issue_show/components/description_spec.js
View file @
97d4d926
import
$
from
'
jquery
'
;
import
Vue
from
'
vue
'
;
import
'
~/behaviors/markdown/render_gfm
'
;
import
Description
from
'
~/issue_show/components/description.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
Description
from
'
~/issue_show/components/description.vue
'
;
describe
(
'
Description component
'
,
()
=>
{
let
vm
;
...
...
spec/javascripts/sidebar/assignee_title_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
AssigneeTitle
from
'
~/sidebar/components/assignees/assignee_title.vue
'
;
import
{
mockTracking
,
triggerEvent
}
from
'
spec/helpers/tracking_helper
'
;
import
AssigneeTitle
from
'
~/sidebar/components/assignees/assignee_title.vue
'
;
describe
(
'
AssigneeTitle component
'
,
()
=>
{
let
component
;
...
...
spec/javascripts/sidebar/components/time_tracking/time_tracker_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
TimeTracker
from
'
~/sidebar/components/time_tracking/time_tracker.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
TimeTracker
from
'
~/sidebar/components/time_tracking/time_tracker.vue
'
;
describe
(
'
Issuable Time Tracker
'
,
()
=>
{
let
initialData
;
...
...
spec/javascripts/sidebar/lock/edit_form_buttons_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
editFormButtons
from
'
~/sidebar/components/lock/edit_form_buttons.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
editFormButtons
from
'
~/sidebar/components/lock/edit_form_buttons.vue
'
;
describe
(
'
EditFormButtons
'
,
()
=>
{
let
vm1
;
...
...
spec/javascripts/sidebar/lock/lock_issue_sidebar_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
lockIssueSidebar
from
'
~/sidebar/components/lock/lock_issue_sidebar.vue
'
;
import
{
mockTracking
,
triggerEvent
}
from
'
spec/helpers/tracking_helper
'
;
import
lockIssueSidebar
from
'
~/sidebar/components/lock/lock_issue_sidebar.vue
'
;
describe
(
'
LockIssueSidebar
'
,
()
=>
{
let
vm1
;
...
...
spec/javascripts/sidebar/participants_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
participants
from
'
~/sidebar/components/participants/participants.vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
participants
from
'
~/sidebar/components/participants/participants.vue
'
;
const
PARTICIPANT
=
{
id
:
1
,
...
...
spec/javascripts/sidebar/sidebar_assignees_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
SidebarAssignees
from
'
~/sidebar/components/assignees/sidebar_assignees.vue
'
;
import
SidebarMediator
from
'
~/sidebar/sidebar_mediator
'
;
import
SidebarService
from
'
~/sidebar/services/sidebar_service
'
;
import
SidebarStore
from
'
~/sidebar/stores/sidebar_store
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
Mock
from
'
./mock_data
'
;
describe
(
'
sidebar assignees
'
,
()
=>
{
...
...
spec/javascripts/sidebar/sidebar_subscriptions_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
sidebarSubscriptions
from
'
~/sidebar/components/subscriptions/sidebar_subscriptions.vue
'
;
import
SidebarMediator
from
'
~/sidebar/sidebar_mediator
'
;
import
SidebarService
from
'
~/sidebar/services/sidebar_service
'
;
import
SidebarStore
from
'
~/sidebar/stores/sidebar_store
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
Mock
from
'
./mock_data
'
;
describe
(
'
Sidebar Subscriptions
'
,
function
()
{
...
...
spec/javascripts/sidebar/subscriptions_spec.js
View file @
97d4d926
import
Vue
from
'
vue
'
;
import
subscriptions
from
'
~/sidebar/components/subscriptions/subscriptions.vue
'
;
import
eventHub
from
'
~/sidebar/event_hub
'
;
import
mountComponent
from
'
spec/helpers/vue_mount_component_helper
'
;
import
{
mockTracking
}
from
'
spec/helpers/tracking_helper
'
;
import
subscriptions
from
'
~/sidebar/components/subscriptions/subscriptions.vue
'
;
import
eventHub
from
'
~/sidebar/event_hub
'
;
describe
(
'
Subscriptions
'
,
function
()
{
let
vm
;
...
...
spec/javascripts/smart_interval_spec.js
View file @
97d4d926
import
$
from
'
jquery
'
;
import
_
from
'
underscore
'
;
import
SmartInterval
from
'
~/smart_interval
'
;
import
waitForPromises
from
'
spec/helpers/wait_for_promises
'
;
import
SmartInterval
from
'
~/smart_interval
'
;
describe
(
'
SmartInterval
'
,
function
()
{
const
DEFAULT_MAX_INTERVAL
=
100
;
...
...
spec/javascripts/test_bundle.js
View file @
97d4d926
...
...
@@ -7,9 +7,9 @@ import 'core-js/features/set-immediate';
import
'
vendor/jasmine-jquery
'
;
import
'
~/commons
'
;
import
Vue
from
'
vue
'
;
import
Translate
from
'
~/vue_shared/translate
'
;
import
jasmineDiff
from
'
jasmine-diff
'
;
import
{
config
as
testUtilsConfig
}
from
'
@vue/test-utils
'
;
import
Translate
from
'
~/vue_shared/translate
'
;
import
{
getDefaultAdapter
}
from
'
~/lib/utils/axios_utils
'
;
import
{
FIXTURES_PATH
,
TEST_HOST
}
from
'
./test_constants
'
;
...
...
spec/javascripts/vuex_shared/modules/modal/actions_spec.js
View file @
97d4d926
import
testAction
from
'
spec/helpers/vuex_action_helper
'
;
import
*
as
types
from
'
~/vuex_shared/modules/modal/mutation_types
'
;
import
*
as
actions
from
'
~/vuex_shared/modules/modal/actions
'
;
import
testAction
from
'
spec/helpers/vuex_action_helper
'
;
describe
(
'
Vuex ModalModule actions
'
,
()
=>
{
describe
(
'
open
'
,
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment