Giter Site home page Giter Site logo

gitlabprojects's Introduction

Get started building your personal website

Showcase your software development skills

This repository gives you the code you'll need to kickstart a personal website that showcases your work as a software developer. And when you manage the code in a GitHub repository, it will automatically render a webpage with the owner's profile information, including a photo, bio, and repositories.

Your personal website is waiting to be personalized, though. It includes space to highlight your specific areas of interest in software development, like languages or industries. And it's standing by to publish your next great blog post.

It's all possible using the combination of Jekyll (for building your website), GitHub Pages (for hosting your website), and GitHub's API (for automatically populating your website with content).

Installation

Fork the github/personal-website repo

You'll be making your own copy of the "personal website starter" repository so you have your own project to customize. A "fork" is a copy of a repository. So select "Fork" atop the github/personal-website repository.

Once you've found a home for your forked repository, it's yours. You're the owner, so you're ready to publish, if you wish.

Install in your local development environment

If you want to manage your website in a local web development environment, you'll be using Ruby.

Once you've found a home for your forked repository, clone it.

Install Jekyll

Jekyll is a Ruby Gem that can be installed on most systems.

  1. Install a full Ruby development environment
  2. Install Jekyll and bundler gems
gem install jekyll bundler
  1. Change into your new directory
cd personal-website
  1. Build the site and make it available on a local server
bundle exec jekyll serve
  1. Now browse to http://localhost:4000

Publish

When you host your personal website's code on GitHub, you get the support of free hosting through GitHub Pages.

The fastest approach is to rename your repository username.github.io, where username is your GitHub username (or organization name). Then, the next time you push any changes to your repository's master branch, they'll be accessible on the web at your username.github.io address.

If you want to use a custom domain, however, you'll want to add it to your repository's "Custom domain" settings on github.com. And then register and/or configure your domain with a DNS provider.

Customization

It's your website, and you control the source code. So you can custom everything, if you like. But we've provided a handful of quick customizations for you to consider as you get your website off the ground.

Quick configuration changes

Most customizations can be done in a matter of seconds, by revising your repository's _config.yml file. Just remember to restart your local server each time you save new changes so your Jekyll-powered website rebuilds correctly:

  1. Shut down your server by entering the keyboard command CTRL+c
  2. Restart your server: jekyll serve

Layout

By default, your website will display in a two-column layout on larger-screen devices, with your photo, name, and basic information displayed in a left-aligned "sidebar." But you can quickly switch to a "stacked" single-column layout by changing the line in your _config.yml file that reads layout: sidebar to layout: stacked.

Style

By default, your website appears with a "light" white and gray background, with dark text. But you can quickly switch to a "dark" background with white text by changing the line in your _config.yml file that reads style: light to style: dark.

Topics

Your website comes pre-configured with three topics (e.g. "Web design" and "Sass") that appear in a section titled "My Interests." These are also stored in your repository's _config.yml file, where you can define each topic's name and two other optional details:

  • web_url: The web address you'd like to your topic to link to (e.g. https://github.com/topics/sass).
  • image_url: The web address of an (ideally square) image that you'd like to appear with your topic.

Adding pages

To add a page to your website (e.g. detailed resume):

  1. Create a new .html or .md file at the root of your repository.
  2. Give it a filename that you want to be used in the page's URL (e.g. http://yoursite.dev/filename).
  3. At the start of your file, include the following front matter:
---
layout: default
---
  1. Save.

Adding blog posts

To add a blog post to your website:

  1. Create a new .md file in your repository's /_posts/ directory.
  2. Give it a filename using the following format:
YEAR-MONTH-DAY-title.MARKUP
  1. At the start of your file, include the following front matter:
---
title: "The title of my blog post"
---

Your website comes with a placeholder blog post that you can reference. Notably, its front matter declares published as false, so that it won't appear on your website.

While you can also define a layout in the front matter, your website is pre-configured to assign the post layout to all of the posts in your /_posts/ directory. So you don't have to declare that in your posts, if you don't want to.

Jekyll's conventions for authoring and managing blog posts is very flexible. You can learn more in Jekyll's documentation for "Posts."

Content and templates

To give you a sound foundation to start your personal website, your repository includes a handful of "includes" -- dynamic .html files that are re-used throughout your website. They're all stored in the /_includes/ directory.

