1006 Commits

Author SHA1 Message Date
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
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
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
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
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
User
b501b7123c Added ability to extend graph options with state parameter 'graphOptions' 2012-11-08 12:31:05 -05:00
Rufus Pollock
d479603ca7 [README][xs]: better instructions for contributing. 2012-11-08 10:46:15 +00:00
Rufus Pollock
3362083db6 [#183,demos/search][s]: improve commenting in search demo js and produced docco'd version. 2012-11-02 22:26:45 +04:00
Rufus Pollock
da1da60942 [docs][xs]: latest version of docco.css. 2012-11-02 22:26:45 +04:00
Rufus Pollock
4e8a8eb340 [#183,demos/search][xs]: rename js file. 2012-11-02 22:26:45 +04:00
Frederick Ros
24ee9fa019 Update the grid when a record is changed
Fixes #255
2012-11-02 22:26:45 +04:00
Frederick Ros
c7ff853acb Fixed typo in comments 2012-11-02 22:26:45 +04:00
Rufus Pollock
2799fe5acd [#183,demos/search][s]: improve commenting in search demo js and produced docco'd version. 2012-11-02 09:58:42 +00:00
Rufus Pollock
a441c939d0 [docs][xs]: latest version of docco.css. 2012-11-02 09:58:27 +00:00
Rufus Pollock
c3c4f04cc9 [#183,demos/search][xs]: rename js file. 2012-11-02 09:36:25 +00:00
Rufus Pollock
98e346b270 Merge pull request #261 from sleeper/fix_typo
[view/slickgrid][xs]: Fixed typo in comments.
2012-10-29 02:18:09 -07:00
Rufus Pollock
07bd5a44e7 Merge pull request #260 from sleeper/slickgrid_data_change
[#255,views/slickgrid][s]: Update the grid when a record is changed - thx to @sleeper.
2012-10-29 02:17:24 -07:00
Daniel Beilinson
7a12003a35 undfinded _id for couchDB, 33 symbols ID generator 2012-10-29 01:43:52 +04:00
Daniel Beilinson
7e471407a3 _createDocument fixed, randomId function added 2012-10-24 23:13:28 +04:00
Frederick Ros
0aa85c9560 Update the grid when a record is changed
Fixes #255
2012-10-24 00:01:08 +02:00
Daniel Beilinson
b3e68c152d couchDB broken sort and filter fixed 2012-10-23 23:06:52 +04:00
Rufus Pollock
2684bfed0e [#223,tutorial/maps][m]: start of a in-depth map tutorial with instructions on customizing infoboxes and markers.
* Also add to tutorials.html (and refactor that page a bit)
2012-10-23 00:27:25 +01:00
Rufus Pollock
df935091fd [#244,view/map][m]: support for customizing rendering of map features in all ways supported by Leaflet - fixes #244.
* This automatically provides support for things like custom markers via
  pointToLayer etc

* Also a significant bugfix for a bug that surfaced when using different marker
  (like the CircleMarker) - and which took ~30m to track down. Bug was that the
  call to zoom (or, more specifically, call to getBounds) occurred before
  features were added to the map and getBounds for some objects (such as
  circles) requires map to exit (so you can do a projection!)
2012-10-23 00:19:59 +01:00
Rufus Pollock
84edf764a0 [docs/backend][s]: add solr and ckan to backend list. 2012-10-23 00:19:33 +01:00
Rufus Pollock
b70b41ec5c [#249,docs][s]: document geo_point type throughly. 2012-10-22 21:59:20 +01:00
Rufus Pollock
80626485ce [#223,map][xs]: small improvements to in file docs for Map view. 2012-10-22 21:39:18 +01:00
Frederick Ros
abb23cc5e3 Fixed typo in comments 2012-10-22 19:07:57 +02:00
Rufus Pollock
68d2f66f66 [docs/backend][s]: tidy up and factor out backend list to include file. 2012-10-22 16:30:15 +01:00
Rufus Pollock
c9208f1a08 [content][s]: front page button links to main docs. 2012-10-22 16:04:33 +01:00
Rufus Pollock
07b270ff96 [#180,demos/search][m]: google docs example using nigeria oil spill data - closes #180. 2012-10-20 02:32:33 +01:00
Rufus Pollock
c63a3b0a4f [#180,demos/search][s]: refactor bespoke template handling. 2012-10-20 01:58:44 +01:00
Rufus Pollock
97dcf08780 [backend/gdocs][s]: minor improvement to support handling spreadsheet urls where #gid=xxx is missing. 2012-10-20 01:57:13 +01:00
Rufus Pollock
d5b648cc89 [demos][s]: add search to index page and correct a typo. 2012-10-19 12:20:09 +01:00
Rufus Pollock
4aeabbe3a1 Merge branch '120-solr-backend' 2012-10-19 09:55:18 +01:00
Rufus Pollock
672d151434 [#180,demos/search][m]: working search demo using any backend and with special customization for openspending (the linked example). 2012-10-19 09:53:19 +01:00
Rufus Pollock
11c0a2b083 [#180,demos/search][s]: support for getting config from url (not used yet) plus refactor so that template is just for one result. 2012-10-19 09:53:10 +01:00
Rufus Pollock
af37da4d97 [_includes][xs]: include solr backend. 2012-10-19 08:16:39 +01:00
Rufus Pollock
ef931624a5 [package.json][s]: rename to reclinejs as recline already exists in npm plus bump to v0.7.0 and add amercader as contributor. 2012-10-19 08:07:15 +01:00
Rufus Pollock
b93adef3d5 [build/dist][s]: build latest. 2012-10-19 08:02:34 +01:00
Rufus Pollock
bc1c84944a Merge branch 'master' of github.com:okfn/recline 2012-10-19 08:00:51 +01:00
Rufus Pollock
f6a3395b40 [#258,model][xs]: tiny bugfix for cases where fields in raw state contain a non-string - fixes #258. 2012-10-19 07:57:47 +01:00