- 27 5月, 2021 4 次提交
-
-
由 Tomas Vik 提交于
-
由 Tomas Vik 提交于
-
由 Tomas Vik 提交于
We can use the standard `getActiveRepositoryOrSelectOne()` and delete the custom project picker. Also, we can remove the duplicated block for getting project to put the snippet in. Lastly, this commit converts several nested if statement into early return statements.
-
由 Tomas Vik 提交于
Creating snippets in user space hasn't worked in a long time. And for the last year, when the extension supports multiple GitLab instances, we wouldn't know which instance to use for adding the user snippet. This commit removes the broken logic and focuses on creating project snippets.
-
- 26 5月, 2021 1 次提交
-
-
由 Tomas Vik 提交于
create_snippet was the only client using the function
-
- 25 5月, 2021 2 次提交
- 21 5月, 2021 3 次提交
- 20 5月, 2021 4 次提交
-
-
由 Tomas Vik 提交于
Added two new methods to the WrappedRepository: `reloadMr()` and `getMr()`. - `reloadMr()` will fetch additional information for the MR (for now it's the diff). It will also store this fetched information into a cache. - `getMr()` expects that `reloadMr()` has been called in the past. It retrieves the MR information without making api calls.
-
由 Tomas Vik 提交于
This commit changes the way WrappedRepository exposes the GitLabNewService. We used getter which was very hard to mock in tests. Instead, we now use regular function (getGitLabService()) which is easily replaced in tests. Additionally, this commit creates a helper function for creating WrappedRepository, because it is going to be used in many tests in the future.
-
由 Tomas Vik 提交于
This commit replaces the GitLabRepository(GitLabWorkspace) interface with the Wrapped repository. The original objects `{ label, uri, error}` were constructed by the issuable.ts. We now use the WrappedRepository and the error state is signaled by a new `containsGitLabProject` boolean flag. I.e. if the wrapped repository doesn't contain GitLab project, there has been error during fetching it. Also having access to the wrapped repository from within mr_item_model is going to be important in the next commit because it allows us to interact with the MR cache.
-
由 Tomas Vik 提交于
This method isn't used outside of the wrapped_repository module.
-
- 19 5月, 2021 10 次提交
-
-
由 Tomas Vik 提交于
-
由 Tomas Vik 提交于
fix: generating file link on windows uses backslash See merge request gitlab-org/gitlab-vscode-extension!257
-
由 Tomas Vik 提交于
-
由 Tomas Vik 提交于
refactor: remove GitService in favour of WrappedRepository See merge request gitlab-org/gitlab-vscode-extension!253
-
由 Tomas Vik 提交于
-
由 Tomas Vik 提交于
refactor: move project cache to WrappedRepository See merge request gitlab-org/gitlab-vscode-extension!255
-
由 Tomas Vik 提交于
docs: improvements to self-signed certificates docs See merge request gitlab-org/gitlab-vscode-extension!254
-
由 Tomas Vik 提交于
-
由 Tomas Vik 提交于
chore: establish CODEOWNERS for documentation See merge request gitlab-org/gitlab-vscode-extension!256
-
由 Kai Armstrong 提交于
-
- 18 5月, 2021 3 次提交
- 14 5月, 2021 2 次提交
- 12 5月, 2021 5 次提交
-
-
由 Tomas Vik 提交于
-
由 Tomas Vik 提交于
-
由 Tomas Vik 提交于
-
由 Tomas Vik 提交于
-
由 Tomas Vik 提交于
We will move much of the git code to synchronous execution. When the git_extension_wrapper receives a new repository, the repository is most likely not initialized yet. We can wait for the initialization with repository.status().
-
- 11 5月, 2021 2 次提交
- 08 5月, 2021 1 次提交
-
-
由 Tomas Vik 提交于
Extract GraphQL queries into separate files See merge request gitlab-org/gitlab-vscode-extension!248
-
- 07 5月, 2021 3 次提交