Commit Graph

205 Commits

Author SHA1 Message Date
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