There are the usual suspects, like header.html and footer.html. But there are few more worth pointing out:

  • interests.html: A heading and dynamic list of "My Interests," which is populated with the topics you list in your _config.yml.
  • masthead.html: A collection of your avatar, name, bio, and other metadata that's displayed prominently on all your webpages to help identify what the website is about.
  • post-card.html: A compact, summarized presentation of a blog post, re-used to display a listing of your latest blog posts.
  • projects.html: A heading and dynamic list of "My Projects," which is populated with a listing of your newest GitHub repositories.
  • repo-card.html: A compact, summarized presentation of a repository, re-used to display a listing of your GitHub repositories.
  • thoughts.html: A heading and dynamic list of "My Thoughts," which is populated with a listing of your latest blog posts.
  • topic-card.html: A compact, summarized presentation of a topic (defined in your _config.yml), re-used to display a listing of your interests.

Layouts

Your repository comes with three layouts:

  • default: Not used by any of the built-in pages or posts, but useful for any new pages you create.
  • home: Used by your index.html homepage to display listings of your projects, interests, and (optionally) your blog posts.
  • post: Used by default by the posts in your /_posts/ directory.

Jekyll's convention for defining layouts is very flexible. You can learn more about customizing your layouts in the Jekyll "Layouts" docs.

Styles

Your website is pre-configured to use a very flexible CSS framework called "Primer," alongside any custom styles you write in your /assets/styles.scss Sass stylesheet. It's currently referenced within your styles.scss file, using the CSS import at-rule:

@import url('https://unpkg.com/primer/build/build.css');

You are, of course, welcome to remove it or replace it with another framework. Just bear in mind that the HTML that your website came pre-packaged with references multiple Primer "utility classes" to define things like column widths, margins, and background colors.

License

The theme is available as open source under the terms of the MIT License.

gitlabprojects's People

Contributors

pavlikpolivka avatar pdesmet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gitlabprojects's Issues

