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
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
Rufus Pollock
242bcc7a14
[#287,view/graph][s]: move current view.graph.js to view.flotr2.js and setup recline.View.Graph to point to recline.View.Flot.
2013-02-09 16:18:37 +00:00
Rufus Pollock
723d128d13
[#313,backend][s]: use jquery deferred if available - fixes #313 .
2013-02-08 13:31:03 +00:00
Rufus Pollock
3e27edd9c4
[backend/csv][xs]: set my.__type__ to csv.`
2013-02-08 13:20:53 +00:00
Rufus Pollock
bd98d15b61
[#313,backend/memory][xs]: use jquery deferred if we can.
2013-02-08 13:20:38 +00:00
Rufus Pollock
68215a0fa5
[#313,model][s]: use jquery promise api if available.
2013-02-08 13:05:00 +00:00
Rufus Pollock
5a27e1c08d
Merge pull request #308 from okfn/308-filter-update-ux
...
[bugfix][s]: Return to first page of records after applying filters.
2013-02-08 03:05:32 -08:00
John Glover
4f2e58b514
Add horizontal bar chart back to view.flot.js
2013-02-06 17:51:59 +01:00
John Glover
67b684d58f
Hide filters and fields by default
2013-02-06 16:37:59 +01:00
John Glover
f0005bed6c
Hide the sidebar if it's empty.
...
When updating the view check to see if the sidebar
contains any visible children elements. If not,
hide it.
2013-02-06 12:09:34 +01:00
John Glover
2d5291b201
Rename x-axis and y-axis in view.graph.js.
...
Changed to Axis 1 and Axis 2 to avoid confusion
in bar graph (when axes are inverted).
2013-02-05 17:32:06 +01:00
John Glover
6ceff22b15
Return to first page of records after filter update.
...
Also add missing radix parameter to parseInt call.
2013-02-05 16:37:02 +01:00
Rufus Pollock
23d056d1aa
Merge pull request #305 from modilabs/cap_pager_params
...
[widget/paper][s]: Cap pager input params to valid range(s) - thx to @larryweya.
2013-01-15 03:21:01 -08:00
Larry Weya
11630c46ff
Cap pager input params to valid range(s)
2013-01-15 13:51:25 +03:00
John Glover
8439cc5522
[ #287 ] Add view.flot.js.
...
Allows flot to be used for graphs as well as
flotr2.
Based on view.graph.js in the ckan-updates branch.
2013-01-09 15:53:44 +01:00
Stefan Wehrmeyer
2c79d00f09
Remove weird date parsing hack to fix tests
2013-01-07 10:33:29 +01:00
Rufus Pollock
965bf6e9bb
[#172,refactor][s]: switch everything to use underscore.deferred rather than jQuery.Deferred - fixes #172 .
...
* In addition reduced pattern of passing in $ to backend modules - instead just use jQuery explicitly (this should make it easier to mock-out jQuery if you waned to
2013-01-04 20:13:16 +00:00
Rufus Pollock
e8ad368347
[backend.memory][s]: rename Store.data attribute to records to be more consistent (and more meaningful).
2013-01-03 21:50:47 +00:00
Rufus Pollock
64af7b2150
Merge branch 'master' of github.com:okfn/recline
2012-12-22 19:54:48 +00:00
Rufus Pollock
3610d95e74
[#291,bugfix][s]: memory backend transform function now works even when records do not have id - fixes #291 .
...
* Also simplified (and made more efficient) by removing dependency on (not very useful) recline.Data.Transform.mapDocs function
* As documented in #291 issue was that an id was required in the docs
2012-12-22 19:51:03 +00:00
John Glover
9bfbce776b
[ #264 ] Fix for #264 from ckan-updates branch.
...
Uses _.defaults rather than performing an explicit
deep copy.
2012-12-10 16:57:44 +01:00
Rufus Pollock
5a322e2c7c
[#286,bugfix]: fix for case where fields array has nulls in it.
...
If passed fields = [ null, ..., ...] or [ ... , null, ...] we fail in Dataset._normalizeRecordsAndFields method because:
1. If null is first element we do not do field generation correctly because typeof(null) is object - ede211646a/src/model.js (L108)
2. We call toString on field names which fails for null ede211646a/src/model.js (L113)
2012-12-09 18:58:52 +00:00
Rufus Pollock
f093fcebfe
Merge pull request #263 from Integral/master
...
[backend/couchdb,#229]: Fixes for CouchDB sorting and filtering from @integral.
2012-12-01 06:40:01 -08:00
Rufus Pollock
b2cd87cec4
Revert "Merge pull request #275 from citizen-cyberscience-centre/master".
...
This reverts commit b900581605e7612bd896e4f1bec7837784a1ebbc, reversing
changes made to 3226d8b11b1d41bdafcdab6f9ea424d3f553cbe3.
2012-11-19 12:24:06 +00:00
Daniel Lombraña González
7af166ed85
Create a Date using the Date type.
...
This commit fixes an error in Safari that was not working. Moment.JS was not
converting correctly a string, while with thix fix works. More info here:
http://stackoverflow.com/questions/2587345/javascript-date-parse
2012-11-13 16:00:15 +01:00
Rufus Pollock
53a417abde
[bugfix,backend/memory][xs]: map 'number' type correctly for filter application.
2012-11-13 12:06:47 +00:00
Rufus Pollock
b89e6a8a65
Merge pull request #272 from demiurg/master
...
[view/graph][s]: Ability to extend graph options with general options - thx to @demiurg.
2012-11-10 00:44:05 -08:00