summaryrefslogtreecommitdiff
path: root/public/views (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-05-25Add delete user UISheogorath1-6/+27
This provides the UI for the delete user feature introduced in 4229084c6211db3d22cd9abec99b957725650b9e Placing of the user delete button is not perfect, but can be moved to an own user tab later on. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-05-24Add privacy and ToS linksSheogorath1-1/+1
To be GDPR compliant we need to provide privacy statement. These should be linked on the index page. So as soon as a document exist under `public/docs/privacy.md` the link will show up. Since we already add legal links, we also add Terms of Use, which will show up as soon as `public/docs/terms-of-use.md` exists. This should allow everyone to provide the legal documents they need for GDPR and other privacy and business laws. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-05-16Removing google drive integrationSheogorath1-10/+2
It's sad but it's not working. For multiple releases this should be already broken which shows how often it's used. As there is also a security issue related to that, it's better to remove the feature completely. Whoever wants to rewrite it, feel free to go. This commit removes the Google Drive integration from HackMD's Frontend editor and this way removes the need to provide any API key and Client ID in the frontend. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-05-16Revert "Workaround Google API problems"Christoph (Sheogorath) Kern1-1/+9
2018-05-01Remove Google Upload from UISheogorath1-9/+1
This temporarily removes the Upload from the UI as it's broken right now. Needs a refactoring and can be added in again later on by undoing this commit. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-04-05Add matrix.org / Riot linkSheogorath1-1/+3
As an active part of the community prefers Matrix.org over Gitter, we should link Matrix.org as a place to meet us. As the matrix and gitter channels are interconnected. We don't loose any message if a person decides to go for one or another. We use an more universal way of translation to make it easier to provide a link to various platforms. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-30Fix CSP for disqus and Google AnalyticsSheogorath2-6/+5
This commit should fix existing problems with Disqus and Google Analytics enabled in the meta-yaml section of a note. Before this commit they were blocked by the strict CSP. It's still possible to disable the added directives using `addDisqus` and `addGoogleAnalytics` in the `csp` config section. They are enabled by default to prevent breaking changes. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-26Add support for generic OAuth2 providersPedro Ferreira2-4/+9
Signed-off-by: Pedro Ferreira <pedro.ferreira@cern.ch>
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-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-20Remove/update contact detailsSheogorath1-3/+3
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-19It's 2018! :tada:Sheogorath1-1/+1
2018-01-05:sparkles: Implemented dark theme.Edoardo Odorico1-0/+5
Signed-off-by: Edoardo Odorico <edoubuntu@gmail.com>
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-10-31Add mattermost authenticationChristoph Witzany2-4/+9
2017-10-31Fix allowpdfexport handling on error pageSheogorath1-2/+2
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.ejsLiterallie1-5/+5
Dynamic background images need some further work
2017-10-23support Simplified Chinese and rename original zh to Traditional ChineseRwing1-1/+2
2017-10-22Fix MathJax CSP issuesLiterallie3-9/+3
2017-10-22CSP: Add nonce to slide view inline JSLiterallie1-1/+1
2017-10-18Hides empty export sectiongeekyd1-0/+4
2017-10-07Adds color to new note buttongeekyd1-3/+3
2017-06-11Add support of Danish localeWu Cheng-Han1-0/+1
2017-05-31add the ability to set slide theme in slide optionsbutlerx1-0/+4
2017-05-09Fix to implement toggle of TOC in HTML templateWu Cheng-Han1-0/+23
2017-05-07Load statusbar template by string-loaderYukai Huang1-41/+0
2017-04-18Fix indent in views, shouldn't mix tabs with spacesPeter Dave Hello5-20/+20
2017-04-18Use abcjs on cdnjs, cc @jackycutePeter Dave Hello3-0/+3
2017-04-05Update body.ejsIan Dees1-2/+2
2017-04-05Clarify permission languageIan Dees1-3/+3
See https://github.com/hackmdio/hackmd/issues/415
2017-03-28Extract selection update from updateStatusbarYukai Huang1-2/+5
2017-03-21Update to use CDN css for emojify.js when applicableWu Cheng-Han3-3/+3
2017-03-20Add support of Catalan localeWu Cheng-Han1-0/+1
2017-03-20Update to generate front-end constants on server startupWu Cheng-Han1-0/+1
To avoid extra webpacking on changing configs and follow the 12 factor app
2017-03-14Add config option for gitlab api scope and auto adapt gitlab snippet feature ↵Wu Cheng-Han1-4/+4
on it
2017-02-02Fix to use minified CDN file source in mermaidWu Cheng-Han3-3/+3
2017-02-02Update viz.js and mermaid CDN linksWu Cheng-Han3-6/+6
2017-01-21Add link to features on profile dropdownWu Cheng-Han1-0/+1
2017-01-21Fix template partial pathWu Cheng-Han2-14/+14
2017-01-21Refactor templates and rearrange its pathWu Cheng-Han22-243/+247
2017-01-21Revert useless linebreakYukai Huang1-0/+1