{"action":"created","comment":{"url":"https://api.github.com/repos/owncloud/calendar-rework/pulls/comments/43393395","id":43393395,"diff_hunk":"@@ -33,6 +33,155 @@ app.controller('EventsModalController', ['$scope', '$rootScope', '$routeParams',\n \t\t$scope.calendars = CalendarModel.getAll();\n \t\t$scope.properties = {};\n \n+\t\t$scope.tabs = [{\n+\t\t\ttitle: 'Events Info',\n+\t\t\turl: 'event.info.html'\n+    }, {\n+      title: 'Repeating',\n+      url: 'event.repeat.html'\n+    }];\n+\n+\t\t$scope.repeater = [\n+\t\t\t{ val: 'doesnotrepeat' , displayname: t('Calendar', 'Does nor repeat')},\n+\t\t\t{ val: 'daily' , displayname: t('Calendar', 'Daily')},\n+\t\t\t{ val: 'weekly' , displayname: t('Calendar', 'Weekly')},\n+\t\t\t{ val: 'weekday' , displayname: t('Calendar', 'Every Weekday')},\n+\t\t\t{ val: 'biweekly' , displayname: t('Calendar', 'Bi-weekly')},\n+\t\t\t{ val: 'monthly' , displayname: t('Calendar', 'Monthly')},\n+\t\t\t{ val: 'yearly' , displayname: t('Calendar', 'Yearly')},\n+\t\t];\n+\t\t$scope.repeatmodel = $scope.repeater[0].val;\n+\n+\t\t$scope.ender = [\n+\t\t\t{ value: 'never', displayname: t('Calendar','never')},\n+\t\t\t{ value: 'count', displayname: t('Calendar','by occurances')},\n+\t\t\t{ value: 'date', displayname: t('Calendar','by date')},\n+\t\t];\n+\n+\t\t$scope.monthdays = [\n+\t\t\t{ value: 'monthday', displayname: t('Calendar','by monthday')},\n+\t\t\t{ value: 'weekday', displayname: t('Calendar','by weekday')}\n+\t\t];\n+\t\t$scope.monthdaymodel = $scope.monthdays[0].val;\n+\n+\t\t$scope.years = [\n+\t\t\t{ value: 'bydate', displayname: t('Calendar','by events date')},\n+\t\t\t{ value: 'byyearday', displayname: t('Calendar','by yearday(s)')},\n+\t\t\t{ value: 'byweekno', displayname: t('Calendar','by week no(s)')},\n+\t\t\t{ value: 'bydaymonth', displayname: t('Calendar','by day and month')}\n+\t\t];\n+\n+\t\t$scope.changerepeater = function (repeat) {\n+\t\t\tif (repeat.val === 'monthly') {\n+\t\t\t\t$scope.yearly = true;\n+\t\t\t\t$scope.monthday = false;\n+\t\t\t} else if (repeat.val === 'yearly') {\n+\t\t\t\t$scope.monthday = true;\n+\t\t\t\t$scope.yearly = false;\n+\t\t\t}\n+\t\t};\n+\n+\t\t$scope.changemonthday = function (y) {\n+\t\t\tconsole.log(y);\n+\t\t};\n+\n+\t\t$scope.currentTab = 'event.info.html';\n+\n+    $scope.onClickTab = function (tab) {","path":"js/app/controllers/eventsmodalcontroller.js","position":58,"original_position":58,"commit_id":"76ef6da0cfe2e74406f7fa3db1bcac4b4025b2ef","original_commit_id":"76ef6da0cfe2e74406f7fa3db1bcac4b4025b2ef","user":{"login":"georgehrke","id":1250540,"avatar_url":"https://avatars.githubusercontent.com/u/1250540?v=3","gravatar_id":"","url":"https://api.github.com/users/georgehrke","html_url":"https://github.com/georgehrke","followers_url":"https://api.github.com/users/georgehrke/followers","following_url":"https://api.github.com/users/georgehrke/following{/other_user}","gists_url":"https://api.github.com/users/georgehrke/gists{/gist_id}","starred_url":"https://api.github.com/users/georgehrke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgehrke/subscriptions","organizations_url":"https://api.github.com/users/georgehrke/orgs","repos_url":"https://api.github.com/users/georgehrke/repos","events_url":"https://api.github.com/users/georgehrke/events{/privacy}","received_events_url":"https://api.github.com/users/georgehrke/received_events","type":"User","site_admin":false},"body":"*cough* *cough*","created_at":"2015-10-29T14:45:13Z","updated_at":"2015-10-29T14:45:13Z","html_url":"https://github.com/owncloud/calendar-rework/pull/42#discussion_r43393395","pull_request_url":"https://api.github.com/repos/owncloud/calendar-rework/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/owncloud/calendar-rework/pulls/comments/43393395"},"html":{"href":"https://github.com/owncloud/calendar-rework/pull/42#discussion_r43393395"},"pull_request":{"href":"https://api.github.com/repos/owncloud/calendar-rework/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/owncloud/calendar-rework/pulls/42","id":48916832,"html_url":"https://github.com/owncloud/calendar-rework/pull/42","diff_url":"https://github.com/owncloud/calendar-rework/pull/42.diff","patch_url":"https://github.com/owncloud/calendar-rework/pull/42.patch","issue_url":"https://api.github.com/repos/owncloud/calendar-rework/issues/42","number":42,"state":"open","locked":false,"title":"[WIP] : Events editor V1","user":{"login":"raghunayyar","id":992488,"avatar_url":"https://avatars.githubusercontent.com/u/992488?v=3","gravatar_id":"","url":"https://api.github.com/users/raghunayyar","html_url":"https://github.com/raghunayyar","followers_url":"https://api.github.com/users/raghunayyar/followers","following_url":"https://api.github.com/users/raghunayyar/following{/other_user}","gists_url":"https://api.github.com/users/raghunayyar/gists{/gist_id}","starred_url":"https://api.github.com/users/raghunayyar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raghunayyar/subscriptions","organizations_url":"https://api.github.com/users/raghunayyar/orgs","repos_url":"https://api.github.com/users/raghunayyar/repos","events_url":"https://api.github.com/users/raghunayyar/events{/privacy}","received_events_url":"https://api.github.com/users/raghunayyar/received_events","type":"User","site_admin":false},"body":"UI for a very basic events editor. The current aim is to make the calendar working at all instance even though we lag behind in features. Needs more tweaks.","created_at":"2015-10-27T19:01:57Z","updated_at":"2015-10-29T14:45:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6de73aea69ad3805c481c4f98362e0be7fe7a1a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/owncloud/calendar-rework/pulls/42/commits","review_comments_url":"https://api.github.com/repos/owncloud/calendar-rework/pulls/42/comments","review_comment_url":"https://api.github.com/repos/owncloud/calendar-rework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owncloud/calendar-rework/issues/42/comments","statuses_url":"https://api.github.com/repos/owncloud/calendar-rework/statuses/76ef6da0cfe2e74406f7fa3db1bcac4b4025b2ef","head":{"label":"owncloud:events-editor","ref":"events-editor","sha":"76ef6da0cfe2e74406f7fa3db1bcac4b4025b2ef","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":41913731,"name":"calendar-rework","full_name":"owncloud/calendar-rework","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/calendar-rework","description":"Rework of the ownCloud calendar app (#owncloud-calendar)","fork":false,"url":"https://api.github.com/repos/owncloud/calendar-rework","forks_url":"https://api.github.com/repos/owncloud/calendar-rework/forks","keys_url":"https://api.github.com/repos/owncloud/calendar-rework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/calendar-rework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/calendar-rework/teams","hooks_url":"https://api.github.com/repos/owncloud/calendar-rework/hooks","issue_events_url":"https://api.github.com/repos/owncloud/calendar-rework/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/calendar-rework/events","assignees_url":"https://api.github.com/repos/owncloud/calendar-rework/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/calendar-rework/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/calendar-rework/tags","blobs_url":"https://api.github.com/repos/owncloud/calendar-rework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/calendar-rework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/calendar-rework/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/calendar-rework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/calendar-rework/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/calendar-rework/languages","stargazers_url":"https://api.github.com/repos/owncloud/calendar-rework/stargazers","contributors_url":"https://api.github.com/repos/owncloud/calendar-rework/contributors","subscribers_url":"https://api.github.com/repos/owncloud/calendar-rework/subscribers","subscription_url":"https://api.github.com/repos/owncloud/calendar-rework/subscription","commits_url":"https://api.github.com/repos/owncloud/calendar-rework/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/calendar-rework/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/calendar-rework/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/calendar-rework/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/calendar-rework/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/calendar-rework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/calendar-rework/merges","archive_url":"https://api.github.com/repos/owncloud/calendar-rework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/calendar-rework/downloads","issues_url":"https://api.github.com/repos/owncloud/calendar-rework/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/calendar-rework/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/calendar-rework/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/calendar-rework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/calendar-rework/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/calendar-rework/releases{/id}","created_at":"2015-09-04T12:08:35Z","updated_at":"2015-10-23T16:54:11Z","pushed_at":"2015-10-29T14:43:48Z","git_url":"git://github.com/owncloud/calendar-rework.git","ssh_url":"git@github.com:owncloud/calendar-rework.git","clone_url":"https://github.com/owncloud/calendar-rework.git","svn_url":"https://github.com/owncloud/calendar-rework","homepage":"","size":11440,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":24,"forks":2,"open_issues":24,"watchers":7,"default_branch":"master"}},"base":{"label":"owncloud:master","ref":"master","sha":"22411d4b8d40a47c1952cc6cc9bc080b66f6c8a8","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":41913731,"name":"calendar-rework","full_name":"owncloud/calendar-rework","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/calendar-rework","description":"Rework of the ownCloud calendar app (#owncloud-calendar)","fork":false,"url":"https://api.github.com/repos/owncloud/calendar-rework","forks_url":"https://api.github.com/repos/owncloud/calendar-rework/forks","keys_url":"https://api.github.com/repos/owncloud/calendar-rework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/calendar-rework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/calendar-rework/teams","hooks_url":"https://api.github.com/repos/owncloud/calendar-rework/hooks","issue_events_url":"https://api.github.com/repos/owncloud/calendar-rework/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/calendar-rework/events","assignees_url":"https://api.github.com/repos/owncloud/calendar-rework/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/calendar-rework/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/calendar-rework/tags","blobs_url":"https://api.github.com/repos/owncloud/calendar-rework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/calendar-rework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/calendar-rework/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/calendar-rework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/calendar-rework/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/calendar-rework/languages","stargazers_url":"https://api.github.com/repos/owncloud/calendar-rework/stargazers","contributors_url":"https://api.github.com/repos/owncloud/calendar-rework/contributors","subscribers_url":"https://api.github.com/repos/owncloud/calendar-rework/subscribers","subscription_url":"https://api.github.com/repos/owncloud/calendar-rework/subscription","commits_url":"https://api.github.com/repos/owncloud/calendar-rework/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/calendar-rework/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/calendar-rework/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/calendar-rework/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/calendar-rework/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/calendar-rework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/calendar-rework/merges","archive_url":"https://api.github.com/repos/owncloud/calendar-rework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/calendar-rework/downloads","issues_url":"https://api.github.com/repos/owncloud/calendar-rework/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/calendar-rework/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/calendar-rework/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/calendar-rework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/calendar-rework/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/calendar-rework/releases{/id}","created_at":"2015-09-04T12:08:35Z","updated_at":"2015-10-23T16:54:11Z","pushed_at":"2015-10-29T14:43:48Z","git_url":"git://github.com/owncloud/calendar-rework.git","ssh_url":"git@github.com:owncloud/calendar-rework.git","clone_url":"https://github.com/owncloud/calendar-rework.git","svn_url":"https://github.com/owncloud/calendar-rework","homepage":"","size":11440,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":24,"forks":2,"open_issues":24,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owncloud/calendar-rework/pulls/42"},"html":{"href":"https://github.com/owncloud/calendar-rework/pull/42"},"issue":{"href":"https://api.github.com/repos/owncloud/calendar-rework/issues/42"},"comments":{"href":"https://api.github.com/repos/owncloud/calendar-rework/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/owncloud/calendar-rework/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/owncloud/calendar-rework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owncloud/calendar-rework/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/owncloud/calendar-rework/statuses/76ef6da0cfe2e74406f7fa3db1bcac4b4025b2ef"}}}}