615 Commits

Author SHA1 Message Date
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
Rufus Pollock
dc55d53fdd [#330,model][s]: getFieldValue & getFieldValueUnrendered now return '' if field argument is null / undefined - fixes #330. 2013-02-24 14:34:28 +00:00
Mark Brough
accf6518e9 Show field labels rather than id on legend 2013-02-23 16:18:01 +00:00
Mark Brough
9fcedc2189 Date bug corrected, fixes #327 2013-02-23 16:07:42 +00:00
John Glover
97f28e3dba [#324] Bug fix: call view.show after determining sidebar visibility
Makes sure that views that need to know their
maximum width before redrawing don't draw over
the sidebar.
2013-02-20 18:20:21 +00:00
John Glover
aaef39c724 [#324] Show full labels on flot bar y-axis 2013-02-20 12:15:43 +00:00
John Glover
62bd8ffda7 [#324] Bug fix: fix tooltip content and placement in flot bar graph. 2013-02-20 11:43:42 +00:00
Rufus Pollock
369bd5f257 [#314,couchdb][s]: remove couchdb backend as now in its own repo at https://github.com/Recline/backend.couchdb. 2013-02-16 15:47:10 +00:00
John Glover
74d94c51d6 Merge remote-tracking branch 'origin/master' into 310-hide-filters-fields 2013-02-11 15:31:47 +01:00
John Glover
bb28ef2347 [#309] Small JS fix for IE7.
Extra comma in object literal removed.
2013-02-11 14:27:22 +01:00
John Glover
bc3ade4c23 [#309] Fix rendering of fields widget in IE7. 2013-02-11 12:10:57 +01:00
John Glover
fa086053fb Merge master into 309-expand-content-when-sidebar-empty 2013-02-11 10:00:41 +01:00
Rufus Pollock
6f82c4c5cc [#314,be/solr][s]: remove solr backend from core as in separate repo [1].
[1]: https://github.com/Recline/backend.solr
2013-02-10 17:05:30 +00:00
Rufus Pollock
b6e179e3e7 [#287,view/flot][s]: s/recline-graph/recline-flot/g. 2013-02-09 18:29:44 +00:00
Rufus Pollock
d369c9d958 [bugfix,view/flot][xs]: do not subtract 240px from rhs of flot graph (fix appears to be no longer needed and is breaking in most cases ...). 2013-02-09 18:29:02 +00:00