Commit Graph

535 Commits

Author SHA1 Message Date
GitLab Bot 6010cf135a Add latest changes from gitlab-org/gitlab@master 2020-09-30 18:09:52 +00:00
GitLab Bot b296ffa543 Add latest changes from gitlab-org/gitlab@master 2020-09-09 21:08:33 +00:00
GitLab Bot 7d3c3de6b9 Add latest changes from gitlab-org/gitlab@master 2020-09-09 03:08:38 +00:00
GitLab Bot ed98ffb618 Add latest changes from gitlab-org/gitlab@master 2020-08-26 21:10:19 +00:00
GitLab Bot b5452c76b5 Add latest changes from gitlab-org/gitlab@master 2020-08-20 00:10:11 +00:00
GitLab Bot 57a4861dd1 Add latest changes from gitlab-org/gitlab@master 2020-08-19 00:10:34 +00:00
GitLab Bot 0790cf032c Add latest changes from gitlab-org/gitlab@master 2020-08-06 21:10:15 +00:00
GitLab Bot 04338021ad Add latest changes from gitlab-org/gitlab@master 2020-07-31 18:09:37 +00:00
GitLab Bot a93bf027c2 Add latest changes from gitlab-org/gitlab@master 2020-07-07 15:08:49 +00:00
GitLab Bot 6478698293 Add latest changes from gitlab-org/gitlab@master 2020-06-09 21:08:21 +00:00
GitLab Bot 99c01aa686 Add latest changes from gitlab-org/gitlab@master 2020-06-08 18:08:27 +00:00
GitLab Bot 8b0ef13236 Add latest changes from gitlab-org/gitlab@master 2020-06-03 18:08:28 +00:00
GitLab Bot f4251f2694 Add latest changes from gitlab-org/gitlab@master 2020-06-02 06:08:01 +00:00
GitLab Bot d7b136d547 Add latest changes from gitlab-org/gitlab@master 2020-05-28 21:08:22 +00:00
GitLab Bot 57d1bb8254 Add latest changes from gitlab-org/gitlab@master 2020-05-19 09:08:12 +00:00
GitLab Bot d3a59e10d7 Add latest changes from gitlab-org/gitlab@master 2020-05-16 00:08:12 +00:00
GitLab Bot aebabf8f5a Add latest changes from gitlab-org/gitlab@master 2020-05-15 00:08:06 +00:00
GitLab Bot 427a082f7d Add latest changes from gitlab-org/gitlab@master 2020-04-23 21:09:31 +00:00
GitLab Bot 5aa96ff142 Add latest changes from gitlab-org/gitlab@master 2020-03-09 21:07:57 +00:00
GitLab Bot 93d7441cc9 Add latest changes from gitlab-org/gitlab@master 2020-02-18 21:09:11 +00:00
GitLab Bot 66ce6a78f6 Add latest changes from gitlab-org/gitlab@master 2020-01-22 00:08:47 +00:00
GitLab Bot 79d62647bc Add latest changes from gitlab-org/gitlab@master 2019-12-18 12:07:48 +00:00
GitLab Bot 5bd24a54ef Add latest changes from gitlab-org/gitlab@master 2019-12-17 09:07:48 +00:00
GitLab Bot 6a7cc8c147 Add latest changes from gitlab-org/gitlab@master 2019-12-05 18:07:51 +00:00
GitLab Bot 8d3aee3636 Add latest changes from gitlab-org/gitlab@master 2019-12-04 15:11:23 +00:00
GitLab Bot ab7cf450ba Add latest changes from gitlab-org/gitlab@master 2019-12-03 18:06:49 +00:00
GitLab Bot eca3cd3a9e Add latest changes from gitlab-org/gitlab@master 2019-11-15 18:06:24 +00:00
GitLab Bot 82cef8dd1f Add latest changes from gitlab-org/gitlab@master 2019-11-05 21:07:46 +00:00
GitLab Bot 8e45d25f7d Add latest changes from gitlab-org/gitlab@master 2019-10-16 18:08:01 +00:00
GitLab Bot 2abb1b54c0 Add latest changes from gitlab-org/gitlab@master 2019-09-27 18:06:20 +00:00
GitLab Bot 41aba3c68d Add latest changes from gitlab-org/gitlab@master 2019-09-27 00:06:23 +00:00
Mike Greiling 1c621da362 Add webpack memory test to CI 2019-09-11 16:36:18 +00:00
shampton c96adfcd6c Move visual review toolbar to NPM
Remove the visual review toolbar code
in favor of using the NPM package.
2019-08-23 12:57:21 -07:00
Kushal Pandya 4b2ea22caf Merge branch 'mg-update-icons-svg-import' into 'master'
Use file-loader for sprite icons within icon.vue

