55 Commits

Author SHA1 Message Date
Andy Gup
4c7ca1f225 adds deprecated methods 2015-03-27 17:58:25 -06:00
Andy Gup
aefb5c0b26 refactored lib/edit/ 2015-03-27 17:58:25 -06:00
Andy Gup
20616a449c ability to store offline restart info in db 2015-03-27 17:58:25 -06:00
Andy Gup
0a320689e2 code comment updates 2015-03-27 17:58:25 -06:00
Andy Gup
3cd8d27c9c correctly ignore feature layer JSON & phantom graphics 2015-03-27 17:58:24 -06:00
Andy Gup
349565936a reset phantom graphics queue 2015-03-27 17:58:24 -06:00
Andy Gup
89bdbed77d all tests passing again 2015-03-27 17:58:24 -06:00
Andy Gup
f2b9a1158c fixes object hasOwnProperty bug 2015-03-27 17:58:24 -06:00
Andy Gup
e0cbfaba1f convert graphic to json before db injection 2015-03-27 17:58:24 -06:00
Andy Gup
db977b8d02 added global test variable 2015-03-27 17:58:24 -06:00
Andy Gup
592b7d6786 remove manual serialization 2015-03-27 17:58:23 -06:00
Andy Gup
1da1bb007b delete single phantom graphic + unit test 2015-03-27 17:58:23 -06:00
Andy Gup
8d1c5c307a add, delete phantom graphics in db 2015-03-27 17:58:23 -06:00
Andy Gup
860b9bd987 stubs for storing phantom graphics 2015-03-27 17:58:23 -06:00
Andy Gup
fbd4fc9a37 Fixed deleteFeatureLayerJSON 2015-03-27 17:58:23 -06:00
Andy Gup
ff0c4eaa7e removed updateFeatureLayerData() 2015-03-27 17:58:23 -06:00
Andy Gup
db1df04036 more function name changes 2015-03-27 17:58:23 -06:00
Andy Gup
9c0e6cac14 delete FeatureLayer data + unit test 2015-03-27 17:58:23 -06:00
Andy Gup
8177636fde push, get, update, unit test FeatureLayerData object 2015-03-27 17:58:22 -06:00
Andy Gup
b377b999f6 additional cursor protection 2015-03-27 17:58:22 -06:00
Andy Gup
f1e850f708 Protect cursor 2015-03-27 17:58:22 -06:00
Andy Gup
c1a9434a2c change property name 2015-03-27 17:58:22 -06:00
Andy Gup
8af096303f All unit tests passing. No errors. 2015-03-27 17:58:22 -06:00
Andy Gup
ccb93afb4f 1st version w/ no errors. 2015-03-27 17:58:22 -06:00
Andy Gup
7566970d01 updated for testing 2015-03-27 17:58:22 -06:00
Andy Gup
8da85c9adf removed unused code 2015-03-27 17:58:22 -06:00
Andy Gup
46053f325f fix if parameters 2015-03-27 17:58:22 -06:00
Andy Gup
7c3baa2753 added delete, getAllEdits + unit tests 2015-03-27 17:58:22 -06:00
Andy Gup
702387f7a3 added editExists() + unit test 2015-03-27 17:58:21 -06:00
Andy Gup
9f565d2d1d update existing edit + unit test 2015-03-27 17:58:21 -06:00
Andy Gup
150dd1b72d basic push functionality 2015-03-27 17:58:21 -06:00
Andy Gup
52adc5c595 initial stub for editsStore rewrite + unit tests 2015-03-27 17:58:21 -06:00
Andy Gup
0bb149934e update change log 2015-03-27 17:58:21 -06:00
Andy Gup
52f14d193b Closes #242 - replace constructor properties 2014-09-30 11:46:23 -06:00
Andy Gup
e036dbe02c updates retrieveEditsQueue from private to public 2014-09-08 13:00:56 -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
4ba10390ba fixed some JSLint warnings 2014-04-26 18:47:29 +02:00
Javier Abadia
d26e1c599d now it works, LocalStorage full condition is correctly reported to the user 2014-02-11 22:54:35 +01:00
Javier Abadia
08a97f2c7b trying to catch quota errors at application level... not that easy! 2014-02-11 22:40:17 +01:00
Javier Abadia
d8c69da02a removed check for duplicate edits, they actually make sense in a repeated undo/redo scenario 2014-02-05 00:06:48 +01:00
Javier Abadia
ea17b7af46 better handling of pushEdit() errors 2014-02-04 11:54:02 +01:00
Javier Abadia
8c05c4c966 method not needed (and unit test neither) 2014-02-04 11:52:24 +01:00
Javier Abadia
9036dbcbc1 removed undo/redo support at low level 2014-02-04 11:52:12 +01:00
Javier Abadia
fcfde60396 fixed the local updating of graphics for offline edits... now working! 2014-01-29 18:32:51 +01:00
Javier Abadia
eb21ab750c fix bug reported by Andy
added new task in the ISSUES.md
2014-01-29 09:42:03 +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
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
35ca131086 controlling QuotaError when localStorage is full 2014-01-28 23:20:38 +01:00