summaryrefslogtreecommitdiff
path: root/public (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #758 from SISheogorath/cleanup/configChristoph (Sheogorath) Kern2018-03-252-3/+3
|\ | | | | Change config to camel case with backwards compatibility
| * Change config to camel case with backwards compatibilitySheogorath2018-03-252-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>
* | Persist nightmode so we can re-enable itSheogorath2018-03-231-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>
* Merge pull request #772 from SISheogorath/fix/chromeFileErrorChristoph (Sheogorath) Kern2018-03-211-4/+7
|\ | | | | Some fixes for inline-Attachments in Codemirror
| * Reorganize usage of `getAsFile()`Sheogorath2018-03-181-2/+5
| | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
| * Fix typo in vedor extensionSheogorath2018-03-181-2/+2
| | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Merge pull request #743 from hackmdio/fix-to-use-url-safe-base64Christoph (Sheogorath) Kern2018-03-182-0/+47
|\ \ | |/ |/| Fix to use url-safe base64 in note url
| * Fix typoMax Wu2018-03-111-1/+1
| | | | | | | | Signed-off-by: Max Wu <jackymaxj@gmail.com>
| * Update to show log on migrate LZString type note url in historyMax Wu2018-03-111-1/+1
| | | | | | | | Signed-off-by: Max Wu <jackymaxj@gmail.com>
| * Update to migrate note url in the history of browser storage and cookieMax Wu2018-03-032-0/+47
| | | | | | | | Signed-off-by: Max Wu <jackymaxj@gmail.com>
* | Update styles of details, summary and figureMax Wu2018-02-261-2/+14
| | | | | | | | Signed-off-by: Max Wu <jackymaxj@gmail.com>
* | Update to allow rp tag for rubyMax Wu2018-02-261-0/+2
| | | | | | | | Signed-off-by: Max Wu <jackymaxj@gmail.com>
* | Remove manual allow details tag since default already allow itMax Wu2018-02-261-3/+1
|/ | | | Signed-off-by: Max Wu <jackymaxj@gmail.com>
* Extend HTML5 support by whitelisting various tagsSheogorath2018-02-252-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>
* Allow the usage of the esc-key by codemirrorSheogorath2018-02-241-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>
* don't require referer to find note id in socket.io connections (fixes #623)Stefan Bühler2018-02-051-0/+3
| | | | Signed-off-by: Stefan Bühler <buehler@cert.uni-stuttgart.de>
* Update socket.io to version 2.0.4Sheogorath2018-01-301-1/+1
| | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Merge pull request #704 from SISheogorath/fix/ldapProviderNameChristoph (Sheogorath) Kern2018-01-291-1/+1
|\ | | | | Fix ldap provider name in template
| * Fix ldap provider name in templateSheogorath2018-01-261-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>
* | Upgrade reveal.js to 3.6.0 and useCDN option for CSS includeWu Cheng-Han2018-01-291-5/+4
|/
* Merge pull request #694 from SISheogorath/refactor/socialmediaChristoph (Sheogorath) Kern2018-01-251-6/+6
|\ | | | | Reorganize social media links and footer
| * Reorganize social media links and footerSheogorath2018-01-241-6/+6
| | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Fix task todo might not toggleMax Wu2018-01-241-2/+2
| | | | | | which caused by not matching syntax with double dashes correctly
* | Merge pull request #691 from SISheogorath/feature/uploadChristoph (Sheogorath) Kern2018-01-232-10/+7
|\ \ | | | | | | Allow more detailed configuration of upload mime types
| * | Allow more detailed configuration of upload mime typesSheogorath2018-01-202-10/+7
| | | | | | | | | | | | | | | | | | Fixes #637 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | | Merge pull request #598 from xxyy/feature/cspChristoph (Sheogorath) Kern2018-01-224-10/+12
|\ \ \ | |_|/ |/| | Implement basic CSP support
| * | Revert "Load js-url lib using legacy-loader"Literallie2017-11-022-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | Didn't work in Firefox for some reason. `[Script Loader] ReferenceError: module is not defined` This reverts commit 5b83deb043296c23ff912a2472703c1f7faddb4b.
| * | Fix MathJax config not being picked upLiterallie2017-10-221-1/+1
| | | | | | | | | | | | thanks standard
| * | Move CSP logic to new file, Fix boolean config examplesLiterallie2017-10-221-1/+0
| | | | | | | | | | | | Not sure why I was quoting these in the first place
| * | Load js-url lib using legacy-loaderLiterallie2017-10-222-4/+9
| | | | | | | | | | | | Doesn't use eval, plus no window object access
| * | Fix MathJax CSP issuesLiterallie2017-10-224-9/+11
| | |
| * | CSP: Add nonce to slide view inline JSLiterallie2017-10-221-1/+1
| | |
* | | Merge pull request #688 from hackmdio/add-ce-text-on-indexChristoph (Sheogorath) Kern2018-01-201-0/+1
|\ \ \ | | | | | | | | Add CE text on index title
| * | | Update body.ejsMax Wu2018-01-201-0/+1
| | |/ | |/| | | | Add CE text on index title
* | | Merge pull request #690 from Nebukadneza/add_allow_anonymous_editsChristoph (Sheogorath) Kern2018-01-201-1/+1
|\ \ \ | | | | | | | | Add option to enable `freely` permission in closed instance
| * | | Add option to enable `freely` permission in closed instanceDario Ernst2018-01-201-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>
* / / Remove/update contact detailsSheogorath2018-01-202-12/+11
|/ / | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Release 1.0.1-ceSheogorath2018-01-191-0/+14
| |
* | Merge pull request #685 from hackmdio/fixImageAltChristoph (Sheogorath) Kern2018-01-191-1/+2
|\ \ | | | | | | | | | | | | Fix image alt not render properly Fixes #638
| * | Fix image alt not render properlyWu Cheng-Han2018-01-191-1/+2
| | |
* | | It's 2018! :tada:Sheogorath2018-01-191-1/+1
|/ /
* | Release 1.0.0-ceSheogorath2018-01-181-1/+40
| |
* | Fix anchor id to keep uppercase charactersMax Wu2018-01-161-1/+5
| | | | | | id shouldn’t be converted to lowercase since id attribute is case sensitive
* | :sparkles: Implemented dark theme.Edoardo Odorico2018-01-058-11/+197
| | | | | | | | Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com>
* | Fix file permission, remove useless executablePeter Dave Hello2017-12-142-0/+0
| |
* | Merge pull request #609 from monoxane/masterChristoph (Sheogorath) Kern2017-12-121-3/+3
|\ \ | | | | | | Correcting grammatical errors related to the document char count tooltip
| * | Corrected some grammatical issuesOliver Herrmann2017-10-301-3/+3
| | | | | | | | | Obviously caught up in a bad translation and didn't particularly make sense for native english speakers.
* | | Merge pull request #633 from nakaeeee/saml-authChristoph (Sheogorath) Kern2017-12-042-3/+8
|\ \ \ | | | | | | | | Support SAML authentication
| * | | Initial support for SAML authenticationNorihito Nakae2017-11-282-3/+8
| | | |
* | | | close open tagsThomas De Backer2017-12-011-2/+2
| | | |