some todo plans

This commit is contained in:
Ell 2023-06-25 18:48:50 +02:00
parent 0fc229481d
commit 9df981a068
3 changed files with 7 additions and 0 deletions

1
server/delete.php Normal file
View file

@ -0,0 +1 @@
// TODO only accept deletions if the password matches the deletion password from the upload

View file

@ -0,0 +1,2 @@
// TODO when uploading, generate and send back Guid and store in meta file
// TODO when uploading, also generate and return a deletion password that is stored in meta file

View file

@ -4,6 +4,10 @@ import {JSPSettingsTab} from "./settings-tab";
export default class JustSharePleasePlugin extends Plugin {
// TODO when uploading, store server-returned Guid and deletion password of each file in plugin settings
// TODO when deleting, also allow deleting uploads whose local files have been deleted by querying the settings!
// TODO add a setting for auto-refreshing uploads when saving
// TODO strip frontmatter before uploading? maybe optionally
settings: JSPSettings;
async onload(): Promise<void> {