Commit Graph

129 Commits

Author SHA1 Message Date
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
Filipa Lacerda fed51d1eaa Remove groups_select from global namespace & simplifies the code 2017-10-27 09:05:03 +00:00
Filipa Lacerda a665a35438
Remove issuableContext from global namespace 2017-10-26 23:14:46 +03:00
Filipa Lacerda 8df62a3a64
Remove old code 2017-10-26 21:03:48 +03:00
Mike Greiling f7bdfe5098 Merge branch 'master' into 'es-module-autosave'
# Conflicts:
#   app/assets/javascripts/issuable_form.js
#   app/assets/javascripts/notes.js
2017-10-24 07:52:21 +00:00
Filipa Lacerda c9045c00e6
Removes group_avatar & group_label_subscription from global namespace 2017-10-23 16:05:53 +03:00
Filipa Lacerda cf347a5739
Remove Diff class from globalnamespace 2017-10-19 10:57:25 +01:00
Filipa Lacerda 941c11824a Fix Pikaday 2017-10-18 11:31:01 +00:00
Filipa Lacerda a854431c6f Merge branch 'ph-shortcut-js-modules' into 'master'
Remove shortcut JS classes from global namespace

See merge request gitlab-org/gitlab-ce!14783
2017-10-13 15:58:22 +00:00
Filipa Lacerda 6cf3049f48 Merge branch 'server-flash-click-remove' into 'master'
Fixed server rendered flash not being removed on click

See merge request gitlab-org/gitlab-ce!14864
2017-10-13 12:15:37 +00:00
Phil Hughes 299da4ca07
Remove shortcut JS classes from global namespace 2017-10-13 11:38:09 +01:00
Mike Greiling 6ad466a3bd Refactor broadcast_message.js 2017-10-13 09:44:03 +00:00
Phil Hughes fc828b401c
Fixed server rendered flash not being removed on click 2017-10-13 10:35:40 +01:00
Mike Greiling 9cd528aa7a
remove import from main.js 2017-10-12 11:33:42 -05:00
Filipa Lacerda 697967c177
Remove members and memberExpirationDate from window object 2017-10-12 10:42:13 +01:00
Filipa Lacerda 696ffac0ec Enable eslint in star and remove from main.js 2017-10-11 08:10:35 +00:00
Filipa Lacerda 6fb19f77e6
Use ES6 modules in labels and labels manager 2017-10-10 18:22:34 +01:00
Phil Hughes 900dd7fa93 Merge branch '38869-u2f' into 'master'
Remove u2f from global namespace

See merge request gitlab-org/gitlab-ce!14776
2017-10-10 14:14:54 +00:00
Filipa Lacerda e4e8e0fc9d Merge branch 'flash-es6-module' into 'master'
Flash is now a ES6 module

See merge request gitlab-org/gitlab-ce!14626
2017-10-10 13:51:47 +00:00
Filipa Lacerda b502921463 Remove Build code from global namespace 2017-10-10 11:06:42 +00: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
Filipa Lacerda a4c501756f
Remove Api from main.js 2017-10-09 23:26:03 +01:00
Filipa Lacerda 41b430b2cf
Remove u2f from globalnamespace 2017-10-09 23:21:56 +01:00
Filipa Lacerda 705d0e35da Merge branch 'abuse-reports-module' into 'master'
Convert AbuseReports class to a module

See merge request gitlab-org/gitlab-ce!14709
2017-10-09 09:40:52 +00:00
Filipa Lacerda 7b8148220c Remove AjaxLoadingSpinner and CreateLabelDropdown from global namespace 2017-10-09 09:04:13 +00:00
Felipe Artur b54203f0ad Commenting on image diffs 2017-10-07 04:25:17 +00:00
Filipa Lacerda 60e9ba21e9
Removes unnecessary load of LinkedTabs, Pipelines and MiniPipelineGraph classes 2017-10-06 18:15:01 +01:00
Phil Hughes 3616e063e3
Convert AbuseReports class to a module 2017-10-06 10:50:34 +01:00
Phil Hughes 8585ae61e7
Fix fork button being disabled for users who can fork to group
Previously the fork button was disabled for all users if they have
exceeded their project limit. This fixes that by changing the check
to see if the user can fork to a group instead of their own namespace.

This behaviour is already possible by visiting the new fork page
directly, so this just fixes the button being disabled.

Closes #38462
2017-09-29 10:51:26 +01:00
Phil Hughes c940fe2ad9
Lazy load images in mobile sidebar & header
Closes #38276
2017-09-27 14:37:44 +01:00
Tim Zallmann 55f772bb98 Resolve "Better SVG Usage in the Frontend" 2017-09-22 08:39:47 +00:00
Phil Hughes 598b1a17a0 Merge branch '37220-es-modules' into 'master'
Use modules in common utils

See merge request gitlab-org/gitlab-ce!14074
2017-09-21 09:01:51 +00:00