{"action":"created","comment":{"url":"https://api.github.com/repos/campudus/tableaux/pulls/comments/70289614","id":70289614,"diff_hunk":"@@ -0,0 +1,114 @@\n+package com.campudus.tableaux.database.domain\n+\n+import java.util.UUID\n+\n+import com.campudus.tableaux.database.model.TableauxModel.ColumnId\n+import org.joda.time.DateTime\n+import org.vertx.scala.core.json._\n+\n+import scala.collection.JavaConverters._\n+\n+object RowLevelFlags {\n+  def apply(finalFlag: Boolean, needsTranslationFlags: JsonArray): RowLevelFlags = {\n+    val seq = needsTranslationFlags.asScala.toSeq.map({ case langtag: String => langtag })\n+    RowLevelFlags(finalFlag, seq)\n+  }\n+}\n+\n+case class RowLevelFlags(finalFlag: Boolean, needsTranslationFlags: Seq[String]) extends DomainObject {\n+  override def getJson: JsonObject = Json.obj(\n+    \"final\" -> finalFlag,\n+    \"needsTranslation\" -> compatibilityGet(needsTranslationFlags)\n+  )\n+}\n+\n+object CellFlagType {\n+  final val REGEX = s\"${INFO}|${WARNING}|${ERROR}\"","path":"src/main/scala/com/campudus/tableaux/database/domain/flag.scala","position":26,"original_position":26,"commit_id":"ab30b7111f8e33d0e78966ea82ef5928dd91da0a","original_commit_id":"ab30b7111f8e33d0e78966ea82ef5928dd91da0a","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Field name 'REGEX' does not match the regular expression '^[a-z][A-Za-z0-9]*$'](https://www.codacy.com/app/Campudus/tableaux/file/2957406247/issues/source?bid=3417775&fileBranchId=3420618#l26)","created_at":"2016-07-11T16:21:29Z","updated_at":"2016-07-11T16:21:29Z","html_url":"https://github.com/campudus/tableaux/pull/147#discussion_r70289614","pull_request_url":"https://api.github.com/repos/campudus/tableaux/pulls/147","_links":{"self":{"href":"https://api.github.com/repos/campudus/tableaux/pulls/comments/70289614"},"html":{"href":"https://github.com/campudus/tableaux/pull/147#discussion_r70289614"},"pull_request":{"href":"https://api.github.com/repos/campudus/tableaux/pulls/147"}}},"pull_request":{"url":"https://api.github.com/repos/campudus/tableaux/pulls/147","id":76923749,"html_url":"https://github.com/campudus/tableaux/pull/147","diff_url":"https://github.com/campudus/tableaux/pull/147.diff","patch_url":"https://github.com/campudus/tableaux/pull/147.patch","issue_url":"https://api.github.com/repos/campudus/tableaux/issues/147","number":147,"state":"open","locked":false,"title":"Flagging","user":{"login":"alexvetter","id":874,"avatar_url":"https://avatars.githubusercontent.com/u/874?v=3","gravatar_id":"","url":"https://api.github.com/users/alexvetter","html_url":"https://github.com/alexvetter","followers_url":"https://api.github.com/users/alexvetter/followers","following_url":"https://api.github.com/users/alexvetter/following{/other_user}","gists_url":"https://api.github.com/users/alexvetter/gists{/gist_id}","starred_url":"https://api.github.com/users/alexvetter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexvetter/subscriptions","organizations_url":"https://api.github.com/users/alexvetter/orgs","repos_url":"https://api.github.com/users/alexvetter/repos","events_url":"https://api.github.com/users/alexvetter/events{/privacy}","received_events_url":"https://api.github.com/users/alexvetter/received_events","type":"User","site_admin":false},"body":"- [x] final flag\r\n- [x] needsTranslation flag\r\n- [x] cell flags","created_at":"2016-07-11T09:30:34Z","updated_at":"2016-07-11T16:21:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b53b458ddda0b5339908d23b4996e34fed3b975","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/campudus/tableaux/pulls/147/commits","review_comments_url":"https://api.github.com/repos/campudus/tableaux/pulls/147/comments","review_comment_url":"https://api.github.com/repos/campudus/tableaux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/campudus/tableaux/issues/147/comments","statuses_url":"https://api.github.com/repos/campudus/tableaux/statuses/ab30b7111f8e33d0e78966ea82ef5928dd91da0a","head":{"label":"campudus:row-and-cell-flagging","ref":"row-and-cell-flagging","sha":"ab30b7111f8e33d0e78966ea82ef5928dd91da0a","user":{"login":"campudus","id":2135461,"avatar_url":"https://avatars.githubusercontent.com/u/2135461?v=3","gravatar_id":"","url":"https://api.github.com/users/campudus","html_url":"https://github.com/campudus","followers_url":"https://api.github.com/users/campudus/followers","following_url":"https://api.github.com/users/campudus/following{/other_user}","gists_url":"https://api.github.com/users/campudus/gists{/gist_id}","starred_url":"https://api.github.com/users/campudus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campudus/subscriptions","organizations_url":"https://api.github.com/users/campudus/orgs","repos_url":"https://api.github.com/users/campudus/repos","events_url":"https://api.github.com/users/campudus/events{/privacy}","received_events_url":"https://api.github.com/users/campudus/received_events","type":"Organization","site_admin":false},"repo":{"id":26916856,"name":"tableaux","full_name":"campudus/tableaux","owner":{"login":"campudus","id":2135461,"avatar_url":"https://avatars.githubusercontent.com/u/2135461?v=3","gravatar_id":"","url":"https://api.github.com/users/campudus","html_url":"https://github.com/campudus","followers_url":"https://api.github.com/users/campudus/followers","following_url":"https://api.github.com/users/campudus/following{/other_user}","gists_url":"https://api.github.com/users/campudus/gists{/gist_id}","starred_url":"https://api.github.com/users/campudus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campudus/subscriptions","organizations_url":"https://api.github.com/users/campudus/orgs","repos_url":"https://api.github.com/users/campudus/repos","events_url":"https://api.github.com/users/campudus/events{/privacy}","received_events_url":"https://api.github.com/users/campudus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/campudus/tableaux","description":"A restful service for storing data in tables.","fork":false,"url":"https://api.github.com/repos/campudus/tableaux","forks_url":"https://api.github.com/repos/campudus/tableaux/forks","keys_url":"https://api.github.com/repos/campudus/tableaux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/campudus/tableaux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/campudus/tableaux/teams","hooks_url":"https://api.github.com/repos/campudus/tableaux/hooks","issue_events_url":"https://api.github.com/repos/campudus/tableaux/issues/events{/number}","events_url":"https://api.github.com/repos/campudus/tableaux/events","assignees_url":"https://api.github.com/repos/campudus/tableaux/assignees{/user}","branches_url":"https://api.github.com/repos/campudus/tableaux/branches{/branch}","tags_url":"https://api.github.com/repos/campudus/tableaux/tags","blobs_url":"https://api.github.com/repos/campudus/tableaux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/campudus/tableaux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/campudus/tableaux/git/refs{/sha}","trees_url":"https://api.github.com/repos/campudus/tableaux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/campudus/tableaux/statuses/{sha}","languages_url":"https://api.github.com/repos/campudus/tableaux/languages","stargazers_url":"https://api.github.com/repos/campudus/tableaux/stargazers","contributors_url":"https://api.github.com/repos/campudus/tableaux/contributors","subscribers_url":"https://api.github.com/repos/campudus/tableaux/subscribers","subscription_url":"https://api.github.com/repos/campudus/tableaux/subscription","commits_url":"https://api.github.com/repos/campudus/tableaux/commits{/sha}","git_commits_url":"https://api.github.com/repos/campudus/tableaux/git/commits{/sha}","comments_url":"https://api.github.com/repos/campudus/tableaux/comments{/number}","issue_comment_url":"https://api.github.com/repos/campudus/tableaux/issues/comments{/number}","contents_url":"https://api.github.com/repos/campudus/tableaux/contents/{+path}","compare_url":"https://api.github.com/repos/campudus/tableaux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/campudus/tableaux/merges","archive_url":"https://api.github.com/repos/campudus/tableaux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/campudus/tableaux/downloads","issues_url":"https://api.github.com/repos/campudus/tableaux/issues{/number}","pulls_url":"https://api.github.com/repos/campudus/tableaux/pulls{/number}","milestones_url":"https://api.github.com/repos/campudus/tableaux/milestones{/number}","notifications_url":"https://api.github.com/repos/campudus/tableaux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/campudus/tableaux/labels{/name}","releases_url":"https://api.github.com/repos/campudus/tableaux/releases{/id}","deployments_url":"https://api.github.com/repos/campudus/tableaux/deployments","created_at":"2014-11-20T14:49:50Z","updated_at":"2016-01-18T08:20:40Z","pushed_at":"2016-07-11T15:56:24Z","git_url":"git://github.com/campudus/tableaux.git","ssh_url":"git@github.com:campudus/tableaux.git","clone_url":"https://github.com/campudus/tableaux.git","svn_url":"https://github.com/campudus/tableaux","homepage":"","size":4994,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"campudus:master","ref":"master","sha":"316e0201885f9592e9c9c1530c2e2bc34dc49d53","user":{"login":"campudus","id":2135461,"avatar_url":"https://avatars.githubusercontent.com/u/2135461?v=3","gravatar_id":"","url":"https://api.github.com/users/campudus","html_url":"https://github.com/campudus","followers_url":"https://api.github.com/users/campudus/followers","following_url":"https://api.github.com/users/campudus/following{/other_user}","gists_url":"https://api.github.com/users/campudus/gists{/gist_id}","starred_url":"https://api.github.com/users/campudus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campudus/subscriptions","organizations_url":"https://api.github.com/users/campudus/orgs","repos_url":"https://api.github.com/users/campudus/repos","events_url":"https://api.github.com/users/campudus/events{/privacy}","received_events_url":"https://api.github.com/users/campudus/received_events","type":"Organization","site_admin":false},"repo":{"id":26916856,"name":"tableaux","full_name":"campudus/tableaux","owner":{"login":"campudus","id":2135461,"avatar_url":"https://avatars.githubusercontent.com/u/2135461?v=3","gravatar_id":"","url":"https://api.github.com/users/campudus","html_url":"https://github.com/campudus","followers_url":"https://api.github.com/users/campudus/followers","following_url":"https://api.github.com/users/campudus/following{/other_user}","gists_url":"https://api.github.com/users/campudus/gists{/gist_id}","starred_url":"https://api.github.com/users/campudus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/campudus/subscriptions","organizations_url":"https://api.github.com/users/campudus/orgs","repos_url":"https://api.github.com/users/campudus/repos","events_url":"https://api.github.com/users/campudus/events{/privacy}","received_events_url":"https://api.github.com/users/campudus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/campudus/tableaux","description":"A restful service for storing data in tables.","fork":false,"url":"https://api.github.com/repos/campudus/tableaux","forks_url":"https://api.github.com/repos/campudus/tableaux/forks","keys_url":"https://api.github.com/repos/campudus/tableaux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/campudus/tableaux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/campudus/tableaux/teams","hooks_url":"https://api.github.com/repos/campudus/tableaux/hooks","issue_events_url":"https://api.github.com/repos/campudus/tableaux/issues/events{/number}","events_url":"https://api.github.com/repos/campudus/tableaux/events","assignees_url":"https://api.github.com/repos/campudus/tableaux/assignees{/user}","branches_url":"https://api.github.com/repos/campudus/tableaux/branches{/branch}","tags_url":"https://api.github.com/repos/campudus/tableaux/tags","blobs_url":"https://api.github.com/repos/campudus/tableaux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/campudus/tableaux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/campudus/tableaux/git/refs{/sha}","trees_url":"https://api.github.com/repos/campudus/tableaux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/campudus/tableaux/statuses/{sha}","languages_url":"https://api.github.com/repos/campudus/tableaux/languages","stargazers_url":"https://api.github.com/repos/campudus/tableaux/stargazers","contributors_url":"https://api.github.com/repos/campudus/tableaux/contributors","subscribers_url":"https://api.github.com/repos/campudus/tableaux/subscribers","subscription_url":"https://api.github.com/repos/campudus/tableaux/subscription","commits_url":"https://api.github.com/repos/campudus/tableaux/commits{/sha}","git_commits_url":"https://api.github.com/repos/campudus/tableaux/git/commits{/sha}","comments_url":"https://api.github.com/repos/campudus/tableaux/comments{/number}","issue_comment_url":"https://api.github.com/repos/campudus/tableaux/issues/comments{/number}","contents_url":"https://api.github.com/repos/campudus/tableaux/contents/{+path}","compare_url":"https://api.github.com/repos/campudus/tableaux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/campudus/tableaux/merges","archive_url":"https://api.github.com/repos/campudus/tableaux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/campudus/tableaux/downloads","issues_url":"https://api.github.com/repos/campudus/tableaux/issues{/number}","pulls_url":"https://api.github.com/repos/campudus/tableaux/pulls{/number}","milestones_url":"https://api.github.com/repos/campudus/tableaux/milestones{/number}","notifications_url":"https://api.github.com/repos/campudus/tableaux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/campudus/tableaux/labels{/name}","releases_url":"https://api.github.com/repos/campudus/tableaux/releases{/id}","deployments_url":"https://api.github.com/repos/campudus/tableaux/deployments","created_at":"2014-11-20T14:49:50Z","updated_at":"2016-01-18T08:20:40Z","pushed_at":"2016-07-11T15:56:24Z","git_url":"git://github.com/campudus/tableaux.git","ssh_url":"git@github.com:campudus/tableaux.git","clone_url":"https://github.com/campudus/tableaux.git","svn_url":"https://github.com/campudus/tableaux","homepage":"","size":4994,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/campudus/tableaux/pulls/147"},"html":{"href":"https://github.com/campudus/tableaux/pull/147"},"issue":{"href":"https://api.github.com/repos/campudus/tableaux/issues/147"},"comments":{"href":"https://api.github.com/repos/campudus/tableaux/issues/147/comments"},"review_comments":{"href":"https://api.github.com/repos/campudus/tableaux/pulls/147/comments"},"review_comment":{"href":"https://api.github.com/repos/campudus/tableaux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/campudus/tableaux/pulls/147/commits"},"statuses":{"href":"https://api.github.com/repos/campudus/tableaux/statuses/ab30b7111f8e33d0e78966ea82ef5928dd91da0a"}}}}
{"actor":{"display_login":"codacy-bot"}}