hedgedoc/backend
Erik Michelson 1c73e99b0a enhancement(note-deletion): allow to keep uploads
This adds support for keeping the uploads attached to a note when
deleting the same note. This is done by a simple checkbox that can be
clicked in the DeletionModal.

To do this, some parts of the note deletion had to be refactored,
especially in the case of the history page. Both the note deletion and
history removal methods used the same modal, which isn't applicable now
anymore. Additionally, there was a bug that the modal checked for
ownership in the frontend before allowing the note deletion. However, in
the context of the history page, the ownership couldn't be evaluated
since the backend API didn't include that information. This is now fixed
as well.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2024-09-18 18:37:39 +02:00
..
docker fix(docker): update docker documentation reference 2024-09-17 01:35:45 +02:00
public fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00
src enhancement(note-deletion): allow to keep uploads 2024-09-18 18:37:39 +02:00
test refactor(media): store filenames, use pre-signed s3/azure URLs, UUIDs 2024-09-12 14:49:17 +02:00
.editorconfig fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00
.env fix: add .env file symlinks 2023-04-13 10:39:17 +02:00
.eslintrc.js chore(eslint): allow PascalCase for imports 2023-12-07 18:46:39 +01:00
.gitignore fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00
.prettierrc.json feat(package): adjust packages to workspaces 2022-12-04 20:59:46 +01:00
.prettierrc.json.license feat(package): adjust packages to workspaces 2022-12-04 20:59:46 +01:00
CHANGELOG.md refactor: remove dropbox, facebook & twitter login 2023-10-07 13:28:37 +02:00
eslint-local-rules.js fix: move eslint-local-rules.js into backend directory 2023-08-26 09:19:53 +02:00
jest-e2e.json fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00
jest-e2e.json.license fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00
nest-cli.json fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00
nest-cli.json.license fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00
package.json fix(types): move and remove unused types 2024-09-13 13:56:02 +02:00
package.json.license fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00
tsconfig.build.json fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00
tsconfig.build.json.license fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00
tsconfig.json fix(backend): allowjs in tsconfig.json 2023-08-13 20:38:53 +02:00
tsconfig.json.license fix(repository): Move backend code into subdirectory 2022-10-30 22:46:42 +01:00