This commit is contained in:
@@ -67,14 +67,6 @@ CURRENT TODOs
|
|||||||
@@@@@@@@@@@ ROADMAP STAGE 2:
|
@@@@@@@@@@@ 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
|
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
|
- when added from the image selector drop down box
|
||||||
|
|
||||||
|
|||||||
@@ -839,9 +839,11 @@ export default {
|
|||||||
o.contentType
|
o.contentType
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
|
//attach url
|
||||||
|
//
|
||||||
ret.push({
|
ret.push({
|
||||||
id: o.id,
|
id: o.id,
|
||||||
url: window.$gz.api.downloadUrl(o.id, o.contentType),
|
url: "[ATTACH:" + o.id + "]",
|
||||||
name: o.displayFileName
|
name: o.displayFileName
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user