{"action":"created","issue":{"url":"https://api.github.com/repos/Wikia/app/issues/7894","labels_url":"https://api.github.com/repos/Wikia/app/issues/7894/labels{/name}","comments_url":"https://api.github.com/repos/Wikia/app/issues/7894/comments","events_url":"https://api.github.com/repos/Wikia/app/issues/7894/events","html_url":"https://github.com/Wikia/app/pull/7894","id":96095340,"number":7894,"title":"Services-528 harnash","user":{"login":"harnash","id":783242,"avatar_url":"https://avatars.githubusercontent.com/u/783242?v=3","gravatar_id":"","url":"https://api.github.com/users/harnash","html_url":"https://github.com/harnash","followers_url":"https://api.github.com/users/harnash/followers","following_url":"https://api.github.com/users/harnash/following{/other_user}","gists_url":"https://api.github.com/users/harnash/gists{/gist_id}","starred_url":"https://api.github.com/users/harnash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harnash/subscriptions","organizations_url":"https://api.github.com/users/harnash/orgs","repos_url":"https://api.github.com/users/harnash/repos","events_url":"https://api.github.com/users/harnash/events{/privacy}","received_events_url":"https://api.github.com/users/harnash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T15:57:37Z","updated_at":"2015-07-20T19:27:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Wikia/app/pulls/7894","html_url":"https://github.com/Wikia/app/pull/7894","diff_url":"https://github.com/Wikia/app/pull/7894.diff","patch_url":"https://github.com/Wikia/app/pull/7894.patch"},"body":"Added support for User Properties white lists. Changes in wikia/config can be found on: https://github.com/Wikia/config/pull/1197\r\n\r\nWhite lists are implemented in two contexts:\r\n1. On Media Wiki core side (User.php) where we need to distinguish user preferences from other entities (options, flags, attributes) since User.saveOptions() clears all unnecessary entries in 'user_preferences' table\r\n2. On PreferencePersistenceMySQL we do filter fields being saved by 'service mockup' to avoid overwriting entities managed by Media Wiki.\r\n\r\nSince we are using regex'es there are some raw SQL statements added since not all API's allow using REGEXP statement (i.e. FluentSQL).\r\n\r\n@Wikia/services-team "},"comment":{"url":"https://api.github.com/repos/Wikia/app/issues/comments/122997933","html_url":"https://github.com/Wikia/app/pull/7894#issuecomment-122997933","issue_url":"https://api.github.com/repos/Wikia/app/issues/7894","id":122997933,"user":{"login":"ArturKlajnerok","id":1889095,"avatar_url":"https://avatars.githubusercontent.com/u/1889095?v=3","gravatar_id":"","url":"https://api.github.com/users/ArturKlajnerok","html_url":"https://github.com/ArturKlajnerok","followers_url":"https://api.github.com/users/ArturKlajnerok/followers","following_url":"https://api.github.com/users/ArturKlajnerok/following{/other_user}","gists_url":"https://api.github.com/users/ArturKlajnerok/gists{/gist_id}","starred_url":"https://api.github.com/users/ArturKlajnerok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArturKlajnerok/subscriptions","organizations_url":"https://api.github.com/users/ArturKlajnerok/orgs","repos_url":"https://api.github.com/users/ArturKlajnerok/repos","events_url":"https://api.github.com/users/ArturKlajnerok/events{/privacy}","received_events_url":"https://api.github.com/users/ArturKlajnerok/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T19:27:19Z","updated_at":"2015-07-20T19:27:19Z","body":"Lgtm :+1: "}}