github, how to search issues I posted or commented - search

github only list top several issues I posted or commented, so I'm wondering how to search for the rest of them myself, of all issues that I myself participated.

I achieved this by putting is:issue involves:my-username in GitHub search.
This chapter from official docs can be really helpful GitHub Help: Searching issues and pull requests.

Converting my comment to an answer - once you're logged in, navigating to https://github.com/issues will show all your issues (categorized to open and closed ones).

There isn't an officially supported way to do that yet. See issue: https://github.com/isaacs/github/issues/283.
However, in the Notification Settings, there is an option called "Include your own updates" which is unchecked by default.
If you check that, Github will send you an email for every comment/PR you make. Now you can use appropriate email filters/labels to make sure it doesn't clutter your email. Then searching for the issue you commented reduces to a problem of searching your email, which if done correctly, is much efficient.

Related

Can you create a new project through Quire API?

How to create a new project through Quire API? I can't find it in the documentation.
No, as of now this function is not implemented (and not included in the api-documentation accordingly).
If this is an important feature for you, you can propose a feature on github so others can vote for it as well. (Please only post specific bugs or feature requests there, for usage questions stackoverflow is the preferred forum)

Creating a github dashboard on portfolio site

Thank you for giving me a piece of your time. This question really isn't a "how to", but more of a "is this possible or am I just insane?". I've recently looked at some portfolio pages and found a really great idea from https://flexdinesh.github.io/, but in the "portfolio" section instead of having just the characteristics of the project, is it possible to somehow use the Github API or some other equivalent to extract and present data like number of commits (or the table that github shows on your project page) and what project type it is (i.e. Java, Javascript, etc.) and maybe even some more related information. For background I am using React with Node.js. Again, this is probably useless to everyone out there, but I think it could be something cool if A) it actually exists, and B) it's not too much of a pain to implement. I've tried reading up on the documentation from Github, looking online, and looking at different source code, but no luck there. If anyone has any information or feedback I'm always open to help!
Thank you and have a good day
from what I understand, you want to display statistical information about the projects on your portfolio website.
Github provides an API that can get almost all the information you see on their website
so, to get all the languages being used in repository you can do a GET request on https://api.github.com/repos/:owner/:repo/languages,
To get the number of commits you can do a GET request on https://api.github.com/repos/:owner/:repo/commits
and so on
By default, these will get you the data of the public repositories, if you want to display info from your Private repositories, you need to provide an authentication token with each request.
You can read more about the API calls available here
let me know if you need any more help

How does the DocuSign API work?

I am very confused as to how the API of DocuSign works, I tried looking it up here:
https://www.docusign.com/p/RESTAPIGuide/RESTAPIGuide.htm
But that didn't help me much, especially not because I need to implement DocuSign into the open source version of Vtiger.
Does anybody here know a site where I can learn more about DocuSign and how I can combine it with Vtiger open source?
As for what I already tried that is nothing, I first need to make a functional design which is kind of hard to do when you don't even understand the basic API.
I would really appreciate it.
I have never worked with an API before, so this is all new for me.
Have you tried the API overview instead of the reference guide? Check this out:
https://www.docusign.com/developer-center/api-overview
You can also look at the API Recipes to see some starting examples of what you can do in any language. I believe VTiger is written in PHP so you can find the PHP code to copy and paste to get you started.

How to automatically set gmail filter via chrome extension?

I would like to implement the following use case as a Chrome extension:
user visits gmail
exension checks current email body for a keyword
if a keyword is present, a gmail filter is added and saved (adding label, archiving, the details are not important here)
The first part sounds easier: there is gmail API to work with and even a gmail.js project that should make it easier.
Adding filter seems to be much harder. There is email settings API doing precisely what I want but I am fairly sure it is usable only by business accounts (custom email domains, won't work for gmail.com). I want the solution to be more universal.
One thing I thought of was to use browser automation - upon seeing the trigger keyword, the script automatically clicks 'Add filter' link, waits for AJAX, sets filter parameters and confirms.
An example of simulated user activity is in this answer
This could happen either on gmail page behind the popup ('Please wait, adjusting filters') or in background tab to keep it from interfering with user's flow. This seems like ugly workaround for me, though.
Is there a more straightforward or simply better approach that I'm missing?
After more experimentation and reviving an older github project I found out that setting the filter for a logged in user can be achieved simply by issuing a specific POST message to gmail from the current session.
I don't fully understand the parameters used in this request (if anyone has better information, please share), but I found a sample code which was greatly helpful.
Second issue, widely discussed in gmail.js community, is that Gmail security policies will prevent you from injecting your own scripts. This is bypassed by method shown in this boilerplate project
I compiled these solutions to solve my particular use case. Here is an example project with my solution, which should work out of the box - and when in doubt, see readme.

A query tool for searching on projects in github

I am looking for an advanced query tool for github. the advanced search of github is not enough since it does not let you search for examples like this:
give me all projects that use a library such as qunit and have at least 100 closed issues.
Such an advanced search could only use the GitHub API.
However, none of the Issue API exposes closed issue for all repos.
It only find closed issues for a specific repo or a specific user, which means you would have first to list all repos, and then make a query for each one.
SO right now, the search is still a work in progress, and has seen many improvement in 2013 (see "Search code inside a Github project"), but it isn't yet at the level you are after.

Resources