HedgeDoc - Ideas grow better together
Find a file
David Mehren a2e8c3d031
Move publicID creation to Note.create
Before this commit, `Note.create()` did not return a complete object,
as the `publicId` property was missing.
This adds the generation of the property to the `create` method and
moves the actual generation code from the `NotesService`
to a utility method.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-19 22:19:04 +02:00
.github
.idea/copyright
.reuse
docs chore(plantuml): Add publicId to note 2021-05-17 20:27:43 +02:00
LICENSES
public
src Move publicID creation to Note.create 2021-05-19 22:19:04 +02:00
test chore(test): Change test to work with publicId 2021-05-17 20:27:44 +02:00
types/express
.editorconfig
.env.example
.eslintrc.js ESLint: Add custom rule 'correct-logger-context' 2021-05-09 22:18:38 +02:00
.gitignore
.mailmap
.mailmap.license
.prettierrc
.prettierrc.license
AUTHORS
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
eslint-local-rules.js ESLint: Add custom rule 'correct-logger-context' 2021-05-09 22:18:38 +02:00
jest-e2e.json
jest-e2e.json.license
LICENSE
nest-cli.json
nest-cli.json.license
package.json Merge pull request #1284 from hedgedoc/publicId 2021-05-17 20:33:11 +02: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
tsconfig.test.json
tsconfig.test.json.license
yarn.lock Merge pull request #1284 from hedgedoc/publicId 2021-05-17 20:33:11 +02: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.