254 Commits

Author SHA1 Message Date
Javier Abadia
742f641ff8 test for graphic objectids in local layer 2014-02-01 16:28:01 +01:00
Javier Abadia
46370e16e8 some tests pending 2014-01-31 01:27:29 +01:00
Javier Abadia
ca3a0fe806 good progress in unit testing 2014-01-31 01:00:01 +01:00
Javier Abadia
842f35a2b1 unit testing for offlineFeaturesManager 2014-01-30 18:26:46 +01:00
Andy
0393decbaa Merge pull request #60 from jabadia/jabadia-new-sample
bug that made the app fail when reloading the app with pending edits
2014-01-30 08:56:53 -08:00
Javier Abadia
5e4589e2d3 cleaner code 2014-01-30 16:53:13 +01:00
Javier Abadia
2eadaae362 better feedback for replayStoredEdits() 2014-01-30 16:40:47 +01:00
Javier Abadia
5f82c3f514 bug that made the app fail when reloading the app with pending edits 2014-01-30 15:09:59 +01:00
Andy
5fc3f2f997 Merge pull request #58 from jabadia/jabadia-new-sample
fixed the local updating of graphics for offline edits... now working!
2014-01-29 14:54:54 -08:00
Javier Abadia
fcfde60396 fixed the local updating of graphics for offline edits... now working! 2014-01-29 18:32:51 +01:00
Javier Abadía
ea186f3fc1 Merge pull request #57 from jabadia/jabadia-devel
small typo fixes in offline tiles sample
2014-01-29 00:53:17 -08:00
Javier Abadia
f45c190dc7 small typo 2014-01-29 09:52:12 +01:00
Javier Abadia
64f8db149b trying to empty .files attribute after loading one file, so that repeated loading of the same file works (right now, the 'change' event is not fired, because if the file name is the same) 2014-01-29 09:52:11 +01:00
Javier Abadía
29968879ec Merge pull request #56 from jabadia/jabadia-new-sample
fix bug reported by Andy in getReadableEdit()
2014-01-29 00:50:20 -08:00
Javier Abadia
eb21ab750c fix bug reported by Andy
added new task in the ISSUES.md
2014-01-29 09:42:03 +01:00
Andy
399cd86ab9 Merge pull request #55 from jabadia/jabadia-new-sample
jabadia new sample and massive refactoring of offline features functionality
2014-01-28 22:53:39 -08:00
Javier Abadia
9bfd204a98 new issue detected 2014-01-28 23:20:40 +01:00
Javier Abadia
d5d118df0b connectivity indicator 2014-01-28 23:20:40 +01:00
Javier Abadia
09c59f8595 renamed offlineFeatureService to offlineFeaturesManager 2014-01-28 23:20:40 +01:00
Javier Abadia
6ca3dd28ee still some issues pending 2014-01-28 23:20:40 +01:00
Javier Abadia
0bbf9ca83a take care of updates for features added offline (replace negative tmp id by final id)
still has the problem with the Editor that removes the graphic from the layer after the update
2014-01-28 23:20:39 +01:00
Javier Abadia
47136fb7c5 better name for loader div that hides the FOUC (flash of unformatted content) before parser.parse() does it's job 2014-01-28 23:20:39 +01:00
Javier Abadia
4c78211262 this apparently innocent attribute made the parser.parse() call fail and dojo didn't apply layout to widgets 2014-01-28 23:20:39 +01:00
Javier Abadia
f06607467a better handling of long tests 2014-01-28 23:20:39 +01:00
Javier Abadia
0f35c55f7b getEditsStoreSizeBytes() works also when the localStorage is not initialized (our keys don't exist) 2014-01-28 23:20:39 +01:00
Javier Abadia
1f2c10e0ea prevent attributeEditor to appear after replaying the stored edits
be careful with updates for features added offline (replace tmp id by final id), (ongoing)
2014-01-28 23:20:39 +01:00
Javier Abadia
36651ee221 check .pushEdit() for success or failure 2014-01-28 23:20:38 +01:00
Javier Abadia
35ca131086 controlling QuotaError when localStorage is full 2014-01-28 23:20:38 +01:00
Javier Abadia
2918f449e8 added reminder for work to do 2014-01-28 23:20:38 +01:00
Javier Abadia
6d0fb7aa52 more issues 2014-01-28 23:20:38 +01:00
Javier Abadia
131817f288 more issues 2014-01-28 23:20:38 +01:00
Javier Abadia
fc7f3b1e80 slightly better layout 2014-01-28 23:20:38 +01:00
Javier Abadia
909fa47549 use layer url as layer id (it's unique across different FeatureServices and it's persistent across different sessions) 2014-01-28 23:20:38 +01:00
Javier Abadia
6b9a4a91dd code cleaning 2014-01-28 23:20:37 +01:00
Javier Abadia
220dc4812e good advances 2014-01-28 23:20:37 +01:00
Javier Abadia
a7b2705803 it's starting to work 2014-01-28 23:20:37 +01:00
Javier Abadia
e0e495ef67 keep working in edit sample 2014-01-28 23:20:37 +01:00
Javier Abadia
8b32f1c96e adding offline capability to new sample 2014-01-28 23:20:37 +01:00
Javier Abadia
01d30235d5 just three layers 2014-01-28 23:20:37 +01:00
Javier Abadia
7818d9a19d simple editor working 2014-01-28 23:20:36 +01:00
Javier Abadia
c8196edb6e new edit sample from scratch 2014-01-28 23:20:36 +01:00
Javier Abadia
c9c0a0bfe9 tool to inspect feature service and local editsStore 2014-01-28 23:20:36 +01:00
Javier Abadia
5df1cfebf6 app to inspect status of services 2014-01-28 23:20:36 +01:00
andygup
4f6ee9e518 Fixes issue #54 2014-01-27 18:04:38 -07:00
Andy
73ff94d68b Merge pull request #52 from jabadia/jabadia-comments
jabadia comments
2014-01-24 08:35:37 -08:00
Javier Abadia
ba9aa30ce0 some comments, thanks Andy! 2014-01-24 14:16:00 +01:00
Javier Abadia
c7843dc458 comments 2014-01-24 14:14:50 +01:00
Javier Abadia
ea4e083d9d new method 2014-01-24 14:14:38 +01:00
andygup
4cdb3f2035 modified offlineEnabler.estimateTileSize to get slightly better numbers. 2014-01-22 22:33:40 -07:00
Andy
3b767ce3aa Merge pull request #51 from jabadia/jabadia-amd
jabadia - make OfflineStore.js AMD compliant
2014-01-21 15:45:29 -08:00