24 Commits

Author SHA1 Message Date
Andy Gup
e9d09e3b9a v2.7 2015-04-27 18:27:59 -06:00
Andy Gup
8a37042afb v2.6 2015-04-09 17:05:22 -06:00
Andy Gup
aefb5c0b26 refactored lib/edit/ 2015-03-27 17:58:25 -06:00
Andy Gup
725be98506 initial refactor of OfflineFeaturesManager 2014-09-03 15:24:58 -06:00
Matt Driscoll
a44157ffeb jshint files. Some still need some work but I didn't want to break anything. 2014-05-15 16:01:51 -07:00
Javier Abadia
b467e439b5 reworked attachments-editor.html sample 2014-04-28 01:00:55 +02:00
Javier Abadia
33be209b85 refactored reading of files into attachmentStore.js
much simpler and nice!
2014-04-27 22:37:23 +02:00
Javier Abadia
d2e3d13823 now, all attachment URLs are correctly revoked 2014-04-27 22:37:23 +02:00
Javier Abadia
d5c106fa14 first step into refactoring attachmentsStore.js 2014-04-27 22:37:23 +02:00
Javier Abadia
611d509fb0 see local files using createObjectURL()
need to: 
- revoke the URL when deleting the attachment
- update the inmediate pop-up URL
2014-04-27 22:37:23 +02:00
Javier Abadia
f1f8111e50 delete of local attachments implemented 2014-04-27 01:15:07 +02:00
Javier Abadia
4ba10390ba fixed some JSLint warnings 2014-04-26 18:47:29 +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
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
c50559a575 changed properties of stored attachments to mimic return values of queryAttachmentInfos REST API 2014-04-09 18:10:40 +02:00
Javier Abadia
1a0a6c3c2f low level functions in attachmentsStore.js 2014-04-09 18:10:36 +02:00
Javier Abadia
dc7d8ef0eb renamed attachmentStore.js file 2014-04-09 18:10:35 +02:00