| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Add a configuration setting to "hard"-disable creation of notes as
set by the configuration value. This defaults to `['robots.txt',
'favicon.ico']`, because these files are often accidentally created
by bots and browsers.
This commit fixes #1052.
Signed-off-by: Daan Sprenkels <hello@dsprenkels.com>
|
|\
| |
| | |
Add download action to published notes
|
| |
| |
| |
| | |
Signed-off-by: Alex Garcia <alexsebastian.garcia@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Alex Garcia <alexsebastian.garcia@gmail.com>
|
|\ \
| | |
| | | |
Enforce disabled index for static assets
|
|/ /
| |
| |
| |
| |
| |
| | |
ExpressJS still does allow serving index.html files. This change
disables that permanently.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \
| | |
| | | |
Add documentation about editor modes in features page
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Codemirror provides various modes via keymapping. These are already
available by a menu in the interface. But they aren't mentioned
anywhere.
This patch provides some documentation about the editor modes and their
implications. Since they are a feature, the documentation is done on the
features page.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \
| | | |
| | | | |
Add an etherpad migration guide
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In this guide I share how a migration from etherpad to codimd can
be done. I am not completely sure if the script that is included is
completely error-free. Readers/reviewers should be aware that there
may be bugs.may be bugs.
Signed-off-by: Daan Sprenkels <hello@dsprenkels.com>
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix wrong reading from commit
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Right now we use a substr after reading the commit. That's definitely
wrong and leads to wrong commit hashes since the first 5 chars are
missing.
This patch removes the substr usage here and this way fixes the
generated links.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Remove the xss library from webpack
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We can load the xss functions directly from the library instead of
loading them through the expose loader of webpack, this should simplify
the setup and maybe even improve speed a bit.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Use OS based tmp dir
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We should use the official OS temp directory instead of an own one, to
not run into conflicts. Also various dependencies already use the OS
temp directory, which makes it pointless to use a different for our
internal purposes then. This commit provides the changes needed to use
the OS tmp directory by default.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | / / /
| | |/ / /
| |/| | | |
Add full version string (and no AGPL violation detection)
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently we only provide the version from `package.json`. This means
that during updates of instances, e.g. the demo instance, which runs
latest master instead of a stable release, changes are not reflected to
the webclient.
This patch adds a fullversion string that contains the current commit
and this way makes that clients are notified about changes.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \
| | | | |
| | | | | |
Fix menu when gitlab is enabled
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
Upgrade some package versions
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`npm audit` reports a ton of issues on CodiMD. Most of them are minor
issues, but these are still things that should be fixed.
This changes were created by running `npm audit fix`.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Again: Replace emoji-plugin regex
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The Regex introduced in the last commit[1], was already working quite
good. But still resulted in false positives for all URL that contained a
second `:`.
To fix this once and for all, we craft a simple, but long regex based on
all emoji names and use this to match them.
We could probably optimize it, but that should also be something the
regex engine itself can and should do.
[1]: 7e45533c75a3697c916e52e5f4ddff42a38bd3d5 (in this source tree)
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
removing global site layout vars from individual routers
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
app.local
Signed-off-by: Claudius <opensource@amenthes.de>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
add option reset in bin/manage_users
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Erona <erona@loli.bz>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Erona <erona@loli.bz>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Erona <erona@loli.bz>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Erona <erona@loli.bz>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Erona <erona@loli.bz>
|
| | |/ / /
| |/| | |
| | | | |
| | | | | |
Signed-off-by: Erona <erona@loli.bz>
|
|\ \ \ \ \
| |/ / / /
|/| / / /
| |/ / / |
Fix emoji regex
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The old regex, adapted from the other plugins, was a bit too open for
matching. This leads to matching something like: `This is a sentence:
[And something with a: in it.]()` which doesn't become a link anymore.
Because the match is: ` [And something with a`.
This patch provides a fix for the regex to only match non-space string
within the `:`'s.
References:
- Introducing commit:
https://github.com/hackmdio/codimd/commit/2063eb8bdf9c0537e9fcfadd7f587658c72bd281
- Inspirational source of the original RegEx:
https://github.com/hackmdio/codimd/blob/2063eb8bdf9c0537e9fcfadd7f587658c72bd281/public/js/extra.js#L1095
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| | | |
|
| |/
|/| |
|
|\ \
| | |
| | | |
slide example: Add link to slide printing instructions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The printing instructions seem to not be really clear. Linking the
reveal.js offical docs should help.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \
| | | |
| | | | |
Fix not rendered autocomplete emojis
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently we have some emojis that are autocompleted but won't show up
in the resulting document.
This patch adds all emojis that are pushed to Codemirror and applies
them to the markdown rendering process, so they become usable.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \ \
| |_|_|/
|/| | | |
Webpack: Cleanup common config
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: David Mehren <dmehren1@gmail.com>
|
|\ \ \
| | | |
| | | | |
Remove Gitter from codebase
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
Fix #1016: webpack include defect for scripts and header files.
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: MartB <mart.b@outlook.de>
|