658 Commits

Author SHA1 Message Date
Rufus Pollock
da727cae9a [doc/demos][s]: stub page. 2012-06-21 22:54:20 +01:00
Rufus Pollock
1e73338055 Merge branch 'master' of github.com:okfn/recline 2012-06-21 08:36:35 +01:00
Rufus Pollock
9e69de0db9 [docs/library][s]: heavily rewrite and refactor main doc page to be simpler and clearer. 2012-06-20 18:40:27 +01:00
Max Ogden
ae81d3aa70 Merge pull request #161 from slmnhq/master
CouchDB Backend.
2012-06-20 08:50:46 -07:00
Salman Haq
8582998643 Added CouchDB backend with support for custom
views and basic client-side search (filtering, faceting, and sorting).
2012-06-20 10:48:38 -04:00
Rufus Pollock
215694f3be [site/home][s]: massively simplify front page removing almost everything. 2012-06-18 22:11:55 +01:00
Rufus Pollock
4d3d910387 [site/theme][s]: refactor navbar extensively in content and somewhat in layout plus tweak footer. 2012-06-18 21:44:36 +01:00
Rufus Pollock
0148dd45b2 [test,addendum][xs]: fixes for tests after changes in last commit b64daea1a763ba40d450d8234f7b3ac0c8f15c16. 2012-06-18 21:21:03 +01:00
Rufus Pollock
b64daea1a7 [#111,elasticsearch,geofilter][xs]: work out that what ES docs describe as distance_unit field is actually called unit. 2012-06-16 18:27:59 +01:00
Rufus Pollock
92b061ef00 [map,bugfix][xs]: tick / untick autozoom control correctly. 2012-06-16 18:00:53 +01:00
Rufus Pollock
a3ad4a834e [multiview][xs]: show filter editor in sidebar by default. 2012-06-16 18:00:23 +01:00
Rufus Pollock
72e444c5ca [build][s]: . 2012-06-16 17:17:33 +01:00
Rufus Pollock
a58dea652f [bugfix,timeline][xs]: but VMM.debug = false inside guard for VMM being defined.
* was setting VMM.debug = false at module level but we may be including this module via recline.js but not intending to use timeline and hence not including VMM library.
2012-06-16 17:17:22 +01:00
Rufus Pollock
262bb95376 [backend/elasticsearch][xs]: auto lower case terms in term filters as ES needs them to be lowercase. 2012-06-16 17:03:53 +01:00
Rufus Pollock
81167e39fe [#154,filtereditor][s]: refactor how we lay out the filters in order to group inputs for a given filter together more.
* Model.Query: use distance_unit for geo_distance filter.
2012-06-16 16:46:34 +01:00
Rufus Pollock
8ff885759f [#111,backend/elasticsearch][s]: geo distance filter now working - hurrah!. 2012-06-16 16:31:45 +01:00
Rufus Pollock
d17775e39d [backend/memory,bugfix][s]: corrected sort for memory backend so works correctly on string fields. 2012-06-16 13:39:15 +01:00
Rufus Pollock
36911aef14 [#130,test,bugfix][xs]: slickgrid tests were still testing sort order even though removed in b6eb375624f8b5f4d8037046ad4a90ecf25cd0e1. 2012-06-16 13:17:10 +01:00
Rufus Pollock
f14dcdcaaf [#154,model/query][m]: refactor to new filter structure (see ticket) updating FilterEditor widget and backends.
* ElasticSearch changes represents a significant refactor and now support filters and query via constant_score (did not support this before!)
2012-06-16 13:04:03 +01:00
Rufus Pollock
617d3440f0 [#154, backend/elasticsearch][s]: backend errors now reported up the stack (implement deferred reject when call to backend fails). 2012-06-16 12:59:01 +01:00
Rufus Pollock
87df9ea080 Merge branch 'master' of github.com:okfn/recline 2012-06-15 11:12:55 +01:00
Rufus Pollock
8fe04ddd4f [#111,filter/geo][m]: geo filter support - filter editor working though not sure actual query is working (!).
* Extensive refactoring of Model.Query and View.FilterEditor to do this cleanly (geo_distance and term treated similarly now)
2012-06-15 10:51:13 +01:00
amercader
b6eb375624 [#130,view/slickgrid] Don't store sort info on state, as it is stored on the query 2012-06-12 13:22:39 +01:00
Rufus Pollock
952c85a912 Merge branch 'master' of github.com:okfn/recline 2012-06-12 13:09:08 +01:00
Rufus Pollock
75cd2fb94d [#141,view/map][s]: support for all of elasticsearch geo_point / location objects - fixes #141.
* [lon, lat]
* "lat,lon"
* Bonus (non-ES): "(lat,lon)"

Also (accidentally included):

* upgrade to qunit 1.5.0 (much better stack traces!)
2012-06-11 22:00:32 +01:00
amercader
20d7683223 [#130,view/slickgrid] Sort documents on SlickGrid view 2012-06-11 13:47:41 +01:00
Rufus Pollock
7b07a9558b [timeline][s]: make it easy to customize timeline info in client apps by providing convertRecord method. 2012-06-11 12:46:10 +01:00
Rufus Pollock
399172b8f4 [timeline,tweaks][xs]: tweak setting of timeline width to be more robust in different circumstances. 2012-06-10 21:08:29 +01:00
Rufus Pollock
80d3576a6c [view/timeline][s]: workarounds so that timeline can be init-ed automatically if created with a dom element.
* This means you don't have to do view.trigger('view:show') after creating if the view element already in the dom.
* Verite Timeline is a bit problematic in that it cannot be passed a dom element but insists on being passed an id it looks up.
2012-06-10 15:15:57 +01:00
Rufus Pollock
d2ce46cc42 [#152,timeline][xs]: handle null or undefined dates properly. 2012-06-10 14:23:03 +01:00
Rufus Pollock
6a746420c6 [build][xs]: usual build. 2012-06-10 13:14:48 +01:00
Rufus Pollock
1c9024d051 [css,refactor][xs]: inline images (spinner + edit-map) into css to avoid dependencies on external image files.
* Why? Cleaner, simpler and avoids problems now we build a single consolidated css file.
2012-06-10 12:49:59 +01:00
Rufus Pollock
3fbad6bace [make,bugfix][xs]: concat js files as well as css (problem introduced in 882d31eca577fcb35be2c23995af29f1d6e441ac). 2012-06-10 12:45:50 +01:00
Rufus Pollock
75a6bbd80a [#152,view/timeline][s]: more robust data parsing with tests - fixes #152.
* Also discover and fix "bug" re momentjs timezone calculation and toDate.
2012-06-10 12:35:39 +01:00
Rufus Pollock
3cdd1c278b [app,load,bugfix][xs]: add back in google docs option (accidentally left off load menu). 2012-06-10 09:58:30 +01:00
Rufus Pollock
6a3316217e [app][xs]: remove console.log. 2012-06-10 09:44:33 +01:00
Rufus Pollock
64e21bc021 [build][s]: build new recline.css as well as recline.js. 2012-06-08 21:31:25 +01:00
Rufus Pollock
882d31eca5 [dist][s]: move recline.js to dist/recline.js. 2012-06-08 21:28:07 +01:00
Rufus Pollock
1e65468f33 [#151,view/graph,bugfix][xs]: parse string as numbers if we can when plotting them - fixes #151. 2012-06-08 21:00:29 +01:00
Rufus Pollock
20191bf9fa [#145,widget/fields][s]: ux on fields including heading, expand all and collapse all support, bugfix for weird collapsed but content not collapsed issue. 2012-06-07 19:52:20 +01:00
Rufus Pollock
9b583b8397 [#147,widget/filtereditor][s]: setting of term filter value and removal of filter working again (and tested!) - fixes #147. 2012-06-07 00:18:08 +01:00
Rufus Pollock
ed734d90e4 Merge branch 'master' of github.com:okfn/recline 2012-06-07 00:00:47 +01:00
Rufus Pollock
26350fec06 [#147,widget/filtereditor][m]: add filter support in filter widget plus move to sidebar and tidy up.
* model.js: xsmall tweak to set value of term filter to empty string rather than null.
2012-06-06 23:59:09 +01:00
Rufus Pollock
68b6a9356f [view/map,bugfix][xs]: autozoom working again after breakage in ef74f13163cfee02dd28b8f5ecf6f08e59619ce3.
* had change autozoom to be part of state and had not done find/replace fully due to a self.autoZoom case as well as this.autoZoom case.
2012-06-06 23:19:55 +01:00
Rufus Pollock
5dbc086c06 Merge pull request #146 from icmurray/master
[backend/dataproxy,bugfix][s]: Fix to dataproxy backend to allow viewing files with duplicate column title names from @icmurray.
2012-06-06 10:21:56 -07:00
Rufus Pollock
0549383073 [backend/memory][xs]: change full text query in memory backend to ignore case. 2012-06-06 17:20:43 +01:00
Rufus Pollock
1a8375ff85 [test,bugfix][xs]: addendum fix to rename of label to title in demo in f1e2f7c4aee1deb1c24724b1e0266e0742b83380. 2012-06-06 17:17:24 +01:00
Rufus Pollock
aaa72447b2 [#145,css/multiview][xs]: do not set width on fields widget now it is in sidebar. 2012-06-06 15:37:55 +01:00
Rufus Pollock
a14157234d [widget/filtereditor][xs]: remove close button since we have toggle in multiview. 2012-06-06 15:28:27 +01:00
Rufus Pollock
f1e2f7c4ae [test/fixtures][xs]: rename label to title so we have a nicer demo. 2012-06-06 15:22:13 +01:00