GitLab integration Bug (URL's wrong)

Postet it here: https://youtrack.jetbrains.com/issue/WI-33885

Long term:

What steps will reproduce the problem?

  1. Go to VCS โ‡’ Import into Version Controll โ‡’ Share on Gitlab
  2. Fields are pre-filled with Server-URL and GitLab API Key (or fill in your's) [my URL Scheme is: https://gitlab.com/xstable]
  3. Press the Questionmark beside API-Key Field

What is the expected result?
Profile-Page on Gitlab should open

What happens instead?
404 Error-Page opens with this schema: https://gitlab.com/xstable/profile/account
But the Profile-Page is now: https://gitlab.com/xstable or: https://gitlab.com/profile [seems to get the user by session after login]

Please provide any additional information below
Anyway, if I click on OK, instead of the questionmmark, I get to an Dialoge where I could setup the Projekt (set Name, access (public, private, internal), Auth-Type, and Message.
If I press the refresh-Button to get all groups from Server, it won't work. I think this is also cause of the URL-Bug.

Currently, GitLab-Share in this way dosn't work at all. Please Fix it.
auswahl_065

Support comments

Would it be possible to support viewing and/or posting comments to open merge requests? I find that IntelliJ's diff tool is much easier to use than gitlab's (for instance, it has better support for hiding whitespace changes, or large diffs), but the inability to create comments from within IDEA is limiting.

Error on checkout

Hi,

when I try to checkout a project from our Gitlab-Server, I see all available projects.
But when I click on one of them and then on "Checkout", I get the following error:

IllegalAccessError: tried to access method com.intellij.openapi.ui.DialogWrapper.setOKActionEnabled(Z)V from class com.ppolivka.gitlabprojects.checkout.GitLabCheckoutDialog$2

I'm on IntelliJ Idea 2016.1.4 if that helps.

UI improvements

I think the background of "Listing GitLab Projects" should be white with the default theme.

Please add a button to check out the project.

IntelliJ IDEA (Minerva) IU-143.379.11
Build #IU-143.379, built on October 20, 2015
JRE: 1.8.0_66-b17 x86_64
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation

OSX 10.11.1

listing_gitlab_projects

Cannot configure API key

I cannot configure the API key, as the field in the SettingsDialog is not visible.
I'm pretty sure this worked in previous versions (as this plugin is working very well on another machine).

Is there a workaround so I can configure the API key myself?

NullPointerException when "Share to Gitlab" is used

This is happening when attempting to create a new project at gitlab.com. Tried to look at it myself but no luck on setting up the Development environment I am afraid

null
java.lang.NullPointerException
at com.ppolivka.gitlabprojects.api.ApiFacade.getNamespaces(ApiFacade.java:47)
at com.ppolivka.gitlabprojects.share.GitLabShareDialog$2.run(GitLabShareDialog.java:109)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

IllegalMonitorStateException: null

Hi,
This plugin looks awesome, thanks for your work. I was trying it out and attempting to make a merge request from my branch. After I select create a merge request (or list merge requests) the following error is triggered:

null
java.lang.IllegalMonitorStateException
    at java.lang.Object.notify(Native Method)
    at com.ppolivka.gitlabprojects.merge.GitLabMergeRequestWorker$Util.fillRequiredInfo(GitLabMergeRequestWorker.java:110)
    at com.ppolivka.gitlabprojects.merge.list.GitLabMergeRequestListWorker$2.convert(GitLabMergeRequestListWorker.java:74)
    at com.ppolivka.gitlabprojects.merge.list.GitLabMergeRequestListWorker$2.convert(GitLabMergeRequestListWorker.java:68)
    at com.ppolivka.gitlabprojects.util.GitLabUtil$2.run(GitLabUtil.java:194)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
    at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:357)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
    at com.intellij.openapi.application.impl.ApplicationImpl$13$1.run(ApplicationImpl.java:633)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

This appears to happen if your gitlab server runs over https but you specify a http prefix in your URL.

Can't get a list of merge request after update

Gitlab version:

GitLab 7.14.3

GitLab Shell 2.6.5

GitLab API v3

Ruby 2.1.6p336

Rails 4.1.11

Plugin version:
1.3.2

Plugin configurations:
gitlab url: https://gitlab.paycash.eu
gitlab token is also there

On get list of merge requests I'm getting pop-up with Cant't create merge request. Can't find GitHub remote and in the Event logs

13:28:08 Cannot Create Merge Request: Can't find GitHub remote
13:28:08 IllegalArgumentException: Argument for @NotNull parameter 'mergeRequestListWorker' of com/ppolivka/gitlabprojects/merge/list/GitLabMergeRequestListDialog. must not be null (show balloon)

Error with ssl certificate

when i try to connect to gitlab, i have this error:

javax.net.ssl.SSLHandshakeException: You can disable certificate checking by setting ignoreCertificateErrors on GitlabHTTPRequestor. SSL Error: java.security.cert.CertificateException: No subject alternative DNS name matching git.certuit.com found. java.lang.Error: javax.net.ssl.SSLHandshakeException: You can disable certificate checking by setting ignoreCertificateErrors on GitlabHTTPRequestor. SSL Error: java.security.cert.CertificateException: No subject alternative DNS name matching git.certuit.com found. at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:218) at org.gitlab.api.http.GitlabHTTPRequestor$1.hasNext(GitlabHTTPRequestor.java:174) at org.gitlab.api.http.GitlabHTTPRequestor.getAll(GitlabHTTPRequestor.java:143) at org.gitlab.api.GitlabAPI.getProjects(GitlabAPI.java:192) at com.neon.intellij.plugins.gitlab.controller.GLFacade.getProjects(GLFacade.java:55) at com.neon.intellij.plugins.gitlab.controller.GLIController.getProjects(GLIController.java:55) at com.neon.intellij.plugins.gitlab.controller.task.GetProjectsTask.run(GetProjectsTask.java:34) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155) at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:307) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: javax.net.ssl.SSLHandshakeException: You can disable certificate checking by setting ignoreCertificateErrors on GitlabHTTPRequestor. SSL Error: java.security.cert.CertificateException: No subject alternative DNS name matching git.certuit.com found. at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:294) at org.gitlab.api.http.GitlabHTTPRequestor.access$200(GitlabHTTPRequestor.java:39) at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:211) ... 19 more

neither 'Create Merge Request' nor 'list merge requests' works in webstorm and intellij idea

Hello,
I input something like 'http://192.168.1.10/' as the gitlab server url and input the private token from gitlab /profile/account as the gitlab api key. But when i click 'list merge requests', the below exception was pop up. Is it a bug or did i do something wrong? Please kindly provide the suggestion if there's any. Thanks in advance.
Argument for @NotNull parameter 'mergeRequestListWorker' of com/ppolivka/gitlabprojects/merge/list/GitLabMergeRequestListDialog. must not be null
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'mergeRequestListWorker' of com/ppolivka/gitlabprojects/merge/list/GitLabMergeRequestListDialog. must not be null
at com.ppolivka.gitlabprojects.merge.list.GitLabMergeRequestListDialog.(GitLabMergeRequestListDialog.java)
at com.ppolivka.gitlabprojects.merge.list.GitLabMergeRequestListAction.apiValidAction(GitLabMergeRequestListAction.java:23)
at com.ppolivka.gitlabprojects.common.GitLabApiAction.actionPerformed(GitLabApiAction.java:58)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:311)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:281)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:109)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at com.apple.laf.ScreenMenuItemCheckbox.itemStateChanged(ScreenMenuItemCheckbox.java:193)
at java.awt.CheckboxMenuItem.processItemEvent(CheckboxMenuItem.java:389)
at java.awt.CheckboxMenuItem.processEvent(CheckboxMenuItem.java:357)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:351)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:339)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:761)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

