Commit Graph

164 Commits

Author SHA1 Message Date
Phil Hughes 27bce7ad2c
Fixed IDE file row jumping into view on hover
Closes #50751
2018-08-31 10:27:44 +01:00
Phil Hughes 3a283fa861
Enabled multiple uploads in the Web IDE
Closes #50405
2018-08-29 16:05:30 +01:00
Filipa Lacerda 632d3a9412 Merge branch 'ide-header-buttons-tooltip' into 'master'
Added tooltips to tree list header buttons in Web IDE

Closes #50141

See merge request gitlab-org/gitlab-ce!21138
2018-08-13 08:58:03 +00:00
Phil Hughes dcec090736
added spec 2018-08-13 08:40:15 +01:00
Phil Hughes f3d37980ce
fixed karma spec 2018-08-10 16:50:49 +01:00
Paul Slaughter 0d6e50d542 Create Web IDE MR and branch picker 2018-08-07 15:15:56 +00:00
Phil Hughes 7b4b9e1cc4
Web IDE & CodeSandbox
This enables JavaScripts projects to have live previews straight in the
browser without requiring any local configuration. This uses the
CodeSandbox package `sandpack` to compile it all inside of an iframe.

This feature is off by default and can be toggled on in the admin
settings. Only projects with a `package.json` and a `main` key are
supported.

Updates happen in real-time with hot-reloading. We just watch for
changes to files and then send them to `sandpack` to allow it to reload
the iframe. The iframe includes a very simple navigation bar, the text
bar is `readonly` to stop users navigating away from the preview and
the back and forward buttons just pop/splice the navigation stack
which is tracked by a listener on `sandpack`

There is a button inside the iframe which allows the user to open the
projects inside of CodeSandbox. This button is only visible on
**public** projects. On private or internal projects this button
get hidden to protect private code being leaked into an external
public URL.

Closes #47268
2018-08-07 14:45:55 +01:00
Paul Slaughter db739548fe Web IDE context header redesign 2018-08-07 13:19:13 +00:00
Filipa Lacerda b901df220c Merge branch 'ide-rename-files' into 'master'
Enable renaming files & folders in the Web IDE

Closes #44845

See merge request gitlab-org/gitlab-ce!20835
2018-08-03 10:00:48 +00:00
Phil Hughes 9e5bc59968
Fixed Web IDE row dropdowns scrolling list incorrectly
Closes #49892
2018-08-02 13:47:23 +01:00
Phil Hughes 3cbc2ea114
fixed karma 2018-07-31 10:33:44 +01:00
Filipa Lacerda 02e35a0d26 Merge branch 'ide-warn-staged-files' into 'master'
Warn in IDE when user navigates away with staged changes

See merge request gitlab-org/gitlab-ce!20857
2018-07-31 07:54:27 +00:00
Phil Hughes fd3ef2eb88
karma fixes 2018-07-30 17:35:56 +01:00
Phil Hughes 377afd65d1
Enable renaming files & folders in the Web IDE
Closes #44845
2018-07-30 11:45:14 +01:00
Felipe Artur 13ea4b387d Merge remote-tracking branch 'dev/master' 2018-07-26 18:30:50 -03:00
Felipe Artur Cardozo 9852304bef Merge branch 'security-ide-branch-name-xss' into 'master'
[master] Fixed XSS in branch name in Web IDE

See merge request gitlab/gitlabhq!2431
2018-07-26 21:16:24 +00:00
Phil Hughes cded268ca1 Enable deleting files in the Web IDE 2018-07-26 14:56:56 +00:00
Phil Hughes 4154477ca7
Warn in IDE when user navigates away with staged changes 2018-07-26 14:50:06 +01:00
Annabel Dunstone Gray 0deb8547af
Replace label-light with label-bold. Because it's bold, not light 2018-07-19 17:11:31 -05:00
Lukas Eipert 4ff134dfd4 Proper icon validator 2018-07-18 16:56:19 +00:00
Filipa Lacerda a3c8525dc9 Merge branch 'ide-pipeline-icon-open' into 'master'
Open pipeline list panel when clicking CI icon in Web IDE

Closes #47843

