1
0
Fork 0
mirror of https://github.com/hedgedoc/hedgedoc.git synced 2025-03-28 17:33:26 +00:00
HedgeDoc - Ideas grow better together
Find a file
Philip Molares 4ad7ad368c feat: add error-mapping
The ErrorExceptionMapping class maps internal error to nestjs's appropriate HttpException.
The object returned by those HttpExceptions is now changed to include the name of the intern error code and error message instead of statusCode and error message as is default. This makes it possible to more easily programmatically distinguish between two errors that map to the same HttpException and only differ in the error message.
The statusCode was unnecessary, because any user of the api gets this information already by which HttpException was used.

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-02-07 00:08:41 +01:00
.github
.idea/copyright
.reuse
.yarn
docs chore(deps): update dependency mkdocs-material to v8.1.10 2022-02-06 12:14:58 +00:00
LICENSES
public
src feat: add error-mapping 2022-02-07 00:08:41 +01:00
test Replace fs.rmdir recursive by fs.rm recursive 2022-01-31 08:55:42 +01:00
.editorconfig
.env.example
.eslintrc.js
.gitignore
.mailmap
.mailmap.license
.prettierrc
.prettierrc.license
.yarnrc.yml
.yarnrc.yml.license
AUTHORS
CHANGELOG.md
CODE_OF_CONDUCT.md
codecov.yml
CONTRIBUTING.md
eslint-local-rules.js
jest-e2e.json
jest-e2e.json.license
LICENSE
nest-cli.json
nest-cli.json.license
package.json chore(deps): update dependency jest to v27.5.0 2022-02-05 12:27:24 +01:00
package.json.license
README.md
renovate.json
renovate.json.license
SECURITY.md
tsconfig.build.json
tsconfig.build.json.license
tsconfig.json
tsconfig.json.license
yarn.lock chore(deps): update dependency jest to v27.5.0 2022-02-05 12:27:24 +01:00
yarn.lock.license

HedgeDoc Logo

#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.