summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheogorath2018-06-24 14:13:38 +0200
committerSheogorath2018-06-24 14:13:46 +0200
commit2184491f4ac4b224e26fcc4b54d792dd4e82178f (patch)
treed93e6a6574ad972a27b372fc12e0539b57ca8868
parent97a08e7954af01719bb2519e863fdf5990d4d56f (diff)
Final replacements
Looks like I missed a few. This should be complete now. And make us ready for the repo rename and merging. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
-rw-r--r--lib/csp.js2
-rw-r--r--lib/response.js2
-rw-r--r--public/docs/privacy.md.example6
-rw-r--r--public/js/cover.js2
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/csp.js b/lib/csp.js
index d0f906a3..a49c7484 100644
--- a/lib/csp.js
+++ b/lib/csp.js
@@ -6,7 +6,7 @@ var CspStrategy = {}
var defaultDirectives = {
defaultSrc: ['\'self\''],
scriptSrc: ['\'self\'', 'vimeo.com', 'https://gist.github.com', 'www.slideshare.net', 'https://query.yahooapis.com', '\'unsafe-eval\''],
- // ^ TODO: Remove unsafe-eval - webpack script-loader issues https://github.com/hackmdio/hackmd/issues/594
+ // ^ TODO: Remove unsafe-eval - webpack script-loader issues https://github.com/hackmdio/codimd/issues/594
imgSrc: ['*'],
styleSrc: ['\'self\'', '\'unsafe-inline\'', 'https://assets-cdn.github.com'], // unsafe-inline is required for some libs, plus used in views
fontSrc: ['\'self\'', 'https://public.slidesharecdn.com'],
diff --git a/lib/response.js b/lib/response.js
index 252208b9..3a31c511 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -527,7 +527,7 @@ function githubActionGist (req, res, note) {
request({
url: gistUrl,
headers: {
- 'User-Agent': 'HackMD',
+ 'User-Agent': 'CodiMD',
'Authorization': 'token ' + accessToken
},
method: 'POST',
diff --git a/public/docs/privacy.md.example b/public/docs/privacy.md.example
index 08bf9091..ff65d82e 100644
--- a/public/docs/privacy.md.example
+++ b/public/docs/privacy.md.example
@@ -6,9 +6,9 @@ We process the following data, for the following purposes:
|your data|our usage|
|---------|---------|
|IP-Address|Used to communicate with your browser and our servers. It's may exposed to third-parties which provide resources for this service. These services are, depending on your login method, the document you visit and the setup of this instance: Google, Disqus, MathJax, GitHub, SlideShare/LinkedIn, yahoo, Gravatar, Imgur, Amazon, and Cloudflare.|
-|Usernames and profiles|Your username as well as user profiles that are connected with it are transmitted and stored by us to provide a useful login integration with services like GitHub, Facebook, Twitter, GitLab, Dropbox, Google. Depending on the setup of this HackMD instance there are maybe other third-parties involved using SAML, LDAP or the integration with a Mattermost instance.|
-|Profile pictures| Your profile picture is either loaded from the service you used to login, the HackMD instance or Gravatar.|
-|Uploaded pictures| Pictures that are uploaded for documents are either uploaded to Amazon S3, Imgur, a minio instance or the local filesystem of the HackMD server.|
+|Usernames and profiles|Your username as well as user profiles that are connected with it are transmitted and stored by us to provide a useful login integration with services like GitHub, Facebook, Twitter, GitLab, Dropbox, Google. Depending on the setup of this CodiMD instance there are maybe other third-parties involved using SAML, LDAP or the integration with a Mattermost instance.|
+|Profile pictures| Your profile picture is either loaded from the service you used to login, the CodiMD instance or Gravatar.|
+|Uploaded pictures| Pictures that are uploaded for documents are either uploaded to Amazon S3, Imgur, a minio instance or the local filesystem of the CodiMD server.|
All account data and notes are stored in a mysql/postgres/sqlite database. Besides the user accounts and the document themselves also relationships between the documents and the user accounts are stored. This includes ownership, authorship and revisions of all changes made during the creation of a note.
diff --git a/public/js/cover.js b/public/js/cover.js
index 6ca05f6f..79fb3a2a 100644
--- a/public/js/cover.js
+++ b/public/js/cover.js
@@ -318,7 +318,7 @@ $('.ui-save-history').click(() => {
const blob = new Blob([history], {
type: 'application/json;charset=utf-8'
})
- saveAs(blob, `hackmd_history_${moment().format('YYYYMMDDHHmmss')}`, true)
+ saveAs(blob, `codimd_history_${moment().format('YYYYMMDDHHmmss')}`, true)
})
})