Rufus Pollock
98e8647e16
Merge pull request #373 from kielni/override_handleQueryResult
...
[model][s]: various improvements around query building (add/remove facets) and allowing overriding of handling query result.
2013-10-13 02:28:55 -07:00
Rufus Pollock
02e5e70c18
Merge pull request #367 from davidmiller/casting
...
Cast elements in a series consistently
2013-09-21 09:09:08 -07:00
kielni
ee2067da68
this.backend might be null; set handleResult before fetch
2013-09-10 10:21:02 -07:00
kielni
91c0f7704a
allow a dataset to override handleQueryResult
2013-09-09 07:31:12 -07:00
kielni
f7f010ea33
add new methods for facets: removeFacet, clearFacets, and refreshFacets
2013-09-06 13:51:17 -07:00
kielni
95fab060c3
add options to addFacet for size and silent
2013-09-06 11:58:23 -07:00
kielni
ef1064b888
add method to replace a filter
2013-09-06 11:40:31 -07:00
John Glover
ab14d48939
Merge pull request #369 from okfn/369-map-url
...
No hardcoded http:// for maps
2013-08-21 05:38:20 -07:00
Dominik Moritz
efdf87dbd5
[ #369 ] Make image url relative as well, fix tile url
2013-08-21 10:19:08 +02:00
Dominik Moritz
6aeec49266
[ #369 ] Do not hard-code http
2013-08-20 13:39:52 +02:00
Rufus Pollock
ccf60d00f0
[#316,timeline][m]: timeline now handles BC dates and has a switch to support non US dates dd/dd/dddd - fixes #316 .
...
* upgrade timeine view to latest TimelineJS (note vendor code went in in last commit as needed to patch in this one)
* Minor fix to TimelineJS timeline.js code (actual bug I think)
* BC (-ve years) support is provided by latest TimelineJS (raw vendor code in last commit)
* Strip out use of momentjs and just use timelinejs date parsing (various changes and tests around this)
* state option nonUSDates: true to parse dd/mm/yyyy properly
2013-08-14 22:23:46 +01:00
Rufus Pollock
db9fe8d3a2
[view/flot,bugfix][xs]: tiny fix to have a correct default for graph type.
2013-08-14 16:54:53 +01:00
David Miller
49d89cc0ea
Only create variables if we need them.
2013-08-06 18:26:12 +01:00
David Miller
c34d8c681c
Check that all elements of a series are convertable to floats before casting individual elements.
2013-08-01 13:06:28 +01:00
Rufus Pollock
d1b04a4d10
[#314,backend][s]: remove gdocs backend - now in separate repo.
2013-06-30 22:08:36 +01:00
Rufus Pollock
e4adc0c34a
[#314,backends][m]: remove elasticsearch backend - now in own repo https://github.com/okfn/elasticsearch.js .
2013-06-30 21:51:39 +01:00
Rufus Pollock
35b73aea52
[be/csv,bugfix][xs]: fix to breakage of csv loading for urls in 5d24fd474d6e6bd065039d058ef64c6db4454df9.
2013-06-30 14:16:22 +01:00
Rufus Pollock
b66f563368
[be/csv,bugfix][xs]: fix to breakage of csv loading from a file in 5d24fd474d6e6bd065039d058ef64c6db4454df9.
2013-06-22 20:14:20 +01:00
Rufus Pollock
35a5f32163
[#362,view/map][s]: disable auto-turn on of map clustering above a certain number of points - fixes #362 .
2013-06-22 18:14:50 +01:00
Rufus Pollock
5d24fd474d
[csv,bugfix][s]: fix to csv backend to correct issue with header row appearing in data in case where fields passed explicitly.
...
* The bug was triggered by change in 4d128af797546e5174537d8ed530a243e444eeab to use model fields if explicitly provided
* model.test.js illustrated issue (that new test was failing prior to changes to csv backend in this commit)
* Issue was that CSV backend did not pass back fields option. Previously, if no fields provided from backend we extracted fields from first row of the returned records. With change in 4d128af797546e5174537d8ed530a243e444eeab to use model fields if provided we had an issue as we no longer removed first row for fields.
* Fixed by having CSV backend explicitly extract fields and pass them back
2013-06-15 12:12:15 +01:00
Rufus Pollock
379ed11811
[view/flot,bugfix][s]: use getFieldValueUnrendered for getting values in flot graph.
...
* In case where we render value (e.g. number percentage) use of getFieldValue will result in percentage sign which flot will choke on.
2013-06-09 17:04:18 +01:00
Rufus Pollock
4d128af797
[model,bugfix][s]: if explicitly passed field info to a dataset use that over any field info derived from backend.
2013-06-02 20:04:09 +01:00
Rufus Pollock
b4f4c989cc
[view/multiview][s]: do not call fetch on dataset model in MultiView initialize (should be done in code using the view if needed).
...
* fetch method should have been done elsewhere (by client of the view)
* calling in the view is both wasteful and causes possible bugs as it may lead to race conditions to a fetch called by client code
2013-06-02 19:03:42 +01:00
Rufus Pollock
39ec742d42
[view/flot][xs]: cast dates to strings before attempting to parse.
2013-06-02 18:42:25 +01:00
Rufus Pollock
eb682d673f
[#359,view/flot][m]: much better time series support by using flot time plugin - fixes #359 .
...
* Note you still need to set the type of the field to time for this to work properly (i.e. we do not attempt to guess a column is dates as that is very error-prone).
2013-06-02 18:42:17 +01:00
Dan Wilson
f6a6a41c07
Rewrote Deferred selection code to not use "window".
...
This means it can be used in a web worker.
2013-05-17 18:27:50 +01:00
Dan Wilson
9aa2b95866
Expose the ability to skip initial rows in CSV parser.
2013-05-17 16:11:25 +01:00
Dan Wilson
d626fab31c
Fixes a bug in querystate handling. Fixes okfn/dataexplorer#120 .
2013-05-16 20:48:00 +01:00
Dan Wilson
be67a2dad4
Some more jshint cleanup. Issue #340 .
2013-05-16 11:34:47 +01:00
Dan Wilson
155ce78828
Merge pull request #354 from okfn/issue-351
...
Event handling cleanup
2013-05-15 02:25:43 -07:00
Dan Wilson
28052c2717
Use underscore's indexOf() and filter() rather than relying on native versions. Issue #323 .
2013-05-14 18:44:00 +01:00
Dan Wilson
56a8b64f81
GridRow's constructor expected a FieldList object, but it was sometimes getting a plain array. Issue #323 .
2013-05-14 18:40:36 +01:00
Dan Wilson
6883d8a1c4
Fixed invalid HTML in the MapMenu template. Issue #323 .
2013-05-14 18:38:54 +01:00
Dan Wilson
5122672333
Fixed date-parsing logic so that it works on oldIE. Issue #323 .
2013-05-14 18:18:22 +01:00
Dan Wilson
9514c46aa0
Date parsing and toISOString() can't be assumed to be present. Use Moment instead. Issue #323 .
2013-05-14 16:30:25 +01:00
Dan Wilson
ea8c8f1a5b
Clean up slickgrid events on removal
2013-05-14 13:11:21 +01:00
Dan Wilson
93637a7b0b
Where necessary, override remove() to also remove subviews.
2013-05-14 12:45:48 +01:00
Dan Wilson
5ef821c92a
Use listenTo() rather than bind() in the views so that the events get unbound upon removal.
2013-05-14 12:43:22 +01:00
Dan Wilson
8ea1a81c0a
Updated code and tests to stop recline clobbering view.el. Issue #350 .
2013-05-13 18:52:37 +01:00
Dan Wilson
38256b455b
Enable strict mode on the pager widget, too.
2013-05-13 18:47:38 +01:00
Dan Wilson
b72dd0fb62
Enabled strict mode, and fixed issues raised.
2013-05-13 16:53:55 +01:00
Rufus Pollock
8164c68d0c
[#331,view/flotr2][s]: remove flotr2 as now in separate repo https://github.com/okfn/recline.view.flotr2 - fixes #331 .
2013-05-05 19:01:51 +01:00
Rufus Pollock
caf0c84e97
[#314,be/ckan][s]: remove ckan backend from core as now in own repo https://github.com/okfn/recline.backend.ckan .
2013-05-05 18:03:52 +01:00
Rufus Pollock
fc79518ba5
[#349,transform][s]: remove transform view and associated code - fixes #349 .
2013-05-04 22:13:27 +01:00
Rufus Pollock
4d5fa4e6ea
Merge pull request #345 from okfn/345-dataproxy-ssl
...
Dataproxy backend does not work on ssl pages
2013-04-30 11:23:00 -07:00
Dominik Moritz
a3af6af423
[ #345 ] Use dataproxy url without http scheme to allow usage on ssl enabled pages.
2013-04-30 18:17:19 +02:00
Rufus Pollock
1fc5610874
[#342,bugfix,timeline][s]: remove explicitly setting of width in JS as not the right way - fixes #342 .
2013-04-16 18:24:32 +01:00
Nigel Babu
fc64fdab8f
Merge pull request #341 from okfn/340-jshint-cleanup
...
JSHint Cleanup
2013-04-16 07:20:33 -07:00
John Glover
8da456d713
[ #340 ] More cleanup of view.slickgrid.js
2013-04-16 13:08:06 +02:00
John Glover
5839ab8fa6
[ #340 ] jshint cleanup of view.slickgrid.js
2013-04-15 17:58:28 +02:00