16 Commits

Author SHA1 Message Date
Andy Gup
e9d09e3b9a v2.7 2015-04-27 18:27:59 -06:00
Javier Abadia
afaa82d0d2 check for blob url in the locally stored attachments 2014-04-27 22:37:24 +02:00
Javier Abadia
9eb96ccd98 need to test with real attachment files now 2014-04-27 22:37:23 +02:00
Javier Abadia
53da2e734a added getAllAttachments() method 2014-04-15 14:08:04 +02:00
Javier Abadia
d92acc87b3 implemented delete() method 2014-04-15 12:01:07 +02:00
Javier Abadia
363396faea fixed getAttachmentsByFeatureLayer() to support negative featureIds
fixed replaceFeatureId() method to allow changes to be really written
2014-04-15 11:45:09 +02:00
Javier Abadia
db7f2b1f45 add getAttachmentsByFeatureLayer() method to attachmentsStore 2014-04-14 18:00:04 +02:00
Javier Abadia
0f76800d34 allow time for changes to persist 2014-04-14 17:42:12 +02:00
Javier Abadia
25d427faaf added replaceFeatureId() method to low level attachmentsStore module 2014-04-14 17:34:41 +02:00
Javier Abadia
0d66b7e4c9 new method to delete all attachments of a feature 2014-04-09 23:19:23 +02:00
Javier Abadia
d6b6af7c0b store featurelayerurl along with attachment, so that we can keep attachments for different feature layers in the same indexeddb objectstore 2014-04-09 18:10:44 +02:00
Javier Abadia
3f8273be9e noticed a potential problem if we have multiple input nodes or multiple files 2014-04-09 18:10:43 +02:00
Javier Abadia
989de0688d store attachments in local storage
query them when showing the popup (can't display them though)
2014-04-09 18:10:42 +02:00
Javier Abadia
f0f50a354e delete all attachments after testing 2014-04-09 18:10:41 +02:00
Javier Abadia
c50559a575 changed properties of stored attachments to mimic return values of queryAttachmentInfos REST API 2014-04-09 18:10:40 +02:00
Javier Abadia
c650761c7f unit testing fo attachmentsStore.js 2014-04-09 18:10:38 +02:00