adobe/brackets — pull request #1386 by gruehle (2012-08-16 20:12:20+00:00)
Title: Add update notification

Add update notification mechanism. At startup, Brackets pings a URL to get the latest version information (unless otherwise requested, it will ping no more than once in a 24 hour period). If there is an update available, show information about the update to the user and add an update notification icon. The notification dialog includes a list of the top features in the update, a link to see all of the release notes, and a button to get the update.

If the user chooses not to update, they will be shown the update dialog again until another update is pushed. The update notification icon **will** be shown, and clicking it will show the dialog again.

There is also a new "Check for Updates" item in the debug menu. This will force a server ping and show the update dialog if there is an update available.

For now, temporary data is loaded from a github gist. This will be moved to actual data coming from brackets.io.

If you want to see the update dialog, open buildNumber.json and change the buildNumber from 100 to something smaller. In the test data, Sprint 12 is build 93, Sprint 11 is build 72, and Sprint 10 is build 56. So, if you want to see what the upgrade dialog would look like if you are currently running Sprint 11, set buildNumber to 72. You will see update information for all of the builds you are missing.

(this test data is from the release notes for Sprint 10, 11, and 12, and **will not** be actual update messages seen by end users.)

All UI should be considered temporary. Final UI will be in a future pull request.