463 Commits

Author SHA1 Message Date
Rufus Pollock
cc9389a689 [facetviewer][s]: change from dropdown and simplify styling plus make some minor fixes. 2012-10-04 07:26:19 +01:00
Rufus Pollock
1bcb163ebe [filter,refactor][s]: remove fieldType attribute on filters as can (and should) get fieldType from model if needed.
* fieldType is needed now as we parse values to specific type before doing filters
* needed to correct some tests for this change
2012-10-04 07:01:41 +01:00
Rufus Pollock
9ea3b05524 [facetviewer][xs]: minor tweaks to facetviewer to remove things that aren't generic. 2012-10-03 18:47:40 +01:00
John Martin
a4e1b53c06 Fix to make clearfix work in Internet Explorer 7 2012-10-02 14:47:43 +01:00
John Martin
6ee9e98e5e Fixes for Internet Explorer 7 and its strict JSON object modelling 2012-10-02 14:36:46 +01:00
John Martin
1e4a2760f9 Added fix js file for adding support for ECMA262-5 Array methods for browsers that don\'t support them 2012-10-02 14:20:32 +01:00
John Martin
1d931b9239 Renamed all methods called delete to remove
This is because Internet Explorer <= 8 has `delete` as a reserved keyword that you cannot name your methods
2012-10-02 14:10:25 +01:00
Rufus Pollock
a16dd6b2d4 [backend/ckan,bugfix][s]: map types better. 2012-10-01 16:13:34 +01:00
Rufus Pollock
1377672da2 Merge pull request #231 from domoritz/markercluster
[view/map][m]: Cluster markers to enable better handling of large dataset - thanks to @domoritz.
2012-09-25 07:28:22 -07:00
Rufus Pollock
98393498ab Merge branch 'master' of github.com:okfn/recline 2012-09-25 14:29:20 +01:00
Dominik Moritz
16fc21ac03 fix popups (all popups were the same) 2012-09-25 11:49:43 +01:00
Dominik Moritz
2d26afb435 Merge branch 'master' into markercluster
Conflicts:
	src/view.map.js
2012-09-25 11:49:16 +01:00
Rufus Pollock
d5f0b074c2 [model][xs]: tweak to _backendFromString to remove option to look up backends specified as full module pathes as this is a liable to bugs and it is not being used. 2012-09-18 22:57:44 +01:00
Michael Bauer
4954e442a3 added regex support for query
Added a the regex support for queries - this will also match substrings!
(change from previous behavior).

