Commit Graph

275 Commits

Author SHA1 Message Date
GitLab Bot 073ebdcae8 Add latest changes from gitlab-org/gitlab@master 2020-08-17 15:10:09 +00:00
GitLab Bot cdd71cf36a Add latest changes from gitlab-org/gitlab@master 2020-07-10 09:09:01 +00:00
GitLab Bot 901af2a0dd Add latest changes from gitlab-org/gitlab@master 2020-06-23 18:09:28 +00:00
GitLab Bot b9f288cdfa Add latest changes from gitlab-org/gitlab@master 2020-06-19 00:09:12 +00:00
GitLab Bot 8c826685ec Add latest changes from gitlab-org/gitlab@master 2020-06-02 09:08:01 +00:00
GitLab Bot 2e2cd0ea3e Add latest changes from gitlab-org/gitlab@master 2020-06-02 00:08:07 +00:00
GitLab Bot 21539fe9ab Add latest changes from gitlab-org/gitlab@master 2020-05-22 00:08:07 +00:00
GitLab Bot 48650fe1bf Add latest changes from gitlab-org/gitlab@master 2020-05-18 12:08:08 +00:00
GitLab Bot b6a92c969b Add latest changes from gitlab-org/gitlab@master 2020-05-07 06:09:38 +00:00
GitLab Bot e33f87ac0f Add latest changes from gitlab-org/gitlab@master 2020-04-21 15:21:10 +00:00
GitLab Bot aaf5961054 Add latest changes from gitlab-org/gitlab@master 2020-03-18 15:09:45 +00:00
GitLab Bot ffc43b862d Add latest changes from gitlab-org/gitlab@master 2020-02-27 06:09:20 +00:00
GitLab Bot f82d5dcab7 Add latest changes from gitlab-org/gitlab@master 2020-02-26 21:09:11 +00:00
GitLab Bot b304a72312 Add latest changes from gitlab-org/gitlab@master 2020-02-17 15:09:01 +00:00
GitLab Bot 0d6fa03312 Add latest changes from gitlab-org/gitlab@master 2020-02-06 18:08:54 +00:00
GitLab Bot 6315ed9630 Add latest changes from gitlab-org/gitlab@master 2020-01-28 18:08:35 +00:00
GitLab Bot 9044365a91 Add latest changes from gitlab-org/gitlab@master 2020-01-15 15:08:32 +00:00
GitLab Bot 045c0f9554 Add latest changes from gitlab-org/gitlab@master 2020-01-06 12:07:56 +00:00
GitLab Bot 669c24d927 Add latest changes from gitlab-org/gitlab@master 2020-01-06 09:07:42 +00:00
GitLab Bot 79d62647bc Add latest changes from gitlab-org/gitlab@master 2019-12-18 12:07:48 +00:00
GitLab Bot 69d6d3ca20 Add latest changes from gitlab-org/gitlab@master 2019-12-16 21:08:00 +00:00
GitLab Bot 84a0e65ac8 Add latest changes from gitlab-org/gitlab@master 2019-11-07 12:06:21 +00:00
GitLab Bot 09ffaae132 Add latest changes from gitlab-org/gitlab@master 2019-10-23 12:06:18 +00:00
GitLab Bot b35b9ac7e2 Add latest changes from gitlab-org/gitlab@master 2019-09-19 21:06:29 +00:00
GitLab Bot 80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
Jeremy Jackson 1509768335 Changes snowplow to use cookies for sessions
This also restructures how and where the configuration for
Snowplow lives.
2019-08-28 06:52:14 +00:00
Jeremy Jackson 92b723db95 Revert "Merge branch 'user-tracking-settings' into 'master'"
This reverts merge request !31826
2019-08-26 22:16:23 +00:00
Jeremy Jackson 6c82462df6 Changes snowplow to use cookies for sessions
This also restructures how and where the configuration for
Snowplow lives.
2019-08-26 18:14:48 +00:00
Heinrich Lee Yu 29f1ab6b52 Add CSP nonce when handling JS views
Prevents errors when we have CSP enabled
2019-08-22 06:53:53 +08:00
Marc Schwede 803d324367 Changed selection classes to harmonize with other settings 2019-08-14 21:12:38 +00:00
Kushal Pandya df905b4080 Revert "Merge branch '64341-data-and-privacy-agreement-for-gitlab-users' into 'master'"
This reverts merge request !30808
2019-08-14 17:53:07 +00:00
Dennis Tang e5dd249c4f Add notification for updated privacy policy
This adds a notification to let users know of our updated privacy
policy.

