Commit graph

16 commits

Author SHA1 Message Date
Phil Hughes
dbc1544840
Fixed create merge request button not enabling
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64454
2019-07-16 11:02:37 +01:00
Phil Hughes
77c35d5d00
Create private merge requests in forks
https://gitlab.com/gitlab-org/gitlab-ce/issues/58583
2019-07-05 12:16:46 +01:00
Brandon Labuschagne
5ebb42cb8b I18N of js files starting with c or d
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-21 10:40:24 +00:00
gfyoung
23cdae8eee Enable "prefer-destructuring" in JS files
Partially addresses #47006.
2018-06-25 11:53:57 -07:00
Clement Ho
3e3f527991 Resolve "Branch name status color is not correct anymore" 2018-06-19 21:22:31 +00:00
Winnie Hellmann
fa29bc2899 Fix branch name encoding for dropdown on issue page 2018-06-13 22:48:59 +00:00
Clement Ho
8bd38fdc25 Merge branch 'master' into bootstrap4 2018-04-23 08:51:42 -05:00
Clement Ho
f4a98ea9d1 Fix issue create new branch 2018-04-19 19:16:13 -05:00
Jacopo
5a29a304be Shows new branch/mr button even when branch exists 2018-04-19 13:56:36 +02:00
Winnie Hellmann
9aed32b1a2 Cleanup new branch/merge request form in issues 2018-02-12 12:05:19 +01:00
Phil Hughes
6a89ce2953
Converted create_merge_request_dropdown to axios 2018-01-29 09:06:57 +00:00
Phil Hughes
ff0f74ac6e
Tidy up main JS file 2018-01-10 11:07:42 +00:00
Eric Eastwood
f4c2eeb2a6 Fix custom name in branch creation for issue in Firefox
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/41563

`event.srcElement` is non-standard,
https://developer.mozilla.org/en-US/docs/Web/API/Event/srcElement
2018-01-04 17:51:52 -06:00
Vitaliy @blackst0ne Klachkov
5bc32b65f1 Add an ability to use a custom branch name on creation from issues 2017-11-25 22:33:05 +11:00
Phil Hughes
fa2af5e0f5
Flash is now a ES6 module
Reduced the technical debt around our JS flash function by making it a
module that is imported rather than relying on the global function.
The global function still exists mainly for technical debt with how
some requests are being completed, but new JS should import the module
directly.

Also reduces some tech debt in the file by removing the need for jQuery.
Instead Flash is now 100% vanilla JS.
2017-10-10 10:14:22 +01:00
Alfredo Sumaran
b64a37c4ed Allow to create new branch and empty WIP merge request from issue page 2017-05-04 08:09:21 +00:00