200 Commits

Author SHA1 Message Date
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
Rufus Pollock
6e5c15a816 [#162,backend,model][l]: major commit addressing several parts of the backend / model refactor in #162.
* Now have Dataset setup and manage "memory store"

  * New fetch API as per issue #162 spec
  * dataproxy utilizes useMemoryStore attribute and just implements fetch
  * Switch gdocs to use Memory.Store properly via new useMemoryStore + fetch methodology
  * Memory backend: query function now follows promise API, remove fetch,upsert,delete and add save function to Store object

* Also refactor to remove _source in QueryResult "hits" attribute on all backends but ElasticSearch - cf #159 (note this means ES currently broken)
2012-06-23 20:23:24 +01:00
Rufus Pollock
bda4797ed8 [test/refactor][xs]: dataproxy and gdocs tests now in own files. 2012-06-23 18:07:00 +01:00
Rufus Pollock
1ed3b9f423 [be/dataproxy][m]: switch dataproxy to use Memory data store (fixes #164) and switch to new backend / model setup (#162). 2012-06-23 18:00:30 +01:00
Rufus Pollock
7141b7aafd [#162,model,be/memory][m]: refactor started with the new API on Dataset, Record and Memory backend.
* Tests are passing except for a dataproxy one.
2012-06-23 13:28:32 +01:00
Rufus Pollock
0148dd45b2 [test,addendum][xs]: fixes for tests after changes in last commit b64daea1a763ba40d450d8234f7b3ac0c8f15c16. 2012-06-18 21:21:03 +01:00
Rufus Pollock
8ff885759f [#111,backend/elasticsearch][s]: geo distance filter now working - hurrah!. 2012-06-16 16:31:45 +01:00
Rufus Pollock
d17775e39d [backend/memory,bugfix][s]: corrected sort for memory backend so works correctly on string fields. 2012-06-16 13:39:15 +01:00
Rufus Pollock
36911aef14 [#130,test,bugfix][xs]: slickgrid tests were still testing sort order even though removed in b6eb375624f8b5f4d8037046ad4a90ecf25cd0e1. 2012-06-16 13:17:10 +01:00
Rufus Pollock
f14dcdcaaf [#154,model/query][m]: refactor to new filter structure (see ticket) updating FilterEditor widget and backends.
* ElasticSearch changes represents a significant refactor and now support filters and query via constant_score (did not support this before!)
2012-06-16 13:04:03 +01:00