java.lang.ClassCastException during merge request

Two errors occur during merge reqest;

Fatal Error 1

java.lang.String cannot be cast to com.ppolivka.gitlabprojects.merge.request.SearchableUser java.lang.ClassCastException: java.lang.String cannot be cast to com.ppolivka.gitlabprojects.merge.request.SearchableUser at com.ppolivka.gitlabprojects.component.SearchBoxModel.setSelectedItem(SearchBoxModel.java:106) at javax.swing.JComboBox.actionPerformed(JComboBox.java:1314) at javax.swing.JTextField.fireActionPerformed(JTextField.java:508) at javax.swing.JTextField.postActionEvent(JTextField.java:721) at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:836) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663) at javax.swing.JComponent.processKeyBinding(JComponent.java:2882) at javax.swing.JComponent.processKeyBindings(JComponent.java:2929) at javax.swing.JComponent.processKeyEvent(JComponent.java:2845) at java.awt.Component.processEvent(Component.java:6310) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771) at java.awt.Component.dispatchEventImpl(Component.java:4760) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:678) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:778) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:455) at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1665) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1607) at git4idea.DialogManager.showDialog(DialogManager.java:56) at git4idea.DialogManager.show(DialogManager.java:23) at com.ppolivka.gitlabprojects.merge.request.GitLabMergeRequestAction.apiValidAction(GitLabMergeRequestAction.java:31) at com.ppolivka.gitlabprojects.common.GitLabApiAction.actionPerformed(GitLabApiAction.java:58) at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197) at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:88) at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:156) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:211) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.a(ActionMenuItem.java:304) at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:905) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:284) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.a(ActionMenuItem.java:112) at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:88) at com.intellij.openapi.application.TransactionGuardImpl.access$300(TransactionGuardImpl.java:40) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:113) at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:123) at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:109) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:112) at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:513) at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45) at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533) at java.awt.Component.processMouseEvent(Component.java:6533) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:695) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Fatal Error 2

java.lang.String cannot be cast to com.ppolivka.gitlabprojects.merge.request.SearchableUser java.lang.ClassCastException: java.lang.String cannot be cast to com.ppolivka.gitlabprojects.merge.request.SearchableUser at com.ppolivka.gitlabprojects.component.SearchBoxModel.setSelectedItem(SearchBoxModel.java:106) at javax.swing.JComboBox.actionPerformed(JComboBox.java:1314) at javax.swing.plaf.basic.BasicComboBoxUI$Handler.focusLost(BasicComboBoxUI.java:1838) at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:230) at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:229) at java.awt.AWTEventMulticaster.focusLost(AWTEventMulticaster.java:229) at java.awt.Component.processFocusEvent(Component.java:6425) at java.awt.Component.processEvent(Component.java:6289) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:995) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:661) at java.awt.Component.dispatchEventImpl(Component.java:4760) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227) at java.awt.Dialog.show(Dialog.java:1084) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:778) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:455) at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1665) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1607) at git4idea.DialogManager.showDialog(DialogManager.java:56) at git4idea.DialogManager.show(DialogManager.java:23) at com.ppolivka.gitlabprojects.merge.request.GitLabMergeRequestAction.apiValidAction(GitLabMergeRequestAction.java:31) at com.ppolivka.gitlabprojects.common.GitLabApiAction.actionPerformed(GitLabApiAction.java:58) at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197) at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:88) at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:156) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:211) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.a(ActionMenuItem.java:304) at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:905) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:284) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.a(ActionMenuItem.java:112) at com.intellij.openapi.application.TransactionGuardImpl.a(TransactionGuardImpl.java:88) at com.intellij.openapi.application.TransactionGuardImpl.access$300(TransactionGuardImpl.java:40) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:113) at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:123) at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:109) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:112) at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:513) at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45) at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533) at java.awt.Component.processMouseEvent(Component.java:6533) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:863) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:695) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

IllegalArgumentException when trying to ListMergeRequests

Running "List Merge Requests" in Android Studio and get the following exception:

