gitx icon indicating copy to clipboard operation
gitx copied to clipboard

Update gist posting to work with the lastest changes to gist.github.com

Open nilbus opened this issue 12 years ago • 0 comments

Using a more generic regex to find the gist id. The old regex was failing because github no longer considers this HTTP request to be logged in, despite having the API token, so it does not provide an edit button.

Github now expects the parameter action_button=private, instead of private=true. All gists were being created as public gists.

The "TODO: Replace true with private preference" comment was outdated, since this has since been done.

Note: This patch does not require GitX to be rebuilt. The updated history.js file can be dropped into an existing GitX installation at /Applications/GitX.app/Contents/Resources/html/views/history/history.js and it will go into effect after restarting GitX. The GitX download for SciMed/gitx contains this patch.

nilbus avatar Aug 10 '11 15:08 nilbus