summaryrefslogtreecommitdiff
path: root/public (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-04-06Minor fixes in relase notesSheogorath1-9/+10
Fix some spelling and style issues as well as adding the latest changes. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-30Update release notesSheogorath1-10/+73
Providing release notes for version 1.1.0-ce Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-25Fix night mode button after restoreSheogorath1-0/+1
The night mode toggle doesn't get the right state after restore from local storage. This results in the need to toggle twice to disable night mode. This patch adds the needed class so the toggleNightMode function gets the right state on execution. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-25Change config to camel case with backwards compatibilitySheogorath2-3/+3
This refactors the configs a bit to now use camel case everywhere. This change should help to clean up the config interface and make it better understandable. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-23Persist nightmode so we can re-enable itSheogorath1-3/+18
Right now the night mode is possible to set by a toggle in the menu bar but needs to be re-enabled on every document switch, reload, etc.. This is super annoying so we should keep this state in local storage or a cookie. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-18Reorganize usage of `getAsFile()`Sheogorath1-2/+5
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-18Fix typo in vedor extensionSheogorath1-2/+2
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-11Fix typoMax Wu1-1/+1
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2018-03-11Update to show log on migrate LZString type note url in historyMax Wu1-1/+1
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2018-03-03Update to migrate note url in the history of browser storage and cookieMax Wu2-0/+47
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2018-02-26Update styles of details, summary and figureMax Wu1-2/+14
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2018-02-26Update to allow rp tag for rubyMax Wu1-0/+2
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2018-02-26Remove manual allow details tag since default already allow itMax Wu1-3/+1
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2018-02-25Extend HTML5 support by whitelisting various tagsSheogorath2-1/+20
HTML5 provides a wide feature set of useful elements. Since Markdown usually supports HTML it should be able to use these HTML5 tags as well. As they were requested by some users and they where checked for being safe, whitelisting them isn't a problem. To make the experience the same as on GitHub when it comes to the basic look and feel of the rendered markdown, some CSS was added to make the summary and the details tag look like on GitHub. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-02-24Allow the usage of the esc-key by codemirrorSheogorath1-3/+3
This change allows all input modes of codemirror to use the information from an input esc-key and make this way vim and sublime more functional. To prevent this change from breaking the return from the fullscreen mode, it catches the esc-key in this case. Hopefully this is an acceptable solution. As before the vim-mode is handled different in fulltext-mode as it is esc-key heavy. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-02-05don't require referer to find note id in socket.io connections (fixes #623)Stefan Bühler1-0/+3
Signed-off-by: Stefan Bühler <buehler@cert.uni-stuttgart.de>
2018-01-30Update socket.io to version 2.0.4Sheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-29Upgrade reveal.js to 3.6.0 and useCDN option for CSS includeWu Cheng-Han1-5/+4
2018-01-26Fix ldap provider name in templateSheogorath1-1/+1
Before this fix it's impossible to set the provider name in the sign-model since `ldap` is a boolean there and this way not able to have an attribute like `ldap.providerName`. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-24Reorganize social media links and footerSheogorath1-6/+6
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-24Fix task todo might not toggleMax Wu1-2/+2
which caused by not matching syntax with double dashes correctly
2018-01-20Remove/update contact detailsSheogorath2-12/+11
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-20Allow more detailed configuration of upload mime typesSheogorath2-10/+7
Fixes #637 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-20Add option to enable `freely` permission in closed instanceDario Ernst1-1/+1
Before, closed disallowed guest edits completely, by removing the `freely` permission. This makes it possible to explicitely bring back guest-editing, but not guest-note-creation, to closed instances. Signed-off-by: Dario Ernst <dario@kanojo.de>
2018-01-20Update body.ejsMax Wu1-0/+1
Add CE text on index title
2018-01-19Release 1.0.1-ceSheogorath1-0/+14
2018-01-19It's 2018! :tada:Sheogorath1-1/+1
2018-01-19Fix image alt not render properlyWu Cheng-Han1-1/+2
2018-01-18Release 1.0.0-ceSheogorath1-1/+40
2018-01-16Fix anchor id to keep uppercase charactersMax Wu1-1/+5
id shouldn’t be converted to lowercase since id attribute is case sensitive
2018-01-05:sparkles: Implemented dark theme.Edoardo Odorico8-11/+197
Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com>
2017-12-14Fix file permission, remove useless executablePeter Dave Hello2-0/+0
2017-12-01close open tagsThomas De Backer1-2/+2
2017-11-30Add untranslated sentences to localeThomas De Backer1-2/+2
2017-11-28Initial support for SAML authenticationNorihito Nakae2-3/+8
2017-11-24Prevent XSS vul by srcdoc in iframeSheogorath1-1/+1
2017-11-02Revert "Load js-url lib using legacy-loader"Literallie2-8/+4
Didn't work in Firefox for some reason. `[Script Loader] ReferenceError: module is not defined` This reverts commit 5b83deb043296c23ff912a2472703c1f7faddb4b.
2017-10-31Add mattermost authenticationChristoph Witzany2-4/+9
2017-10-31Fix allowpdfexport handling on error pageSheogorath1-2/+2
2017-10-30Fix mermaid error handlingSheogorath1-2/+7
2017-10-30Use mermaidAPI in mermaid scopeSheogorath1-12/+4
Introduced by https://github.com/knsv/mermaid/commit/a5b71455271aef1180eefa1054d751dea1885e3f#diff-67ae90c5144c55348a3cbdb078240454L532 Fixes #600 Parse only throws error: https://github.com/knsv/mermaid/commit/167368d508f1e5b1606b2b45f892cdd60d479448#diff-67ae90c5144c55348a3cbdb078240454
2017-10-30Corrected some grammatical issuesOliver Herrmann1-3/+3
Obviously caught up in a bad translation and didn't particularly make sense for native english speakers.
2017-10-30Upgrade mermaid to v7.1.0, fix #600Peter Dave Hello3-3/+3
2017-10-25Adds PDF export via configgeekyd1-4/+8
2017-10-23Externalise trivial inline styles from slide.ejsLiterallie2-6/+23
Dynamic background images need some further work
2017-10-23support Simplified Chinese and rename original zh to Traditional ChineseRwing2-1/+5
2017-10-22Fix MathJax config not being picked upLiterallie1-1/+1
thanks standard
2017-10-22Move CSP logic to new file, Fix boolean config examplesLiterallie1-1/+0
Not sure why I was quoting these in the first place
2017-10-22Load js-url lib using legacy-loaderLiterallie2-4/+9
Doesn't use eval, plus no window object access
2017-10-22Fix MathJax CSP issuesLiterallie4-9/+11