| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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>
|
|\ \ \
| | | |
| | | | |
Replace `uws` with `ws` package
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`uws` was deprecated by its maintainer and starts to cause more and more
problems and issue reports. So it's time to replace it and use a
maintained project instead. Lucky us, `uws` and `ws` can be used in an
identical way, without problems. To provide better performance, we
install the optional packages as well.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \
| | | | |
| | | | | |
Upgrade to Webpack 4
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Add documentation for an LDAP setup against Active Directory
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Since our documentation on our LDAP configs is quite small, I add this
example for LDAP in an Active Directory environment.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This reverts commit d2ded08f59a3215931b597795dae1f334ebd9d90.
Seems like the package is used for building the sqlite3 integration.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove unused dependency
|
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This dependency where installed, but it seems like they were never used.
Seems like it's a remaining piece from the the prototyping phase of the
project.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Replace youtube example video on features page
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Since the youtube video on our feature page seems to have vanished, this
patch replaces it with an video of the blender foundation
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Some minor footer improvements
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Removing copyrigt sign since we are not copyrighting things.
Changing hackmd.io to codimd.org since HackMD is more and more dividing
from CodiMD and may brings up wrong expectations.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Set default to `v4`
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Seems like we didn't fix the problem with the last patch. This should
finally fix it.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
Fix document length limit on post
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We recently introduced a new way to create notes using a post requeest
to the `/new` endpoint. This is not limited in size, other than pasting
a note in the editor. This patch should enforce this limit also on this
way.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Add POEditor to 'follow us' statement
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We broke the follow us before by removing Facebook and Twitter. Adding
POEditor should fix it and help to attract new translators.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\| | |
| | | |
| | | | |
Omit unneeded warning if no gitlab is configured
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
This patch should fix the unneeded warning of the wrong API version,
when gitlab isn't configured at all.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \
| | | |
| | | | |
Fix server crash on PDF creation
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`markdown-pdf` seems to fail to provide the PDFs on tmpfs. This leads
crashing codimd which expects the file to be there. This patch should
add some proper error handling when expectation and reality don't fit
together.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|