{"action":"closed","number":3877,"pull_request":{"url":"https://api.github.com/repos/decidim/decidim/pulls/3877","id":202326070,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMzI2MDcw","html_url":"https://github.com/decidim/decidim/pull/3877","diff_url":"https://github.com/decidim/decidim/pull/3877.diff","patch_url":"https://github.com/decidim/decidim/pull/3877.patch","issue_url":"https://api.github.com/repos/decidim/decidim/issues/3877","number":3877,"state":"closed","locked":false,"title":"Extract surveys logic to decidim-forms","user":{"login":"rbngzlv","id":2051199,"node_id":"MDQ6VXNlcjIwNTExOTk=","avatar_url":"https://avatars2.githubusercontent.com/u/2051199?v=4","gravatar_id":"","url":"https://api.github.com/users/rbngzlv","html_url":"https://github.com/rbngzlv","followers_url":"https://api.github.com/users/rbngzlv/followers","following_url":"https://api.github.com/users/rbngzlv/following{/other_user}","gists_url":"https://api.github.com/users/rbngzlv/gists{/gist_id}","starred_url":"https://api.github.com/users/rbngzlv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbngzlv/subscriptions","organizations_url":"https://api.github.com/users/rbngzlv/orgs","repos_url":"https://api.github.com/users/rbngzlv/repos","events_url":"https://api.github.com/users/rbngzlv/events{/privacy}","received_events_url":"https://api.github.com/users/rbngzlv/received_events","type":"User","site_admin":false},"body":"#### :tophat: What? Why?\r\n\r\nAs we agreed in the last meeting, we are moving the surveys logic to a separate gem: `decidim-forms`. This allow us to share this logic with `decidim-meetings`, that needs a configurable registration form and a configurable survey at the end of the meeting.\r\n\r\n#### :pushpin: Related Issues\r\n\r\n- Related to #3044 \r\n\r\n#### :clipboard: Subtasks\r\n- [x] Move locale entries\r\n- [x] Move controllers, views\r\n- [x] Move models, migrations,  ...\r\n- [x] Serializer\r\n- [X] Migrate data\r\n- [x] Add `CHANGELOG` entry","created_at":"2018-07-18T17:29:36Z","updated_at":"2018-10-31T07:46:19Z","closed_at":"2018-10-31T07:46:19Z","merged_at":"2018-10-31T07:46:19Z","merge_commit_sha":"ce638efe62015bdcb919a0a6ce55f945a6f9d320","assignee":{"login":"oriolgual","id":5254,"node_id":"MDQ6VXNlcjUyNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5254?v=4","gravatar_id":"","url":"https://api.github.com/users/oriolgual","html_url":"https://github.com/oriolgual","followers_url":"https://api.github.com/users/oriolgual/followers","following_url":"https://api.github.com/users/oriolgual/following{/other_user}","gists_url":"https://api.github.com/users/oriolgual/gists{/gist_id}","starred_url":"https://api.github.com/users/oriolgual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oriolgual/subscriptions","organizations_url":"https://api.github.com/users/oriolgual/orgs","repos_url":"https://api.github.com/users/oriolgual/repos","events_url":"https://api.github.com/users/oriolgual/events{/privacy}","received_events_url":"https://api.github.com/users/oriolgual/received_events","type":"User","site_admin":false},"assignees":[{"login":"oriolgual","id":5254,"node_id":"MDQ6VXNlcjUyNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5254?v=4","gravatar_id":"","url":"https://api.github.com/users/oriolgual","html_url":"https://github.com/oriolgual","followers_url":"https://api.github.com/users/oriolgual/followers","following_url":"https://api.github.com/users/oriolgual/following{/other_user}","gists_url":"https://api.github.com/users/oriolgual/gists{/gist_id}","starred_url":"https://api.github.com/users/oriolgual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oriolgual/subscriptions","organizations_url":"https://api.github.com/users/oriolgual/orgs","repos_url":"https://api.github.com/users/oriolgual/repos","events_url":"https://api.github.com/users/oriolgual/events{/privacy}","received_events_url":"https://api.github.com/users/oriolgual/received_events","type":"User","site_admin":false},{"login":"josepjaume","id":111746,"node_id":"MDQ6VXNlcjExMTc0Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/111746?v=4","gravatar_id":"","url":"https://api.github.com/users/josepjaume","html_url":"https://github.com/josepjaume","followers_url":"https://api.github.com/users/josepjaume/followers","following_url":"https://api.github.com/users/josepjaume/following{/other_user}","gists_url":"https://api.github.com/users/josepjaume/gists{/gist_id}","starred_url":"https://api.github.com/users/josepjaume/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josepjaume/subscriptions","organizations_url":"https://api.github.com/users/josepjaume/orgs","repos_url":"https://api.github.com/users/josepjaume/repos","events_url":"https://api.github.com/users/josepjaume/events{/privacy}","received_events_url":"https://api.github.com/users/josepjaume/received_events","type":"User","site_admin":false},{"login":"rbngzlv","id":2051199,"node_id":"MDQ6VXNlcjIwNTExOTk=","avatar_url":"https://avatars2.githubusercontent.com/u/2051199?v=4","gravatar_id":"","url":"https://api.github.com/users/rbngzlv","html_url":"https://github.com/rbngzlv","followers_url":"https://api.github.com/users/rbngzlv/followers","following_url":"https://api.github.com/users/rbngzlv/following{/other_user}","gists_url":"https://api.github.com/users/rbngzlv/gists{/gist_id}","starred_url":"https://api.github.com/users/rbngzlv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbngzlv/subscriptions","organizations_url":"https://api.github.com/users/rbngzlv/orgs","repos_url":"https://api.github.com/users/rbngzlv/repos","events_url":"https://api.github.com/users/rbngzlv/events{/privacy}","received_events_url":"https://api.github.com/users/rbngzlv/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"mrcasals","id":491891,"node_id":"MDQ6VXNlcjQ5MTg5MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/491891?v=4","gravatar_id":"","url":"https://api.github.com/users/mrcasals","html_url":"https://github.com/mrcasals","followers_url":"https://api.github.com/users/mrcasals/followers","following_url":"https://api.github.com/users/mrcasals/following{/other_user}","gists_url":"https://api.github.com/users/mrcasals/gists{/gist_id}","starred_url":"https://api.github.com/users/mrcasals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrcasals/subscriptions","organizations_url":"https://api.github.com/users/mrcasals/orgs","repos_url":"https://api.github.com/users/mrcasals/repos","events_url":"https://api.github.com/users/mrcasals/events{/privacy}","received_events_url":"https://api.github.com/users/mrcasals/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":699754059,"node_id":"MDU6TGFiZWw2OTk3NTQwNTk=","url":"https://api.github.com/repos/decidim/decidim/labels/component:%20surveys","name":"component: surveys","color":"fbca04","default":false},{"id":518062863,"node_id":"MDU6TGFiZWw1MTgwNjI4NjM=","url":"https://api.github.com/repos/decidim/decidim/labels/in-review","name":"in-review","color":"0e8a16","default":false},{"id":828660256,"node_id":"MDU6TGFiZWw4Mjg2NjAyNTY=","url":"https://api.github.com/repos/decidim/decidim/labels/status:%20WIP","name":"status: WIP","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/decidim/decidim/pulls/3877/commits","review_comments_url":"https://api.github.com/repos/decidim/decidim/pulls/3877/comments","review_comment_url":"https://api.github.com/repos/decidim/decidim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/decidim/decidim/issues/3877/comments","statuses_url":"https://api.github.com/repos/decidim/decidim/statuses/831da3b8773340a00830edc9d1e6135a82b5eaec","head":{"label":"decidim:rbngzlv/decidim-forms","ref":"rbngzlv/decidim-forms","sha":"831da3b8773340a00830edc9d1e6135a82b5eaec","user":{"login":"decidim","id":22474646,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNDc0NjQ2","avatar_url":"https://avatars3.githubusercontent.com/u/22474646?v=4","gravatar_id":"","url":"https://api.github.com/users/decidim","html_url":"https://github.com/decidim","followers_url":"https://api.github.com/users/decidim/followers","following_url":"https://api.github.com/users/decidim/following{/other_user}","gists_url":"https://api.github.com/users/decidim/gists{/gist_id}","starred_url":"https://api.github.com/users/decidim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decidim/subscriptions","organizations_url":"https://api.github.com/users/decidim/orgs","repos_url":"https://api.github.com/users/decidim/repos","events_url":"https://api.github.com/users/decidim/events{/privacy}","received_events_url":"https://api.github.com/users/decidim/received_events","type":"Organization","site_admin":false},"repo":{"id":65914086,"node_id":"MDEwOlJlcG9zaXRvcnk2NTkxNDA4Ng==","name":"decidim","full_name":"decidim/decidim","private":false,"owner":{"login":"decidim","id":22474646,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNDc0NjQ2","avatar_url":"https://avatars3.githubusercontent.com/u/22474646?v=4","gravatar_id":"","url":"https://api.github.com/users/decidim","html_url":"https://github.com/decidim","followers_url":"https://api.github.com/users/decidim/followers","following_url":"https://api.github.com/users/decidim/following{/other_user}","gists_url":"https://api.github.com/users/decidim/gists{/gist_id}","starred_url":"https://api.github.com/users/decidim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decidim/subscriptions","organizations_url":"https://api.github.com/users/decidim/orgs","repos_url":"https://api.github.com/users/decidim/repos","events_url":"https://api.github.com/users/decidim/events{/privacy}","received_events_url":"https://api.github.com/users/decidim/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/decidim/decidim","description":"The participatory democracy framework. A generator and multiple gems made with Ruby on Rails. ","fork":false,"url":"https://api.github.com/repos/decidim/decidim","forks_url":"https://api.github.com/repos/decidim/decidim/forks","keys_url":"https://api.github.com/repos/decidim/decidim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/decidim/decidim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/decidim/decidim/teams","hooks_url":"https://api.github.com/repos/decidim/decidim/hooks","issue_events_url":"https://api.github.com/repos/decidim/decidim/issues/events{/number}","events_url":"https://api.github.com/repos/decidim/decidim/events","assignees_url":"https://api.github.com/repos/decidim/decidim/assignees{/user}","branches_url":"https://api.github.com/repos/decidim/decidim/branches{/branch}","tags_url":"https://api.github.com/repos/decidim/decidim/tags","blobs_url":"https://api.github.com/repos/decidim/decidim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/decidim/decidim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/decidim/decidim/git/refs{/sha}","trees_url":"https://api.github.com/repos/decidim/decidim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/decidim/decidim/statuses/{sha}","languages_url":"https://api.github.com/repos/decidim/decidim/languages","stargazers_url":"https://api.github.com/repos/decidim/decidim/stargazers","contributors_url":"https://api.github.com/repos/decidim/decidim/contributors","subscribers_url":"https://api.github.com/repos/decidim/decidim/subscribers","subscription_url":"https://api.github.com/repos/decidim/decidim/subscription","commits_url":"https://api.github.com/repos/decidim/decidim/commits{/sha}","git_commits_url":"https://api.github.com/repos/decidim/decidim/git/commits{/sha}","comments_url":"https://api.github.com/repos/decidim/decidim/comments{/number}","issue_comment_url":"https://api.github.com/repos/decidim/decidim/issues/comments{/number}","contents_url":"https://api.github.com/repos/decidim/decidim/contents/{+path}","compare_url":"https://api.github.com/repos/decidim/decidim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/decidim/decidim/merges","archive_url":"https://api.github.com/repos/decidim/decidim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/decidim/decidim/downloads","issues_url":"https://api.github.com/repos/decidim/decidim/issues{/number}","pulls_url":"https://api.github.com/repos/decidim/decidim/pulls{/number}","milestones_url":"https://api.github.com/repos/decidim/decidim/milestones{/number}","notifications_url":"https://api.github.com/repos/decidim/decidim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/decidim/decidim/labels{/name}","releases_url":"https://api.github.com/repos/decidim/decidim/releases{/id}","deployments_url":"https://api.github.com/repos/decidim/decidim/deployments","created_at":"2016-08-17T14:27:06Z","updated_at":"2018-10-30T13:31:33Z","pushed_at":"2018-10-31T07:46:19Z","git_url":"git://github.com/decidim/decidim.git","ssh_url":"git@github.com:decidim/decidim.git","clone_url":"https://github.com/decidim/decidim.git","svn_url":"https://github.com/decidim/decidim","homepage":"http://www.decidim.org","size":61470,"stargazers_count":266,"watchers_count":266,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":97,"mirror_url":null,"archived":false,"open_issues_count":225,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":97,"open_issues":225,"watchers":266,"default_branch":"master"}},"base":{"label":"decidim:master","ref":"master","sha":"6e4ec1afa92dd8e83a549fb61833fe8c351a80f0","user":{"login":"decidim","id":22474646,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNDc0NjQ2","avatar_url":"https://avatars3.githubusercontent.com/u/22474646?v=4","gravatar_id":"","url":"https://api.github.com/users/decidim","html_url":"https://github.com/decidim","followers_url":"https://api.github.com/users/decidim/followers","following_url":"https://api.github.com/users/decidim/following{/other_user}","gists_url":"https://api.github.com/users/decidim/gists{/gist_id}","starred_url":"https://api.github.com/users/decidim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decidim/subscriptions","organizations_url":"https://api.github.com/users/decidim/orgs","repos_url":"https://api.github.com/users/decidim/repos","events_url":"https://api.github.com/users/decidim/events{/privacy}","received_events_url":"https://api.github.com/users/decidim/received_events","type":"Organization","site_admin":false},"repo":{"id":65914086,"node_id":"MDEwOlJlcG9zaXRvcnk2NTkxNDA4Ng==","name":"decidim","full_name":"decidim/decidim","private":false,"owner":{"login":"decidim","id":22474646,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyNDc0NjQ2","avatar_url":"https://avatars3.githubusercontent.com/u/22474646?v=4","gravatar_id":"","url":"https://api.github.com/users/decidim","html_url":"https://github.com/decidim","followers_url":"https://api.github.com/users/decidim/followers","following_url":"https://api.github.com/users/decidim/following{/other_user}","gists_url":"https://api.github.com/users/decidim/gists{/gist_id}","starred_url":"https://api.github.com/users/decidim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/decidim/subscriptions","organizations_url":"https://api.github.com/users/decidim/orgs","repos_url":"https://api.github.com/users/decidim/repos","events_url":"https://api.github.com/users/decidim/events{/privacy}","received_events_url":"https://api.github.com/users/decidim/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/decidim/decidim","description":"The participatory democracy framework. A generator and multiple gems made with Ruby on Rails. ","fork":false,"url":"https://api.github.com/repos/decidim/decidim","forks_url":"https://api.github.com/repos/decidim/decidim/forks","keys_url":"https://api.github.com/repos/decidim/decidim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/decidim/decidim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/decidim/decidim/teams","hooks_url":"https://api.github.com/repos/decidim/decidim/hooks","issue_events_url":"https://api.github.com/repos/decidim/decidim/issues/events{/number}","events_url":"https://api.github.com/repos/decidim/decidim/events","assignees_url":"https://api.github.com/repos/decidim/decidim/assignees{/user}","branches_url":"https://api.github.com/repos/decidim/decidim/branches{/branch}","tags_url":"https://api.github.com/repos/decidim/decidim/tags","blobs_url":"https://api.github.com/repos/decidim/decidim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/decidim/decidim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/decidim/decidim/git/refs{/sha}","trees_url":"https://api.github.com/repos/decidim/decidim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/decidim/decidim/statuses/{sha}","languages_url":"https://api.github.com/repos/decidim/decidim/languages","stargazers_url":"https://api.github.com/repos/decidim/decidim/stargazers","contributors_url":"https://api.github.com/repos/decidim/decidim/contributors","subscribers_url":"https://api.github.com/repos/decidim/decidim/subscribers","subscription_url":"https://api.github.com/repos/decidim/decidim/subscription","commits_url":"https://api.github.com/repos/decidim/decidim/commits{/sha}","git_commits_url":"https://api.github.com/repos/decidim/decidim/git/commits{/sha}","comments_url":"https://api.github.com/repos/decidim/decidim/comments{/number}","issue_comment_url":"https://api.github.com/repos/decidim/decidim/issues/comments{/number}","contents_url":"https://api.github.com/repos/decidim/decidim/contents/{+path}","compare_url":"https://api.github.com/repos/decidim/decidim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/decidim/decidim/merges","archive_url":"https://api.github.com/repos/decidim/decidim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/decidim/decidim/downloads","issues_url":"https://api.github.com/repos/decidim/decidim/issues{/number}","pulls_url":"https://api.github.com/repos/decidim/decidim/pulls{/number}","milestones_url":"https://api.github.com/repos/decidim/decidim/milestones{/number}","notifications_url":"https://api.github.com/repos/decidim/decidim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/decidim/decidim/labels{/name}","releases_url":"https://api.github.com/repos/decidim/decidim/releases{/id}","deployments_url":"https://api.github.com/repos/decidim/decidim/deployments","created_at":"2016-08-17T14:27:06Z","updated_at":"2018-10-30T13:31:33Z","pushed_at":"2018-10-31T07:46:19Z","git_url":"git://github.com/decidim/decidim.git","ssh_url":"git@github.com:decidim/decidim.git","clone_url":"https://github.com/decidim/decidim.git","svn_url":"https://github.com/decidim/decidim","homepage":"http://www.decidim.org","size":61470,"stargazers_count":266,"watchers_count":266,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":97,"mirror_url":null,"archived":false,"open_issues_count":225,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":97,"open_issues":225,"watchers":266,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/decidim/decidim/pulls/3877"},"html":{"href":"https://github.com/decidim/decidim/pull/3877"},"issue":{"href":"https://api.github.com/repos/decidim/decidim/issues/3877"},"comments":{"href":"https://api.github.com/repos/decidim/decidim/issues/3877/comments"},"review_comments":{"href":"https://api.github.com/repos/decidim/decidim/pulls/3877/comments"},"review_comment":{"href":"https://api.github.com/repos/decidim/decidim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/decidim/decidim/pulls/3877/commits"},"statuses":{"href":"https://api.github.com/repos/decidim/decidim/statuses/831da3b8773340a00830edc9d1e6135a82b5eaec"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"oriolgual","id":5254,"node_id":"MDQ6VXNlcjUyNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5254?v=4","gravatar_id":"","url":"https://api.github.com/users/oriolgual","html_url":"https://github.com/oriolgual","followers_url":"https://api.github.com/users/oriolgual/followers","following_url":"https://api.github.com/users/oriolgual/following{/other_user}","gists_url":"https://api.github.com/users/oriolgual/gists{/gist_id}","starred_url":"https://api.github.com/users/oriolgual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oriolgual/subscriptions","organizations_url":"https://api.github.com/users/oriolgual/orgs","repos_url":"https://api.github.com/users/oriolgual/repos","events_url":"https://api.github.com/users/oriolgual/events{/privacy}","received_events_url":"https://api.github.com/users/oriolgual/received_events","type":"User","site_admin":false},"comments":24,"review_comments":1,"maintainer_can_modify":false,"commits":32,"additions":2100,"deletions":1458,"changed_files":115}}
{"actor":{"display_login":"oriolgual"}}