Argument for @NotNull parameter 'mergeRequestListWorker' of com/ppolivka/gitlabprojects/merge/list/GitLabMergeRequestListDialog.<init> must not be null
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'mergeRequestListWorker' of com/ppolivka/gitlabprojects/merge/list/GitLabMergeRequestListDialog.<init> must not be null
	at com.ppolivka.gitlabprojects.merge.list.GitLabMergeRequestListDialog.$$$reportNull$$$0(GitLabMergeRequestListDialog.java)
	at com.ppolivka.gitlabprojects.merge.list.GitLabMergeRequestListDialog.<init>(GitLabMergeRequestListDialog.java)
	at com.ppolivka.gitlabprojects.merge.list.GitLabMergeRequestListAction.apiValidAction(GitLabMergeRequestListAction.java:23)
	at com.ppolivka.gitlabprojects.common.GitLabApiAction.actionPerformed(GitLabApiAction.java:58)
	at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:191)
	at com.intellij.ide.actions.GotoActionAction$7.run(GotoActionAction.java:275)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:345)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:329)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Android Studio 2.2.3

GitLab hosted internally in the company. Put the base server URL and the private token from the Profile Settings -> Account Tab.

Unable To Push On Windows

Unable to push to repo on Windows.

From log:

git4idea.commands.GitHandler - git -c core.quotepath=false push --progress --porcelain test10 refs/heads/master:master

git4idea.commands.GitHandler - sh: 1: git-receive-pack: not found

git4idea.commands.GitHandler - fatal: Could not read from remote repository.

git4idea.commands.GitHandler - Please make sure you have the correct access rights

git4idea.commands.GitHandler - and the repository exists.

I also receive this error when pushing directly via the commandline. However, setting %home% to %userprofile% fixes it.

I'm unsure if this issue is related to WebStorm or the plugin.

java.io.FileNotFoundException on attempt to import a project to GitLab

I have a project I wanted to import to a GitLab private repository. I'm getting the following:

java.io.FileNotFoundException: https://gitlab.com/u/${username}/api/v3/namespaces?private_token=${token} java.lang.Error: java.io.FileNotFoundException: https://gitlab.com/u/${username}/api/v3/namespaces?private_token=${token} at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:220) at org.gitlab.api.http.GitlabHTTPRequestor$1.hasNext(GitlabHTTPRequestor.java:176) at org.gitlab.api.http.GitlabHTTPRequestor.getAll(GitlabHTTPRequestor.java:145) at com.ppolivka.gitlabprojects.api.ApiFacade.getNamespaces(ApiFacade.java:48) at com.ppolivka.gitlabprojects.share.GitLabShareDialog$2.run(GitLabShareDialog.java:110) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155) at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.FileNotFoundException: https://gitlab.com/u/${username}/api/v3/namespaces?private_token=${token} at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:285) at org.gitlab.api.http.GitlabHTTPRequestor.access$200(GitlabHTTPRequestor.java:41) at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:213) ... 17 more

STR:

  1. VCS->Import...->Share on GitLab
  2. GitLab server URL and API key are taken from IDE settings
  3. Input project name, check 'private', click 'Share'. Auth type and commit message don't make any difference. 'Group' filed is empty.

I tried this with IDEA 2016.2.1 and 2016.2.2

Create Merge Request is not showing settings dialog when user did not set API information

  1. Create a new branch locally
  2. Make changes to README.md
  3. commit & push
  4. Try and create merge request via Intellij

GitLab version 8.2.0
Intellij 14.1.4

null
java.lang.NullPointerException
    at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
    at java.util.regex.Matcher.reset(Matcher.java:309)
    at java.util.regex.Matcher.<init>(Matcher.java:229)
    at java.util.regex.Pattern.matcher(Pattern.java:1093)
    at com.ppolivka.gitlabprojects.util.GitLabUtil.isGitLabUrl(GitLabUtil.java:97)
    at com.ppolivka.gitlabprojects.util.GitLabUtil.findGitLabRemote(GitLabUtil.java:80)
    at com.ppolivka.gitlabprojects.merge.GitLabMergeRequestWorker$Util.fillRequiredInfo(GitLabMergeRequestWorker.java:86)
    at com.ppolivka.gitlabprojects.merge.request.GitLabCreateMergeRequestWorker$3.convert(GitLabCreateMergeRequestWorker.java:158)
    at com.ppolivka.gitlabprojects.merge.request.GitLabCreateMergeRequestWorker$3.convert(GitLabCreateMergeRequestWorker.java:151)
    at com.ppolivka.gitlabprojects.util.GitLabUtil$2.run(GitLabUtil.java:189)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
    at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:367)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137)
    at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:617)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)

Better error display

Right now when there is error with authentication, ERROR is displayed and root cause is in tooltip. It would be nice to have short error description instead of ERROR.

