| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
One exception: there is an existing MR for the current branch and the
branch is non-default and non-protected.
Extended mock_data for ide/stores to have different types of branches:
default, protected and regular
Cleaned new MR checkbox view
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The actions tracked in the web IDE are:
- creation of commits
- creation of merge requests
- projects loaded
|
|
|
|
|
|
|
| |
Previously `start_sha` was intercepted on the frontend to create the
correct branch in a separate API call. Now that the commits API supports
the `start_sha` parameter directly this workaround is not needed
anymore.
|
|
|
|
|
|
| |
Important to get file data for any file that has no content set yet: we
need this information in order to build a previe for changed/staged
files if they were not yet opened in the editor
|
|
|
|
|
|
|
| |
If an entry has been removed from the tree and later, during the same
session, a user is trying to add a new item with the same name/path we
should allow for that as long as the original entry is marked with
`deleted`.
|
|\
| |
| |
| |
| |
| |
| | |
Fix IDE editor to update dimensions on show change
Closes #45120
See merge request gitlab-org/gitlab-ce!30135
|
| | |
|
|/
|
|
|
|
|
|
| |
Update window's URL after entry's re-name
Set proper hook for correct fileLanguage
Filtered out `moved` entries from the tree
|
|
|
|
|
|
|
|
| |
When removing the last file from a folder in WebIDE, do not remove the
folder from the view. We keep those to give users possibility to
re-upload files to the same folders.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60860
|
|
|
|
|
|
|
|
|
| |
**Why?**
The branch HEAD could be changed since the
IDE was opened. This leads to user's unintentionally
creating commits that overwrite other changes.
https://gitlab.com/gitlab-org/gitlab-ce/issues/59023
|
|
|
|
|
|
|
|
| |
- On CMD+S when editor is focused
- On editor blur
- When file is created in tree
- When file is removed in tree
- When file is renamed in tree
|
|
|
|
|
|
|
|
|
|
|
| |
- Pull the new MR option out into it's own component
- Default MR checkbox to true when creating a new MR and committing to a
branch that does not have an MR
- Still change the MR checkbox to false when a user is on a branch that
already has an MR
- Hide MR option when on a branch that already has an MR and committing
to current branch
- Don't default to true when committing directly to master
|
|
|
|
| |
Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/60107
|
|
|
|
|
|
| |
**Why?**
This file only contains a few text based helper functions.
It has nothing to do with Vue or Vue components.
|
|
|
|
| |
https://gitlab.com/gitlab-org/gitlab-ce/issues/60932
|
|
|
|
|
|
|
|
|
|
| |
**Why?**
These values will be used to help build the mirroring diff.
It is helpful keeping it controlled in a constant.
**Links:**
- https://gitlab.com/gitlab-org/gitlab-ee/issues/10232
- https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/11478
|
|
|
|
| |
This reverts commit 2869a61f3b7aeb8b6d79c74332c93e32cec20caa.
|
|
|
|
|
|
|
|
|
|
| |
- When uploading a file, we need to flag binary files correspondingly
so that it gets propagated all the way to RepoEditor as it decides on
whether to show editor for this or that file or not (shouldHideEditor())
- rawPath needs to be propagate all the way to ContentViewer as well so
that uploaded images could be rendered as a base64 image right away
instead of raw base64 string
|
|\
| |
| |
| |
| |
| |
| | |
Resolve "Shortcut to create merge request from Web IDE"
Closes #57482
See merge request gitlab-org/gitlab-ce!26792
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before the user had to choose between committing to a new branch,
committing to a new branch AND creating an MR, or committing to the
current branch regardless of whether or not it already has an MR.
This commit separates the creation of an MR from whether or not they
commit to an existing or new branch
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Resolve "Support creating new file from URL in the Web IDE"
Closes #57668
See merge request gitlab-org/gitlab-ce!26622
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since we can create files from URL now, this means that these files will
not exist in the tree returned from API: they exist on the client
only before the first commit. In order to still show the newly-created
files in the tree, we should not override the tree, but merge the tree
existing on the client and the one coming from API.
Changelog entry
Moved trees merging into mutation
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Fix IDE file dropdown
Closes #60021
See merge request gitlab-org/gitlab-ce!27015
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
**Why?**
Previously it managed this as an internal data property, but there
was extra complexity involved because the component doesn't have
all the information it needs (i.e. the `mouseOver` prop).
This is a good opportunity to colocate the data prop with the component
that has the information to change it (i.e. `file_row`) and let
`new_dropdown/index` receive this value as a prop.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
**Why?**
Currently the IDE loads a merge request based on only the
`source_branch` name. This means it loads MR's from
forks that have the same branch name (not good).
- This required updating the BE API to accept `source_project_id`
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
**What?**
A Vue warning that `ide_status_bar` sent a `Boolean` to a `String`
property (`img-src).
**What was the fix?**
Previously, `latestPipeline` could be one of the following values:
| | |
|----------|--------|
| `null` | The pipeline hasn't loaded yet |
| `false` | The pipeline has loaded, but nothing was returned. |
| `Object` | The piepline has loaded. |
Giving a semantic meaning to different falsey values hurts
maintainability. This commit fixes the above problem by removing the
`false` value and introducing a `hasLoadedPipeline` state property.
|
|
|
|
| |
Upgrade to latest Version
|
|
|
|
| |
- fixed getter spec with correct getter name
|
| |
|
|
|
|
| |
Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/57540
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
**How?**
Previously the files_decorator inserted parent folders inefficiently.
It started at the first part and ensured each was inserted.
Since the file entries are given to use in alphabetical order, we can
start at the last part of the blob's parents. If this exists, we can
short circuit and be done inserting parents.
**What else?**
- Improve performance of decorateData. The object spread operator is
not needed because the object is brand new.
|
|\
| |
| |
| |
| |
| |
| | |
Link to the MR from current branch in Web IDE
Closes #49663
See merge request gitlab-org/gitlab-ce!25689
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
New `Api.projectMergeRequests` allows:
- to query for all MRs on a project without specifying `mergeRequestId`
- to filter the returned MRs using parameters from
https://bit.ly/2H7We4V
The new API request is used for fetching information about MRs
associated with a particular branch in Web IDE to have IdeSidebar
behave consistently in both scenarios:
- getting to a branch from and MR (where we already have info about
relevant MR), or
- getting to a branch somehow differently directly
For cases where there are several merge requests that the current branch
is associated with, mark the most recent one as 'current'
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/49663
|
|/
|
|
|
| |
- fixed test spec
- added warning only if file is deleted
|
| |
|
|
|
|
| |
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53304
|
| |
|
| |
|
| |
|
|
|
|
| |
Requests from other projects"
|
|\
| |
| |
| |
| | |
Fix typos occured to occurred
See merge request gitlab-org/gitlab-ce!23105
|
| |\
| | |
| | |
| | |
| | |
| | | |
Conflicts:
- app/assets/javascripts/ide/stores/modules/pipelines/actions.js
- spec/javascripts/ide/stores/modules/pipelines/actions_spec.js
|
| | | |
|