bpmn-surf — BPMN/DMN diff for GitLab & GitHub 的隐私政策
bpmn-surf — BPMN/DMN diff for GitLab & GitHub 作者: Kao Alllex
bpmn-surf — BPMN/DMN diff for GitLab & GitHub 的隐私政策
bpmn-surf is a browser extension that shows BPMN and DMN diagrams in GitLab and
GitHub repositories, merge requests and pull requests and compares their
versions. It has no server of its own, collects no analytics and sends nothing to
its author.
- The pages of the sites you turn on in the extension popup: gitlab.com,
github.com, self-managed GitLab hosts and GitHub Enterprise Server hosts. It
runs on no other site. It reads the page to find diagram files and to place its
buttons. - Repository data from that site: diagram files, the repository tree,
commits, merge or pull request changes and code search results. On GitLab it
uses GitLab's own web URLs and REST API. On GitHub it uses GitHub's own web
pages: raw file URLs (which GitHub redirects toraw.githubusercontent.com),
the code search page and the file list of the pull request page. The requests
are made from the page in your existing signed-in session, so the extension
can see only what your account can see. It does not ask for, read or keep
passwords or tokens. - GitHub's public REST API (
api.github.com, or/api/v3on a GitHub
Enterprise Server host) is called anonymously, without any token, and only as
a fallback: when the pull request page does not carry its file list (you are
signed out), or when the extension cannot read the compared versions from the
page. It sees public repositories only.
In the site's
localStorage (removed together with that site's data):
processIdToBpmnFilePathMap#<project>#<ref>#<commit>— which BPMN file defines
which process, used to navigate between diagrams;bpmn_diff_master_commits_<project>_<branch>— on GitLab, the recent commit
ids of a branch, refreshed after an hour;bpmnDiffer.propsWidth,bpmnDiffer.propsHidden— the width and visibility of
the properties panel.
In the site tab's
sessionStorage (removed when the tab is closed):
bpmn_diff_reload_attempts— a counter that stops the extension from reloading
a page over and over.
In
chrome.storage.sync:
settings— the external-task handler annotation names you configured and the
type (GitLab or GitHub) you picked for a site in the popup. If Chrome Sync is
on, Chrome itself copies this storage between your signed-in Chrome profiles.
In
chrome.storage.local:
undetectedSites— the host names of sites you turned on whose pages looked
like neither GitLab nor GitHub, kept until you pick their type in the popup;gitlabComNotice— a flag that shows a notice once when, after an update from
a version that had gitlab.com built in, gitlab.com is not turned on.
The list of sites you turned on is not stored by the extension: it is the set of
site permissions you granted, which Chrome keeps and which you can revoke at any
time in
chrome://extensions. A settings file you export is saved only where youchoose to save it.
Diagram files fetched for a diff are held in memory while the page is open and
are never written to storage.
- Requests go only to the site of the page you are on, and on GitHub to the
GitHub hosts that serve that site's data (raw.githubusercontent.com,
api.github.com) as described above. No analytics, no telemetry, no
advertising, no third-party servers. All libraries ship inside the extension;
no remote code is loaded. - "Report a problem" — the 💬 button in the diff toolbar opens a new-issue
form on GitHub (github.com/kaoalllex/bpmn-surf/issues) in a new tab, with
the text prefilled. The prefilled text travels to GitHub inside the link when
you click the button; nothing is published until you review it and press
Submit in your own GitHub account. It contains the extension version, the
platform (GitLab or GitHub) and the site's host address, the merge or pull
request number, the file name and type,
the compared versions with their links (project path, branch names, commit
ids), the edit mode state, and the last lines of the diff tab's console log,
which can include file paths, links and names from the diagram (process and
element ids, topic and message names). The diagram file itself is never
included. The "Leave feedback" link in the popup opens the issues list and
sends nothing.
Data is not sold, shared with anyone or used for anything other than showing
and comparing diagrams.
Questions and requests: https://github.com/kaoalllex/bpmn-surf/issues