135 Commits

Author SHA1 Message Date
Andy Gup
b60dc5bae7 test for library support validation 2014-05-23 16:43:06 -06:00
Andy Gup
43f9c134ae minor tweaks. 2014-05-23 16:22:31 -06:00
Andy Gup
9cc4414f88 tweaked get tiles test 2014-05-23 16:05:59 -06:00
Andy Gup
4b5ae6121e Validate setting isDBWriteable to false 2014-05-23 15:55:26 -06:00
Andy Gup
bb053dbfa7 test get object size 2014-05-23 15:25:35 -06:00
Andy Gup
706e3eaa78 test get db size 2014-05-23 15:25:09 -06:00
Andy Gup
e2047a6d02 test getInMemTiles 2014-05-23 14:44:22 -06:00
Andy Gup
09f313ed4e validate buffer2Base64 2014-05-23 14:35:40 -06:00
Andy Gup
714501179e add test to validate base64ArrayBuffer 2014-05-23 13:54:29 -06:00
Andy Gup
19cc918260 added test to validate bytes2MBs 2014-05-23 13:51:12 -06:00
Andy Gup
a96170673e added test to validate getFilePath 2014-05-23 13:48:36 -06:00
Andy Gup
acc456459a more tests 2014-05-23 13:46:09 -06:00
Andy Gup
2ed53e833a added test to retrieve init extent from conf.cdi 2014-05-23 12:32:06 -06:00
Andy Gup
7a978ef385 minor code comment fix 2014-05-23 11:10:30 -06:00
Andy Gup
2e156c2f85 parse bundle test 2014-05-23 09:56:29 -06:00
Andy Gup
6c599c4580 initial spec 2014-05-22 17:11:33 -06:00
Andy Gup
8ee9b1cc60 added modules and zipParser() 2014-05-22 14:24:02 -06:00
Andy Gup
5dbeef3193 empty .js file for the tpklayer spec 2014-05-22 14:18:19 -06:00
Andy Gup
d62b828196 1st pass at tpklayer spec 2014-05-22 14:17:54 -06:00
Javier Abadia
a201620e26 fixed offline attachments unit tests (proxy thing) 2014-04-29 00:13:19 +02: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
f1f8111e50 delete of local attachments implemented 2014-04-27 01:15:07 +02:00
Javier Abadia
b58ba99d8a delete attachments of those features that are deleted offline 2014-04-27 00:08:48 +02:00
Javier Abadia
d681022d0a refactored attachmentsStore into offlineFeaturesManager (and not in each layer) 2014-04-15 14:09:15 +02:00
Javier Abadia
53da2e734a added getAllAttachments() method 2014-04-15 14:08:04 +02:00
Javier Abadia
12be0cd6d6 now we can upload attachments and delete them from indexeddb afterwards 2014-04-15 12:30:30 +02:00
Javier Abadia
d92acc87b3 implemented delete() method 2014-04-15 12:01:07 +02:00
Javier Abadia
9470f24990 now, uploading attachments works (not complete) 2014-04-15 11:46:38 +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
fda270c218 almost working for uploading new attachments 2014-04-14 18:31:29 +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
20578f3bf3 more unit testing 2014-04-14 13:38:58 +02:00
Javier Abadia
f57f22dd7a keep working in attachment unit tests 2014-04-14 12:11:36 +02:00
Javier Abadia
6638bd9a0f Merge branch 'jabadia-attachments' of github.com:jabadia/offline-editor-js into jabadia-attachments 2014-04-14 11:25:22 +02:00
Javier Abadia
701789f6ad moved attachments testing into separate test suite 2014-04-10 23:10:13 +02:00
Javier Abadia
9ca50f6f00 started writing unit tests for attachment management 2014-04-10 22:48:46 +02:00
Javier Abadia
d93ff253da new method to delete all attachments of a feature 2014-04-10 22:48:46 +02:00
Javier Abadia
74d6ec5563 store featurelayerurl along with attachment, so that we can keep attachments for different feature layers in the same indexeddb objectstore 2014-04-10 22:48:45 +02:00
Javier Abadia
a1225faaac noticed a potential problem if we have multiple input nodes or multiple files 2014-04-10 22:48:45 +02:00
Javier Abadia
e13b12904d store attachments in local storage
query them when showing the popup (can't display them though)
2014-04-10 22:48:45 +02:00
Javier Abadia
1de689bf3d delete all attachments after testing 2014-04-10 22:48:44 +02:00
Javier Abadia
7795fe0235 changed properties of stored attachments to mimic return values of queryAttachmentInfos REST API 2014-04-10 22:48:44 +02:00
Javier Abadia
6569b8353e unit testing fo attachmentsStore.js 2014-04-10 22:48:44 +02:00
Javier Abadia
a36aa531a3 started writing unit tests for attachment management 2014-04-10 00:20:52 +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