488 Commits

Author SHA1 Message Date
Rufus Pollock
b28fe024a1 [#46,refactor,util][xs]: remove util functions (e.g. show, hide, observeExit) which are now no longer used after recent commits. 2012-04-26 21:31:50 +01:00
Rufus Pollock
c5512c67f5 [#46,refactor][s]: remove DataTranform view (for transforming whole doc not just column) as not used and probably not functional. 2012-04-26 21:28:01 +01:00
Rufus Pollock
562de80655 [#46,view-transform-dialog][xs]: remove dialog on exit (rather than just hiding) - seems to fix some bugginess with repeated opening of transform. 2012-04-26 21:26:25 +01:00
Rufus Pollock
9c0c4dfae3 [#46,view-grid,view-transform-dialog][s]: switch ColumnTransform to work off bootstrap modal. 2012-04-26 21:20:59 +01:00
Rufus Pollock
81dc7eab2b [app][m]: proper start page for app (welcome, etc) plus introduce backbone routing to support this. 2012-04-26 17:22:36 +01:00
Rufus Pollock
c9a3471b57 [view/explorer][xs]: remove (already obsolete) router and routing code from explorer. 2012-04-26 17:22:03 +01:00
Rufus Pollock
706819e288 [test][xs]: remove element after test. 2012-04-26 16:05:43 +01:00
Rufus Pollock
2a3cca5190 [build][xs]: standard build. 2012-04-25 23:27:47 +01:00
Rufus Pollock
1df82c3c3d [#75,view/graph][s]: if type of x-axis field is date make flot graph treat it as a datetime - fixes #75.
* TODO / problems: have hard-coded ticks to be yyyy-MMM but that may not work well for all time series (may need to guess this from the resolution of the data or allow user to configure)
2012-04-25 23:23:13 +01:00
Rufus Pollock
8d33df79ac [refactor,app][xs]: switch app to use fixture dataset from test/base.js. 2012-04-25 22:33:40 +01:00
Rufus Pollock
d8bbac1f6f [#85,view/graph,ux][s]: show a message on graph view when no graph yet there giving instructions on how to plot a graph (was a big ux fail) - fixes #85. 2012-04-25 22:27:01 +01:00
Rufus Pollock
82ca51a0b6 [#85,view-graph][m]: graph controls are now correctly configure themselves from loaded state.
* Also heavily refactor to have a cleaner and better code e.g. using templating to add new series.
2012-04-25 22:12:42 +01:00
Rufus Pollock
dd3b17e3bb [#88,bugfix][xs]: for some reason changing of hiddenFields on grid state was not propagating a change event.
* suspect this may be to do with backbone and how it checks for changes on arrays.
2012-04-25 15:53:46 +01:00
Adrià Mercader
30f4d7359e Merge pull request #100 from amercader/master
Reapply a lost fix, fix built demo and tests and rebuild library
2012-04-25 04:53:39 -07:00
amercader
4f675cb6aa [build] Build library 2012-04-25 12:50:58 +01:00
amercader
33cf962a5b [build,tests] Fix built.html and add tests against the built version 2012-04-25 12:50:16 +01:00
amercader
0b6840819e [view/map,bugfix] Reapply fix from 5eb65f, lost due to a bad merge 2012-04-25 12:24:43 +01:00
Adrià Mercader
d589596533 Merge pull request #99 from amercader/master
Add tests and various fixes for the map view
2012-04-24 11:10:34 -07:00
amercader
a516fc1deb [view/map][s] Listen to changes in the documents and update the map accordingly 2012-04-24 19:06:51 +01:00
amercader
653eda6f43 [view/map][xs] Small fix in the getBounds method (does not work for multi-geometries) 2012-04-24 18:53:19 +01:00
amercader
3597974469 [view/map] Don't show GeoJSON geometries in the popup as they can be quite big 2012-04-24 18:42:52 +01:00
amercader
6749e38b07 [view/map,tests] Add tests for the Map view 2012-04-24 18:34:36 +01:00
amercader
1655690bc8 [view/map][xs] Fix lat/lon parsing (eg geoms in Greenwich can have lon 0) 2012-04-24 14:19:03 +01:00
Adrià Mercader
80ca673cbe Merge pull request #98 from amercader/master
Make easier to plot GeoJSON geometries, eg from CSV files
2012-04-23 10:34:41 -07:00
amercader
9ed43dfdc6 [view/map] Geometries can be provided as GeoJSON strings (useful e.g. in CSV files) 2012-04-23 18:24:53 +01:00
amercader
7def51b573 [backend/localcsv] Add support for defining the text delimiter on CSV files 2012-04-23 18:23:44 +01:00
Adrià Mercader
de732fd27b Merge pull request #97 from amercader/master
Add auto map zoom when loading datasets or updating rows
2012-04-23 03:40:51 -07:00
amercader
c5da3a820e Merge branch 'master' of github.com:okfn/recline
Conflicts:
	src/view-map.js
2012-04-23 11:37:51 +01:00
Rufus Pollock
e5316e03cf [build][s]: regular build of docs and library. 2012-04-23 02:36:11 +01:00
Rufus Pollock
a577866932 [#61,backend/elasticearch][s]: refactor plus support for setting request headers (e.g. Authorization) plus can set backend url on initialization.
* support for headers went into new _makeRequest method on backend base class
* support for setting backend url on initialization (rather than depending on it being on Dataset/Document objects)
* move upsert and delete methods out into distinct methods from being inside backbone sync

The two last of these pave the way for use of ElasticSearch backend standalone (both independent from Recline and independent of Backbone)
2012-04-23 02:30:16 +01:00
Rufus Pollock
1bf64c5f94 [#61,backend/elasticsearch][m]: create, update and delete support in elasticsearch backend -- fixes #61. 2012-04-22 22:17:47 +01:00
Rufus Pollock
d19337eda4 [build][xs]: regular build of recline.js. 2012-04-22 18:23:38 +01:00
Rufus Pollock
1614cf318c [CNAME][xs]: add CNAME (reclinejs.com). 2012-04-22 17:32:59 +01:00
Rufus Pollock
31d829f53f [#17,backend][s]: add readonly attribute on backends indicating whether they are 'read-only'. 2012-04-22 00:03:59 +01:00
Rufus Pollock
67ff757722 [#68,field][s]: link and markdown format for strings with default formatter. 2012-04-21 23:54:49 +01:00
Rufus Pollock
24295e78a2 [view/map][s]: make map view much more robust regarding bad or missing data in location fields. 2012-04-21 23:52:22 +01:00
Rufus Pollock
793fde4617 [bugfix,view-map][s]: 30m to track down and fix a bug whereby map view was ignoring config passed to it.
* setupGeometryFields was running (and overwriting) even if fields set in state passed in (which I don't think we want).
2012-04-21 23:47:52 +01:00
Rufus Pollock
92ec8d5b3e [backend/memory,bugfix][xs]: fix error on memory filtering when field value is null (cannot call toString). 2012-04-21 22:48:33 +01:00
Rufus Pollock
60b7f19f71 [vendor,refactor][xs]: lay vendor directory in consistent way ({lib}/{version}/{js-file}). 2012-04-17 12:53:11 +01:00
Rufus Pollock
7973bf1dd4 [build][s]: regular build of docs and consolidated library. 2012-04-17 11:17:39 +01:00
Rufus Pollock
5eb65f2b77 [view-map,bugfix][xs]: only call invalidateMapsize on view:show if map defined.
* this issue arose in case when map is the first view being shown.
2012-04-17 05:27:09 +01:00
Rufus Pollock
bdbfdd7c34 [#67,app][s]: embed support. 2012-04-17 05:24:06 +01:00
Rufus Pollock
27b5cf243f [bugfix,view][xs]: set default view in DataExplorer to first view if no currentView specified. 2012-04-17 05:19:27 +01:00
Rufus Pollock
9e08d6109b [app][xs]: comment out router stuff which was obsoleted by last commit and is causing problems with online version of app. 2012-04-16 21:05:40 +01:00
Rufus Pollock
3ef664fe77 [#88,#67,state,view,app][s]: restore was not in fact working correcty for views as we need to pass the state on initialization (we were setting the state later).
* Also turn off url updating since I think that was messing with things and we were planning to do that. (For later: reintroduce this as it supports well-behaved navigation)
2012-04-16 20:47:47 +01:00
amercader
eac494cb84 [merge] from upstream master 2012-04-16 17:45:25 +02:00
Rufus Pollock
0f0fa633a1 [#67,app][s]: first pass at sharable link support in app (though seems rather buggy). 2012-04-16 15:17:19 +01:00
Rufus Pollock
a42840cdf3 [#88,model/state][xs]: can just specify a url instead of full dataset object when restoring from state (easier and good for backwards compatability). 2012-04-16 15:16:28 +01:00
Rufus Pollock
53e099beda [test][xs]: make fixtures dataset same as for demo. 2012-04-16 15:15:59 +01:00
amercader
1dbd8bf957 [view/map] Make auto zoom configurable 2012-04-16 11:04:05 +02:00