{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/6086","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/6086/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/6086/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/6086/events","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/issues/6086","id":183506316,"number":6086,"title":"Simperium Sunset","user":{"login":"jleandroperez","id":1195260,"avatar_url":"https://avatars.githubusercontent.com/u/1195260?v=3","gravatar_id":"","url":"https://api.github.com/users/jleandroperez","html_url":"https://github.com/jleandroperez","followers_url":"https://api.github.com/users/jleandroperez/followers","following_url":"https://api.github.com/users/jleandroperez/following{/other_user}","gists_url":"https://api.github.com/users/jleandroperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jleandroperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleandroperez/subscriptions","organizations_url":"https://api.github.com/users/jleandroperez/orgs","repos_url":"https://api.github.com/users/jleandroperez/repos","events_url":"https://api.github.com/users/jleandroperez/events{/privacy}","received_events_url":"https://api.github.com/users/jleandroperez/received_events","type":"User","site_admin":false},"labels":[{"id":80642595,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels/Notifications","name":"Notifications","color":"006b75","default":false},{"id":291116977,"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/labels/[Type]%20Task","name":"[Type] Task","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"jleandroperez","id":1195260,"avatar_url":"https://avatars.githubusercontent.com/u/1195260?v=3","gravatar_id":"","url":"https://api.github.com/users/jleandroperez","html_url":"https://github.com/jleandroperez","followers_url":"https://api.github.com/users/jleandroperez/followers","following_url":"https://api.github.com/users/jleandroperez/following{/other_user}","gists_url":"https://api.github.com/users/jleandroperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jleandroperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleandroperez/subscriptions","organizations_url":"https://api.github.com/users/jleandroperez/orgs","repos_url":"https://api.github.com/users/jleandroperez/repos","events_url":"https://api.github.com/users/jleandroperez/events{/privacy}","received_events_url":"https://api.github.com/users/jleandroperez/received_events","type":"User","site_admin":false},"assignees":[{"login":"jleandroperez","id":1195260,"avatar_url":"https://avatars.githubusercontent.com/u/1195260?v=3","gravatar_id":"","url":"https://api.github.com/users/jleandroperez","html_url":"https://github.com/jleandroperez","followers_url":"https://api.github.com/users/jleandroperez/followers","following_url":"https://api.github.com/users/jleandroperez/following{/other_user}","gists_url":"https://api.github.com/users/jleandroperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jleandroperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleandroperez/subscriptions","organizations_url":"https://api.github.com/users/jleandroperez/orgs","repos_url":"https://api.github.com/users/jleandroperez/repos","events_url":"https://api.github.com/users/jleandroperez/events{/privacy}","received_events_url":"https://api.github.com/users/jleandroperez/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-10-17T19:33:27Z","updated_at":"2016-11-04T14:22:00Z","closed_at":null,"body":"### Details:\r\n\r\nWe'll split this (major) task into few milestones:\r\n#### Mark I: Data Model #6097\r\n- [x] Nuke Meta Entity\r\n- [x] Remove `Notification` Simperium-Y Fields\r\n- [x] Unit Test Everything\r\n\r\n#### Mark II: Deintegration #6098\r\n- [x] Update **ApiCredentials** Script\r\n- [x] Remove Simperium dependency\r\n- [x] Remove Simperium Initialization\r\n- [x] Patch ContextManager, so that it uses a private writerContext for I/O\r\n- [x] Nuke `NotificationsViewController` Sync-Wait / Sync-Timeout Mechanism\r\n- [x] Temporarily comment out Simperium-Y code, to be found in `NotificationsViewController` / `NotificationDetailsViewController` and `PushNotificationsManager`\r\n\r\n#### Mark III: NotificationSyncService\r\n- [x] Sync'ing the latest Notifications\r\n- [x] Mark as Read\r\n- [x] Last Seen Time\r\n\r\n#### Mark IV: Wire Sync Service\r\n- [x] Wire Mark as Read\r\n- [x] Wire Update Last Seen Time\r\n- [x] Wire Sync'ing Mechanisms\r\n- [x] Fix Pull to Refresh Mechanism\r\n- [x] Update Last Seen only when needed\r\n- [x] Nuke Attributes Overrides Cache on update\r\n- [x] Nuke Notifications on dotcom account logout\r\n- [x] Sync Notifications after fresh install\r\n- [x] Fix **Display Notification with ID** Mechanism\r\n- [x] Sync Notifications after Push Notification event (Active / Background modes)\r\n\r\n#### Test Scenarios:\r\n- [x] Verify that **NotificationDetailsViewController** get refreshed immediately after a change is made\r\n- [x] Verify that the **Badge Count** works as expected\r\n- [x] Verify that **New Notifications** show up immediately\r\n- [x] Verify that **Notifications Marked as Read** propagate to other devices\r\n- [x] Verify that pressing a Push Notification's content effectively displays the note\r\n- [x] Verify that logging out from dotcom nukes the collection of notes.\r\n- [x] Verify that Pull to Refresh works as expected\r\n- [x] Verify that the Notifications Collection gets refreshed when a Background Fetch event kicks in\r\n- [x] Verify that after a fresh install, Notifications get synced immediately (and not right after viewWillAppear)\r\n\r\ncc @dmsnell @mzorz @kwonye @daniloercoli "},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/comments/258444158","html_url":"https://github.com/wordpress-mobile/WordPress-iOS/issues/6086#issuecomment-258444158","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-iOS/issues/6086","id":258444158,"user":{"login":"jleandroperez","id":1195260,"avatar_url":"https://avatars.githubusercontent.com/u/1195260?v=3","gravatar_id":"","url":"https://api.github.com/users/jleandroperez","html_url":"https://github.com/jleandroperez","followers_url":"https://api.github.com/users/jleandroperez/followers","following_url":"https://api.github.com/users/jleandroperez/following{/other_user}","gists_url":"https://api.github.com/users/jleandroperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jleandroperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleandroperez/subscriptions","organizations_url":"https://api.github.com/users/jleandroperez/orgs","repos_url":"https://api.github.com/users/jleandroperez/repos","events_url":"https://api.github.com/users/jleandroperez/events{/privacy}","received_events_url":"https://api.github.com/users/jleandroperez/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T14:22:00Z","updated_at":"2016-11-04T14:22:00Z","body":"**Update:** Filed Issue #6164 to deal with PingHub!"}}
{"actor":{"display_login":"jleandroperez"}}