{"action":"opened","number":703,"pull_request":{"url":"https://api.github.com/repos/mscdex/node-imap/pulls/703","id":187220555,"html_url":"https://github.com/mscdex/node-imap/pull/703","diff_url":"https://github.com/mscdex/node-imap/pull/703.diff","patch_url":"https://github.com/mscdex/node-imap/pull/703.patch","issue_url":"https://api.github.com/repos/mscdex/node-imap/issues/703","number":703,"state":"open","locked":false,"title":"Add possibility to add multiple OR's in queries. Closes #702","user":{"login":"mihai1voicescu","id":11346489,"avatar_url":"https://avatars0.githubusercontent.com/u/11346489?v=4","gravatar_id":"","url":"https://api.github.com/users/mihai1voicescu","html_url":"https://github.com/mihai1voicescu","followers_url":"https://api.github.com/users/mihai1voicescu/followers","following_url":"https://api.github.com/users/mihai1voicescu/following{/other_user}","gists_url":"https://api.github.com/users/mihai1voicescu/gists{/gist_id}","starred_url":"https://api.github.com/users/mihai1voicescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihai1voicescu/subscriptions","organizations_url":"https://api.github.com/users/mihai1voicescu/orgs","repos_url":"https://api.github.com/users/mihai1voicescu/repos","events_url":"https://api.github.com/users/mihai1voicescu/events{/privacy}","received_events_url":"https://api.github.com/users/mihai1voicescu/received_events","type":"User","site_admin":false},"body":"Regarding the tests, I am not really familiar with the framework. Basically\r\n```\r\n[\"OR\", [\"FROM\", \"m1@asd.com\"], [\"FROM\", \"m2@asd.com\"], [\"FROM\", \"m3@asd.com\"], [\"FROM\", \"m4@asd.com\"]]\r\n```\r\nshould get translated to\r\n```\r\nOR OR OR (FROM \"m1@asd.com\") (FROM \"m2@asd.com\") (FROM \"m3@asd.com\") (FROM \"m4@asd.com\")\r\n```\r\nBecause IMAP is in polish form the OR's should arrange just right.\r\nCould you please add this test?","created_at":"2018-05-10T15:11:02Z","updated_at":"2018-05-10T15:11:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mscdex/node-imap/pulls/703/commits","review_comments_url":"https://api.github.com/repos/mscdex/node-imap/pulls/703/comments","review_comment_url":"https://api.github.com/repos/mscdex/node-imap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mscdex/node-imap/issues/703/comments","statuses_url":"https://api.github.com/repos/mscdex/node-imap/statuses/9ba4c807fdc4357550f41a6d2c2148cbf0c81e4d","head":{"label":"mihai1voicescu:Multiple-ORs","ref":"Multiple-ORs","sha":"9ba4c807fdc4357550f41a6d2c2148cbf0c81e4d","user":{"login":"mihai1voicescu","id":11346489,"avatar_url":"https://avatars0.githubusercontent.com/u/11346489?v=4","gravatar_id":"","url":"https://api.github.com/users/mihai1voicescu","html_url":"https://github.com/mihai1voicescu","followers_url":"https://api.github.com/users/mihai1voicescu/followers","following_url":"https://api.github.com/users/mihai1voicescu/following{/other_user}","gists_url":"https://api.github.com/users/mihai1voicescu/gists{/gist_id}","starred_url":"https://api.github.com/users/mihai1voicescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihai1voicescu/subscriptions","organizations_url":"https://api.github.com/users/mihai1voicescu/orgs","repos_url":"https://api.github.com/users/mihai1voicescu/repos","events_url":"https://api.github.com/users/mihai1voicescu/events{/privacy}","received_events_url":"https://api.github.com/users/mihai1voicescu/received_events","type":"User","site_admin":false},"repo":{"id":126976072,"name":"node-imap","full_name":"mihai1voicescu/node-imap","owner":{"login":"mihai1voicescu","id":11346489,"avatar_url":"https://avatars0.githubusercontent.com/u/11346489?v=4","gravatar_id":"","url":"https://api.github.com/users/mihai1voicescu","html_url":"https://github.com/mihai1voicescu","followers_url":"https://api.github.com/users/mihai1voicescu/followers","following_url":"https://api.github.com/users/mihai1voicescu/following{/other_user}","gists_url":"https://api.github.com/users/mihai1voicescu/gists{/gist_id}","starred_url":"https://api.github.com/users/mihai1voicescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihai1voicescu/subscriptions","organizations_url":"https://api.github.com/users/mihai1voicescu/orgs","repos_url":"https://api.github.com/users/mihai1voicescu/repos","events_url":"https://api.github.com/users/mihai1voicescu/events{/privacy}","received_events_url":"https://api.github.com/users/mihai1voicescu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mihai1voicescu/node-imap","description":"An IMAP client module for node.js.","fork":true,"url":"https://api.github.com/repos/mihai1voicescu/node-imap","forks_url":"https://api.github.com/repos/mihai1voicescu/node-imap/forks","keys_url":"https://api.github.com/repos/mihai1voicescu/node-imap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mihai1voicescu/node-imap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mihai1voicescu/node-imap/teams","hooks_url":"https://api.github.com/repos/mihai1voicescu/node-imap/hooks","issue_events_url":"https://api.github.com/repos/mihai1voicescu/node-imap/issues/events{/number}","events_url":"https://api.github.com/repos/mihai1voicescu/node-imap/events","assignees_url":"https://api.github.com/repos/mihai1voicescu/node-imap/assignees{/user}","branches_url":"https://api.github.com/repos/mihai1voicescu/node-imap/branches{/branch}","tags_url":"https://api.github.com/repos/mihai1voicescu/node-imap/tags","blobs_url":"https://api.github.com/repos/mihai1voicescu/node-imap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mihai1voicescu/node-imap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mihai1voicescu/node-imap/git/refs{/sha}","trees_url":"https://api.github.com/repos/mihai1voicescu/node-imap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mihai1voicescu/node-imap/statuses/{sha}","languages_url":"https://api.github.com/repos/mihai1voicescu/node-imap/languages","stargazers_url":"https://api.github.com/repos/mihai1voicescu/node-imap/stargazers","contributors_url":"https://api.github.com/repos/mihai1voicescu/node-imap/contributors","subscribers_url":"https://api.github.com/repos/mihai1voicescu/node-imap/subscribers","subscription_url":"https://api.github.com/repos/mihai1voicescu/node-imap/subscription","commits_url":"https://api.github.com/repos/mihai1voicescu/node-imap/commits{/sha}","git_commits_url":"https://api.github.com/repos/mihai1voicescu/node-imap/git/commits{/sha}","comments_url":"https://api.github.com/repos/mihai1voicescu/node-imap/comments{/number}","issue_comment_url":"https://api.github.com/repos/mihai1voicescu/node-imap/issues/comments{/number}","contents_url":"https://api.github.com/repos/mihai1voicescu/node-imap/contents/{+path}","compare_url":"https://api.github.com/repos/mihai1voicescu/node-imap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mihai1voicescu/node-imap/merges","archive_url":"https://api.github.com/repos/mihai1voicescu/node-imap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mihai1voicescu/node-imap/downloads","issues_url":"https://api.github.com/repos/mihai1voicescu/node-imap/issues{/number}","pulls_url":"https://api.github.com/repos/mihai1voicescu/node-imap/pulls{/number}","milestones_url":"https://api.github.com/repos/mihai1voicescu/node-imap/milestones{/number}","notifications_url":"https://api.github.com/repos/mihai1voicescu/node-imap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mihai1voicescu/node-imap/labels{/name}","releases_url":"https://api.github.com/repos/mihai1voicescu/node-imap/releases{/id}","deployments_url":"https://api.github.com/repos/mihai1voicescu/node-imap/deployments","created_at":"2018-03-27T11:27:14Z","updated_at":"2018-05-09T16:15:39Z","pushed_at":"2018-05-10T15:09:29Z","git_url":"git://github.com/mihai1voicescu/node-imap.git","ssh_url":"git@github.com:mihai1voicescu/node-imap.git","clone_url":"https://github.com/mihai1voicescu/node-imap.git","svn_url":"https://github.com/mihai1voicescu/node-imap","homepage":"","size":1347,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mscdex:master","ref":"master","sha":"867aa88a335a266b904e0271afa36f69af31a869","user":{"login":"mscdex","id":54666,"avatar_url":"https://avatars0.githubusercontent.com/u/54666?v=4","gravatar_id":"","url":"https://api.github.com/users/mscdex","html_url":"https://github.com/mscdex","followers_url":"https://api.github.com/users/mscdex/followers","following_url":"https://api.github.com/users/mscdex/following{/other_user}","gists_url":"https://api.github.com/users/mscdex/gists{/gist_id}","starred_url":"https://api.github.com/users/mscdex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscdex/subscriptions","organizations_url":"https://api.github.com/users/mscdex/orgs","repos_url":"https://api.github.com/users/mscdex/repos","events_url":"https://api.github.com/users/mscdex/events{/privacy}","received_events_url":"https://api.github.com/users/mscdex/received_events","type":"User","site_admin":false},"repo":{"id":960386,"name":"node-imap","full_name":"mscdex/node-imap","owner":{"login":"mscdex","id":54666,"avatar_url":"https://avatars0.githubusercontent.com/u/54666?v=4","gravatar_id":"","url":"https://api.github.com/users/mscdex","html_url":"https://github.com/mscdex","followers_url":"https://api.github.com/users/mscdex/followers","following_url":"https://api.github.com/users/mscdex/following{/other_user}","gists_url":"https://api.github.com/users/mscdex/gists{/gist_id}","starred_url":"https://api.github.com/users/mscdex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscdex/subscriptions","organizations_url":"https://api.github.com/users/mscdex/orgs","repos_url":"https://api.github.com/users/mscdex/repos","events_url":"https://api.github.com/users/mscdex/events{/privacy}","received_events_url":"https://api.github.com/users/mscdex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mscdex/node-imap","description":"An IMAP client module for node.js.","fork":false,"url":"https://api.github.com/repos/mscdex/node-imap","forks_url":"https://api.github.com/repos/mscdex/node-imap/forks","keys_url":"https://api.github.com/repos/mscdex/node-imap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mscdex/node-imap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mscdex/node-imap/teams","hooks_url":"https://api.github.com/repos/mscdex/node-imap/hooks","issue_events_url":"https://api.github.com/repos/mscdex/node-imap/issues/events{/number}","events_url":"https://api.github.com/repos/mscdex/node-imap/events","assignees_url":"https://api.github.com/repos/mscdex/node-imap/assignees{/user}","branches_url":"https://api.github.com/repos/mscdex/node-imap/branches{/branch}","tags_url":"https://api.github.com/repos/mscdex/node-imap/tags","blobs_url":"https://api.github.com/repos/mscdex/node-imap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mscdex/node-imap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mscdex/node-imap/git/refs{/sha}","trees_url":"https://api.github.com/repos/mscdex/node-imap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mscdex/node-imap/statuses/{sha}","languages_url":"https://api.github.com/repos/mscdex/node-imap/languages","stargazers_url":"https://api.github.com/repos/mscdex/node-imap/stargazers","contributors_url":"https://api.github.com/repos/mscdex/node-imap/contributors","subscribers_url":"https://api.github.com/repos/mscdex/node-imap/subscribers","subscription_url":"https://api.github.com/repos/mscdex/node-imap/subscription","commits_url":"https://api.github.com/repos/mscdex/node-imap/commits{/sha}","git_commits_url":"https://api.github.com/repos/mscdex/node-imap/git/commits{/sha}","comments_url":"https://api.github.com/repos/mscdex/node-imap/comments{/number}","issue_comment_url":"https://api.github.com/repos/mscdex/node-imap/issues/comments{/number}","contents_url":"https://api.github.com/repos/mscdex/node-imap/contents/{+path}","compare_url":"https://api.github.com/repos/mscdex/node-imap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mscdex/node-imap/merges","archive_url":"https://api.github.com/repos/mscdex/node-imap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mscdex/node-imap/downloads","issues_url":"https://api.github.com/repos/mscdex/node-imap/issues{/number}","pulls_url":"https://api.github.com/repos/mscdex/node-imap/pulls{/number}","milestones_url":"https://api.github.com/repos/mscdex/node-imap/milestones{/number}","notifications_url":"https://api.github.com/repos/mscdex/node-imap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mscdex/node-imap/labels{/name}","releases_url":"https://api.github.com/repos/mscdex/node-imap/releases{/id}","deployments_url":"https://api.github.com/repos/mscdex/node-imap/deployments","created_at":"2010-10-04T12:06:46Z","updated_at":"2018-05-10T04:48:44Z","pushed_at":"2018-05-10T12:47:27Z","git_url":"git://github.com/mscdex/node-imap.git","ssh_url":"git@github.com:mscdex/node-imap.git","clone_url":"https://github.com/mscdex/node-imap.git","svn_url":"https://github.com/mscdex/node-imap","homepage":"","size":2095,"stargazers_count":1398,"watchers_count":1398,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":269,"mirror_url":null,"archived":false,"open_issues_count":117,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":269,"open_issues":117,"watchers":1398,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mscdex/node-imap/pulls/703"},"html":{"href":"https://github.com/mscdex/node-imap/pull/703"},"issue":{"href":"https://api.github.com/repos/mscdex/node-imap/issues/703"},"comments":{"href":"https://api.github.com/repos/mscdex/node-imap/issues/703/comments"},"review_comments":{"href":"https://api.github.com/repos/mscdex/node-imap/pulls/703/comments"},"review_comment":{"href":"https://api.github.com/repos/mscdex/node-imap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mscdex/node-imap/pulls/703/commits"},"statuses":{"href":"https://api.github.com/repos/mscdex/node-imap/statuses/9ba4c807fdc4357550f41a6d2c2148cbf0c81e4d"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":15,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"mihai1voicescu"}}