Git Product home page Git Product logo

Comments (11)

yoannfleurydev avatar yoannfleurydev commented on June 13, 2024

Hi, at the moment, the instance should be added without the http:// as I enforce the usage of https:// for security reasons. If you really need http let me know, I'll try to release a new version this week.

from vscode-gitlab-merge-request-upvotes.

sany98215 avatar sany98215 commented on June 13, 2024

Thanks . I need http,and i try to remove code https ๏ผŒbut i know nothing about ts.
wait for new commits :)

ps: I try to mv https to http in InstancesDataProvider.js, and correct the instance to IP xxx,but got an error Request failed with status code 400. which gitlab version supported?

from vscode-gitlab-merge-request-upvotes.

yoannfleurydev avatar yoannfleurydev commented on June 13, 2024

Don't worry, I'm not myself a TS expert and my code is a probably bit crappy ๐Ÿ˜ƒ

I have not tested, but per the documentation, I'll say that GitLab >= 9.5 is supported if you are using upvotes, and 10.6 (starter or bronze) if you are using approvals

from vscode-gitlab-merge-request-upvotes.

yoannfleurydev avatar yoannfleurydev commented on June 13, 2024

A new version has been released (0.3.1) that should fix your issue, please let me know if you have another problem adding instance ๐Ÿ™‚

from vscode-gitlab-merge-request-upvotes.

sany98215 avatar sany98215 commented on June 13, 2024

thanks . when i update the 0.3.1, i had to add new instance with "http://ip" ๏ผŒwhen i expend the instance , i got an error http 400 code.
Perhaps , when open the instance ,can not get projectid.

from vscode-gitlab-merge-request-upvotes.

yoannfleurydev avatar yoannfleurydev commented on June 13, 2024

Can you let me know which GitLab version you are using ?

I installed a GitLab on my machine and add an instance which was like the following : http://localhost:8080 and it did work. I'll try to test with an http://IP when I'll have some time :)

from vscode-gitlab-merge-request-upvotes.

sany98215 avatar sany98215 commented on June 13, 2024

The version is 10.8.1 21a8d61 .

from vscode-gitlab-merge-request-upvotes.

yoannfleurydev avatar yoannfleurydev commented on June 13, 2024

So, I just tried with an IP and I have no issue:

image

Can you try the following request with your correct IP and your correct private-token and tell me the result:

curl --request GET \
  --url 'http://IP_PORT/api/v4/merge_requests?scope=created_by_me&state=opened' \
  --header 'private-token: TOKEN'

from vscode-gitlab-merge-request-upvotes.

yoannfleurydev avatar yoannfleurydev commented on June 13, 2024

Any news on this issue?

from vscode-gitlab-merge-request-upvotes.

sany98215 avatar sany98215 commented on June 13, 2024

it's OK,thanks for help!

from vscode-gitlab-merge-request-upvotes.

yoannfleurydev avatar yoannfleurydev commented on June 13, 2024

Thanks for your answer. :)

from vscode-gitlab-merge-request-upvotes.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.