See merge request gitlab-org/gitlab-ce!31257
2019-07-31 09:02:48 +00:00
Mike Greiling b0ba7c72de
Override icons.svg asset path with sprockets asset 2019-07-29 16:44:45 -05:00
Mike Greiling 7d68ac70aa
Use file-loader to import icon sprites 2019-07-29 15:25:35 -05:00
Stan Hu cb3290a1a3 Make pdf.js render CJK characters
As mentioned in
https://github.com/wojtekmaj/react-pdf/blob/master/README.md,
pdf.js needs the bundled cMaps files to work.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62152
2019-07-28 00:28:33 -07:00
Mike Greiling f77591a0be
Remove setImmediate polyfill from production assets 2019-07-10 16:34:28 -05:00
Lukas Eipert 7ca77203c0
Replace runtime isEE check with compile time one
This has the benefit that CE bundles will remove dead code in CE only
builds.

We have a follow-up issue to get rid of this completely:

https://gitlab.com/gitlab-org/gitlab-ce/issues/64173
2019-07-05 16:37:39 +02:00
Winnie Hellmann 64e9cf00a7 Rename environment variable EE to IS_GITLAB_EE 2019-04-05 12:08:05 +02:00
Winnie Hellmann baa671a389 Extract IS_EE config helper 2019-03-28 18:14:16 +01:00
Winnie Hellmann 2ea8ebfad5 Move EE-specifics of Karma test bundle behind flag 2019-03-13 22:54:52 +01:00
Winnie Hellmann a923a684b0 Resolve differences in Webpack config between CE and EE 2019-03-13 13:13:47 +01:00
Mike Greiling c46b791911
Remove node 6 trailing comma support
This removes trailing commas from node scripts which previously
omitted them for compatiblity with node 6
2019-03-11 14:16:41 -05:00
Phil Hughes 573dd592b0
CE port of noteable-discussion-ee-differences 2019-02-28 10:55:13 +00:00
Phil Hughes 241f0110ca
Fixed web workers not working locally in rspec
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57169
2019-02-14 11:33:35 +00:00
Winnie Hellmann 253b88e325 Add ee_else_ce alias to Webpack config
(cherry picked from commit da3cd00f5a31f762eb67c2824233ad2b275b2ba8)

Conflicts:
	config/webpack.config.js
2019-01-30 14:40:34 +01:00
Phil Hughes 50e21a89a0
Suggests issues when typing title
This suggests possibly related issues when the user types a title.

This uses GraphQL to allow the frontend to request the exact
data that is requires. We also get free caching through the Vue Apollo
plugin.

With this we can include the ability to import .graphql files in JS
and Vue files.
Also we now have the Vue test utils library to make testing
Vue components easier.

Closes #22071
2018-11-27 15:10:40 +00:00
Kamil Trzciński 129abb2964 Allow to configure cache path for webpack 2018-10-19 16:46:58 +00:00
Clement Ho a01458a9b0 Merge branch 'fix-webpack-node-env' into 'master'
Enable webpack nodeEnv optimization

