summaryrefslogtreecommitdiff
path: root/public/views (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace js-url with wurlSheogorath2019-04-161-1/+0
| | | | | | | | js-url is outdated and wurl is it's successor. This will fix some vulnerabilities in the dependencies and also optimize the build process by removing the external library toward internal tooling. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Add community forum to help sectionSheogorath2019-04-121-2/+4
| | | | | | | | | | | We have a community forum and want to use it for users support and to bring developers and end-users together. In order to achieve this, it would be helpful to inform users about its existence. This patch adds the community forum as resource to the help section and aligns it along the Matrix channel and GitHub issue tracker. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Add missing space to footerHenrik Hüttemann2019-04-011-1/+1
| | | | Signed-off-by: Henrik "HerHde" Hüttemann <mail@herh.de>
* Merge pull request #9 from SISheogorath/feature/moveUploadChristoph (Sheogorath) Kern2019-03-311-6/+0
|\ | | | | Move upload button into toolbar
| * Move upload button into toolbarSheogorath2019-03-251-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>
* | Merge pull request #8 from SISheogorath/fix/languagesChristoph (Sheogorath) Kern2019-03-311-6/+6
|\ \ | | | | | | Fix capital letters in language selection
| * | Fix capital letters in language selectionSheogorath2019-03-241-6/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Vladan[1] gave a hint about some minor problems with the capitalization of language names. This patch should fix most of them. and removes some "language" prefix and suffixes which are not needed to make clear what people are selecting here. [1]: https://github.com/cvladan Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* / Update links to new repositoriesSheogorath2019-03-272-2/+2
|/ | | | | | | | | | | | After a long discussion, it turned out that CodiMD as community project and HackMD as a company, have fundamental different views on the project governance. Due to this, it came to point where the decision for a fork was made. After the fork and move towards an own organisation, this patch updates all links inside the project to the new repositories. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Merge pull request #1158 from SISheogorath/feature/serbianLanguageChristoph (Sheogorath) Kern2019-03-161-0/+1
|\ | | | | Add serbian language
| * Add serbian languageSheogorath2019-03-041-0/+1
| | | | | | | | | | | | | | | | Thanks for the work of the translator Vladan we got a serbian translation added! Those few changes will add serbian language support for future CodiMD releases. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Fix possible order changes for 'Powered by' in other languagesSheogorath2019-03-101-1/+1
| | | | | | | | | | | | | | | | Since not all languages use the same word oder and we run into potential issues, where the translation of powered by need to add something after the CodiMD link, this should give us the needed flexiblity. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Merge pull request #1076 from SISheogorath/fix/translationChristoph (Sheogorath) Kern2019-03-102-9/+9
|\ \ | |/ |/| Add some missing translations
| * Add some missing translationsSheogorath2018-11-232-9/+9
| | | | | | | | | | | | | | | | | | There are some places in our code that made it to be not translated. This patch fixes some small translation problems and adds some static strings in templates to translation. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Fix possible MathJax XSS issue [Security Issue]Max Wu2019-03-033-0/+6
| | | | | | | | | | | | see more at: http://docs.mathjax.org/en/latest/safe-mode.html Signed-off-by: Max Wu <jackymaxj@gmail.com>
* | Update bootstrap from 3.3.7 to 3.4.0Sheogorath2019-01-116-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Fix to sanitize disqus shortnames to remove slashes [Security Issue]Max Wu2018-12-281-1/+1
| | | | | | Signed-off-by: Max Wu <jackymaxj@gmail.com>
* | Update socket.ioSheogorath2018-11-281-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>
* Update reveal.js to version 3.7.0Sheogorath2018-11-191-3/+3
| | | | | | | | | | | | | | | There is a new reveal.js version out. As we try to keep up with upstream, time to integreate it. This patch updates reveal.js in for CDN-using instances as well as the ones using the libraries. Checked that speaker view in slide mode still works, so no CSP change needed. https://github.com/hakimel/reveal.js/releases/tag/3.7.0 https://github.com/hackmdio/codimd/blob/2d241b93002a3a23f81ffe8fab82f2c6c98feca4/lib/csp.js#L72-L74 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Fixing links on index pageSheogorath2018-11-181-3/+3
| | | | | | | | | | Seems like ids in Firefox are case sensitive. So linking in the current way fails. This patch fixes the links by using the exact matching version of the titles on the features page. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Add full version stringSheogorath2018-11-111-1/+1
| | | | | | | | | | | | Currently we only provide the version from `package.json`. This means that during updates of instances, e.g. the demo instance, which runs latest master instead of a stable release, changes are not reflected to the webclient. This patch adds a fullversion string that contains the current commit and this way makes that clients are notified about changes. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Fix menu for github and dropboxCédric Couralet2018-11-071-4/+4
| | | | Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
* Fix menu when gitlab is enabledCédric Couralet2018-11-071-6/+6
| | | | Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
* removing global site layout vars from individual routers, putting them into ↵Claudius2018-11-0310-78/+78
| | | | | | app.local Signed-off-by: Claudius <opensource@amenthes.de>
* Remove Gitter from codebaseSheogorath2018-10-171-1/+1
| | | | | | | | | | We no longer use Gitter for development talk and similar. So we might want to remove it? This patch removes Gitter from README, help page and features page. And replaces it in the help modal with POEditor, our translation platform. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Fix #1016: webpack include defect for scripts and header files.MartB2018-10-162-2/+2
| | | | Signed-off-by: MartB <mart.b@outlook.de>
* Remove dead package octiconSheogorath2018-10-104-4/+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>
* Merge pull request #993 from SISheogorath/feature/useForkAwesomeChristoph (Sheogorath) Kern2018-10-095-5/+5
|\ | | | | Replace font-awesome with fork-awesome
| * Replace font-awesome with fork-awesomeSheogorath2018-10-055-5/+5
| | | | | | | | | | | | | | | | | | | | 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>
* | Add OpenID to CodiMDSheogorath2018-10-051-1/+20
|/ | | | | | | | With OpenID every OpenID capable provider can provide authentication for users of a CodiMD instance. This means we have federated authentication. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Add rel="noopener" to target="_blank" linksSheogorath2018-10-044-12/+12
| | | | | | | | | | 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>
* Merge pull request #932 from davidmehren/webpack-4Christoph (Sheogorath) Kern2018-10-032-3/+3
|\ | | | | Upgrade to Webpack 4
| * Upgrade to Webpack 4 - first tryDavid Mehren2018-09-062-3/+3
| | | | | | | | Signed-off-by: David Mehren <dmehren1@gmail.com>
* | Some minor footer improvementsSheogorath2018-10-011-1/+1
| | | | | | | | | | | | | | | | | | Removing copyrigt sign since we are not copyrighting things. Changing hackmd.io to codimd.org since HackMD is more and more dividing from CodiMD and may brings up wrong expectations. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Add POEditor to 'follow us' statementSheogorath2018-09-261-1/+1
| | | | | | | | | | | | | | We broke the follow us before by removing Facebook and Twitter. Adding POEditor should fix it and help to attract new translators. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Add indonesian language to CodiMDSheogorath2018-09-231-0/+1
|/ | | | | | Big thanks @filosofikode for the translation work! Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Update to replace Twitter and Facebook to RiotMax Wu2018-07-311-1/+1
| | | Signed-off-by: Max Wu <jackymaxj@gmail.com>
* Add possibility to choose between version v3 or v4 for the gitlab api.Cédric Couralet2018-07-311-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>
* Remove some unneeded defined inline-stylingsSheogorath2018-07-031-2/+2
| | | | | | These have no really useful point here. Let's just remove them. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Fix some night mode colorsSheogorath2018-07-031-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>
* Update highlight.jsSheogorath2018-06-304-4/+4
| | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Update to octicon 4.4.0Sheogorath2018-06-304-4/+4
| | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Merge pull request #863 from hackmdio/feature/slidePrintChristoph (Sheogorath) Kern2018-06-261-1/+1
|\ | | | | Add Print icon to slide view
| * Add Print icon to slide viewSheogorath2018-06-241-1/+1
| | | | | | | | | | | | | | | | It redirects the user to the print view of the document. I claim that people should either be smart enough to use ctrl+P or ask someone who knows how to print a webpage. I don't want to babysit our users. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Rename HackMD view to CodiMDSheogorath2018-06-248-19/+19
| | | | | | | | | | | | | | | | 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>
* | Rebrand HackMD to CodiMDSheogorath2018-06-244-8/+7
|/ | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Move config out of statics pathSheogorath2018-06-241-1/+1
| | | | | | | | Since static path is providing with a high expiration data, we provide configs via API. This shouldn't add any noticeable load while making it uncached and this way working again. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Move polyfill to CDN sectionSheogorath2018-06-184-5/+4
| | | | | | | We don't support it on CDN false instances, but it doesn't hurt to keep it in for CDN-enabled instances Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Merge pull request #830 from SISheogorath/feature/GDPRChristoph (Sheogorath) Kern2018-06-171-7/+29
|\ | | | | GDPR compliant part 1
| * Add export data UISheogorath2018-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | This adds the UI for the export feature introduced in bcbb8c67c9f8092643c318140f6613324f306bd2 It allows to download all notes from the main page in the default user submenu. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
| * Add token based security featureSheogorath2018-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | In the current setup users could be tricked into deleting their data by providing a malicious link like `[click me](/me/delete)`. This commit prevents such an easy attack and need the user's deleteToken to get his data deleted. In case someone requests his deletion by email you can also ask him for this token. We can add a GUI that shows it later on. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>