hedgedoc/src
David Mehren 9e5d95657d
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 21:19:08 +02:00
..
api Format with Prettier 2.3 2021-05-15 21:13:44 +02:00
auth refactor: Remove randomString function 2021-05-16 22:41:01 +02:00
authors Change year in copyright to 2021 2021-01-06 21:36:07 +01:00
config Format with Prettier 2.3 2021-05-15 21:13:44 +02:00
errors Errors: Add ForbiddenIdError 2021-02-20 22:16:50 +01:00
frontend-config Format with Prettier 2.3 2021-05-15 21:13:44 +02:00
groups GroupsService: Remove test obsoleted by strict mode 2021-04-29 21:53:05 +02:00
history Format with Prettier 2.3 2021-05-15 21:13:44 +02:00
logger ConsoleLoggerService: Fix type of context properties 2021-04-29 16:10:46 +02:00
media Format with Prettier 2.3 2021-05-15 21:13:44 +02:00
monitoring Docs: Add ApiProperty to all Dtos 2021-03-19 12:08:34 +01:00
notes Move publicID creation to Note.create 2021-05-19 21:19:08 +02:00
permissions Format with Prettier 2.3 2021-05-15 21:13:44 +02:00
revisions RevisionsService: Throw NotInDBError on empty DB result 2021-04-29 15:03:44 +02:00
users UsersService: Remove test obsoleted by strict mode 2021-04-29 21:52:20 +02:00
utils Utils: Fix getServerVersionFromPackageJson 2021-04-15 18:15:25 +02:00
app.module.ts PrivateApi: Serve under /api/private 2021-04-02 17:33:42 +02:00
main.ts Handle config initialisation error on app bootstrap 2021-04-29 16:22:01 +02:00
seed.ts Refactor(note): Remove shortid from note 2021-05-11 22:37:52 +02:00