See merge request gitlab-org/gitlab-ce!20516
2018-07-13 09:06:05 +00:00
Phil Hughes be74e3936d
Improvements to new entry dropdowns in Web IDE
Closes #44845
2018-07-11 16:47:13 +01:00
Phil Hughes 0a59ccac61
Fixed XSS in branch name in Web IDE
#2691
2018-07-10 09:44:42 +01:00
Phil Hughes b6e18a2f1a
Open pipeline list panel when clicking CI icon in Web IDE
Closes #47843
2018-07-10 08:33:35 +01:00
Phil Hughes acfdcca4ba
component spec 2018-07-05 15:44:56 +01:00
Phil Hughes d4fce4dc2f
fixed eslint 2018-06-29 09:29:31 +01:00
Phil Hughes fa8c82c7ec
added specs for file actions
in this it also removes Vue Resource from the IDE, axios is nicer to test
2018-06-29 09:29:30 +01:00
Phil Hughes d255fd4f46
fixed error_message_spec 2018-06-29 09:29:30 +01:00
Filipa Lacerda f32bbfbbe8 Merge branch 'ide-commit-form-improvements' into 'master'
Improve Web IDE commit form

Closes #47307

See merge request gitlab-org/gitlab-ce!19883
2018-06-28 09:27:25 +00:00
Phil Hughes 5c483fd865
specs 2018-06-27 10:44:54 +01:00
Phil Hughes c1b29823cb
added specs 2018-06-27 09:49:23 +01:00
Phil Hughes 433ad2d0f5
karma fixes 2018-06-27 09:49:22 +01:00
Phil Hughes bc955da8ea
Fixed the IDE commit list item loosing its active state
Closes #48125
2018-06-25 11:58:24 +01:00
Filipa Lacerda 25fd298314 Merge branch 'ide-commit-actions-update' into 'master'
Improve commit flow in Web IDE

Closes #46122

See merge request gitlab-org/gitlab-ce!19735
2018-06-15 16:59:56 +00:00
Filipa Lacerda f2e90bc27c Merge branch 'ide-pipeline-reset-state' into 'master'
Resets state correctly when switching to merge request in IDE

Closes #47763

See merge request gitlab-org/gitlab-ce!19707
2018-06-14 15:26:30 +00:00
Phil Hughes f454f1ab5a
fixed karma spec 2018-06-14 15:42:56 +01:00
Phil Hughes a2bfb82002
fixed sidebar list spec 2018-06-14 15:42:55 +01:00
Phil Hughes 30ef254521
fixed hover styling caused by dropdown
fixed karma specs
added CHANGELOG item
2018-06-14 15:42:55 +01:00
Filipa Lacerda df2efbdbec Merge branch 'ide-commit-section-file-active-indicator' into 'master'
Add active class to active file in IDE commit panel

Closes #46051

See merge request gitlab-org/gitlab-ce!19646
2018-06-13 10:13:50 +00:00
Phil Hughes cf22366d79
Resets state correctly when switching to merge request in IDE
Closes #47763
2018-06-13 10:17:49 +01:00
Phil Hughes 9d9d952c11
moved strings into constants file 2018-06-13 10:10:24 +01:00
Phil Hughes 1801b7fd20
Fixed IDE jobs empty state showing when loading
Closes #47766
2018-06-12 13:53:13 +01:00
Phil Hughes b2cb0c6cbd
fixed eslint 2018-06-12 12:19:59 +01:00
Phil Hughes 00ced96c53
added specs for is-active class
added spec for openPendingTab in component
2018-06-12 11:46:00 +01:00
Phil Hughes 39ed07a816
karma updates 2018-06-12 09:38:04 +01:00
Filipa Lacerda 3bd5e10e58 Merge branch 'ide-etag-polling' into 'master'
Fix IDE pipelines eTagPoll not stopping

Closes #47678

See merge request gitlab-org/gitlab-ce!19636
2018-06-11 14:18:43 +00:00
Phil Hughes 7469b58eaf
Fix IDE pipelines eTagPoll not stopping
Closes #47678
2018-06-11 11:42:47 +01:00
Mike Greiling 2729205b39
remove monacoLoader and import monaco directly within Editor class 2018-06-07 23:36:37 -05:00
Phil Hughes 3b78b2d327
component specs 2018-06-06 12:40:21 +01:00
Phil Hughes ec37b1b20c
added empty state 2018-06-06 08:43:15 +01:00