summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ide/stores/utils.js
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-251-4/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-211-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-181-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-171-2/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-161-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-161-0/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-071-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-041-7/+63
|
* Fixed deletion of directories in Web IDE64677-delete-directory-webideDenys Mishunov2019-08-121-1/+1
|
* Encapsulate file view modes with constantsChris Toynbee2019-07-231-2/+2
|
* Added Usage Data for some Web IDE actionsFrancisco Javier López2019-07-191-1/+1
| | | | | | | The actions tracked in the web IDE are: - creation of commits - creation of merge requests - projects loaded
* FE remove create branch call in IDE commitwebide-commit-use-correct-parentPaul Slaughter2019-07-181-1/+1
| | | | | | | 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.
* Allow adding new entries to existing pathDenys Mishunov2019-07-021-2/+4
| | | | | | | 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`.
* Re-name entries in one commitDenys Mishunov2019-06-261-2/+2
| | | | | | | | Update window's URL after entry's re-name Set proper hook for correct fileLanguage Filtered out `moved` entries from the tree
* Fix IDE commit to use start_ref59023-fix-web-ide-creating-branches-off-new-commitsPaul Slaughter2019-06-171-2/+9
| | | | | | | | | **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
* Create constants for IDE commit action valuesPaul Slaughter2019-04-241-4/+6
| | | | | | | | | | **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
* Stores 'binary' and 'rawPath' attr after uploadDenys Mishunov2019-04-181-0/+4
| | | | | | | | | | - 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
* Set tree list accounting for already-opened files57668-create-file-from-urlDenys Mishunov2019-04-041-0/+28
| | | | | | | | | | | | 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
* Improve files_decorator performancePaul Slaughter2019-03-071-3/+2
| | | | | | | | | | | | | | **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.
* only sends content if it existsPhil Hughes2018-08-021-1/+1
|
* removed un-used codePhil Hughes2018-08-021-6/+1
| | | | fixed folder deletions not adding to changedFiles
* improve performance of deletingPhil Hughes2018-08-021-3/+2
|
* correctly show renaming and deleting entriesPhil Hughes2018-08-011-0/+1
| | | | | for folders, it shows all the files in commit mode for files, nothing changes, the behaviour is the same
* karma fixesPhil Hughes2018-07-301-1/+1
|
* fixed folders not being renamedPhil Hughes2018-07-301-1/+1
|
* rename filesPhil Hughes2018-07-301-2/+9
| | | | not working for folders yet
* Enable deleting files in the Web IDEPhil Hughes2018-07-261-3/+26
|
* use a pre-built commit message for when no user specified message existsPhil Hughes2018-06-271-2/+2
|
* only return last_commit_sha in the JSONide-add-last-commit-id-to-api-callPhil Hughes2018-06-151-1/+2
|
* IDE sends last commit ID when committing changesPhil Hughes2018-06-151-1/+2
| | | | Closes #46192
* Image Diff Viewing + Download Diff ViewingTim Zallmann2018-06-131-1/+1
|
* Fixed none merge request files not being openable in the web IDEPhil Hughes2018-05-101-0/+1
|
* fixed gettersPhil Hughes2018-05-011-2/+2
|
* fixed staged files not being recognisedPhil Hughes2018-05-011-0/+6
| | | | reduced code duplication
* fixed eslintPhil Hughes2018-05-011-1/+0
|
* use getters to correctly get the counts for both unstaged & staged changesPhil Hughes2018-05-011-2/+0
|
* Merge branch 'master' into ide-tree-changes-countPhil Hughes2018-04-301-2/+4
|\
| * Merge branch 'master' into ide-temp-file-folder-fixesPhil Hughes2018-04-251-0/+1
| |\
| * \ Merge branch 'master' into ide-temp-file-folder-fixesPhil Hughes2018-04-191-1/+2
| |\ \
| * | | Fixed bugs with IDE new directoryPhil Hughes2018-04-181-2/+5
| | | | | | | | | | | | | | | | Closes #44838
* | | | Merge branch 'master' into ide-tree-changes-countPhil Hughes2018-04-251-0/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'master' into ide-file-finderPhil Hughes2018-04-191-1/+2
| |\ \ \ | | | |/ | | |/|
| * | | added specsPhil Hughes2018-04-161-0/+1
| | |/ | |/| | | | | | | order initial dropdown by lastOpenedAt date
* | | removed horrible getter & instead prefer the statePhil Hughes2018-04-201-0/+4
| |/ |/| | | | | the state now gets updated whenever a file is changed/discard
* | Merge branch 'master' into ide-staged-changesPhil Hughes2018-04-071-2/+7
|\ \ | |/
| * Web IDE blob image + default fallbackTim Zallmann2018-04-061-0/+1
| |
| * Web IDE markdown previewTim Zallmann2018-04-051-2/+6
| |
* | fixed delayed update viewerPhil Hughes2018-04-051-2/+1
| | | | | | | | fixed `key` not being set to correct value
* | Merge branch 'master' into ide-staged-changesPhil Hughes2018-04-051-0/+2
|\ \ | |/
| * Updated components to PascalCasePhil Hughes2018-04-041-0/+2
| | | | | | | | Added comment for `key` usage