See merge request gitlab-org/gitlab-ce!20075
2018-06-21 20:11:28 +00:00
Mike Greiling fa8478c2dd
enable accidentally-disabled nodeEnv optimization 2018-06-21 12:14:02 -05:00
Mike Greiling fdb74985ee Allow omnibus to disable sourcemaps in memory constrained environments 2018-06-21 15:38:04 +00:00
Lukas Eipert 762c623997
set max_old_space_size to 3.5 GB for compile-assets job 2018-06-11 09:46:02 +02:00
Mike Greiling 6d96b9dd6b
add monaco-editor-webpack-plugin and update webpack config 2018-06-07 16:35:34 -05:00
Kushal Pandya e78b2190f8 Add `Access-Control-Allow-Headers` to Webpack Dev Server config 2018-05-24 18:41:59 +05:30
Mike Greiling 7774b318f8
add file cache to vue-loader to speed up compilation 2018-05-22 17:06:34 -05:00
Mike Greiling 442333d91c
simplify and reorganize webpack config 2018-05-18 18:23:59 -05:00
Mike Greiling 636aed1fff
move devtool setting into main config object 2018-05-18 18:23:59 -05:00
Mike Greiling f2a0f9a8dd
upgrade to vue-loader 15.0.11 and update webpack config 2018-05-18 18:23:44 -05:00
Mike Greiling b5983a700e
consolidate main bootstrap entries 2018-05-06 01:21:13 -05:00
Mike Greiling 5728b12383
remove unused name-all-modules-plugin 2018-05-04 13:16:12 -05:00
Mike Greiling d5e4c7201b
truncate long chunkhashes within filenames 2018-05-04 11:37:37 -05:00
Mike Greiling 4bdfcc580d
add better filename template to worker-loader 2018-05-03 11:56:35 -05:00
Mike Greiling eb548e6eb1
adjust IDE page loading config to ensure web workers are not loaded cross-origin 2018-05-03 11:56:34 -05:00
Mike Greiling f9e33f43c0
update several packages to remove deprecation warnings 2018-05-01 15:15:11 -05:00
Mike Greiling 94a9c60eb9
combine ancestor entrypoints into child entrypoints instead of importing bundles for each 2018-05-01 15:15:11 -05:00
Mike Greiling f65a1da093
temporarily disable deterministic chunk hash logic 2018-05-01 15:15:10 -05:00
Mike Greiling 50889179df
adjust webpack config 2018-05-01 15:14:58 -05:00
Mike Greiling 6b1e4ad5e8 Fix memory and performance issues in Karma test suite 2018-05-01 17:40:35 +00:00
Clement Ho d79f395782 Use katex min css 2018-03-28 20:01:57 +00:00
Mike Greiling 9238c5d5ca
prettify all node scripts 2018-03-23 11:52:54 -05:00
Mike Greiling 5c36e1b96a Merge branch 'prettier-ignore' into 'master'
Added prettierignore file

Closes #44483

See merge request gitlab-org/gitlab-ce!17907
2018-03-22 19:46:39 +00:00
Mike Greiling 907045b268
enable scope hoisting only in produciton (it interferes with HMR) 2018-03-22 14:10:38 -05:00
Phil Hughes 6fa10e6a36
Added prettierignore file
Closes #44483
2018-03-21 15:13:14 +00:00
Phil Hughes f527e6e185
Move IDE to CE
This also makes the IDE generally available
2018-03-20 14:12:48 +00:00
Mike Greiling a898a2ab87 Remove common_vue bundle 2018-03-06 21:17:52 +00:00
Tim Zallmann 67feb7cd42 Merge branch 'remove-ide' into 'master'
Remove IDE from CE

See merge request gitlab-org/gitlab-ce!17458
2018-03-05 09:11:41 +00:00
Mike Greiling b342d2ae52 Remove mr_notes webpack bundle 2018-03-02 21:16:11 +00:00
Constance Okoghenun 8510fc8701 Removed terminal webpack bundle tag 2018-03-02 20:04:55 +01:00
Clement Ho 98fecb5f8e Merge branch 'remove-test-bundle' into 'master'
Remove the "test" bundle and apply it conditionally within main.js

See merge request gitlab-org/gitlab-ce!17472
2018-03-02 17:18:29 +00:00
Clement Ho 29356cfee1 Merge branch 'two_factor_auth_webpack_bundle_tag_refactor' into 'master'
Removes webpack bundle tag for two factor auth js

See merge request gitlab-org/gitlab-ce!17330
2018-03-02 16:28:43 +00:00
Clement Ho 834f4de181 Remove protected branches webpack bundle tag 2018-03-02 16:28:26 +00:00
Phil Hughes 4927cb75e6
Remove IDE from CE 2018-03-02 08:42:02 +00:00
Mike Greiling 617a8e2a3a
remove two_factor_auth bundle 2018-03-01 23:27:47 -06:00
Clement Ho 9f23532c8b Remove registry list webpack entry point 2018-03-01 23:44:10 +00:00
Mike Greiling eefd17437c
remove the "test" bundle and apply it conditionally within main.js 2018-03-01 15:11:46 -06:00
Mike Greiling d79df7baf7 Remove u2f webpack bundle 2018-03-01 18:13:50 +00:00
Mike Greiling 41bba60490
remove common_vue CommonsChunk config 2018-03-01 11:34:13 -06:00
Mike Greiling ce4dd19e09
migrate stl_viewer to dynamic import 2018-03-01 11:29:26 -06:00
Mike Greiling 9d9d010594
migrate sketch_viewer to dynamic import 2018-03-01 11:29:26 -06:00
Mike Greiling 4e86a7378c
migrate pdf_viewer to dynamic import 2018-03-01 11:29:25 -06:00
Mike Greiling e2c8783815
migrate notebook_viewer to dynamic import 2018-03-01 11:28:34 -06:00
Mike Greiling 2d8966f7f5
migrate balsamiq_viewer to dynamic import 2018-03-01 11:28:33 -06:00
Clement Ho e951fa9da0 Remove unnecessary chunks from common_vue 2018-03-01 16:57:55 +00:00
Clement Ho ec2e54b363 Merge branch 'protected-tags-bundle-refactor' into 'master'
Removed protected_tags webpack bundle