PHPStorm quick search triggers exception

When doing a quick search (double shift), an exception is triggered:

Access is allowed from event dispatch thread only.
 EventQueue.isDispatchThread()=false isDispatchThread()=false Toolkit.getEventQueue()=com.intellij.ide.IdeEventQueue@d0e53d Current thread: Thread[ApplicationImpl pooled thread 38,4,main] 28374968 SystemEventQueueThread: Thread[AWT-EventQueue-0 10.0.1#PS-143.382.38, eap:false,6,main] 11793631

java.lang.Throwable
    at com.intellij.psi.impl.DebugUtil.currentStackTrace(DebugUtil.java:497)
    at com.intellij.diagnostic.LogEventException.<init>(LogEventException.java:29)
    at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:1106)
    at com.intellij.openapi.application.impl.ApplicationImpl.f(ApplicationImpl.java:1090)
    at com.intellij.openapi.application.impl.ApplicationImpl.assertIsDispatchThread(ApplicationImpl.java:1082)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.p(FocusManagerImpl.java:1200)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.isFocusTransferReady(FocusManagerImpl.java:680)
    at com.intellij.openapi.wm.impl.FocusManagerImpl.isFocusBeingTransferred(FocusManagerImpl.java:1153)
    at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.isFocusBeingTransferred(IdeFocusManagerImpl.java:144)
    at com.intellij.ide.impl.DataManagerImpl.a(DataManagerImpl.java:248)
    at com.intellij.ide.impl.DataManagerImpl.getDataContext(DataManagerImpl.java:202)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.<init>(DialogWrapperPeerImpl.java:100)
    at com.intellij.openapi.ui.impl.DialogWrapperPeerFactoryImpl.createPeer(DialogWrapperPeerFactoryImpl.java:37)
    at com.intellij.openapi.ui.DialogWrapper.createPeer(DialogWrapper.java:796)
    at com.intellij.openapi.ui.DialogWrapper.<init>(DialogWrapper.java:215)
    at com.intellij.openapi.ui.DialogWrapper.<init>(DialogWrapper.java:211)
    at com.intellij.openapi.ui.DialogWrapper.<init>(DialogWrapper.java:245)
    at com.ppolivka.gitlabprojects.configuration.ConfigurationDialog.<init>(ConfigurationDialog.java:49)
    at com.ppolivka.gitlabprojects.configuration.SettingsConfigurableProvider.createConfigurable(SettingsConfigurableProvider.java:18)
    at com.intellij.openapi.options.ConfigurableEP$ProviderProducer.createElement(ConfigurableEP.java:326)
    at com.intellij.openapi.options.ConfigurableEP.createConfigurable(ConfigurableEP.java:273)
    at com.intellij.openapi.options.ex.ConfigurableWrapper.a(ConfigurableWrapper.java:54)
    at com.intellij.openapi.options.ex.ConfigurableWrapper.wrapConfigurable(ConfigurableWrapper.java:49)
    at com.intellij.openapi.options.ex.ConfigurableExtensionPointUtil.a(ConfigurableExtensionPointUtil.java:333)
    at com.intellij.openapi.options.ex.ConfigurableExtensionPointUtil.getConfigurableGroup(ConfigurableExtensionPointUtil.java:142)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.getConfigurableGroups(ShowSettingsUtilImpl.java:79)
    at com.intellij.ide.actions.ShowSettingsUtilImpl.getConfigurables(ShowSettingsUtilImpl.java:94)
    at com.intellij.ide.actions.SearchEverywhereAction$CalcThread.b(SearchEverywhereAction.java:2040)
    at com.intellij.ide.actions.SearchEverywhereAction$CalcThread.run(SearchEverywhereAction.java:1378)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

threadDump.txt

Add tab with all merge request listed

On this tab user should be able to assign merge request to him self, dialog should list all the changes, After code review, user can close merge request.

bug: Cannot Create Merge Request: Can't find GitHub remote

Cannot Create Merge Request: Can't find GitHub remote
IllegalArgumentException: Argument for @NotNull parameter 'mergeRequestListWorker' of com/ppolivka/gitlabprojects/merge/list/GitLabMergeRequestListDialog. must not be null (show balloon)

PhpStorm 2016.1.2
Build #PS-145.1616, built on May 24, 2016
JRE: 1.8.0_77-b03 x86

IllegalStateException in "Create Merge Request" dialog

Reproduce:
VCS -> Gitlab -> Create merge request
Active window: Editor
1 commit ahead of master

