John Glover
4f2e58b514
Add horizontal bar chart back to view.flot.js
2013-02-06 17:51:59 +01:00
John Glover
850fe9a41c
Merge pull request #280 from okfn/280-graph-axis-labels
...
Rename "Group" and "Series" labels in graph UI to "X-Axis" and "Y-Axis"
2013-02-06 07:43:22 -08: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
d1a5c0803d
Merge pull request #307 from amercader/master
...
[README][xs]: correct name of @amercader in contributors in the README.
2013-01-24 01:43:30 -08:00
amercader
2a151461ab
[README][xs] Micro tweak
2013-01-23 22:43:27 +00:00
Rufus Pollock
722b7dcbf8
Merge branch 'master' of github.com:okfn/recline
2013-01-23 20:31:20 +00:00
Rufus Pollock
015d926c03
[#299,README[s]: list contributors in README - fixes #299 .
2013-01-23 20:30:25 +00: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
Rufus Pollock
52fb7543ed
Merge pull request #287 from okfn/287-view-flot
...
[merge,view/flot][s]: Bring back graph view based on flot - thx to @johnglover.
2013-01-10 01:43:04 -08:00
John Glover
789086b290
[ #287 ] Add flot view tests.
...
Same as view.graph.js tests (flotr2).
2013-01-10 09:41:57 +01: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
Rufus Pollock
896686c466
Merge pull request #302 from okfn/fix-timeline-test
...
[timeline][xs]: Fix timeline test and remove old HACK that is no longer needed - thx to @stefanw.
2013-01-08 06:13:12 -08:00
Rufus Pollock
ea1bced824
Merge pull request #303 from okfn/fix-multiview-demo
...
[flotr2][s]: Remove underscore from flotr2 source - thx to @stefanw.
2013-01-07 02:08:38 -08:00
Stefan Wehrmeyer
e520a0d0d6
Remove underscore from flotr2 source
...
The older underscore version in flotr would overwrite the newer
one coming with recline and would also overwrite mixins like
underscore.deferred.
2013-01-07 10:57:06 +01:00
Stefan Wehrmeyer
2c79d00f09
Remove weird date parsing hack to fix tests
2013-01-07 10:33:29 +01:00
Stefan Wehrmeyer
616d6b2ed8
Fix order of equal arguments
2013-01-07 10:33:00 +01:00
Rufus Pollock
a50733e552
[build][xs]: regular build.
2013-01-04 20:14:33 +00: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
e09a793a85
[#187,make][xs]: list minify as option in the help.
2013-01-04 19:28:54 +00:00
Rufus Pollock
ccde07574a
[vendor,refactor][xs]: remove long-unused vendor libs jquery.hotkeys.js and traverse.js.
2013-01-04 19:20:56 +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
0c32e8ab55
Merge branch 'master' into gh-pages
2012-12-22 19:58:07 +00:00
Rufus Pollock
4eb68fbf0f
[build][xs]: build latest.
2012-12-22 19:56:37 +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
Rufus Pollock
5691466cda
Merge pull request #288 from okfn/284-replacement-json
...
[284] Add json2.js which defines JSON for older browsers (IE7).
2012-12-10 08:52:11 -08:00
Rufus Pollock
498001b4d9
Merge pull request #289 from okfn/264-multiple-filters
...
[#264 ] Fix for #264 from ckan-updates branch.
2012-12-10 08:51:30 -08: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
John Glover
c6a8a33d32
[284] Add json2.js which defines JSON for older browsers (IE7). Fixes filters and 6 test failures with IE7.
2012-12-10 15:20:02 +01:00
Rufus Pollock
7f35cffe3c
[build][xs]: build from latest code.
2012-12-09 19:05:27 +00:00
Rufus Pollock
8b2a076387
[#187,make][xs]: minify build command.
2012-12-09 19:04:17 +00: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
Rufus Pollock
59b1fb41bb
Merge branch 'master' into gh-pages
2012-11-13 17:15:51 +00:00
Rufus Pollock
b900581605
Merge pull request #275 from citizen-cyberscience-centre/master
...
[view/timeline,bugfix][xs]: Fixing Date parsing for TimeLine in Safari from @teleyinex.
2012-11-13 08:35:17 -08: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
4b3b4d4b28
Merge branch 'master' into gh-pages
2012-11-13 12:07:51 +00:00
Rufus Pollock
3226d8b11b
[demos/multiview][xs]: set number types on x,y,z fields.
2012-11-13 12:07:23 +00: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
da3f67b629
Merge branch 'master' into gh-pages
2012-11-13 11:10:32 +00:00
Rufus Pollock
d2046f2449
Merge branch 'master' into gh-pages
2012-11-13 11:09:38 +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
User
94c56e1d10
Added test case for 'graphOptions'
2012-11-09 12:55:54 -05:00
Rufus Pollock
ede211646a
[#264,bugfix,filtereditor][s]: track down and fix bug with addFilter (and hence filtereditor) - fixes #264 .
...
* Quite a subtle bug due to the fact that we were not doing a deep copy on the filter template in addFilter
2012-11-08 20:35:03 +00:00
User
c74c329c21
Added a line to document graphOptions, changed attribute access method
2012-11-08 13:02:49 -05:00