Allow products endpoint to be publicly accessed
Cleanup indentation
Fix bug with email preview only showing once

Once the color box has been shown once it will be empty if the preview button is clicked again. This fixes that.
Merge pull request #1680 from elliott-stocks/patch-7

Fix bug with email preview only showing once
Fix bug with email styling on first P

If styles are applied to the first paragraph (by a user) then "first p" breaks the HTML. If custom styles are used this won't try to overwrite them. Reported here - https://easydigitaldownloads.com/support/topic/display-issue-in-the-receipt/
Merge pull request #1682 from elliott-stocks/patch-8

Fix bug with email styling on first P
Don't run before/after download content hooks if password required (and not provided)

If you have a post / page / cpt with a password set on it, then you probably don't want someone to purchase it until the correct password has been provided.

`post_password_required()` checks to see if there is a password set on the post, and then if it's required.

* It returns `false` if no password is set
* It returns `false` if the password has already been provided
* It returns `true` if the password is set and has not been provided or was incorrect
Merge pull request #1685 from sc0ttkclark/patch-1

Don't run before/after download content hooks if password required (and not provided)
Fix cap check that prevented users from generating their own API kys (if enabled). Closes #1672
Merge branch 'master' of github.com:easydigitaldownloads/Easy-Digital-Downloads
Merge branch 'bugs/1473' of github.com:ghost1227/Easy-Digital-Downloads into ghost1227-bugs/1473
Set current user on products endpoint if a token is specified. #1650
INtroduce gateway label filters and show gateway as Free Purchase for free purchaes. Closes #1640
Run price through edd_format_amount() before formatting the currency. #1658
Ensure country is not equal to *. CLoses #1679
[i18n]> Typo correction ;)
[i18n]> New pot with the typo correction
Remove WP_Post from edd_get_payment_status()
Merge pull request #1693 from fxbenard/master

[i18n]> typo correction, pot file updated for v1.8.3.1
Remove edd_format_amount() from currency filter