Skip to content

Flask server that powers and endpoint for reporting private tracking protection issues.

License

Notifications You must be signed in to change notification settings

mozilla/tracking-protection-issues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracking Protection Issues

CircleCI

Repo used to host the code for filing private tracking protection issues.

Local installation

We're using pipenv for this project. Be sure to install it first.

  1. clone the repo
  2. pipenv sync --dev
  3. pipenv run flask run

Note: If you're trying to use this in production, it will expect a lot of environment variables. Check out config.py.

🚨 Please don't ever add any to the .env file and check it in. 🚨

How it works

This server exposes a /new endpoint that expects the following multipart/form-data payload via POST, represented here in some kind of pseudo-schema:

{
  "body": the issue body (required)
  "title": the issue title (required),
  "labels": 'one, two, three' (optional)
}

A GitHub issue will be created, assuming all the credentials are correct.

For privacy and security reasons, the GitHub repo and its issues are private and locked down to a small team of Mozilla employees within the @mozilla GitHub org. If you think you need access, ping miket@mozilla.com.

About

Flask server that powers and endpoint for reporting private tracking protection issues.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published