Users can dismiss the notification either by following the link or
closing the notification via an "x" icon.
2019-08-14 12:20:36 +00:00
Phil Hughes 000f7ed71f Merge branch '12368-main-js' into 'master'
Resolve CE/EE diff in main.js

See merge request gitlab-org/gitlab-ce!30347
2019-07-04 13:19:52 +00:00
Lukas Eipert 0e4cef8589
Resolve CE/EE diff in main.js
Moving ee/main.js to ee/main_ee.js allows to add a noop file in CE and
utilize ee_else_ce.
2019-07-04 12:18:51 +02:00
Nathan Friend 36e73eff4e
Allow (Haml) tooltip delay customization via localStorage 2019-06-28 16:27:47 -03:00
Filipa Lacerda 5d3747c39a Next badge must be visible when canary flag is true 2019-05-20 13:30:40 +01:00
Kushal Pandya e5d2e7e677 Merge branch 'js-i18n-m' into 'master'
i18n JS files starting with m

See merge request gitlab-org/gitlab-ce!28068
2019-05-15 13:02:51 +00:00
Filipa Lacerda f769f539d5 Fixes next badge being always visible 2019-05-10 13:56:00 -05:00
Filipa Lacerda 2f8154a4e5 Only renders Next badge for gitlab.com 2019-05-07 07:43:52 +00:00
Brandon Labuschagne d3e86b4422 I18N JS files starting with m
This is one of many MRs opened in order to improve the overall
internationalisation of the GitLab codebase.

This commit only targets Vanilla JS files.

i18n documentation
https://docs.gitlab.com/ee/development/i18n/externalization.html
2019-05-03 15:00:44 +02:00
Filipa Lacerda d275336b0b Adds information about Canary env
This commit adds a badge to the navbar
that indicates if Canary is being used
When canary is not being used, it renders a link
to next.gitlab.com
2019-04-25 16:36:56 +01:00
Phil Hughes 0e07a5aaa5
Fixes some requests not being tracked in performance bar
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57886
2019-02-19 08:46:11 +00:00
Dimitrie Hoekstra 7cdab4da83 Changed default tooltip position to be top, instead of bottom
- Tooltips, by default, will display at the top of the element, instead
of at the bottom
- Note actions and emoji awards tooltips are now top-positioned
2019-02-06 13:28:25 +00:00
Tim Zallmann 40a04bc7e6 Wraps Select 2 Import into its own webpack bundle
Wraps all imports for select 2 to deferred imports,
especially in the main.js we are actually checking if there 
is any select 2 element on the page or not.
2019-01-29 12:48:39 +01:00
Tim Zallmann 4511473aee Moved not so important initialisation functions into idleCallBack Calls 2019-01-08 12:25:18 +01:00
Tim Zallmann ddd4cc649f Resolve "Extended user centric tooltips" 2018-12-08 03:12:23 +00:00
Lukas Eipert 05ec7b352f
Remove obsolete usage of gl.lazyLoader.loadCheck
In [!21565][0] we removed the loadCheck function from the LazyLoader for
images. The function seemed to be obsolete before anyhow, because we
make use of the MutationObserver in order to detect elements added /
removed from the DOM.

[0]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21565
2018-10-15 08:05:45 +02:00
Mike Greiling df1eb4fa6c
Move GFM autocomplete setup, delete dispatcher 2018-09-14 01:22:54 -05:00
Mike Greiling 2aa29872a6
Move performance_bar setup to dispatcher to main.js 2018-09-14 01:22:53 -05:00
Mike Greiling 05f403cf04
Move search autocomplete from dispatcher to main.js 2018-09-14 01:22:53 -05:00
Mike Greiling c7afb8f885
Move initFieldErrors from dispatcher to main.js 2018-09-13 23:59:17 -05:00
Mike Greiling 105ab36b68
Remove superfluous import 2018-09-13 23:59:13 -05:00
Mike Greiling 3f9129dd0d
Move svg4everybody into polyfills and reorganize 2018-09-13 23:59:08 -05:00
Jan Provaznik a415a904b8 Ask user explicitly about usage stats agreement 2018-09-07 14:32:28 +00:00
Dennis Tang 3892b022e3 Resolve "Add dropdown to Groups link in top bar" 2018-07-06 13:40:11 +00:00
Clement Ho ebf5f31d8c Set tooltips to have default boundary viewport 2018-06-08 04:27:36 +00:00
Annabel Dunstone Gray 336b50d030
Fix right-aligned menus; only display tooltip on hover 2018-05-08 09:16:35 -07:00
Clement Ho 5955caed32 Merge branch 'master' into bootstrap4 2018-05-08 10:49:30 -05:00
Mike Greiling b5983a700e
consolidate main bootstrap entries 2018-05-06 01:21:13 -05:00
Mike Greiling de07384b8e
prettify main.js 2018-05-06 01:16:29 -05:00
Clement Ho fe60886aa2 Fix some karma specs 2018-04-24 15:43:55 -05:00
Clement Ho 6553582962 Fix resolve discussion tooltip 2018-04-20 09:44:56 -05:00
Clement Ho f8705d4fa1 Replace tooltip('destroy') with tooltip('dispose') 2018-04-19 14:16:18 -05:00
Clement Ho 909f1c933f Remove duplicate tooltip instantiation 2018-04-17 11:34:00 -05:00
Clement Ho bb3d3e5426 Fix tooltips 2018-04-17 10:36:18 -05:00
Clement Ho 737854e6c9 [skip ci] Convert navbar-toggle to navbar-toggler 2018-04-10 13:10:52 -05:00
Mike Greiling 1fff345e0d
move confirm_danger_modal bindings directly into the only two pages that need it 2018-03-20 10:50:26 -05:00
Mike Greiling 43ff14e0c5
refactor ConfirmDangerModal into ES module 2018-03-20 00:37:16 -05:00
Mike Greiling c1708514f5
move render_gfm into behaviors directory 2018-03-19 23:07:46 -05:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Mike Greiling eefd17437c
remove the "test" bundle and apply it conditionally within main.js 2018-03-01 15:11:46 -06:00
André Luís da531c3905 Add Tip about Push to Create project on New Project page 2018-02-23 09:00:19 +00:00
Mike Greiling ba5ae88aad
use DOMContentLoaded event over jQuery .ready to ensure execution order 2018-02-21 00:06:14 -06:00
Jacob Schatz 35c8fd5586 Update to jQuery 3. 2018-02-20 22:20:48 +00:00
Eric Eastwood 2fb167fa3b Restore feature_highlight code
From https://gitlab.com/gitlab-org/gitlab-ce/issues/36760

Was reverted in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14373
2018-02-05 12:10:09 -06:00
Mike Greiling f0fe736e32
ensure dispatcher is run before other DOMContentLoaded handlers 2018-02-01 21:28:50 -06:00
Phil Hughes ff0f74ac6e
Tidy up main JS file 2018-01-10 11:07:42 +00:00
Jacob Schatz 7114faf1ed Remove preview_markdown from the global obj 2018-01-09 09:08:11 +00:00
Phil Hughes 30ea58dabb
Changed layout_nav to ES module 2017-12-19 10:47:41 +00:00
Phil Hughes 0a05d8740a Merge branch 'master' into 'ph-es-notes-module'
# Conflicts:
#   app/assets/javascripts/main.js
2017-12-18 10:31:21 +00:00
Phil Hughes 6a33587182
Exported JS classes as modules 2017-12-15 16:37:49 +00:00
Phil Hughes eaf2f48dc7
Export and use Notes ES module 2017-12-15 16:33:36 +00:00
Phil Hughes 29e1a63d3d
Export JS classes as modules
#38869
2017-12-15 09:31:58 +00:00
Phil Hughes adb8483331
Converted JS modules into exported modules 2017-12-14 11:50:40 +00:00
Tim Zallmann 9daeccfb3a Merge branch '38869-datetime' into 'master'
Export date utility functions as ES6 modules

