summaryrefslogtreecommitdiff
path: root/public/views/codimd (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-26Add translations for permissionsSheogorath1-6/+6
Adding translations for permissions for a possible 1.6.1 release doesn't hurt but might helps some usecases of running CodiMD and we'll need the translations in the new frontend anyway. This patch adds the translations as well as the english local file. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2020-02-10Update mermaid in CDNAntoine Aflalo1-1/+1
Signed-off-by: Antoine Aflalo <antoine@warrantymaster.com>
2019-12-20Fix urlPath support, let CodiMD be served from a subpath correctlyEnrico Guiraud1-0/+1
Webpack now uses relative paths for resources linked from by static snippets. A templated <base> tag has been introduced in headers so app.js can set the base URL at runtime. Signed-off-by: Enrico Guiraud <enrico.guiraud@cern.ch>
2019-10-09Fixed bugs, added default imageErik Michelson1-2/+6
Signed-off-by: Erik Michelson <erik@liltv.de>
2019-10-04Added customizable og-metadata to notesErik Michelson1-0/+4
Signed-off-by: Erik Michelson <erik@liltv.de>
2019-05-06Update jQuery to version 3.4.1Sheogorath1-1/+1
2019-03-25Move upload button into toolbarSheogorath1-6/+0
Currently we have the odd situation to have two toolbars. One inside the header and one in the editor. Since we only show the image upload button when the editor is visible we should move the upload button into the editor toolbar. This patch does this by adding the image upload button besides the image tag button. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-03-03Fix possible MathJax XSS issue [Security Issue]Max Wu1-0/+2
see more at: http://docs.mathjax.org/en/latest/safe-mode.html Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-01-11Update bootstrap from 3.3.7 to 3.4.0Sheogorath2-2/+2
Seems like finally there is a new bootstrap version for old version 3. This patch implements this new version with CodiMD and this way fixes some possible security issues in the frontend code. See: https://snyk.io/vuln/SNYK-JS-BOOTSTRAP-72889 https://snyk.io/vuln/SNYK-JS-BOOTSTRAP-72890 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-11-28Update socket.ioSheogorath1-1/+1
Our socket.io version is 2.0.4 while the current socket.io version is 2.1.1. This patch updates socket.io to version 2.1.1 and takes care of the CDN client version. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-11-07Fix menu for github and dropboxCédric Couralet1-4/+4
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
2018-11-07Fix menu when gitlab is enabledCédric Couralet1-6/+6
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
2018-11-03removing global site layout vars from individual routers, putting them into ↵Claudius3-9/+9
app.local Signed-off-by: Claudius <opensource@amenthes.de>
2018-10-10Remove dead package octiconSheogorath1-1/+0
Octicon no longer provides its CSS classes and this way is useless in CodiMD. Replacing all used classes in the UI and remove it from build system. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-10-05Replace font-awesome with fork-awesomeSheogorath1-1/+1
This patch replaces font-awesome with its fork called fork-awesome. Besides the fact that the newer versions of font-awesome can't be shipped with distros like debian due to license issues, fork-awesome also provides more FOSS related icons and builds on top of version 4.7.x of font-awesome, which we used until this patch. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-10-04Add rel="noopener" to target="_blank" linksSheogorath2-9/+9
The noopener construct protects from some nasty clickjacking attacks. We can apply them savely to all our links since we don't rely on the previously used page. Some more details: https://mathiasbynens.github.io/rel-noopener/ Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-07-31Add possibility to choose between version v3 or v4 for the gitlab api.Cédric Couralet1-0/+2
Apart from the uri versioning, one big change is the snippet visibility post data (visibility_level -> visibility) Default gitlab api version to v4 Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
2018-07-03Fix some night mode colorsSheogorath1-1/+1
We have some issues with night mode and the font color. This should fix this in the permission table and the delete node modal. As well as some picture styling. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-30Update highlight.jsSheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-30Update to octicon 4.4.0Sheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-24Rename HackMD view to CodiMDSheogorath5-0/+479
Even when it looks a bit weird in first place to rename all internals step by step, it makes sense to do so, because we run into confusion afterwards. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>