{"action":"created","comment":{"url":"https://api.github.com/repos/WeblateOrg/weblate/pulls/comments/186448280","pull_request_review_id":118026946,"id":186448280,"diff_hunk":"@@ -0,0 +1,80 @@\n+# -*- coding: utf-8 -*-\n+# Generated by Django 1.11.13 on 2018-05-07 13:40\n+from __future__ import unicode_literals\n+\n+from django.db import migrations, models\n+import django.db.models.deletion\n+import weblate.trans.fields\n+\n+\n+class Migration(migrations.Migration):\n+\n+    dependencies = [\n+        ('trans', '0131_auto_20180416_1610'),\n+        ('lang', '0011_auto_20180215_1158'),\n+        ('weblate_auth', '0001_initial'),\n+    ]\n+\n+    operations = [\n+        migrations.CreateModel(\n+            name='AutoGroup',\n+            fields=[\n+                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),\n+                ('match', weblate.trans.fields.RegexField(default='^.*$', help_text='Regular expression which is used to match user email.', max_length=200, verbose_name='Email regular expression')),\n+            ],\n+            options={\n+                'ordering': ('group__name',),\n+                'verbose_name': 'Automatic group assignment',\n+                'verbose_name_plural': 'Automatic group assignments',\n+            },\n+        ),\n+        migrations.CreateModel(\n+            name='Group',\n+            fields=[\n+                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),\n+                ('name', models.CharField(max_length=150, unique=True, verbose_name='Name')),\n+                ('project_selection', models.IntegerField(choices=[(0, 'As defined'), (1, 'All projects'), (2, 'From component list')], default=0)),\n+                ('language_selection', models.IntegerField(choices=[(0, 'As defined'), (1, 'All languages')], default=0)),","path":"weblate/auth/migrations/0002_auto_20180507_1540.py","position":37,"original_position":37,"commit_id":"117a523e06b6656eb06efbdb7dd8835c8fd4dfec","original_commit_id":"117a523e06b6656eb06efbdb7dd8835c8fd4dfec","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","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://app.codacy.com/assets/images/favicon.png) Issue found: [Line too long (122/120)](https://app.codacy.com/app/Weblate/weblate/pullRequest?prid=1619347)","created_at":"2018-05-07T14:53:41Z","updated_at":"2018-05-07T14:53:41Z","html_url":"https://github.com/WeblateOrg/weblate/pull/2002#discussion_r186448280","pull_request_url":"https://api.github.com/repos/WeblateOrg/weblate/pulls/2002","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/WeblateOrg/weblate/pulls/comments/186448280"},"html":{"href":"https://github.com/WeblateOrg/weblate/pull/2002#discussion_r186448280"},"pull_request":{"href":"https://api.github.com/repos/WeblateOrg/weblate/pulls/2002"}}},"pull_request":{"url":"https://api.github.com/repos/WeblateOrg/weblate/pulls/2002","id":186306890,"html_url":"https://github.com/WeblateOrg/weblate/pull/2002","diff_url":"https://github.com/WeblateOrg/weblate/pull/2002.diff","patch_url":"https://github.com/WeblateOrg/weblate/pull/2002.patch","issue_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/2002","number":2002,"state":"open","locked":false,"title":"WIP: Authentication rewrite","user":{"login":"nijel","id":212189,"avatar_url":"https://avatars0.githubusercontent.com/u/212189?v=4","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"body":"Authentication rewrite as described in https://github.com/WeblateOrg/weblate/issues/1798 and https://github.com/WeblateOrg/weblate/wiki/Access-control-design.\r\n\r\nThis is not yet complete and absolutely not ready for use, submitted here for review only.","created_at":"2018-05-07T09:58:08Z","updated_at":"2018-05-07T14:53:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7190843633891e15482b0b2e593b22250324764","assignee":{"login":"nijel","id":212189,"avatar_url":"https://avatars0.githubusercontent.com/u/212189?v=4","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"assignees":[{"login":"nijel","id":212189,"avatar_url":"https://avatars0.githubusercontent.com/u/212189?v=4","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/WeblateOrg/weblate/pulls/2002/commits","review_comments_url":"https://api.github.com/repos/WeblateOrg/weblate/pulls/2002/comments","review_comment_url":"https://api.github.com/repos/WeblateOrg/weblate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/2002/comments","statuses_url":"https://api.github.com/repos/WeblateOrg/weblate/statuses/117a523e06b6656eb06efbdb7dd8835c8fd4dfec","head":{"label":"nijel:auth","ref":"auth","sha":"117a523e06b6656eb06efbdb7dd8835c8fd4dfec","user":{"login":"nijel","id":212189,"avatar_url":"https://avatars0.githubusercontent.com/u/212189?v=4","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"repo":{"id":132441006,"name":"weblate","full_name":"nijel/weblate","owner":{"login":"nijel","id":212189,"avatar_url":"https://avatars0.githubusercontent.com/u/212189?v=4","gravatar_id":"","url":"https://api.github.com/users/nijel","html_url":"https://github.com/nijel","followers_url":"https://api.github.com/users/nijel/followers","following_url":"https://api.github.com/users/nijel/following{/other_user}","gists_url":"https://api.github.com/users/nijel/gists{/gist_id}","starred_url":"https://api.github.com/users/nijel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nijel/subscriptions","organizations_url":"https://api.github.com/users/nijel/orgs","repos_url":"https://api.github.com/users/nijel/repos","events_url":"https://api.github.com/users/nijel/events{/privacy}","received_events_url":"https://api.github.com/users/nijel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nijel/weblate","description":"Web based translation tool with tight version control integration.","fork":true,"url":"https://api.github.com/repos/nijel/weblate","forks_url":"https://api.github.com/repos/nijel/weblate/forks","keys_url":"https://api.github.com/repos/nijel/weblate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nijel/weblate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nijel/weblate/teams","hooks_url":"https://api.github.com/repos/nijel/weblate/hooks","issue_events_url":"https://api.github.com/repos/nijel/weblate/issues/events{/number}","events_url":"https://api.github.com/repos/nijel/weblate/events","assignees_url":"https://api.github.com/repos/nijel/weblate/assignees{/user}","branches_url":"https://api.github.com/repos/nijel/weblate/branches{/branch}","tags_url":"https://api.github.com/repos/nijel/weblate/tags","blobs_url":"https://api.github.com/repos/nijel/weblate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nijel/weblate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nijel/weblate/git/refs{/sha}","trees_url":"https://api.github.com/repos/nijel/weblate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nijel/weblate/statuses/{sha}","languages_url":"https://api.github.com/repos/nijel/weblate/languages","stargazers_url":"https://api.github.com/repos/nijel/weblate/stargazers","contributors_url":"https://api.github.com/repos/nijel/weblate/contributors","subscribers_url":"https://api.github.com/repos/nijel/weblate/subscribers","subscription_url":"https://api.github.com/repos/nijel/weblate/subscription","commits_url":"https://api.github.com/repos/nijel/weblate/commits{/sha}","git_commits_url":"https://api.github.com/repos/nijel/weblate/git/commits{/sha}","comments_url":"https://api.github.com/repos/nijel/weblate/comments{/number}","issue_comment_url":"https://api.github.com/repos/nijel/weblate/issues/comments{/number}","contents_url":"https://api.github.com/repos/nijel/weblate/contents/{+path}","compare_url":"https://api.github.com/repos/nijel/weblate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nijel/weblate/merges","archive_url":"https://api.github.com/repos/nijel/weblate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nijel/weblate/downloads","issues_url":"https://api.github.com/repos/nijel/weblate/issues{/number}","pulls_url":"https://api.github.com/repos/nijel/weblate/pulls{/number}","milestones_url":"https://api.github.com/repos/nijel/weblate/milestones{/number}","notifications_url":"https://api.github.com/repos/nijel/weblate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nijel/weblate/labels{/name}","releases_url":"https://api.github.com/repos/nijel/weblate/releases{/id}","deployments_url":"https://api.github.com/repos/nijel/weblate/deployments","created_at":"2018-05-07T09:53:20Z","updated_at":"2018-05-07T09:53:26Z","pushed_at":"2018-05-07T14:50:00Z","git_url":"git://github.com/nijel/weblate.git","ssh_url":"git@github.com:nijel/weblate.git","clone_url":"https://github.com/nijel/weblate.git","svn_url":"https://github.com/nijel/weblate","homepage":"https://weblate.org/","size":109669,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WeblateOrg:master","ref":"master","sha":"267ea1a683ae34bc3f42915307b0bafc8736dd6a","user":{"login":"WeblateOrg","id":18286565,"avatar_url":"https://avatars2.githubusercontent.com/u/18286565?v=4","gravatar_id":"","url":"https://api.github.com/users/WeblateOrg","html_url":"https://github.com/WeblateOrg","followers_url":"https://api.github.com/users/WeblateOrg/followers","following_url":"https://api.github.com/users/WeblateOrg/following{/other_user}","gists_url":"https://api.github.com/users/WeblateOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/WeblateOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeblateOrg/subscriptions","organizations_url":"https://api.github.com/users/WeblateOrg/orgs","repos_url":"https://api.github.com/users/WeblateOrg/repos","events_url":"https://api.github.com/users/WeblateOrg/events{/privacy}","received_events_url":"https://api.github.com/users/WeblateOrg/received_events","type":"Organization","site_admin":false},"repo":{"id":3559019,"name":"weblate","full_name":"WeblateOrg/weblate","owner":{"login":"WeblateOrg","id":18286565,"avatar_url":"https://avatars2.githubusercontent.com/u/18286565?v=4","gravatar_id":"","url":"https://api.github.com/users/WeblateOrg","html_url":"https://github.com/WeblateOrg","followers_url":"https://api.github.com/users/WeblateOrg/followers","following_url":"https://api.github.com/users/WeblateOrg/following{/other_user}","gists_url":"https://api.github.com/users/WeblateOrg/gists{/gist_id}","starred_url":"https://api.github.com/users/WeblateOrg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeblateOrg/subscriptions","organizations_url":"https://api.github.com/users/WeblateOrg/orgs","repos_url":"https://api.github.com/users/WeblateOrg/repos","events_url":"https://api.github.com/users/WeblateOrg/events{/privacy}","received_events_url":"https://api.github.com/users/WeblateOrg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WeblateOrg/weblate","description":"Web based translation tool with tight version control integration.","fork":false,"url":"https://api.github.com/repos/WeblateOrg/weblate","forks_url":"https://api.github.com/repos/WeblateOrg/weblate/forks","keys_url":"https://api.github.com/repos/WeblateOrg/weblate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WeblateOrg/weblate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WeblateOrg/weblate/teams","hooks_url":"https://api.github.com/repos/WeblateOrg/weblate/hooks","issue_events_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/events{/number}","events_url":"https://api.github.com/repos/WeblateOrg/weblate/events","assignees_url":"https://api.github.com/repos/WeblateOrg/weblate/assignees{/user}","branches_url":"https://api.github.com/repos/WeblateOrg/weblate/branches{/branch}","tags_url":"https://api.github.com/repos/WeblateOrg/weblate/tags","blobs_url":"https://api.github.com/repos/WeblateOrg/weblate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WeblateOrg/weblate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WeblateOrg/weblate/git/refs{/sha}","trees_url":"https://api.github.com/repos/WeblateOrg/weblate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WeblateOrg/weblate/statuses/{sha}","languages_url":"https://api.github.com/repos/WeblateOrg/weblate/languages","stargazers_url":"https://api.github.com/repos/WeblateOrg/weblate/stargazers","contributors_url":"https://api.github.com/repos/WeblateOrg/weblate/contributors","subscribers_url":"https://api.github.com/repos/WeblateOrg/weblate/subscribers","subscription_url":"https://api.github.com/repos/WeblateOrg/weblate/subscription","commits_url":"https://api.github.com/repos/WeblateOrg/weblate/commits{/sha}","git_commits_url":"https://api.github.com/repos/WeblateOrg/weblate/git/commits{/sha}","comments_url":"https://api.github.com/repos/WeblateOrg/weblate/comments{/number}","issue_comment_url":"https://api.github.com/repos/WeblateOrg/weblate/issues/comments{/number}","contents_url":"https://api.github.com/repos/WeblateOrg/weblate/contents/{+path}","compare_url":"https://api.github.com/repos/WeblateOrg/weblate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WeblateOrg/weblate/merges","archive_url":"https://api.github.com/repos/WeblateOrg/weblate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WeblateOrg/weblate/downloads","issues_url":"https://api.github.com/repos/WeblateOrg/weblate/issues{/number}","pulls_url":"https://api.github.com/repos/WeblateOrg/weblate/pulls{/number}","milestones_url":"https://api.github.com/repos/WeblateOrg/weblate/milestones{/number}","notifications_url":"https://api.github.com/repos/WeblateOrg/weblate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WeblateOrg/weblate/labels{/name}","releases_url":"https://api.github.com/repos/WeblateOrg/weblate/releases{/id}","deployments_url":"https://api.github.com/repos/WeblateOrg/weblate/deployments","created_at":"2012-02-27T09:33:29Z","updated_at":"2018-05-07T10:02:24Z","pushed_at":"2018-05-07T14:50:02Z","git_url":"git://github.com/WeblateOrg/weblate.git","ssh_url":"git@github.com:WeblateOrg/weblate.git","clone_url":"https://github.com/WeblateOrg/weblate.git","svn_url":"https://github.com/WeblateOrg/weblate","homepage":"https://weblate.org/","size":109656,"stargazers_count":1029,"watchers_count":1029,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":300,"mirror_url":null,"archived":false,"open_issues_count":198,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":300,"open_issues":198,"watchers":1029,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WeblateOrg/weblate/pulls/2002"},"html":{"href":"https://github.com/WeblateOrg/weblate/pull/2002"},"issue":{"href":"https://api.github.com/repos/WeblateOrg/weblate/issues/2002"},"comments":{"href":"https://api.github.com/repos/WeblateOrg/weblate/issues/2002/comments"},"review_comments":{"href":"https://api.github.com/repos/WeblateOrg/weblate/pulls/2002/comments"},"review_comment":{"href":"https://api.github.com/repos/WeblateOrg/weblate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WeblateOrg/weblate/pulls/2002/commits"},"statuses":{"href":"https://api.github.com/repos/WeblateOrg/weblate/statuses/117a523e06b6656eb06efbdb7dd8835c8fd4dfec"}},"author_association":"OWNER"}}
{"actor":{"display_login":"codacy-bot"}}