This commit is contained in:
2020-04-25 15:15:20 +00:00
parent 3255d0204f
commit d4f04b036e
2 changed files with 3 additions and 9 deletions

View File

@@ -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

View File

@@ -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
});
}