The DialogWrapper can only be used in event dispatch thread. Current thread: Thread[ApplicationImpl pooled thread 17,4,main]
java.lang.IllegalStateException: The DialogWrapper can only be used in event dispatch thread. Current thread: Thread[ApplicationImpl pooled thread 17,4,main]
    at com.intellij.openapi.ui.DialogWrapper.ensureEventDispatchThread(DialogWrapper.java:2016)
    at com.intellij.openapi.ui.DialogWrapper.init(DialogWrapper.java:1184)
    at com.intellij.openapi.ui.Messages$MessageDialog._init(Messages.java:1383)
    at com.intellij.openapi.ui.Messages$MessageDialog.<init>(Messages.java:1308)
    at com.intellij.openapi.ui.Messages.showIdeaMessageDialog(Messages.java:174)
    at com.intellij.openapi.ui.Messages.showDialog(Messages.java:161)
    at com.intellij.openapi.ui.Messages.showDialog(Messages.java:130)
    at com.intellij.openapi.ui.Messages.showErrorDialog(Messages.java:683)
    at com.ppolivka.gitlabprojects.merge.GitLabMergeRequestWorker$8.convert(GitLabMergeRequestWorker.java:368)
    at com.ppolivka.gitlabprojects.merge.GitLabMergeRequestWorker$8.convert(GitLabMergeRequestWorker.java:311)
    at com.ppolivka.gitlabprojects.common.GitLabUtils$2.run(GitLabUtils.java:187)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
    at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:357)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
    at com.intellij.openapi.application.impl.ApplicationImpl$14$1.run(ApplicationImpl.java:626)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

Make settings dialog better user experience

Right now it's not very clear where to get your gitlab api key. After user will fill the server, there should be a link that would take you to the page on your gitlab server where the key is.

Unsupported major.minor version 52.0 exception

I just, for the first time, tried to install GitLab Projects in Android Studio. After restart of Android Studio I get an alert pop-up: Plugin Error, GitLab Projects threw an uncaught PluginException. Disable Plugin.

Looking in the idea.log I find:

2016-04-12 20:00:06,248 [  62652]  ERROR - ctionSystem.DefaultActionGroup - Android Studio 2.0  Build #AI-143.2739321 
2016-04-12 20:00:06,248 [  62652]  ERROR - ctionSystem.DefaultActionGroup - JDK: 1.7.0_95 
2016-04-12 20:00:06,248 [  62652]  ERROR - ctionSystem.DefaultActionGroup - VM: OpenJDK 64-Bit Server VM 
2016-04-12 20:00:06,248 [  62652]  ERROR - ctionSystem.DefaultActionGroup - Vendor: Oracle Corporation 
2016-04-12 20:00:06,248 [  62652]  ERROR - ctionSystem.DefaultActionGroup - OS: Linux 
2016-04-12 20:00:06,248 [  62652]  ERROR - ctionSystem.DefaultActionGroup - Last Action: ShowSettings 
2016-04-12 20:00:06,302 [  62706]  ERROR - ctionSystem.DefaultActionGroup - cannot create class "com.ppolivka.gitlabprojects.share.GitLabShareAction" [Plugin: com.ppolivka.gitlabprojects] 
com.intellij.diagnostic.PluginException: cannot create class "com.ppolivka.gitlabprojects.share.GitLabShareAction" [Plugin: com.ppolivka.gitlabprojects]
        at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.convertStub(ActionManagerImpl.java:177)
        at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.convert(ActionManagerImpl.java:515)
        at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getActionImpl(ActionManagerImpl.java:495)
        at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.getAction(ActionManagerImpl.java:488)
        at com.intellij.openapi.actionSystem.DefaultActionGroup.unStub(DefaultActionGroup.java:354)
        at com.intellij.openapi.actionSystem.DefaultActionGroup.getChildren(DefaultActionGroup.java:312)
        at com.intellij.openapi.actionSystem.impl.Utils.hasChildrenWithState(Utils.java:225)
        at com.intellij.openapi.actionSystem.impl.Utils.hasVisibleChildren(Utils.java:205)
        at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:153)
        at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:86)
        at com.intellij.openapi.actionSystem.impl.Utils.fillMenu(Utils.java:280)
        at com.intellij.openapi.actionSystem.impl.ActionMenu.fillMenu(ActionMenu.java:314)
        at com.intellij.openapi.actionSystem.impl.ActionMenu.access$600(ActionMenu.java:50)
        at com.intellij.openapi.actionSystem.impl.ActionMenu$MenuListenerImpl.menuSelected(ActionMenu.java:268)
        at javax.swing.JMenu.fireMenuSelected(JMenu.java:1043)
        at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1122)
        at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:349)
        at javax.swing.DefaultButtonModel.setSelected(DefaultButtonModel.java:232)
        at javax.swing.JMenu.setSelected(JMenu.java:311)
        at javax.swing.JMenu.menuSelectionChanged(JMenu.java:1190)
        at com.intellij.openapi.actionSystem.impl.ActionMenu.menuSelectionChanged(ActionMenu.java:240)
        at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:124)
        at javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:450)
        at java.awt.Component.processMouseEvent(Component.java:6513)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
        at java.awt.Component.processEvent(Component.java:6281)
        at java.awt.Container.processEvent(Container.java:2229)
        at java.awt.Component.dispatchEventImpl(Component.java:4872)
        at java.awt.Container.dispatchEventImpl(Container.java:2287)
        at java.awt.Component.dispatchEvent(Component.java:4698)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
        at java.awt.Container.dispatchEventImpl(Container.java:2273)
        at java.awt.Window.dispatchEventImpl(Window.java:2719)
        at java.awt.Component.dispatchEvent(Component.java:4698)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
        at java.awt.EventQueue.access$300(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:706)
        at java.awt.EventQueue$3.run(EventQueue.java:704)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.awt.EventQueue$4.run(EventQueue.java:720)
        at java.awt.EventQueue$4.run(EventQueue.java:718)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: com.intellij.diagnostic.PluginException: com/ppolivka/gitlabprojects/share/GitLabShareAction : Unsupported major.minor version 52.0 [Plugin: com.ppolivka.gitlabprojects]
        at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:130)
        at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.java:77)
        at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:66)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:278)
        at com.intellij.openapi.actionSystem.impl.ActionManagerImpl.convertStub(ActionManagerImpl.java:153)
        ... 56 more

