summaryrefslogtreecommitdiff
path: root/public/views/shared (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-12-28Fix to sanitize disqus shortnames to remove slashes [Security Issue]Max Wu1-1/+1
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2018-11-23Add some missing translationsSheogorath1-8/+8
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>
2018-11-03removing global site layout vars from individual routers, putting them into ↵Claudius2-32/+32
app.local Signed-off-by: Claudius <opensource@amenthes.de>
2018-10-17Remove Gitter from codebaseSheogorath1-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>
2018-10-05Add OpenID to CodiMDSheogorath1-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>
2018-10-04Add rel="noopener" to target="_blank" linksSheogorath1-1/+1
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-06-24Rebrand HackMD to CodiMDSheogorath1-2/+2
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 Ferreira1-2/+7
Signed-off-by: Pedro Ferreira <pedro.ferreira@cern.ch>
2018-03-25Change config to camel case with backwards compatibilitySheogorath1-1/+1
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-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-20Remove/update contact detailsSheogorath1-3/+3
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2017-11-28Initial support for SAML authenticationNorihito Nakae1-1/+6
2017-10-31Add mattermost authenticationChristoph Witzany1-2/+7
2017-04-18Fix indent in views, shouldn't mix tabs with spacesPeter Dave Hello1-4/+4
2017-01-21Refactor templates and rearrange its pathWu Cheng-Han7-0/+339