Also fixed the test vor Custom popups, since this was b0rken.
2012-09-13 16:32:36 +02:00
Michael Bauer
fbea51030b fixes #222
It's quite simple obviously fields can not only be null but also
undefined....
2012-09-13 14:50:25 +02:00
Dominik Moritz
79c262e25b update markercluster to latest version 2012-09-12 14:17:03 +01:00
Dominik Moritz
3ecd0b875b write a test for automatic clustering and fix render issue 2012-09-12 14:10:50 +01:00
Michael Bauer
881fee5fe7 Fixes #230 - updated the feature popup code
The feature popup code was broken since commit
9b1bedc97c6febd236023e1ec40114ed288eecd4
2012-09-12 12:48:59 +02:00
Dominik Moritz
89890c8acb automatically enable clustering if there is a large number of markers 2012-09-12 01:52:58 +01:00
Dominik Moritz
e167591253 Updated documentation and tutorials 2012-09-12 00:50:20 +01:00
Dominik Moritz
751cd095ce cluster markers to handle larger datasets 2012-09-12 00:09:07 +01:00
Rufus Pollock
1effe779f3 [#180,refactor][xs]: rename couchdb demo url to /couchdb/ from /couchdb_multiview/. 2012-09-09 16:09:31 +01:00
bietz
a62d9ccdb2 updated couchdb backend 2012-09-09 15:37:05 +01:00
Bietz
b8537aae57 fixed couchdb backend, updated backbone and underscore, added couchdb multiview example in demos 2012-09-09 15:37:05 +01:00
Rufus Pollock
9948c501cf [#190,backend/csv][s]: rename CSV options from delimiter to quotechar and separator to delimiter - fixes #190. 2012-09-09 15:20:37 +01:00
Rufus Pollock
6e49f53a63 [#185,backend/csv][s]: add support for dataset-style objects to serializeCSV method - fixes #185. 2012-09-09 15:11:54 +01:00
Rufus Pollock
c879ca6df9 [whitespace,view/graph][xs]: fix up whitespace in view.graph.js. 2012-09-09 14:43:48 +01:00
Rufus Pollock
5542e2e23b [#77,view/map][s]: support for infobox method to allow customization of popup infoboxes. 2012-09-08 19:27:42 +01:00
Dominik Moritz
eed8024391 cleanup 2012-09-01 22:22:30 +01:00
Dominik Moritz
419f2e395c Hack because of leaflet issue (https://github.com/CloudMade/Leaflet/issues/966) 2012-09-01 22:08:07 +01:00
Dominik Moritz
8049f73f09 cleanup 2012-09-01 22:07:44 +01:00
Dominik Moritz
69d1cfbdf2 satisfy lint 2012-09-01 21:07:01 +01:00
Dominik Moritz
9b1bedc97c Adapt to api changes (featureparse event does not exist anymore) 2012-09-01 21:04:57 +01:00
Dominik Moritz
fb81d51bc6 Updated leaflet to 0.4.4 2012-08-27 00:56:56 +01:00
Felix Gnass
831d656477 fixed the upper right menu and made it dynamic
The menu did not work because `this['$'+view.id]=...` was called with the wrong scope. Besides this fix, the template now looks at the actual `sidebarViews` array and renders the buttons dynamically.
2012-08-23 14:29:22 +02:00
Rufus Pollock
e2963e9fb7 [#217,backend/ckan][s]: support for sorting (plus refactor to have a normalizeQuery method). 2012-08-22 09:51:33 +01:00
Rufus Pollock
fe41a0cf90 Merge branch 'master' into 217-ckan-backend 2012-08-21 23:57:10 +01:00
Rufus Pollock
4737d7ecc5 [#218,refactor,query][m]: refactor query object sort attribute structure as described in #218 - fixes #218. 2012-08-21 23:55:03 +01:00
Rufus Pollock
41657d2cae [#217,backend/ckan][xs]: bugfix regarding setting of the CKAN API endpoint. 2012-08-21 22:20:12 +01:00
Rufus Pollock
24f13366c0 [#217,backend/ckan][xs]: correct argument order to query method and make test into a proper module to stop cross test pollution. 2012-08-18 02:50:25 +01:00
Rufus Pollock
74132d36d7 [#217,backend/ckan][m]: functional CKAN backend (read-only).
* limited tests so far (only use mocks so have not tested querying properly)
2012-08-18 02:01:13 +01:00
Rufus Pollock
c7775853d0 [addendum][xs]: remove some extra comments that should have gone in last commit. 2012-08-17 08:46:44 +01:00
Rufus Pollock
70c2676fc0 [#196,bugfix][s]: add back in support for serializing *all* dataset info into state object (and restoring from it) - fixes #196.
* Also minor refactor move dataset restore functionality into multiview (it makes more sense as it is multiview which does the serializing in the first place)
* Improved tests for this!
2012-08-16 14:28:44 +01:00
Rufus Pollock
bc414e9f8c [#212,views][s]: refactor views and tutorial so that no render call in initialize and view element can be passed in externally (fixes #212). 2012-08-15 12:33:59 +01:00
Rufus Pollock
02d152c5ad [#153,#212,view/map][m]: fixes #153 bug re map rendering (see issue for more) and in process did refactoring of map view in line with #212.
* multiview: refactored to call render on all views as that is new setup for #212 (and also needed for #153)
* tutorial-views: call render now which fixes bug (this was specific issue reported in #153)
2012-08-15 11:51:08 +01:00
Rufus Pollock
6f78b7b1be [#211,view][s]: switch show/hide from events to explicit methods - fixes #211. 2012-08-15 10:57:58 +01:00
Krzysztof Trzewiczek
d43b9633ec [closes #182,view/multiview] Sidebar views moved to initialize options 2012-08-10 12:29:24 +02:00
Krzysztof Trzewiczek
532f777f78 [#166,closed,gdocs/backend] Added title to GDocs backend metadata 2012-08-09 17:59:25 +02:00
Krzysztof Trzewiczek
d7fc9ba1f8 [#96,closed] Range filter with support for string, number and date data-types 2012-08-09 13:00:41 +02:00
Krzysztof Trzewiczek
b39f858f69 [#209,backend/memory] Code refactored (less side-effects) to be moved from backends 2012-08-08 21:37:11 +02:00