31 Commits

Author SHA1 Message Date
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
Javier Abadia
2918f449e8 added reminder for work to do 2014-01-28 23:20:38 +01:00
Javier Abadia
a7b2705803 it's starting to work 2014-01-28 23:20:37 +01:00
Javier Abadia
d29dfb8b85 added methods:
isSupported()
getEditsStoreSizeBytes()
getLocalStorageSizeBytes()
2014-01-21 23:25:49 +01:00
Javier Abadia
6c6fb11086 methods return the element to undo/redo or null 2014-01-21 18:29:07 +01:00
Javier Abadia
008edaf67b renamed graphicsStore -> editsStore 2014-01-21 10:24:58 +01:00