218 Commits

Author SHA1 Message Date
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
Frederick Ros
1cc8df020d The slickgrid view can now be edited. 2012-10-14 20:56:25 +02:00
Rufus Pollock
d3b8f39213 [test/elasticsearch][xs]: disable ES backend write tests as they needed a running local ES server. 2012-10-14 18:51:04 +01:00
Rufus Pollock
42fcc1b649 Merge pull request #247 from sleeper/move_to_bb_0_9_2
[#226,vendor][s]: Upgrade to backbone 0.9.2 and underscore 1.4.2 - fixes #226 (thx to @sleeper).

Note while merge seems quite big there are no actual changes to main code (all changes are in built files like docs or dist)
2012-10-14 10:26:33 -07:00
Rufus Pollock
88dfa0b314 [#250,backend/ckan][s]: nicer way to do configuration of CKAN API endpoint including parsing of url - fixes #250. 2012-10-14 17:52:29 +01:00
Rufus Pollock
046ee8c1a0 [#240,bugfix,backend/memory][s]: range filters now work as expected when one end of range is null - fixes #240.
* see ticket and comments for more details
2012-10-12 22:29:55 +01:00
Rufus Pollock
7819b3b185 [#248,model][s]: normalize Field types where possible by mapping standard type aliases to default type name - fixes #248.
* view.graph.js improve graph view by making sure datetime for an axis is judged by whether it is date, datetime or time not just date!
* backend.ckan.js some type conversions now done in core model so can be removed
2012-10-12 22:06:56 +01:00
Rufus Pollock
f8bcf28d14 [#242,bugfix][s]: remove filter in filtereditor now removes correct filter rather than first one - fixes #242.
* Also tweak so that name of field comes before type of filter
2012-10-12 20:08:05 +01:00
Rufus Pollock
939d0786b3 [test][s]: worked out why filtereditor remove filter test not working and fixed it. 2012-10-12 20:04:36 +01:00
Frederick Ros
01d59a8b6b Moved to backbone 0.9.2 and underscoe 1.4.2 2012-10-11 17:23:20 +02: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
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
Dominik Moritz
2d26afb435 Merge branch 'master' into markercluster
Conflicts:
	src/view.map.js
2012-09-25 11:49:16 +01:00
Michael Bauer
73c414be30 changed memory test to reflect changed behavior 2012-09-13 16:35:43 +02: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
Dominik Moritz
3ecd0b875b write a test for automatic clustering and fix render issue 2012-09-12 14:10:50 +01: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
0577ab145d disable clustering in tests 2012-09-12 00:09:25 +01:00
Dominik Moritz
751cd095ce cluster markers to handle larger datasets 2012-09-12 00:09:07 +01:00
Rufus Pollock
00d36f2dac [#170,cleanup][s]: remove jquery.flot vendor lib and last remaining ref to it in test/index.html as now replaced by flotr2 - fixes #170. 2012-09-09 15:33:57 +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
5542e2e23b [#77,view/map][s]: support for infobox method to allow customization of popup infoboxes. 2012-09-08 19:27:42 +01:00
Rufus Pollock
763de67596 [test][xs]: remove dataset.query calls in map tests as no longer needed (since 02d152c5ad2a68e8b80ed63c636e2d6e4c3d084a I think). 2012-09-08 18:48:54 +01:00
Dominik Moritz
6695b3d371 Use src version of leaflet in tests 2012-09-01 21:33:39 +01:00
Dominik Moritz
fb81d51bc6 Updated leaflet to 0.4.4 2012-08-27 00:56:56 +01: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
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
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
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
211fe9d3ec [#212,test][xs]: micro fix to tests in line with changes for #212. 2012-08-15 13:15:22 +01:00
Rufus Pollock
ce84dfc26b [#212,test/map][s]: addendum to previous commit (should have been in there!). 2012-08-15 11:56:39 +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
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
c6135bec20 Spreadsheet and worksheet titles added to GDoc backend 2012-08-07 16:17:14 +02:00
Krzysztof Trzewiczek
f00a3a712e Worksheets managed in GDoc Backend 2012-08-07 12:09:05 +02:00
Mike Morris
f7e79e08fd fixing serializeCSV to pass test 2012-07-14 20:54:06 -04:00
Rufus Pollock
d70aaf370c Merge pull request #184 from mikemorris/master
[#185,be/csv][s]: adding serializeCSV function to CSV backend.
2012-07-14 17:33:45 -07:00
Mike Morris
11e1a17d6a adding serializeCSV function and test 2012-07-14 20:30:50 -04:00
Rufus Pollock
1c3dbaacc8 [#114,transform][s]: first set of tests for costco code. 2012-07-15 00:39:05 +01:00
Rufus Pollock
d599f75e85 [model,refator][s]: reintroduce summary on Record object deprecating recordSummary on Dataset.
* Reverses change in 1dadc1106bd2dbcad4580d3889e15ac44c865f80
* Record now has fields attribute passed down from Dataset. This is needed in order to support summary method and also makes sense -- as pointed out by @zephod
* Update examples
2012-07-09 01:29:46 +01:00
Rufus Pollock
22dd818183 [view/grid][s]: strip out all the menu stuff as somewhat broken both in UI (overflow not working) and functional terms (transform has changed).
* Felt simpler to remove and possibly reinstate later than try and fix now.
2012-07-08 16:41:34 +01:00
Rufus Pollock
a58f5e5bb0 [#174,refactor][s]: rename currentRecords to records on Dataset. 2012-07-05 15:37:17 +01:00
Rufus Pollock
202ca2dce0 [model,bugfix][s]: correction for change introduced in last commit to move summary method from Record to Dataset.recordSummary. 2012-07-03 15:35:40 +01:00
Rufus Pollock
b9555cce6a [refactor][xs]: rename docCount to recordCount. 2012-07-01 09:01:21 +01:00
Rufus Pollock
f06b9ad1b1 [field][xs]: formatter for geo_point type (like an object). 2012-06-29 20:40:15 +01:00
Rufus Pollock
2b3f6e1c5a [multiview,refactor][xs]: switch to SlickGrid as default view. 2012-06-28 23:57:26 +01:00