See merge request gitlab-org/gitlab-ce!17334
2018-03-01 00:24:02 +00:00
Jacob Schatz b507564017 Merge branch 'pipelines_show_refactor' into 'master'
Refactor pipelines show for webpack bundle tag removal

See merge request gitlab-org/gitlab-ce!17127
2018-02-28 21:53:35 +00:00
Constance Okoghenun aae4d8b014 Remove webpack bundle tag for enviroments 2018-02-28 20:26:12 +00:00
Clement Ho 9353c5c780 Merge branch 'master' into 'pipelines_show_refactor'
# Conflicts:
#   config/webpack.config.js
2018-02-28 18:40:06 +00:00
Jacob Schatz 9cb3ababe7 Merge branch 'master' into 'dispatcher-cleanup'
# Conflicts:
#   config/webpack.config.js
2018-02-28 17:55:11 +00:00
Clement Ho a9db24b2be Remove cycle analytics bundle webpack entry point 2018-02-28 17:13:46 +00:00
Mike Greiling 5a3511ea78
prefer let and const in webpack config 2018-02-28 01:19:10 -06:00
Mike Greiling 6e49a75787
remove common_vue from CommonsChunkPlugin 2018-02-28 01:08:18 -06:00
Mike Greiling 97112250e1
remove unused ui_development_kit webpack bundle 2018-02-28 01:03:42 -06:00
Mike Greiling 7ed005a561
remove unused filtered_search webpack bundle 2018-02-28 01:02:04 -06:00
Mike Greiling 77926bc29d
remove unused project_import_gl webpack bundle 2018-02-28 00:57:52 -06:00
Mike Greiling 182ed52215
remove unused help webpack bundle 2018-02-28 00:56:16 -06:00
Jacob Schatz 4371f84564 Merge branch 'remove-merge-conflicts-bundle' into 'master'
Remove merge_conflicts bundle

See merge request gitlab-org/gitlab-ce!17408
2018-02-28 02:42:42 +00:00
Fatih Acet 059ab73b8e Render MR Notes with Vue with behind a cookie 2018-02-28 00:10:43 +00:00
Mike Greiling 7ec5d320f3
remove duplicate common and common_vue definitions 2018-02-27 16:56:39 -06:00
Mike Greiling 94d5dd3b7b
remove merge_conflicts bundle in favor of pages directory entry point 2018-02-27 16:51:12 -06:00
Mike Greiling 0be4a77d00 Merge branch '43669-fix-webpack-trailing-comma' into 'master'
Fix webpack.config.js syntax error from trailing comma

Closes #43669

See merge request gitlab-org/gitlab-ce!17404
2018-02-27 22:01:24 +00:00
Clement Ho 254c43fbb1 Remove snippet bundle webpack entry point 2018-02-27 21:47:34 +00:00
Clement Ho eb08e1d112 Merge branch 'master' into 'pipelines_show_refactor'
# Conflicts:
#   config/webpack.config.js
2018-02-27 21:01:31 +00:00
Clement Ho f20ee984d2 Merge branch 'master' into 'pipelines_show_refactor'
# Conflicts:
#   config/webpack.config.js
2018-02-27 20:08:20 +00:00
Eric Eastwood 16b6c0e2b1 Remove trailing comma in webpack config to support Node@<8
See https://gitlab.com/gitlab-org/gitlab-ce/issues/43669
2018-02-27 14:06:00 -06:00
Constance Okoghenun cfe4c4d984 Resolved conflicts in dispatcher.js 2018-02-27 20:35:30 +01:00
Constance Okoghenun 56b323914e Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into protected-tags-bundle-refactor 2018-02-27 20:18:28 +01:00
Jacob Schatz d4867c518f Merge branch 'remove-sidebar-bundle' into 'master'
Remove sidebar bundle webpack entry point

See merge request gitlab-org/gitlab-ce!17343
2018-02-27 18:38:47 +00:00
Mike Greiling c3564cd79e Prevent webpack from rebooting while switching branches 2018-02-27 17:06:35 +00:00
Phil Hughes 54d0f1bd71 Merge branch 'refactor-commit-show' into 'master'
Remove diff notes webpack entry point