See merge request gitlab-org/gitlab-ce!15782
2017-12-14 07:38:48 +00:00
Phil Hughes eb499b60ba Merge branch 'new-nav-tech-debt' into 'master'
Remove page-with-new-nav class

See merge request gitlab-org/gitlab-ce!15819
2017-12-13 09:48:34 +00:00
Filipa Lacerda 011ffcfd30
Merge branch 'master' into 38869-datetime
* master: (85 commits)
  Export old code into es6 modules
  Use relative URL for projects to avoid storing domains
  Fix spec by avoiding monkeypatching
  Return the noteable in Note#touch_noteable
  add CHANGELOG.md entry for !15889
  fix broken empty state assets for environment monitoring page
  removed tab indexes from tag form
  Refactor entrypoint override docs
  Present member collection at the controller level
  Adds i18n
  check the import_status field before doing SQL operations to check the import url
  Fix rubocop offence
  Fix entrypoint overriding documentation
  Remove unnecessary js-issuable-edit
  Use memoization for commits on diffs
  Move Repository#write_ref to Git::Repository#write_ref
  Treat empty markdown and html strings as valid cached text, not missing cache that needs to be updated
  Center cluster title
  Remove noisy notification from QA base page
  Remove unused page from hashed storage QA scenario
  ...
2017-12-13 09:36:50 +00:00
Filipa Lacerda aa90e8ea5b Export old code into es6 modules 2017-12-13 09:26:44 +00:00
Filipa Lacerda 3c19c971df
Merge branch 'master' into 38869-datetime
* master: (112 commits)
  small change to make less conflict with EE version
  Add cop for use of remove_column
  Resolve merge conflicts with dev.gitlab.org/master after security release
  add index for doc/administration/operations/
  Remove RubySampler#sample_objects for performance as well
  Bugfix: User can't change the access level of an access requester
  Add spec for removing issues.assignee_id
  updated imports
  Keep track of storage check timings
  Remove a header level in the new 'Automatic CE->EE merge' doc
  Improve down step of removing issues.assignee_id column
  Fix specs after removing assignee_id field
  Remove issues.assignee_id column
  Resolve conflicts in app/models/user.rb
  Fix image view mode
  Do not raise when downstream pipeline is created
  Remove the need for destroy and add a comment in the spec
  Use build instead of create in importer spec
  Simplify normalizing of paths
  Remove allocation tracking code from InfluxDB sampler for performance
  ...
2017-12-11 19:42:58 +00:00
Phil Hughes a5d2732ce9 Merge branch 'master' into 'url-utility-es-module'
# Conflicts:
#   app/assets/javascripts/issue_show/components/app.vue
2017-12-11 11:35:57 +00:00
Annabel Dunstone Gray 77c254f225
Rename page-with-sidebar to layout-page 2017-12-08 14:19:01 -07:00
Phil Hughes e0bbadc2d2
use exported methods instead of gl.utils 2017-12-08 08:54:51 +00:00
Filipa Lacerda 139ce1c445
Export date utility functions as ES6 modules 2017-12-07 11:09:17 +00:00
Mike Greiling 8c64e8b4b6
convert CompareAutocomplete from class definition into simple function call, remove global export 2017-11-30 14:48:09 -06:00
Mike Greiling 9f51a70e17
convert Compare class into ES module import/export syntax 2017-11-30 14:48:09 -06:00
Mike Greiling f63ab77009
remove commits.js import form main.js (related to !14735) 2017-11-30 14:48:08 -06:00
Tim Zallmann 17c53d7d0d Merge branch 'es-module-copy-to-clipboard' into 'master'
Refactor 'copy-to-clipboard.js'

See merge request gitlab-org/gitlab-ce!15531
2017-11-30 07:31:37 +00:00
Mike Greiling 2e5ce7e60f
move copy_to_clipboard to behaviors directory as it is needed on all pages
[ci-skip]
2017-11-28 15:37:58 -06:00
Eric Eastwood ac87bd0c11 Add checkboxes to automatically run AutoDevops pipeline
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38962
2017-11-28 12:43:43 -06:00
Phil Hughes 1374da4ca9
Fixed import of render mermaid & render math methods 2017-11-22 18:22:15 +00:00