209 Commits

Author SHA1 Message Date
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
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
Rufus Pollock
aa1a362bb2 [#94,transform][m]: rework transform functionality and integration extensively (+ its working again!).
* view.transform.js: major refactor
  * general record transform rather than column transform
  * Normal dataset view rather than modal
  * Reworked UI
  * split out css from grid.css and simplify
* model.js + backend.memory.js: transform implemented on Dataset and Memory (Dataset passes off to _store).
* multiview: use new transform view
* _includes/recline-deps - rework to use source files rather than built ones
2012-06-28 23:52:58 +01:00
Rufus Pollock
340fedde0d [refactor][s]: get rid of backend subdirectory and instead have prefix backend when naming files. 2012-06-26 20:38:28 +01:00
Rufus Pollock
3d6ad46cc5 [#162,refactor][s]: backend is now string in 'normal' set of Dataset arguments. 2012-06-25 10:10:12 +01:00
Rufus Pollock
5216e23f45 [model/query][s]: tidying up last part of recent filter refactor by removing addTermFilter + addGeoFilter - closes #154. 2012-06-25 09:30:37 +01:00
Rufus Pollock
3837123eca [#162,be/csv][s]: add fetch method as per new #162 approach and support more methods than just file - string, local online CSV file.
* Also get to remove code obsoleted by recent work in #165 to allow fetch to return simple set of records (see penultimate commit)
2012-06-24 14:37:46 +01:00
Rufus Pollock
1e550e4437 [#165,#162,be/dataproxy][s]: simplify dataproxy to return raw fields and records as cleanup and normalization now done in Dataset (cf previous commit). 2012-06-24 14:36:19 +01:00
Rufus Pollock
1fee4c2821 [#165,model/dataset][m]: new method normalizeRecordsAndFields to ensure we get valid records and fields from fetch (e.g. no duplicate field ids!). 2012-06-24 12:42:22 +01:00
Rufus Pollock
31980857a9 [#162,be/elasticsearch][s]: convert elasticsearch to the new setup (remove all Backbone from the Backend!).
* Also convert to new QueryResult format in which no _source, _type etc - cf #159
2012-06-23 22:31:23 +01:00
Rufus Pollock
3f37da089a [#162,refactor][s]: remove recline.Memory.createDataset now that it is obsoleted by recent improvements. 2012-06-23 20:38:47 +01:00