hedgedoc/src
David Mehren 16ed12bfd7
MediaController: Double-check that req.user is defined
TokenAuthGuard ensures that req.user is always
defined, but thanks to strict mode we have to check again.

In the future, we may add a custom Request type and
a custom param decorator to centralize the check.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-09 20:59:31 +02:00
..
api MediaController: Double-check that req.user is defined 2021-05-09 20:59:31 +02:00
auth AuthService: Fix type of toAuthTokenWithSecretDto 2021-05-09 20:59:31 +02:00
authors Change year in copyright to 2021 2021-01-06 22:10:19 +01:00
config Safely parse numbers from environment vars 2021-05-09 20:59:30 +02:00
errors Errors: Add ForbiddenIdError 2021-02-27 23:04:52 +01:00
frontend-config FrontendConfig DTOs: Make properties consistently optional 2021-05-09 20:59:31 +02:00
groups Entities: Add onDelete CASCADE to entities 2021-04-19 23:04:09 +02:00
history HistoryService: Throw NotInDBError on empty DB result 2021-05-09 20:59:31 +02:00
logger ConsoleLoggerService: Fix type of context properties 2021-05-09 20:59:31 +02:00
media MediaService: Add removeNoteFromMediaUpload method 2021-04-22 23:13:13 +02:00
monitoring Utils: Extract getServerVersionFromPackageJson into own file 2021-03-21 19:58:37 +01:00
notes Merge pull request #1130 from hedgedoc/history/transaction 2021-05-02 18:15:05 +02:00
permissions Merge pull request #1039 from hedgedoc/fix/permissionsCreationAndFinding 2021-04-18 22:45:24 +02:00
revisions RevisionsService: Throw NotInDBError on empty DB result 2021-05-09 20:59:30 +02:00
users UsersService: Remove null from toUserDto return type 2021-05-09 20:59:31 +02:00
utils Utils: Fix getServerVersionFromPackageJson 2021-04-15 18:39:41 +02:00
app.module.ts PrivateApi: Serve under /api/private 2021-04-22 23:34:51 +02:00
main.ts Handle config initialisation error on app bootstrap 2021-05-09 20:59:31 +02:00
seed.ts [Project] Add seed script 2021-04-29 14:31:07 +02:00