| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
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>
|