Skip to content

Commit 2184491

Browse files
committed
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>
1 parent 97a08e7 commit 2184491

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/csp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ var CspStrategy = {}
66
var defaultDirectives = {
77
defaultSrc: ['\'self\''],
88
scriptSrc: ['\'self\'', 'vimeo.com', 'https://gist.github.com', 'www.slideshare.net', 'https://query.yahooapis.com', '\'unsafe-eval\''],
9-
// ^ TODO: Remove unsafe-eval - webpack script-loader issues https://github.com/hackmdio/hackmd/issues/594
9+
// ^ TODO: Remove unsafe-eval - webpack script-loader issues https://github.com/hackmdio/codimd/issues/594
1010
imgSrc: ['*'],
1111
styleSrc: ['\'self\'', '\'unsafe-inline\'', 'https://assets-cdn.github.com'], // unsafe-inline is required for some libs, plus used in views
1212
fontSrc: ['\'self\'', 'https://public.slidesharecdn.com'],

lib/response.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ function githubActionGist (req, res, note) {
527527
request({
528528
url: gistUrl,
529529
headers: {
530-
'User-Agent': 'HackMD',
530+
'User-Agent': 'CodiMD',
531531
'Authorization': 'token ' + accessToken
532532
},
533533
method: 'POST',

public/docs/privacy.md.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ We process the following data, for the following purposes:
66
|your data|our usage|
77
|---------|---------|
88
|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.|
9-
|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.|
10-
|Profile pictures| Your profile picture is either loaded from the service you used to login, the HackMD instance or Gravatar.|
11-
|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.|
9+
|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.|
10+
|Profile pictures| Your profile picture is either loaded from the service you used to login, the CodiMD instance or Gravatar.|
11+
|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.|
1212

1313
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.
1414

public/js/cover.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ $('.ui-save-history').click(() => {
318318
const blob = new Blob([history], {
319319
type: 'application/json;charset=utf-8'
320320
})
321-
saveAs(blob, `hackmd_history_${moment().format('YYYYMMDDHHmmss')}`, true)
321+
saveAs(blob, `codimd_history_${moment().format('YYYYMMDDHHmmss')}`, true)
322322
})
323323
})
324324

0 commit comments

Comments
 (0)