Commit Graph

25 Commits

Author SHA1 Message Date
Brandon Labuschagne 40043a0766 Internationalisation of protected_tags directory
This is one of many MRs opened in order to improve the overall
internationalisation of the GitLab codebase.

i18n documentation
https://docs.gitlab.com/ee/development/i18n/externalization.html
2019-04-30 23:01:23 +00:00
Mike Greiling c0d26698c4
Prettify protected_branches and protected_tags modules 2018-10-17 00:44:22 -05:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Constance Okoghenun fd598fd6bd Removed protected_tags webpack bundle 2018-02-23 21:23:27 +01:00
Jacob Schatz 35c8fd5586 Update to jQuery 3. 2018-02-20 22:20:48 +00:00
Phil Hughes deaf6aee2b
Converted protected_tag_edit.js to use axios 2018-02-05 09:40:59 +00:00
Eric Eastwood b63686ce6a Generalize protected branch/tag dropdowns
Remove duplicate ee code

This was generalized for usage in the new variable table design, see
https://gitlab.com/gitlab-org/gitlab-ce/issues/39118#note_53615249

Conflicts:
	app/assets/stylesheets/pages/projects.scss
	ee/app/assets/javascripts/protected_branches/protected_branch_create.js
	ee/app/assets/javascripts/protected_tags/protected_tag_create.js
	ee/app/views/projects/protected_branches/ee/_dropdown.html.haml
2018-01-12 01:46:45 -06: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
Tim Zallmann dab08be606 Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
kushalpandya 4b45a1b322 Initialize module on bundle load 2017-07-20 17:38:35 +05:30
James Edwards-Jones 0c1bf16d5f Backport EE refactorings for Protected Tag EE-only functionality
Improvements and refactorings were made while adding role based permissions for protected tags to EE. This doesn’t backport the feature, but should improve code quality and minimize divergence.
2017-05-31 13:06:29 +01:00
Clement Ho c4094b7ec4 Fix specs 2017-05-04 22:34:15 -05:00
Kushal Pandya 6f15e89a6b Show Flash message above Tags list 2017-04-07 18:18:58 +05:30
Kushal Pandya ca9cded45d Fixes as per feedback 2017-04-06 19:09:48 +05:30
Kushal Pandya cd5b36d04e Add constructor doc, toggle helper 2017-04-06 14:47:50 +05:30
Kushal Pandya 92b75704c2 Re-export classes using ES6 `export` 2017-04-06 14:17:41 +05:30
Kushal Pandya 115d4a4106 Convert to pure ES6 class 2017-04-06 14:17:19 +05:30
Kushal Pandya 678672b066 Bundle renamed to `index.js` 2017-04-06 14:16:52 +05:30
James Edwards-Jones 07d7d8e659 Renamed ProtectedTag push_access_levels to create_access_levels 2017-04-04 03:38:58 +01:00
Kushal Pandya bbb09feaa1 Export Protected Tags Editing classes 2017-04-03 11:41:05 +05:30
Kushal Pandya 551dea7efe Protected Tags List initializer 2017-04-03 11:40:43 +05:30
Kushal Pandya 85e1fa8e21 ProtectedTagEdit class for edit protected tags 2017-04-03 11:40:21 +05:30
James Edwards-Jones 18b445ade4 Protected tags can be added/listed via UI 2017-03-31 19:37:16 +01:00
Kushal Pandya c5c4370a7b Re-export protected tag classes 2017-03-21 21:22:12 +05:30
Kushal Pandya 97a02fca6b Protected Tags Classes 2017-03-21 21:21:56 +05:30