Andy Gup
|
247af2ea07
|
Closes #249 - add public proxyPath
|
2014-09-29 15:18:05 -06:00 |
|
Andy Gup
|
ae3ac63622
|
fixed minor bug
|
2014-09-08 11:41:43 -06:00 |
|
Andy Gup
|
f3a69f6ae5
|
updated namespace for consistency
|
2014-09-08 11:41:13 -06:00 |
|
Andy Gup
|
5d87be2ddb
|
updated library reference for attachmentsStore
|
2014-09-03 16:32:34 -06:00 |
|
Andy Gup
|
725be98506
|
initial refactor of OfflineFeaturesManager
|
2014-09-03 15:24:58 -06:00 |
|
Andy Gup
|
ef87da5ed1
|
added code comments
|
2014-07-25 14:36:47 -06:00 |
|
Andy Gup
|
4b03157e88
|
Check for attachments store
|
2014-07-25 14:26:56 -06:00 |
|
Andy Gup
|
6a1339184a
|
minor console.log tweak
|
2014-06-06 15:11:53 -06:00 |
|
Javier Abadia
|
873d8f9339
|
No matter what jshint says, these are not really properties, but string-indexed elements. We access them later with a string index that comes in the geometry.type property. I believe the code is clearer this way.
|
2014-05-17 17:30:56 +02: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
|
fb063666e1
|
refactored promises
|
2014-04-29 17:59:10 +02:00 |
|
Javier Abadia
|
a201620e26
|
fixed offline attachments unit tests (proxy thing)
|
2014-04-29 00:13:19 +02:00 |
|
Javier Abadia
|
b467e439b5
|
reworked attachments-editor.html sample
|
2014-04-28 01:00:55 +02:00 |
|
Javier Abadia
|
8919ed60bb
|
this caused one test to fail
remember, attachments management is optional
|
2014-04-27 22:37:24 +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
|
02f913bb43
|
replace the default URL that is set by attachmentEditor with the local file URL
|
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
|
b58ba99d8a
|
delete attachments of those features that are deleted offline
|
2014-04-27 00:08:48 +02:00 |
|
Javier Abadia
|
4ba10390ba
|
fixed some JSLint warnings
|
2014-04-26 18:47:29 +02:00 |
|
Javier Abadia
|
cd0bcf9634
|
comments and code reordering to have a more clear structure inside the file
|
2014-04-15 16:47:34 +02:00 |
|
Javier Abadia
|
8973f76e6b
|
fixed a difficult bug when extending XMLHttpRequest in with sendAsBinary() method in Chrome
attachment-editor.html sample works now
|
2014-04-15 15:43:56 +02:00 |
|
Javier Abadia
|
d681022d0a
|
refactored attachmentsStore into offlineFeaturesManager (and not in each layer)
|
2014-04-15 14:09:15 +02:00 |
|
Javier Abadia
|
89fced9e79
|
much more readable code
|
2014-04-15 12:45:05 +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
|
9470f24990
|
now, uploading attachments works (not complete)
|
2014-04-15 11:46:38 +02:00 |
|
Javier Abadia
|
fda270c218
|
almost working for uploading new attachments
|
2014-04-14 18:31:29 +02:00 |
|
Javier Abadia
|
0d66b7e4c9
|
new method to delete all attachments of a feature
|
2014-04-09 23:19:23 +02:00 |
|
Javier Abadia
|
1291976bbb
|
reminder of task to do
|
2014-04-09 18:10:46 +02:00 |
|
Javier Abadia
|
381a18a161
|
comments for next steps
|
2014-04-09 18:10:45 +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
|
0970911db0
|
already read file(s) from input node into string(s)
|
2014-04-09 18:10:42 +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 |
|
Javier Abadia
|
a31266873f
|
some comments about what needs to be done
|
2014-04-09 18:10:33 +02:00 |
|
Javier Abadia
|
01cd7db58c
|
initial scaffold for attachments handling
|
2014-04-09 18:10:32 +02:00 |
|
andygup
|
1bb25d8c69
|
Removing existing attachments code.
|
2014-03-08 17:43:59 -07:00 |
|
Javier Abadia
|
02ddef81fc
|
add CSS style to prevent phantom graphics from receiving mouse events
|
2014-03-02 16:03:33 +01:00 |
|
Javier Abadia
|
5b3439ebd2
|
phantom layers now on top of feature layers
|
2014-03-02 16:03:06 +01:00 |
|
Javier Abadia
|
51102a3442
|
spaces 2 tabs
|
2014-03-02 15:56:14 +01:00 |
|
Javier Abadia
|
7442fd32a2
|
improving phantom graphics symbology
|
2014-03-02 15:49:16 +01:00 |
|
Javier Abadia
|
ab05a7661e
|
improving phantom graphics symbology
|
2014-03-02 15:48:49 +01:00 |
|
Javier Abadia
|
d04762ca94
|
improving phantom graphics symbology
|
2014-03-02 15:47:19 +01:00 |
|
Javier Abadia
|
0560513d8f
|
improving phantom graphics symbology
|
2014-03-02 15:47:19 +01:00 |
|
andygup
|
6eb12ebd12
|
fixes default proxy paths.
|
2014-02-26 13:41:45 -07:00 |
|
andygup
|
60c13f494e
|
fixes some breaking changes from last nights PR
|
2014-02-25 09:46:35 -07:00 |
|
andygup
|
0e83d60d5a
|
added delete functionality
|
2014-02-24 18:31:58 -07:00 |
|
andygup
|
5dae3aae9d
|
undid local proxy references so the repo can be shared
|
2014-02-24 09:20:30 -07:00 |
|