Commit Graph

96 Commits

Author SHA1 Message Date
gfyoung bce890820f Enable no-restricted-globals in JS files 2018-06-15 15:58:27 +00:00
Mike Greiling 4d828eae20
convert remaining instances of import * to use spyOnDependency 2018-04-23 00:54:20 -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
Rémy Coutable d434c62a83 Move EE-specific JavaScript files to ee/app/assets/javascripts 2018-02-26 19:43:34 +00:00
Winnie Hellmann 0711ebbd72 Use restore() instead of reset() for removing axios MockAdapter 2018-01-23 12:42:02 +01:00
Jacob Schatz 89c3c88e6d Add confirm when navigating away from page with tests. 2018-01-18 07:18:01 -05:00
Phil Hughes ff0f74ac6e
Tidy up main JS file 2018-01-10 11:07:42 +00:00
Eric Eastwood d2e5313ad8 Switch issue_show to Axios 2018-01-02 17:59:04 -06:00
Winnie Hellmann d5d2d7b2e0 Rename recaptcha-dialog to recaptcha-modal 2017-12-12 13:07:03 +01: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
Luke Bennett 1a3b292d35 Resolve "No feedback when checking on checklist if potential spam was detected" 2017-12-08 12:26:39 +00:00
Phil Hughes e0bbadc2d2
use exported methods instead of gl.utils 2017-12-08 08:54:51 +00:00
Filipa Lacerda 2018039536 Export template selector as ES6 modules 2017-12-06 09:29:59 +00:00
Fatih Acet e74ef3acea Merge branch 'backport-border-inline-edit' into 'master'
Backport - Add border for epic edit button

See merge request gitlab-org/gitlab-ce!15637
2017-11-29 09:43:25 +00:00
Clement Ho 52eac5bb0e Backport epic tasklist 2017-11-29 09:29:06 +00:00
Clement Ho 27d64f5baa Backport border inline edit 2017-11-28 13:14:46 -06:00
Clement Ho c6c493a730 Backport delete epic changes 2017-11-15 17:13:20 -06:00
Clement Ho baf07e914d Add inline edit button to issue_show app 2017-10-17 17:04:33 +00:00
kushalpandya ce884ad308 Remove confidential toggle checkbox and related code as no longer necessary 2017-09-11 09:28:51 +05:30
Eric Eastwood 90c60138db Move "Move to different project" to sidebar
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/34261
2017-09-03 22:03:17 -05:00
Douwe Maan 92edb3edab Merge branch 'master' into issue-discussions-refactor
# Conflicts:
#	app/models/issue.rb
2017-08-31 18:02:19 +02:00
Clement Ho cc81a40dcc Fix invalid attribute used for time-ago-tooltip component 2017-08-30 18:50:06 +00:00
Douwe Maan 9c22974cd1 Rename a few attribute suffixes from `_url` to `_path` 2017-08-17 19:25:56 +02:00
Filipa Lacerda aaa78199c2 Update vue-resource 2017-07-12 14:47:09 +00:00
Mike Greiling d990df7481 refactor TaskList class to ES module syntax 2017-07-06 13:05:58 -05:00
Winnie Hellmann 553346a4f4 Remove empty afterEach() from issue_show app_spec.js 2017-06-29 22:31:58 +00:00
Phil Hughes 6d4e8154b0 Fixes ctrl+enter not submit issue edit form
Closes #33758
2017-06-24 13:32:31 +01:00
Winnie Hellmann 925eea2672 Make JavaScript tests fail for unhandled Promise rejections 2017-06-23 09:28:19 +00:00
Phil Hughes 5dc253f138 Stop showing task status if no tasks are present
Previously the task status would be visible even if there where no tasks
in the description. This fixes that by changing the regex to check for
tasks without 0.

This also fixes a bug where update the description inline would not
update the task status text on screen.

Closes #33880
2017-06-20 10:58:07 +01:00
Winnie Hellmann 2955e95604 Clean up Vue warnings in tests 2017-06-20 08:05:55 +00:00
Eric Eastwood 84e23ae06c Fix issue description syntax highlighting and math rendering
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33877

Regressed in
5a95d6f8da (3a15290e7696397415523e0b664aceb3dd4010ae_0_46)
where the ref no longer matches what we call `renderGFM` on.
2017-06-19 15:29:46 -05:00
Mike Greiling 132be812d1 fix frontend test failures after jasmine upgrade 2017-06-15 16:21:53 -05:00
Luke "Jared" Bennett 5a4a082490
Merge remote-tracking branch 'origin/master' into fix-realtime-edited-text-for-issues-9-3 2017-06-02 17:17:54 +01:00
Luke "Jared" Bennett 07c984d81c
Port fix-realtime-edited-text-for-issues 9-2-stable fix to master. 2017-05-31 11:35:05 +01:00
Phil Hughes df7c90116b fixed issuable shortcuts not working
moved setstate method into store
2017-05-30 11:58:50 +01:00
Phil Hughes 3ce6658d8d Warn before moving issue in inline edit form
[ci skip]
2017-05-25 11:58:40 +01:00
Phil Hughes 625d344206 renamed path to web_url in endpoint 2017-05-25 11:20:52 +01:00
Phil Hughes a9470c45e4 fixed karma failures
[ci skip]
2017-05-24 12:42:23 +01:00
Filipa Lacerda e78b8223fe Merge branch 'issue-edit-inline-getdata-after-update' into 'issue-edit-inline'
Get new data after inline edit save

See merge request !11601
2017-05-24 09:42:31 +00:00
Phil Hughes 21205d1e85 Merge branch 'issue-edit-inline' into issue-edit-inline-description-template
[ci skip]
2017-05-22 14:14:04 +01:00
Phil Hughes d3198c607c Get new data after inline edit save
[ci skip]
2017-05-22 13:59:11 +01:00
Phil Hughes 95efe5b3e3 Added test to check if warning is not visible
[ci skip]
2017-05-22 09:53:55 +01:00
Phil Hughes 16243985c2 Merge branch 'issue-edit-inline' into issue-edit-inline-locked-warning
[ci skip]
2017-05-22 09:13:49 +01:00
Phil Hughes 7a21e26f4b Merge branch 'issue-edit-inline' into issue-edit-inline-description-template
[ci skip]
2017-05-22 08:59:37 +01:00
Filipa Lacerda 3c3b17a5a4 Merge branch 'issue-edit-inline-move-project' into 'issue-edit-inline'
Added move to project in issue inline edit form

See merge request !11437
2017-05-19 09:10:16 +00:00
Phil Hughes 1c463586c4 Removed un-used CSS
Fixed random if statement

[ci skip]
2017-05-18 22:35:42 +01:00
Phil Hughes 982ab8703e Added specs for testing when warning is visible
[ci skip]
2017-05-18 17:37:37 +01:00
Phil Hughes c225007a72 Added back a removed test
[ci skip]
2017-05-18 15:50:25 +01:00
Phil Hughes b8647134d9 Merge branch 'issue-edit-inline' into issue-edit-inline-move-project
[ci skip]
2017-05-18 12:44:27 +01:00