| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
Add autocomplete for highlight.js languages into codemirror
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Right now we support code highlighting for rust, but it doesn't appear
in autocomplete of codemirror, because codemirror is not aware of it.
This patch lets highlightjs simply tell codemirror, what it supports and
adds this to the autocomplete list.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| |
| |
| |
| | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \
| | |
| | | |
Add `data:` URL to CSP and upgrade helmet
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Seems like the old version of helmet had a problem with `data:`. This
patch upgrades to the latest version and adds the CSP rule to allow
Google Fonts and the offline version of it, to properly include the
fonts and no longer throw ugly error messages at us.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \
| | | |
| | | | |
Remove dead package octicon
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |_|/
|/| | |
Webpack 4 refactor & docs
|
| | |
| | |
| | |
| | | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move html export config to own file.
Delete unnecessary config options.
Use cheap source maps.
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
|/ /
| |
| |
| | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \
| | |
| | | |
Replace font-awesome with fork-awesome
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
Make oauth2 provider name accessible
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Right now the feature exists but is almost not usable since the only way
to configure it is to know that it exists from reading the source code
and add it to config.json. This patch provides all needed changes so it
can be used by everyone including documentation.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \
| | | |
| | | | |
Fix #1001: get only project user is member of (and return max of results)
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
|
|\ \ \ \
| |/ / /
|/| | | |
Fix #986 : Visibility is now transmitted with gitlab V4 api
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
|
|\ \ \
| | | |
| | | | |
Fix maintainer and URL in package.json
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since we have an own URL we should use it in here, since CodiMD and
HackMD are really drifting away from each other.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Well, since I'm currently the maintainer of CodiMD, I should maybe
mentioned in the package.json, just in case someone is willing to
contact me about it.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \
| | | |
| | | | |
Update supported node.js version
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Support includes v9.x, but no v10.x
Signed-off-by: Xaver Maierhofer <xaver.maierhofer@xwissen.info>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \
| | | |
| | | | |
Add OpenID to CodiMD
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| |/ /
|/| | |
enhance configurabiltiy of paths & make execution path-independent
|
| | |
| | |
| | |
| | | |
Signed-off-by: WilliButz <wbutz@cyberfnord.de>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Claudius <opensource@amenthes.de>
|
| | |
| | |
| | |
| | | |
Signed-off-by: WilliButz <wbutz@cyberfnord.de>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Images are now properly served when `config.uploadsPath`
differs from its default value.
Signed-off-by: WilliButz <wbutz@cyberfnord.de>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
While paths like `tmpPath` could previously be configured,
they were all interpreted relative to `appRootPath` because
of `path.join`.
Now the configurable paths can be canonical and therefore
independent of the `appRootPath`.
Signed-off-by: WilliButz <wbutz@cyberfnord.de>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously it was assumed that `config.json` would be placed in
the same directory as the rest of CodiMD without any optional override.
This allows to override the path to the `config.json` by setting
`CMD_CONFIG_FILE` to the canonical path of the desired config file.
Signed-off-by: WilliButz <wbutz@cyberfnord.de>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously calling `app.js` from another directory than
the base directory of CodiMD would result in an error being
thrown because `lib/workers/dmpWorker.js` could not be found.
This change makes the function call independent of the path CodiMD
is started from.
Signed-off-by: WilliButz <wbutz@cyberfnord.de>
|
|\ \ \
| | | |
| | | | |
Add rel="noopener" to target="_blank" links
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
Oauth2 docs
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Claudius Coenen <opensource@amenthes.de>
|
|\ \ \ \
| | | | |
| | | | | |
Add development mode for webpack in package.json
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Seems like we have to explicitly tell the new webpack version that we
want to use the development environment. This provides us with source
maps and similar.
This patch adds the commandline option in our scripts in package.json
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \
| |/ / /
|/| / /
| |/ / |
How to use Nextcloud as OAuth2 Provider for CodiMD
|
|/ /
| |
| |
| | |
Signed-off-by: Claudius Coenen <opensource@amenthes.de>
|
| |
| |
| |
| | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \
| | |
| | | |
fix image paths
|
| | |
| | |
| | |
| | | |
Signed-off-by: mcnesium <git@mcnesium.com>
|