1170 Commits

Author SHA1 Message Date
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
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
f1ec8f0474 [build][xs]: . 2013-06-30 14:16:56 +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
005527f237 [build][xs]: . 2013-06-22 18:16:09 +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
323f5febdd [test][xs]: add marker css to test index.html. 2013-06-22 18:03:03 +01:00
Rufus Pollock
9a7e78f686 [build][xs]: cat files. 2013-06-15 12:19:36 +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
fa2e224bc9 [build][xs]: build. 2013-06-09 17:05:53 +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
efe55b062c [build][xs]: . 2013-06-02 20:04:52 +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
26a2a36c60 [build][xs]: build. 2013-06-02 19:06:17 +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
b297f2e25a [build][s]: regular build. 2013-06-02 18:43:04 +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
8daba7e4e4 Build. 2013-05-17 18:30:48 +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
Rufus Pollock
033848290a Merge pull request #356 from okfn/querystate-fix
Fixes a bug in querystate handling.
2013-05-17 07:08:50 -07:00
Dan Wilson
d626fab31c Fixes a bug in querystate handling. Fixes okfn/dataexplorer#120. 2013-05-16 20:48:00 +01:00
Dan Wilson
95036205b7 Build current 2013-05-16 11:38:49 +01:00
Dan Wilson
be67a2dad4 Some more jshint cleanup. Issue #340. 2013-05-16 11:34:47 +01:00
Dan Wilson
8f0fe6e5ef Added a build status image to the README. Fixes #252. 2013-05-15 13:14:12 +01:00
Dan Wilson
31e25cf51b Enable travis-ci 2013-05-15 12:40:38 +01:00
Dan Wilson
9932da7b37 Build current. 2013-05-15 11:32:23 +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
b2c5c7f0e0 Misc test suite fixes for IE8. Fixes #323. 2013-05-14 18:45:43 +01: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
1c86c70c32 Use htmlEqual() so that we're more robust against cross-browser serialisation issues. Issue #323. 2013-05-14 18:37:11 +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
cf700f4ac0 Bumped qunit and sinon. Added qunit-assert-html. 2013-05-14 17:20:16 +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
325eaf8c34 Bumped Moment to 2.0.0 (required by next commit) 2013-05-14 16:26:34 +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
c80dabd31e Fixes to the multiview tests 2013-05-14 12:07:15 +01:00
Dan Wilson
0fc484a696 Minor fix to slickgrid test 2013-05-14 10:49:10 +01:00
Dan Wilson
080188286a Bumped backbone to 1.0.0. Issue #351. 2013-05-14 10:12:24 +01:00
Dan Wilson
6c8d9ec50a Bumped underscore to 1.4.4 2013-05-13 21:48:22 +01:00
Rufus Pollock
2f099717bf Merge pull request #353 from okfn/issue-350
Stop clobbering view.el
2013-05-13 11:15:09 -07:00
Dan Wilson
55f808b873 Updated the README to mention this breaking change. 2013-05-13 18:52:37 +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