679 Commits

Author SHA1 Message Date
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
John Glover
522e88fe41 [#340] jshint cleanup of view.multiview.js 2013-04-15 17:36:22 +02:00
John Glover
c77b35d9f2 [#340] jshint cleanup of view.grid.js 2013-04-15 17:36:09 +02:00
John Glover
9e47ea3ad9 [#340] jshint cleanup of model.js 2013-04-15 17:35:59 +02:00
John Glover
6073c4837f [#340] jshint cleanup of backend.dataproxy.js 2013-04-15 17:17:01 +02:00
John Glover
eca254b480 [#340] jshint cleanup of backend.ckan.js 2013-04-15 17:15:08 +02:00
John Glover
bada4a877b [#340] jshint cleanup of view.flot.js 2013-04-15 17:11:54 +02:00
John Glover
c4bdca79ad [#340] Value of 30 in comment contradicts actual value in code (15) 2013-04-15 17:10:41 +02:00
Dan Wilson
d746e87b2a Expose Timeline JS initialization options 2013-04-15 11:24:32 +01:00
amercader
4d6aa91ef3 Merge branch '336-value-filter' 2013-04-03 10:52:58 +01:00
John Glover
72a65213c0 [#336] Add valuefilter widget 2013-04-02 17:11:07 +02:00
John Glover
d0f82fd165 [#217] Implement value/term filter for ckan backend 2013-03-27 19:58:15 +01:00
Joe Hand
930e3ad7c5 [#286, bugfix]: Fix case for null in Tick labels
Trying to run label.toString() on null value in tickFormatter results
in error.
2013-03-21 10:55:05 -06:00
Rufus Pollock
7ec2fdb278 [#334,flot,bugfix][s]: find and resolve issue with no ticks on x-axis if values are floats - fixes #334.
* Change to explicitly signal the Labels / Dates case (where x values are indices into records array)
* No longer always set xticks - let flot do this except in indices case
2013-03-08 10:30:02 +00:00
Rufus Pollock
2c3fa289b6 Merge branch 'master' of github.com:okfn/recline 2013-02-24 14:36:34 +00:00