mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 09:16:30 -05:00
1c73e99b0a
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> |
||
---|---|---|
.. | ||
.netlify | ||
cypress | ||
docker | ||
global-styles | ||
locales | ||
public | ||
src | ||
.editorconfig | ||
.env | ||
.env.test | ||
.env.test.license | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierignore.license | ||
.prettierrc.json | ||
.prettierrc.json.license | ||
build.sh | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
cypress.config.ts | ||
jest.config.ts | ||
next-env.d.ts | ||
next-env.d.ts.license | ||
next.config.js | ||
package.json | ||
package.json.license | ||
tsconfig.json | ||
tsconfig.json.license |