1014 Commits

Author SHA1 Message Date
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
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
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