{"action":"created","comment":{"url":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/comments/68024097","id":68024097,"diff_hunk":"@@ -0,0 +1,56 @@\n+/*\n+ *\n+ * Q-MUNICATE settings Module\n+ *\n+ */\n+define([\n+    'jquery',\n+    'config'\n+], function($, Backbone, QMCONFIG) {\n+    'use strict';\n+\n+    var globalSettings;\n+\n+    function Settings(app) {\n+        this.app = app;\n+        this.userSettings = {};\n+        globalSettings = this.userSettings;\n+        globalSettings.messages_notify = true;\n+        globalSettings.calls_notify    = true;\n+        globalSettings.sounds_notify   = true;\n+    }\n+\n+    Settings.prototype = {\n+\n+        // set users settings from localStorage or create default (default - all is ON)","path":"app/scripts/models/settings.js","position":25,"original_position":25,"commit_id":"18c1059b52a8c0cc37e76131f352777133098abd","original_commit_id":"18c1059b52a8c0cc37e76131f352777133098abd","user":{"login":"dimaspirit","id":5120723,"avatar_url":"https://avatars.githubusercontent.com/u/5120723?v=3","gravatar_id":"","url":"https://api.github.com/users/dimaspirit","html_url":"https://github.com/dimaspirit","followers_url":"https://api.github.com/users/dimaspirit/followers","following_url":"https://api.github.com/users/dimaspirit/following{/other_user}","gists_url":"https://api.github.com/users/dimaspirit/gists{/gist_id}","starred_url":"https://api.github.com/users/dimaspirit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimaspirit/subscriptions","organizations_url":"https://api.github.com/users/dimaspirit/orgs","repos_url":"https://api.github.com/users/dimaspirit/repos","events_url":"https://api.github.com/users/dimaspirit/events{/privacy}","received_events_url":"https://api.github.com/users/dimaspirit/received_events","type":"User","site_admin":false},"body":"Set user's settings","created_at":"2016-06-22T09:47:43Z","updated_at":"2016-06-22T09:47:43Z","html_url":"https://github.com/QuickBlox/q-municate-web/pull/64#discussion_r68024097","pull_request_url":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/comments/68024097"},"html":{"href":"https://github.com/QuickBlox/q-municate-web/pull/64#discussion_r68024097"},"pull_request":{"href":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/64","id":74428240,"html_url":"https://github.com/QuickBlox/q-municate-web/pull/64","diff_url":"https://github.com/QuickBlox/q-municate-web/pull/64.diff","patch_url":"https://github.com/QuickBlox/q-municate-web/pull/64.patch","issue_url":"https://api.github.com/repos/QuickBlox/q-municate-web/issues/64","number":64,"state":"open","locked":false,"title":"Develop.settings","user":{"login":"Vladlukhanin","id":9371326,"avatar_url":"https://avatars.githubusercontent.com/u/9371326?v=3","gravatar_id":"","url":"https://api.github.com/users/Vladlukhanin","html_url":"https://github.com/Vladlukhanin","followers_url":"https://api.github.com/users/Vladlukhanin/followers","following_url":"https://api.github.com/users/Vladlukhanin/following{/other_user}","gists_url":"https://api.github.com/users/Vladlukhanin/gists{/gist_id}","starred_url":"https://api.github.com/users/Vladlukhanin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vladlukhanin/subscriptions","organizations_url":"https://api.github.com/users/Vladlukhanin/orgs","repos_url":"https://api.github.com/users/Vladlukhanin/repos","events_url":"https://api.github.com/users/Vladlukhanin/events{/privacy}","received_events_url":"https://api.github.com/users/Vladlukhanin/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-20T11:28:13Z","updated_at":"2016-06-22T09:47:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"420f7fefb3af3c15bea606d749586182698aa543","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/64/commits","review_comments_url":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/64/comments","review_comment_url":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/QuickBlox/q-municate-web/issues/64/comments","statuses_url":"https://api.github.com/repos/QuickBlox/q-municate-web/statuses/18c1059b52a8c0cc37e76131f352777133098abd","head":{"label":"QuickBlox:develop.settings","ref":"develop.settings","sha":"18c1059b52a8c0cc37e76131f352777133098abd","user":{"login":"QuickBlox","id":1140234,"avatar_url":"https://avatars.githubusercontent.com/u/1140234?v=3","gravatar_id":"","url":"https://api.github.com/users/QuickBlox","html_url":"https://github.com/QuickBlox","followers_url":"https://api.github.com/users/QuickBlox/followers","following_url":"https://api.github.com/users/QuickBlox/following{/other_user}","gists_url":"https://api.github.com/users/QuickBlox/gists{/gist_id}","starred_url":"https://api.github.com/users/QuickBlox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuickBlox/subscriptions","organizations_url":"https://api.github.com/users/QuickBlox/orgs","repos_url":"https://api.github.com/users/QuickBlox/repos","events_url":"https://api.github.com/users/QuickBlox/events{/privacy}","received_events_url":"https://api.github.com/users/QuickBlox/received_events","type":"Organization","site_admin":false},"repo":{"id":20834145,"name":"q-municate-web","full_name":"QuickBlox/q-municate-web","owner":{"login":"QuickBlox","id":1140234,"avatar_url":"https://avatars.githubusercontent.com/u/1140234?v=3","gravatar_id":"","url":"https://api.github.com/users/QuickBlox","html_url":"https://github.com/QuickBlox","followers_url":"https://api.github.com/users/QuickBlox/followers","following_url":"https://api.github.com/users/QuickBlox/following{/other_user}","gists_url":"https://api.github.com/users/QuickBlox/gists{/gist_id}","starred_url":"https://api.github.com/users/QuickBlox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuickBlox/subscriptions","organizations_url":"https://api.github.com/users/QuickBlox/orgs","repos_url":"https://api.github.com/users/QuickBlox/repos","events_url":"https://api.github.com/users/QuickBlox/events{/privacy}","received_events_url":"https://api.github.com/users/QuickBlox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/QuickBlox/q-municate-web","description":"Q-municate Web chat application","fork":false,"url":"https://api.github.com/repos/QuickBlox/q-municate-web","forks_url":"https://api.github.com/repos/QuickBlox/q-municate-web/forks","keys_url":"https://api.github.com/repos/QuickBlox/q-municate-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/QuickBlox/q-municate-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/QuickBlox/q-municate-web/teams","hooks_url":"https://api.github.com/repos/QuickBlox/q-municate-web/hooks","issue_events_url":"https://api.github.com/repos/QuickBlox/q-municate-web/issues/events{/number}","events_url":"https://api.github.com/repos/QuickBlox/q-municate-web/events","assignees_url":"https://api.github.com/repos/QuickBlox/q-municate-web/assignees{/user}","branches_url":"https://api.github.com/repos/QuickBlox/q-municate-web/branches{/branch}","tags_url":"https://api.github.com/repos/QuickBlox/q-municate-web/tags","blobs_url":"https://api.github.com/repos/QuickBlox/q-municate-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/QuickBlox/q-municate-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/QuickBlox/q-municate-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/QuickBlox/q-municate-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/QuickBlox/q-municate-web/statuses/{sha}","languages_url":"https://api.github.com/repos/QuickBlox/q-municate-web/languages","stargazers_url":"https://api.github.com/repos/QuickBlox/q-municate-web/stargazers","contributors_url":"https://api.github.com/repos/QuickBlox/q-municate-web/contributors","subscribers_url":"https://api.github.com/repos/QuickBlox/q-municate-web/subscribers","subscription_url":"https://api.github.com/repos/QuickBlox/q-municate-web/subscription","commits_url":"https://api.github.com/repos/QuickBlox/q-municate-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/QuickBlox/q-municate-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/QuickBlox/q-municate-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/QuickBlox/q-municate-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/QuickBlox/q-municate-web/contents/{+path}","compare_url":"https://api.github.com/repos/QuickBlox/q-municate-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/QuickBlox/q-municate-web/merges","archive_url":"https://api.github.com/repos/QuickBlox/q-municate-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/QuickBlox/q-municate-web/downloads","issues_url":"https://api.github.com/repos/QuickBlox/q-municate-web/issues{/number}","pulls_url":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls{/number}","milestones_url":"https://api.github.com/repos/QuickBlox/q-municate-web/milestones{/number}","notifications_url":"https://api.github.com/repos/QuickBlox/q-municate-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/QuickBlox/q-municate-web/labels{/name}","releases_url":"https://api.github.com/repos/QuickBlox/q-municate-web/releases{/id}","deployments_url":"https://api.github.com/repos/QuickBlox/q-municate-web/deployments","created_at":"2014-06-14T14:46:59Z","updated_at":"2016-05-19T09:33:34Z","pushed_at":"2016-06-22T09:24:22Z","git_url":"git://github.com/QuickBlox/q-municate-web.git","ssh_url":"git@github.com:QuickBlox/q-municate-web.git","clone_url":"https://github.com/QuickBlox/q-municate-web.git","svn_url":"https://github.com/QuickBlox/q-municate-web","homepage":"http://q-municate.com/","size":8697,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":6,"forks":36,"open_issues":6,"watchers":19,"default_branch":"master"}},"base":{"label":"QuickBlox:develop","ref":"develop","sha":"07e45ba0af2ba8d19336fc3b77e9b8b1c4b510b2","user":{"login":"QuickBlox","id":1140234,"avatar_url":"https://avatars.githubusercontent.com/u/1140234?v=3","gravatar_id":"","url":"https://api.github.com/users/QuickBlox","html_url":"https://github.com/QuickBlox","followers_url":"https://api.github.com/users/QuickBlox/followers","following_url":"https://api.github.com/users/QuickBlox/following{/other_user}","gists_url":"https://api.github.com/users/QuickBlox/gists{/gist_id}","starred_url":"https://api.github.com/users/QuickBlox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuickBlox/subscriptions","organizations_url":"https://api.github.com/users/QuickBlox/orgs","repos_url":"https://api.github.com/users/QuickBlox/repos","events_url":"https://api.github.com/users/QuickBlox/events{/privacy}","received_events_url":"https://api.github.com/users/QuickBlox/received_events","type":"Organization","site_admin":false},"repo":{"id":20834145,"name":"q-municate-web","full_name":"QuickBlox/q-municate-web","owner":{"login":"QuickBlox","id":1140234,"avatar_url":"https://avatars.githubusercontent.com/u/1140234?v=3","gravatar_id":"","url":"https://api.github.com/users/QuickBlox","html_url":"https://github.com/QuickBlox","followers_url":"https://api.github.com/users/QuickBlox/followers","following_url":"https://api.github.com/users/QuickBlox/following{/other_user}","gists_url":"https://api.github.com/users/QuickBlox/gists{/gist_id}","starred_url":"https://api.github.com/users/QuickBlox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuickBlox/subscriptions","organizations_url":"https://api.github.com/users/QuickBlox/orgs","repos_url":"https://api.github.com/users/QuickBlox/repos","events_url":"https://api.github.com/users/QuickBlox/events{/privacy}","received_events_url":"https://api.github.com/users/QuickBlox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/QuickBlox/q-municate-web","description":"Q-municate Web chat application","fork":false,"url":"https://api.github.com/repos/QuickBlox/q-municate-web","forks_url":"https://api.github.com/repos/QuickBlox/q-municate-web/forks","keys_url":"https://api.github.com/repos/QuickBlox/q-municate-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/QuickBlox/q-municate-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/QuickBlox/q-municate-web/teams","hooks_url":"https://api.github.com/repos/QuickBlox/q-municate-web/hooks","issue_events_url":"https://api.github.com/repos/QuickBlox/q-municate-web/issues/events{/number}","events_url":"https://api.github.com/repos/QuickBlox/q-municate-web/events","assignees_url":"https://api.github.com/repos/QuickBlox/q-municate-web/assignees{/user}","branches_url":"https://api.github.com/repos/QuickBlox/q-municate-web/branches{/branch}","tags_url":"https://api.github.com/repos/QuickBlox/q-municate-web/tags","blobs_url":"https://api.github.com/repos/QuickBlox/q-municate-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/QuickBlox/q-municate-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/QuickBlox/q-municate-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/QuickBlox/q-municate-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/QuickBlox/q-municate-web/statuses/{sha}","languages_url":"https://api.github.com/repos/QuickBlox/q-municate-web/languages","stargazers_url":"https://api.github.com/repos/QuickBlox/q-municate-web/stargazers","contributors_url":"https://api.github.com/repos/QuickBlox/q-municate-web/contributors","subscribers_url":"https://api.github.com/repos/QuickBlox/q-municate-web/subscribers","subscription_url":"https://api.github.com/repos/QuickBlox/q-municate-web/subscription","commits_url":"https://api.github.com/repos/QuickBlox/q-municate-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/QuickBlox/q-municate-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/QuickBlox/q-municate-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/QuickBlox/q-municate-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/QuickBlox/q-municate-web/contents/{+path}","compare_url":"https://api.github.com/repos/QuickBlox/q-municate-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/QuickBlox/q-municate-web/merges","archive_url":"https://api.github.com/repos/QuickBlox/q-municate-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/QuickBlox/q-municate-web/downloads","issues_url":"https://api.github.com/repos/QuickBlox/q-municate-web/issues{/number}","pulls_url":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls{/number}","milestones_url":"https://api.github.com/repos/QuickBlox/q-municate-web/milestones{/number}","notifications_url":"https://api.github.com/repos/QuickBlox/q-municate-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/QuickBlox/q-municate-web/labels{/name}","releases_url":"https://api.github.com/repos/QuickBlox/q-municate-web/releases{/id}","deployments_url":"https://api.github.com/repos/QuickBlox/q-municate-web/deployments","created_at":"2014-06-14T14:46:59Z","updated_at":"2016-05-19T09:33:34Z","pushed_at":"2016-06-22T09:24:22Z","git_url":"git://github.com/QuickBlox/q-municate-web.git","ssh_url":"git@github.com:QuickBlox/q-municate-web.git","clone_url":"https://github.com/QuickBlox/q-municate-web.git","svn_url":"https://github.com/QuickBlox/q-municate-web","homepage":"http://q-municate.com/","size":8697,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":6,"forks":36,"open_issues":6,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/64"},"html":{"href":"https://github.com/QuickBlox/q-municate-web/pull/64"},"issue":{"href":"https://api.github.com/repos/QuickBlox/q-municate-web/issues/64"},"comments":{"href":"https://api.github.com/repos/QuickBlox/q-municate-web/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/QuickBlox/q-municate-web/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/QuickBlox/q-municate-web/statuses/18c1059b52a8c0cc37e76131f352777133098abd"}}}}
{"actor":{"display_login":"dimaspirit"}}