summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* slide example: Add link to slide printing instructionsSheogorath2018-10-071-1/+1
| | | | | | | 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>
* Update yarn.lockSheogorath2018-10-061-5/+93
| | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Merge pull request #942 from SISheogorath/feature/openIDChristoph (Sheogorath) Kern2018-10-068-4/+91
|\ | | | | Add OpenID to CodiMD
| * Add OpenID to CodiMDSheogorath2018-10-058-4/+91
|/ | | | | | | | 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>
* Merge pull request #940 from WilliButz/fix-configurable-pathsChristoph (Sheogorath) Kern2018-10-058-45/+39
|\ | | | | enhance configurabiltiy of paths & make execution path-independent
| * README: add note about configurable pathsWilliButz2018-09-271-13/+12
| | | | | | | | Signed-off-by: WilliButz <wbutz@cyberfnord.de>
| * removing superfluous config parameters for template filesClaudius2018-09-265-22/+11
| | | | | | | | Signed-off-by: Claudius <opensource@amenthes.de>
| * app.js: add missing routes for configurable pathsWilliButz2018-09-261-0/+3
| | | | | | | | Signed-off-by: WilliButz <wbutz@cyberfnord.de>
| * imageRouter/filesystem: make callback path-independentWilliButz2018-09-261-1/+2
| | | | | | | | | | | | | | Images are now properly served when `config.uploadsPath` differs from its default value. Signed-off-by: WilliButz <wbutz@cyberfnord.de>
| * lib/config: use `path.resolve` instead of `path.join`WilliButz2018-09-261-14/+14
| | | | | | | | | | | | | | | | | | | | | | 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>
| * lib/config: add environment variable to set config fileWilliButz2018-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | 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>
| * lib/models/revision.js: make independent of exec-pathWilliButz2018-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #982 from SISheogorath/feature/useNoOpenerChristoph (Sheogorath) Kern2018-10-045-13/+15
|\ \ | | | | | | Add rel="noopener" to target="_blank" links
| * | Add rel="noopener" to target="_blank" linksSheogorath2018-10-045-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #988 from ccoenen/oauth2-docsChristoph (Sheogorath) Kern2018-10-041-0/+9
|\ \ \ | | | | | | | | Oauth2 docs
| * | | details about OAuth2 in general. Fixes #930Claudius Coenen2018-10-041-0/+9
| | | | | | | | | | | | | | | | Signed-off-by: Claudius Coenen <opensource@amenthes.de>
* | | | Merge pull request #981 from SISheogorath/fix/devModeChristoph (Sheogorath) Kern2018-10-041-1/+1
|\ \ \ \ | | | | | | | | | | Add development mode for webpack in package.json
| * | | | Add development mode for webpack in package.jsonSheogorath2018-10-031-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #987 from ccoenen/nextcloud-oauth2Christoph (Sheogorath) Kern2018-10-044-0/+52
|\ \ \ \ | |/ / / |/| / / | |/ / How to use Nextcloud as OAuth2 Provider for CodiMD
| * / How to use Nextcloud as OAuth2 Provider for CodiMDClaudius Coenen2018-10-044-0/+52
|/ / | | | | | | Signed-off-by: Claudius Coenen <opensource@amenthes.de>
* | Update yarn.lockSheogorath2018-10-031-4/+1598
| | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Merge pull request #974 from mcnesium/patch-1Christoph (Sheogorath) Kern2018-10-031-3/+3
|\ \ | | | | | | fix image paths
| * | fix image paths in moved GitLab auth guidemcnesium2018-09-301-3/+3
| | | | | | | | | | | | Signed-off-by: mcnesium <git@mcnesium.com>
* | | Merge pull request #958 from SISheogorath/fix/uwsChristoph (Sheogorath) Kern2018-10-032-2/+6
|\ \ \ | | | | | | | | Replace `uws` with `ws` package
| * | | Replace `uws` with `ws` packageSheogorath2018-09-182-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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>
* | | | Merge pull request #932 from davidmehren/webpack-4Christoph (Sheogorath) Kern2018-10-038-1797/+3480
|\ \ \ \ | | | | | | | | | | Upgrade to Webpack 4
| * | | | Upgrade to Webpack 4 - development configDavid Mehren2018-09-061-7/+13
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Mehren <dmehren1@gmail.com>
| * | | | Upgrade to Webpack 4 - remove baseUrl propertyDavid Mehren2018-09-061-2/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Mehren <dmehren1@gmail.com>
| * | | | Upgrade to Webpack 4 - clean dependenciesDavid Mehren2018-09-062-780/+819
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Mehren <dmehren1@gmail.com>
| * | | | Upgrade to Webpack 4 - fix CSS import orderDavid Mehren2018-09-062-19/+36
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Mehren <dmehren1@gmail.com>
| * | | | Upgrade to Webpack 4 - fix 'export as html' chunkDavid Mehren2018-09-061-5/+14
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Mehren <dmehren1@gmail.com>
| * | | | Upgrade to Webpack 4 - first tryDavid Mehren2018-09-067-1410/+3023
| | | | | | | | | | | | | | | | | | | | Signed-off-by: David Mehren <dmehren1@gmail.com>
* | | | | Merge pull request #968 from SISheogorath/docs/ldap-ADChristoph (Sheogorath) Kern2018-10-031-0/+42
|\ \ \ \ \ | | | | | | | | | | | | Add documentation for an LDAP setup against Active Directory
| * | | | | Add documentation for an LDAP setup against Active DirectorySheogorath2018-09-261-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Update version to 1.2.1Sheogorath2018-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | | | | | Update release notes for 1.2.1Sheogorath2018-10-031-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | | | | | Revert "Remove unused dependency"Sheogorath2018-10-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d2ded08f59a3215931b597795dae1f334ebd9d90. Seems like the package is used for building the sqlite3 integration. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | | | | | Merge pull request #979 from SISheogorath/fix/removeUnusedDependenciesChristoph (Sheogorath) Kern2018-10-031-1/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | Remove unused dependency
| * | | | | | Remove unused dependencySheogorath2018-10-031-1/+0
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Merge pull request #977 from SISheogorath/fix/newExampleChristoph (Sheogorath) Kern2018-10-031-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Replace youtube example video on features page
| * | | | | | Replace youtube example video on features pageSheogorath2018-10-021-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Merge pull request #976 from SISheogorath/feature/newFooterChristoph (Sheogorath) Kern2018-10-031-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Some minor footer improvements
| * | | | | Some minor footer improvementsSheogorath2018-10-011-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | Fix little bug in length limitSheogorath2018-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | | | | Merge pull request #971 from SISheogorath/fix/gitlabWarningChristoph (Sheogorath) Kern2018-09-271-1/+2
|\ \ \ \ \ | | | | | | | | | | | | Set default to `v4`
| * | | | | Set default to `v4`Sheogorath2018-09-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Merge pull request #966 from SISheogorath/fix/documentLengthChristoph (Sheogorath) Kern2018-09-271-1/+9
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | Fix document length limit on post
| * | | | | Fix document length limit on postSheogorath2018-09-261-1/+9
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | Merge pull request #967 from SISheogorath/fix/followChristoph (Sheogorath) Kern2018-09-261-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | Add POEditor to 'follow us' statement
| * | | | Add POEditor to 'follow us' statementSheogorath2018-09-261-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | 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>