See merge request gitlab-org/gitlab-ce!17382
2018-02-27 13:01:34 +00:00
Phil Hughes 27ca41ac3c Merge branch 'master' into 'refactor-commit-show'
# Conflicts:
#   config/webpack.config.js
2018-02-27 10:03:19 +00:00
Phil Hughes d01252024a Merge branch 'master' into 'ph-webpack-bundle-tags'
# Conflicts:
#   app/assets/javascripts/pages/projects/merge_requests/show/index.js
2018-02-27 10:02:49 +00:00
Phil Hughes a4885b8f37 Merge branch 'refactor-pipelines-list' into 'master'
Remove commit_pipelines webpack entry point

See merge request gitlab-org/gitlab-ce!17379
2018-02-27 09:58:09 +00:00
Clement Ho 9167989f3e Merge branch 'master' into refactor-commit-show 2018-02-26 20:03:21 -06:00
Clement Ho cec3cb25a9 Merge branch 'master' into refactor-environments-folder 2018-02-26 20:02:59 -06:00
Clement Ho c737646d12 Merge branch 'master' into refactor-pipelines-list 2018-02-26 20:02:37 -06:00
Clement Ho 2400c7bf4c Remove diff notes webpack entry point 2018-02-26 16:00:52 -06:00
Clement Ho f3d06efcfd Remove environments folder webpack entry point 2018-02-26 15:44:03 -06:00
Clement Ho 4ebfa4b0ad Remove commit_pipelines webpack entry point 2018-02-26 15:24:29 -06:00
Clement Ho 7729a0ecc0 Refactor wildcard dispatcher imports 2018-02-26 20:01:05 +00:00
Rémy Coutable d434c62a83 Move EE-specific JavaScript files to ee/app/assets/javascripts 2018-02-26 19:43:34 +00:00
Constance Okoghenun e7c8f8fb43 Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into profile-bundle-tag-refactor 2018-02-26 19:58:12 +01:00
Constance Okoghenun 8c122d65bf Resolved conflicts in app/assets/javascripts/pages/projects/settings/repository/show/index.js 2018-02-26 19:06:42 +01:00
Jacob Schatz a061525407 Remove webpack bundle tags for blob 2018-02-26 17:27:42 +00:00
Phil Hughes 6358004b1c
Converted webpack_bundle_tag to be automatic webpack bundles 2018-02-26 16:25:24 +00:00
Clement Ho a953051951 Merge branch 'master' into remove-sidebar-bundle 2018-02-23 17:37:26 -06:00
Clement Ho 873595337e Remove sidebar bundle webpack entry point 2018-02-23 16:57:18 -06:00
Jacob Schatz 17b3f5316d Fix conflicts 2018-02-23 15:41:54 -05:00
Jacob Schatz a90a22a774 Merge branch 'master' into 'boards-bundle-refactor'
# Conflicts:
#   config/webpack.config.js
2018-02-23 20:36:28 +00:00
Constance Okoghenun fd598fd6bd Removed protected_tags webpack bundle 2018-02-23 21:23:27 +01:00
Jacob Schatz 296a4e6825 Merge branch 'project-deploy-keys-bundle-tag-refactor' into 'master'
Refactored webpack bundle tag for deploy keys

See merge request gitlab-org/gitlab-ce!17324
2018-02-23 20:07:02 +00:00
Mike Greiling f5b8417faa
move webpack bundles we intend to keep below the list of bundles we're refactoring to reduce conflicts 2018-02-23 12:35:41 -06:00
Mike Greiling b817fb5cad
remove issue_show webpack bundle in favor of pages/projects/issues/show/index.js 2018-02-23 11:58:24 -06:00
Constance Okoghenun 544558b23a Refactored webpack bundle tag for deploy keys 2018-02-23 18:26:40 +01:00
Constance Okoghenun fffc131795 removed profile webpack bundle tag 2018-02-23 17:18:24 +01:00
Clement Ho bb5cf94afd Backport of Webpack auto include for EE imports 2018-02-22 13:15:15 +00:00
Constance Okoghenun 11c1fc1fae Resolved conflicts with master 2018-02-21 22:23:58 +01:00
Jacob Schatz bd8290d93e Rest of Dispatcher Refactor 2018-02-21 20:22:56 +00:00
Riccardo Padovani 99b96a7b5f #28481: Display time tracking totals on milestone page 2018-02-21 17:20:56 +00:00
Jacob Schatz ddf0d0c9d1 Merge branch 'refactor-jobs-show-haml' into 'master'
Add dispatcher imports for job details bundle

See merge request gitlab-org/gitlab-ce!17157
2018-02-20 21:30:11 +00:00