java.io.IOException on "List Merge Requests"

When opening the "List Merge Requests" the following exception occurs:

java.io.IOException: {"message":"500 Internal Server Error"} java.lang.Error: java.io.IOException: {"message":"500 Internal Server Error"} at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:220) at org.gitlab.api.http.GitlabHTTPRequestor$1.hasNext(GitlabHTTPRequestor.java:176) at org.gitlab.api.http.GitlabHTTPRequestor.getAll(GitlabHTTPRequestor.java:145) at org.gitlab.api.GitlabAPI.getAllMergeRequests(GitlabAPI.java:320) at org.gitlab.api.GitlabAPI.getOpenMergeRequests(GitlabAPI.java:295) at com.ppolivka.gitlabprojects.api.ApiFacade.getMergeRequests(ApiFacade.java:52) at com.ppolivka.gitlabprojects.merge.list.GitLabMergeRequestListWorker$2.convert(GitLabMergeRequestListWorker.java:80) at com.ppolivka.gitlabprojects.merge.list.GitLabMergeRequestListWorker$2.convert(GitLabMergeRequestListWorker.java:68) at com.ppolivka.gitlabprojects.util.GitLabUtil$2.run(GitLabUtil.java:206) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager$9.run(CoreProgressManager.java:384) at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155) at com.intellij.openapi.application.impl.ApplicationImpl.a(ApplicationImpl.java:556) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:308) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: {"message":"500 Internal Server Error"} at org.gitlab.api.http.GitlabHTTPRequestor.handleAPIError(GitlabHTTPRequestor.java:322) at org.gitlab.api.http.GitlabHTTPRequestor.access$300(GitlabHTTPRequestor.java:41) at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:217) ... 22 more Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://git.local.itscope.com/api/v3/projects/4/merge_requests?private_token=8e7nLHZvqLBqySS23AsZ&page=12 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:285) at org.gitlab.api.http.GitlabHTTPRequestor.access$200(GitlabHTTPRequestor.java:41) at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:213) ... 22 more

Merge request in multi-module project

There seems to be an issue currently with the plugin when trying to create a merge request for one module inside a multi-module project, with each module on a different gitlab repository.
The merge request is created at the wrong project, I tend to believe it uses the first module it finds with a gitlab repo.
I think this could either be addressed by finding the "active" module (e.g. current file being displayed in the editor), or by adding option to select it in the dialog.

Error when checking out existing project

I tried to check out an existing project using: VCS>Checkout from Version Control...>GitLab>myproject>Checkout. This resulted in the following error: tried to access method com.intellij.openapi.ui.DialogWrapper.setOKActionEnabled(Z)V from class com.ppolivka.gitlabprojects.checkout.GitLabCheckoutDialog$2

Am I doing this wrong or is this a bug?

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.