| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
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>
|
|\
| |
| | |
Add indonesian language to CodiMD
|
|/
|
|
|
|
| |
Big thanks @filosofikode for the translation work!
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|
|
|
| |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| |
|
|\
| |
| | |
Extend migration error handling
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current error handling seems to conflict with some sequelize
versions. So we add a second version of it in our excemptions.
I'm not happy about it, but when it helps to prevent further migration
breaking, it's worth it.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \
| | |
| | | |
Add an auth provider guide for Mattermost
|
| | |
| | |
| | |
| | | |
Signed-off-by: Ondřej Slabý <kron258@gmail.com>
|
|\ \ \
| | | |
| | | | |
Switch to own, fixed, lz-string version
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \
| |_|/
|/| | |
Remove tests using node version 7
|
|/ /
| |
| |
| |
| |
| | |
Since node 7 is EOL and may breaks some new builds, we want to get rid of it. But having tests in version 8 would be nice, right? So here we go.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \
| |/
|/| |
Fix possible weird objects as email
|
| |
| |
| |
| |
| |
| |
| | |
It seems like some providers return strange types for emails which cause
problems. We default to something that is definitely a string.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \
| | |
| | | |
BUGFIX: wrong version check for gitlab api
|
|/ /
| |
| |
| | |
Signed-off-by: Alexander Hesse <alexander.hesse@sandstorm-media.de>
|
|\ \
| | |
| | | |
Add Cloudron as an installation method
|
|/ /
| |
| |
| |
| |
| | |
Fixes #923
Signed-off-by: Girish Ramakrishnan <girish@cloudron.io>
|
|\ \
| | |
| | | |
Update to replace Twitter and Facebook to Riot
|
|/ /
| |
| | |
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
|\ \
| | |
| | | |
Add possibility to choose between version v3 or v4 for the gitlab api.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Apart from the uri versioning, one big change is the snippet visibility post data (visibility_level -> visibility)
Default gitlab api version to v4
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
|
|\ \ \
| |/ /
|/| | |
Add missing catch blocks for migration from 1.1.1 to 1.2.0
|
| | |
| | |
| | |
| | | |
Signed-off-by: Hugo Caloto <hcaloto@gmail.com>
|
|\ \ \
| | | |
| | | | |
Some minor improvements for LZString handling
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This does some more in depth check on the error message and minimizes
the log noise that is caused by LZString.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
Right now we still see a lot of LZString parsing errors in the logs.
They probably come from the user history. We should minimize the number
by add the basic length check there as well.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \ \
| | | |
| | | | |
Support 'host' & 'path' config options
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Miranda Kastemaa <miranda@foldplop.com>
|
|/ /
| |
| |
| | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| |
| |
| |
| | |
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \
| | |
| | | |
Upload images to the filesystem by default, rather than to imgur
|
| |/
| |
| |
| | |
Signed-off-by: Maxence Ahlouche <maxence.ahlouche@gmail.com>
|
|\ \
| | |
| | | |
Fix some false titles
|
| |/
| |
| | |
Signed-off-by: Alexander Wellbrock <a.wellbrock@mailbox.org>
|
|/ |
|
|\
| |
| | |
Replaces script src hash for speaker note to CSP directives
|
|/
|
|
| |
Signed-off-by: Max Wu <jackymaxj@gmail.com>
|
|\
| |
| | |
Refactor generation of ToC
|
| |
| |
| |
| |
| |
| |
| |
| | |
The ToC generated broken HTML with unclosed `<li>` tags. This got fixed
as well as some minor optimisation and adding list elements for the
subentries so the elements appear in the ToC while scrolling.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| |
| |
| |
| |
| |
| |
| | |
h6 headers are used for tags in CodiMD. So we should ignore them for the
ToC generation.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This replaces the existing iterative implementation of the ToC
generation with an recursive one.
This also solves the problem of skipped headers which causes wrong
leveling of them.
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
|
|\ \
| | |
| | | |
Fixing content types in status router
|