Commit Graph

72 Commits

Author SHA1 Message Date
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
Phil Hughes 203a94e3c2 Merge branch 'issue-edit-inline' into issue-edit-inline-description-field-specs
[ci skip]
2017-05-18 12:05:51 +01:00
Filipa Lacerda f5675666a1 Merge branch 'auto-focus-description-field' into 'issue-edit-inline'
Focus the description field in the inline form when mounted

See merge request !11441
2017-05-18 10:14:06 +00:00
Phil Hughes 9c9a24cee8 Fixed typo 2017-05-18 09:12:44 +01:00
Phil Hughes cf0cc9726d Stops formState from updating if the form is already open
[ci skip]
2017-05-17 16:06:17 +01:00
Phil Hughes 4f0849f2fd Merge branch 'issue-edit-inline' into issue-edit-inline-description-template
[ci skip]
2017-05-17 15:48:15 +01:00
Phil Hughes 6c34f5a212 Added a test with markdown
[ci skip]
2017-05-17 15:24:57 +01:00
Filipa Lacerda 81c69c288b Merge branch 'issue-edit-inline-confidential' into 'issue-edit-inline'
Issue edit inline confidential

See merge request !11389
2017-05-17 13:54:09 +00:00
Filipa Lacerda 4693aa9c9c Merge branch 'issue-edit-inline-title-validation' into 'issue-edit-inline'
Disable inline submit button when title is blank

See merge request !11409
2017-05-17 13:50:42 +00:00
Phil Hughes 292780272e Focus the description field in the inline form when mounted
[ci skip]
2017-05-17 14:35:02 +01:00
Phil Hughes 907dd68e0a Added move to project in issue inline edit form
[ci skip]
2017-05-17 13:01:24 +01:00
Phil Hughes 3301ca1055 Fixed up the template dropdown to correctly work
[ci skip]
2017-05-16 16:18:52 +01:00
Phil Hughes f1b0b4a40f Merge branch 'issue-edit-inline' into issue-edit-inline-description-template 2017-05-16 15:02:23 +01:00
Phil Hughes 35b5ea0af7 Merge branch 'issue-edit-inline' into issue-edit-inline-description-field-specs
[ci skip]
2017-05-16 14:43:43 +01:00
Phil Hughes e713c68aa7 Disable inline submit button when title is blank
[ci skip]
2017-05-16 13:07:38 +01:00
Phil Hughes 47e875ea1f Added spec for rendering the selector
[ci skip]
2017-05-16 11:38:02 +01:00
Phil Hughes 6dd2b4b91e Added spec for window reload
[ci skip]
2017-05-16 10:53:46 +01:00
Phil Hughes 468afcaaff Merge branch 'issue-edit-inline' into issue-edit-inline-confidential 2017-05-16 10:46:52 +01:00
Phil Hughes 86ab9edbb2 Merge branch 'issue-edit-inline' into issue-edit-inline-description-field
[ci skip]
2017-05-16 10:37:10 +01:00
Phil Hughes 5f2b142b66 Merge branch 'master' into issue-edit-inline 2017-05-16 10:26:56 +01:00
Phil Hughes c4fea61f15 Added inline confidential field
[ci skip]
2017-05-15 17:00:16 +01:00
Phil Hughes 36df19e71b Stop passing through the store object
[ci skip]
2017-05-15 15:34:01 +01:00
Phil Hughes f80d2ab3c6 Added specs for description field
[ci skip]
2017-05-15 13:51:25 +01:00
Phil Hughes b1affe07a1 Issue inline edit title field
[ci skip]
2017-05-15 12:15:56 +01:00
Phil Hughes e61ce83be9 Issue inline edit title field
[ci skip]
2017-05-15 11:35:26 +01:00