amercader
7def51b573
[backend/localcsv] Add support for defining the text delimiter on CSV files
2012-04-23 18:23:44 +01:00
Rufus Pollock
1bf64c5f94
[#61,backend/elasticsearch][m]: create, update and delete support in elasticsearch backend -- fixes #61 .
2012-04-22 22:17:47 +01:00
Rufus Pollock
31d829f53f
[#17,backend][s]: add readonly attribute on backends indicating whether they are 'read-only'.
2012-04-22 00:03:59 +01:00
Rufus Pollock
67ff757722
[#68,field][s]: link and markdown format for strings with default formatter.
2012-04-21 23:54:49 +01:00
Rufus Pollock
793fde4617
[bugfix,view-map][s]: 30m to track down and fix a bug whereby map view was ignoring config passed to it.
...
* setupGeometryFields was running (and overwriting) even if fields set in state passed in (which I don't think we want).
2012-04-21 23:47:52 +01:00
Rufus Pollock
60b7f19f71
[vendor,refactor][xs]: lay vendor directory in consistent way ({lib}/{version}/{js-file}).
2012-04-17 12:53:11 +01:00
Rufus Pollock
3ef664fe77
[#88,#67,state,view,app][s]: restore was not in fact working correcty for views as we need to pass the state on initialization (we were setting the state later).
...
* Also turn off url updating since I think that was messing with things and we were planning to do that. (For later: reintroduce this as it supports well-behaved navigation)
2012-04-16 20:47:47 +01:00
Rufus Pollock
53e099beda
[test][xs]: make fixtures dataset same as for demo.
2012-04-16 15:15:59 +01:00
Rufus Pollock
0ead86d6d7
[#88,view,state][s]: support for setting and getting currentView.
...
* Also refactor so that dataset view switcher in DataExplorer runs via direct JS rather than routing (as have meant to do for a while). this is important because a) routing stuff is partly going away b) it's cleaner this way.
2012-04-16 00:13:14 +01:00
Rufus Pollock
927bc32647
[#88,view][s]: DataExplorer boots Grid, Graph and Map view by default instead of just Grid.
...
* This makes DataExplorer.restore substantially more useful.
2012-04-15 23:26:57 +01:00
Rufus Pollock
6a90189b46
[test][xs]: remove console.log.
2012-04-15 23:23:37 +01:00
Rufus Pollock
3092ef6a8b
[test][xs]: micro tidy-up (calling remove on view at end of test in Grid View test).
2012-04-15 23:03:31 +01:00
Rufus Pollock
2a93aeb2c1
[#88,state][s]: (and finally) introduce a recline.View.DataExplorer.restore function that restores from a serialized state.
...
* remove getState in favour of just using direct access to state object.
2012-04-15 22:47:16 +01:00
Rufus Pollock
7743534eac
[#88,backend][s]: add __type__ attribute to all backends to identify them and provide a more robust and generic way to load backends from a string identifier such as that __type__ field.
...
* Also remove recline.Model.backends registry as can be replaced with this more generic solution.
* This refactoring is necessitated by our need to serialize backend info for save/reload of a dataset and explorer state in #88 .
2012-04-15 22:19:43 +01:00
Rufus Pollock
39a6c1eb74
[refactor][xs]: rename DataGrid to Grid for simplicity and consistency with file name.
2012-04-15 16:35:33 +01:00
Rufus Pollock
4ede229b7b
[refactor][s]: rename view-flot-graph to view-graph and FlotGraph to Graph.
2012-04-15 16:03:08 +01:00
Rufus Pollock
16e3797b4c
[addendum,test][xs]: typo in copy and paste of assertPresent etc to test/base.js.
2012-04-15 16:02:36 +01:00
Rufus Pollock
4281801120
[#88,refactor/state,api-change][m]: FlotGraph now uses state plus DataExplorer takes care of parsing state from Hash.
...
* First test for FlotGraph view (#45 )
* Move convenience functions for testing present of elements to test/base.js from view-grid.test.js
2012-04-15 15:03:02 +01:00
Rufus Pollock
8f33235933
[#88,refactor/state,api-change][s]: convert state on DataExplorer to proper ObjectState model and rename config to state in DataExplorer initialization arguments.
...
* Also add more tests (#45 ).
2012-04-15 13:44:01 +01:00
Pedro Markun
e695924149
CSV file loading supports file separator
2012-04-14 14:14:15 -03:00
Rufus Pollock
670eb1e1de
[#88,view/grid,refactor][s]: switch DataGrid to use new state setup (and introduce new Model ObjectState for this purpose).
...
* Switched hiddenFields to be part of state object (only state on DataGrid at the moment).
2012-04-14 12:58:39 +01:00
Rufus Pollock
5eb075b14c
[#45,test/view-grid][s]: add test for hide column functionality on DataGrid (first test of this view).
2012-04-14 12:44:07 +01:00
Rufus Pollock
77414ff9ca
[#88,view/refactor][s]: start on state management and serialization with getState function on Explorer.
2012-04-14 11:42:02 +01:00
Rufus Pollock
05293cbb6f
[#45,test/view][s]: start on some basic tests for data explorer view.
2012-04-14 11:37:52 +01:00
Rufus Pollock
b0bf06c52e
[#34,query,backend/memory][s]: memory backend support query string (q parameter).
2012-04-14 10:00:17 +01:00
Rufus Pollock
92f1fba38d
[refactor][xs]: rename view test to view-grid test.
2012-04-13 19:02:11 +01:00
Rufus Pollock
498e9712c6
[#68,model/Field][s]: introduce default renderers for object and float:percentage.
2012-04-10 16:36:55 +01:00
Rufus Pollock
70c43015ea
[#68,view-grid,refactor][xs]: switch to new field / doc renderer and deriver.
...
* remove existing cellRenderer and switch to calling doc.getFieldValue(field)
2012-04-10 01:30:06 +01:00
Rufus Pollock
0f4a0a6189
[#68,fields][m]: add format attribute plus support for renderer and deriver functions.
2012-04-10 01:24:34 +01:00
Rufus Pollock
5a73ced225
[#66,filters,elasticsearch][s]: elasticsearch support for filters (addTermFilter on Query).
2012-04-02 21:05:56 +01:00
Rufus Pollock
36548ceffc
[#66,filters][s]: memory backend support for filters.
2012-04-02 21:05:28 +01:00
Rufus Pollock
1eb7df9a7c
[#66,model][s]: addTermFacet on Query object.
...
* Also fix a major bug (that was causing weird test failures) re setting defaults (you cannot set defaults with objects).
2012-04-02 21:04:52 +01:00
Rufus Pollock
7a95302760
[#62,facets,backend/memory][m]: add faceting support to memory backend.
2012-04-01 16:31:36 +01:00
Rufus Pollock
80165659b1
[#62,faceting][s]: basic faceting fully functional on ES.
2012-04-01 14:20:12 +01:00
Rufus Pollock
6ba8c82408
[#62,facets][s]: partially working faceting with elasticsearch.
2012-04-01 13:51:15 +01:00
Rufus Pollock
3412962a35
[#62,faceting][s]: introduce Facet and FacetList models and use them.
...
* Conceptual breakthrough on how Faceting and Filtering interact (have updated issue #62 as a result).
2012-03-31 18:06:41 +01:00
Rufus Pollock
e3819d8f4e
[#51,bugfix][xs]: fix bug in pulling of fields from document in createDataset (corrects error in 5fc486d8083a27db21993fc7d58c2c2dae75c17f).
2012-03-31 11:09:10 +01:00
Rufus Pollock
d68529c113
[test/model][xs]: add a test for FieldList.toJSON.
2012-03-29 08:38:58 +01:00
Rufus Pollock
f51b4b6d79
[#36,backend/localcsv][m]: local csv 'backend' completed with new csvToDataset function - fixes #36 .
2012-03-27 17:05:34 +01:00
Rufus Pollock
cb81fe87af
[#51,backend/memory][s]: simple createDataset method to create in-memory dataset from raw array of hashes (and optional other info).
2012-03-27 17:02:13 +01:00
Rufus Pollock
995a053400
[#36,backend/localcsv][s]: start on local 'backend' with CSV parser and test.
2012-03-27 08:27:10 +01:00
Rufus Pollock
81c7d3a138
[test][xs]: remove link to removed backend/webstore.js.
2012-03-25 18:00:01 +01:00
Rufus Pollock
95a394bd13
[backend/webstore][s]: remove webstore backend.
2012-03-15 00:27:53 +00:00
Rufus Pollock
dd4fbeceb5
[backend/gdocs][s]: support being given standard 'user' gdocs url by extracting spreadsheet key and generating url with it.
...
* This makes gdocs backend much easier to use!
2012-03-15 00:24:21 +00:00
Rufus Pollock
733a9d3275
[#34,view][s]: query state in url (store into and read from).
...
* Also change so that query values are not automatically JSON.stringify-ied (bad idea since it leads to repeated jsonification of same value ...)
2012-03-14 19:45:28 +00:00
Rufus Pollock
2bf0f9681f
[test][xs]: fix for DataProxy test broken by changes in e6ce2ca533cf9ef60773280e51b866504e5047f5.
2012-03-14 18:43:42 +00:00
Rufus Pollock
3abca8c7c5
[test][xs]: correct vendor links (causing lots of broken tests!).
2012-03-14 18:42:00 +00:00
Rufus Pollock
64056da3aa
[backend/elasticsearch][s]: ES backend supports full text queries and sorting.
2012-02-28 21:08:18 +00:00
Rufus Pollock
ae587506f3
[#34,query][s]: switch to proper ES style sort structure.
2012-02-28 16:43:37 +00:00
Rufus Pollock
bd6123403e
[#34,query][s]: rename offset to from on query object.
...
* More natural in fact and we may as well go whole hog with ES structure.
2012-02-27 20:54:02 +00:00