Commit Graph

160 Commits

Author SHA1 Message Date
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
Phil Hughes d7527d73b1 Merge branch 'feature_add_mermaid' into 'master'
Add support of Mermaid

Closes #3711

See merge request gitlab-org/gitlab-ce!15107
2017-11-22 11:00:12 +00:00
Vitaliy @blackst0ne Klachkov 131e74d10d Add support of Mermaid 2017-11-22 14:12:04 +11:00
Filipa Lacerda 030de8b328
Export code as ES6 modules 2017-11-20 20:28:29 +00:00
Sean McGivern 7a61a8e09b Merge branch '39167-async-boards-sidebar' into 'master'
Make Issue Boards sidebar subscriptions async

Closes #39167 and #40094

See merge request gitlab-org/gitlab-ce!15364
2017-11-20 16:49:14 +00:00
Filipa Lacerda ef2b8a44b5 Remove pretty time from main.js 2017-11-20 16:20:46 +00:00
Eric Eastwood f494dbc515 Async notification subscriptions in issue boards 2017-11-20 12:38:53 -02:00
Filipa Lacerda 77b1def421 Exports a couple of project related code as es6 modules 2017-11-17 11:30:09 +00:00
Filipa Lacerda 86cc493d76
Export project, projectAvatar and projectImport as ES6 modules 2017-11-13 17:45:45 +00:00
Filipa Lacerda 1ff3f1a4f7 Export text utils as ES6 modules 2017-11-13 09:11:54 +00:00
Mike Greiling 9fd8999061
move to copy_as_gfm to behaviors since it is invoked on every page 2017-11-01 12:59:35 -05:00
Filipa Lacerda 1fc4e2b6c6 Export logo and labels select as ES6 modules 2017-11-01 12:32:15 +00:00
Tim Zallmann e148f1f9f2 Resolve "Convert fuzzaldrin-plus.js library to be a Yarn managed library" 2017-11-01 08:58:41 +00:00
Filipa Lacerda 430131f720
Remove issue and issue status select from global namespace 2017-10-30 18:59:16 +00:00
Filipa Lacerda 46d8209e8c Merge branch 'master' into 38869-importer_status
* master: (51 commits)
  Move locked check to a guard-clause
  Ci::Build tag is a trait instead of an own factory
  [CE backport] Saved configuration for issue board
  Use the correct project visibility in system hooks
  Add changelog
  more readable changelog
  Make merge_jid handling less stateful in MergeService
  Fetch the merged branches at once
  remove extra whitespace
  use a delegate for `username` to be more future friendly
  Merging EE doc into CE
  add changelog entry
  Avoid using Rugged in Gitlab::Git::Wiki#preview_slug
  Cache commits on the repository model
  Remove groups_select from global namespace & simplifies the code
  Change default disabled merge request widget message to "Merge is not allowed yet"
  Semi-linear history merge is now available in CE.
  Remove repetitive karma spec
  Improve spec to check hidden component
  Rename to shouldShowUsername
  ...
2017-10-30 11:19:07 +00:00
Filipa Lacerda 6d7384f595 Merge branch 'es-module-autosave' into 'master'
Remove Autosave class from global namespace

See merge request gitlab-org/gitlab-ce!14856
2017-10-30 02:01:38 +00:00