HedgeDoc - Ideas grow better together
Find a file
David Mehren 79065b8d3f
Media E2E tests: Add error handling for upload cleanup
Previously, `fs.rmdir` was called multiple times on the same path,
even when the path was already deleted.
This causes test failures in Node 16.

This commit extracts the cleanup code into a utility function
and ensures that no error is thrown when the given path is already deleted.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-22 21:29:23 +02:00
.github GithubWorkflow: Removed build on Node 10 2021-04-20 11:29:20 +02:00
.idea/copyright fixed copyright template for idea 2021-01-09 22:47:17 +01:00
.reuse Add issue config to add external links to the community forum 2021-01-30 20:38:12 +01:00
docs Update dependency mkdocs-material to v7.1.2 2021-04-18 22:14:30 +00:00
LICENSES Add license headers 2021-01-06 14:07:34 +01:00
src Entities: Add onDelete CASCADE to entities 2021-03-11 15:03:23 +01:00
test Media E2E tests: Add error handling for upload cleanup 2021-04-22 21:29:23 +02:00
types/express Add custom express types 2021-02-23 21:45:36 +01:00
.editorconfig Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
.env.example Config: Fix .env.example file 2021-02-14 17:37:05 +01:00
.eslintrc.js ESLint: Override config for tests 2021-04-12 17:02:47 +02:00
.gitignore Git: Ignore test_uploads folder 2021-03-31 22:59:47 +02:00
.mailmap Import meta-files 2022-01-23 22:02:58 +01:00
.mailmap.license Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
.prettierrc Use default NestJS lint config 2020-07-24 21:47:41 +02:00
.prettierrc.license Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
AUTHORS Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
CHANGELOG.md Update CHANGELOG.md to point to releases page 2021-04-08 17:00:50 +02:00
CODE_OF_CONDUCT.md Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
CONTRIBUTING.md Docs: Emphasize the difference between branches 2021-01-30 18:37:45 +01:00
jest-e2e.json E2EConfig: Remove maxConcurrency 2021-03-31 23:26:38 +02:00
jest-e2e.json.license Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
LICENSE Import meta-files 2022-01-23 22:02:58 +01:00
nest-cli.json Swagger: Enable comment parsing 2021-01-25 22:20:54 +01:00
nest-cli.json.license Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
package.json Update dependency ts-loader to v9 2021-04-19 22:32:09 +00:00
package.json.license Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
README.md Explicitly state that 1.x is stable 2021-04-17 15:17:44 +02:00
renovate.json renovatebot: Configure renovatebot to update 1.x and 2.x branches 2021-02-02 22:16:33 +01:00
renovate.json.license Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
SECURITY.md Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
tsconfig.build.json Add empty NestJS application 2020-07-21 21:24:56 +02:00
tsconfig.build.json.license Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
tsconfig.json Fix compilation with ts-node 2021-03-05 00:37:35 +01:00
tsconfig.json.license Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
yarn.lock Update dependency ts-loader to v9 2021-04-19 22:32:09 +00:00
yarn.lock.license Change year in copyright to 2021 2021-01-06 21:36:07 +01:00

HedgeDoc

#HedgeDoc on matrix.org version POEditor Mastodon Twitter REUSE Compliance Check Nest.JS CI codecov

HedgeDoc lets you create real-time collaborative markdown notes.

Getting Started

State of the project

HedgeDoc 1.x is stable and used around the world, but the codebase has grown over time, making it hard to add new features.
We are currently working on HedgeDoc 2, a complete rewrite of HedgeDoc. Please note the following:

  • This branch contains the latest development code and does not implement all features yet. If you are looking for the 1.x source code, have a look at the master branch.
  • HedgeDoc 2 will be split in two components: the backend (this repo) and the frontend in the react-client repo.
  • The 1.x release is maintenance-only. We do not accept feature requests or PRs for this release anymore and may choose to close non-critical bug reports, if the bug will be non-existent in 2.0.

Contributions

We welcome contributions!
Have a look at our contribution docs to find out how you can help. If you want to contribute to HedgeDoc 2, please join our development chat.

License

Licensed under AGPLv3. For our list of contributors, see AUTHORS.

The license does not include the HedgeDoc logo, whose terms of usage can be found in the github repository.