diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 97424294..696390c2 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -67,14 +67,6 @@ CURRENT TODOs @@@@@@@@@@@ ROADMAP STAGE 2: -todo: attachment dates fucked, all same date and time?! - - Likely best solution is to use lastmodified sent as a collection separately from the file as a form property like notes etc and if no last modified (possible on some clients) - then just use Now timestamp instead - - it's not sent, I need to either do somethign client side to include it https://stackoverflow.com/questions/8285733/how-to-get-the-last-modified-date-of-the-uploaded-file - - or, maybe just set it to the uploaded date and be done with it - - Or maybe two dates in meta data, last modified date and attached date? (although the event log kind of gets that already) - (ApiUploadProcessor at server line 105 is where the date would be set if it could read it but apparently that's not a thing, I can see it at the client but the server never gets it) - todo: image.jpg wierdness, seemed like it's putting the whole download url in wiki with the token, not just the proper attachment url - when added from the image selector drop down box diff --git a/ayanova/src/components/wiki-control.vue b/ayanova/src/components/wiki-control.vue index e1552a6f..20d9a432 100644 --- a/ayanova/src/components/wiki-control.vue +++ b/ayanova/src/components/wiki-control.vue @@ -839,9 +839,11 @@ export default { o.contentType ) ) { + //attach url + //![]([ATTACH:4]) ret.push({ id: o.id, - url: window.$gz.api.downloadUrl(o.id, o.contentType), + url: "[ATTACH:" + o.id + "]", name: o.displayFileName }); }