Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download URL redirect for privacy and download counter #11

Open
viktorix opened this issue Nov 18, 2022 · 0 comments
Open

Download URL redirect for privacy and download counter #11

viktorix opened this issue Nov 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@viktorix
Copy link
Member

Is your feature request related to a problem? Please describe.
Right now the download URL for the plugins/themes is a direct GitHub link. Whenever we integrate this into core, each ClassicPress website downloading a plugin/theme will be logged by GitHub (Microsoft). This poses a potential privacy issue.

Describe the solution you'd like
We need to set up a download URL that's basically a redirect to the GitHub download URL, but it doesn't contain any personal website information to be logged by GitHub. So we protect users' privacy.

While we set this up, we should add a simple download counter to keep track of plugin/theme downloads. A simple counter without any personal website details. Each request to download plugin/theme would increment the counter by 1. This will help ClassicPress and developers better understand how many downloads their items have.

So if the download URL is:
https://github.com/azurecurve/azrcrv-taxonomy-index/releases/download/v1.2.3/azrcrv-taxonomy-index.zip

The directory would replace https://github.com with something like this:
https://directory.classicpress.net/download/azurecurve/azrcrv-taxonomy-index/releases/download/v1.2.3/azrcrv-taxonomy-index.zip

@viktorix viktorix added the enhancement New feature or request label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant