Rufus Pollock
3412962a35
[#62,faceting][s]: introduce Facet and FacetList models and use them.
...
* Conceptual breakthrough on how Faceting and Filtering interact (have updated issue #62 as a result).
2012-03-31 18:06:41 +01:00
Rufus Pollock
e3819d8f4e
[#51,bugfix][xs]: fix bug in pulling of fields from document in createDataset (corrects error in 5fc486d8083a27db21993fc7d58c2c2dae75c17f).
2012-03-31 11:09:10 +01:00
Rufus Pollock
d68529c113
[test/model][xs]: add a test for FieldList.toJSON.
2012-03-29 08:38:58 +01:00
Rufus Pollock
f51b4b6d79
[#36,backend/localcsv][m]: local csv 'backend' completed with new csvToDataset function - fixes #36 .
2012-03-27 17:05:34 +01:00
Rufus Pollock
cb81fe87af
[#51,backend/memory][s]: simple createDataset method to create in-memory dataset from raw array of hashes (and optional other info).
2012-03-27 17:02:13 +01:00
Rufus Pollock
995a053400
[#36,backend/localcsv][s]: start on local 'backend' with CSV parser and test.
2012-03-27 08:27:10 +01:00
Rufus Pollock
81c7d3a138
[test][xs]: remove link to removed backend/webstore.js.
2012-03-25 18:00:01 +01:00
Rufus Pollock
95a394bd13
[backend/webstore][s]: remove webstore backend.
2012-03-15 00:27:53 +00:00
Rufus Pollock
dd4fbeceb5
[backend/gdocs][s]: support being given standard 'user' gdocs url by extracting spreadsheet key and generating url with it.
...
* This makes gdocs backend much easier to use!
2012-03-15 00:24:21 +00:00
Rufus Pollock
733a9d3275
[#34,view][s]: query state in url (store into and read from).
...
* Also change so that query values are not automatically JSON.stringify-ied (bad idea since it leads to repeated jsonification of same value ...)
2012-03-14 19:45:28 +00:00
Rufus Pollock
2bf0f9681f
[test][xs]: fix for DataProxy test broken by changes in e6ce2ca533cf9ef60773280e51b866504e5047f5.
2012-03-14 18:43:42 +00:00
Rufus Pollock
3abca8c7c5
[test][xs]: correct vendor links (causing lots of broken tests!).
2012-03-14 18:42:00 +00:00
Rufus Pollock
64056da3aa
[backend/elasticsearch][s]: ES backend supports full text queries and sorting.
2012-02-28 21:08:18 +00:00
Rufus Pollock
ae587506f3
[#34,query][s]: switch to proper ES style sort structure.
2012-02-28 16:43:37 +00:00
Rufus Pollock
bd6123403e
[#34,query][s]: rename offset to from on query object.
...
* More natural in fact and we may as well go whole hog with ES structure.
2012-02-27 20:54:02 +00:00
Rufus Pollock
a9c1b2ae07
[#54,backend/es][m]: ElasticSearch backend (readonly atm) - fixes #54 .
2012-02-24 22:32:30 +00:00
Rufus Pollock
df79583bde
[#50,backend,refactor][s]: complete backend split / rename refactor by removing Backend prefix from Backend classes - fixes #50 .
...
* Backend prefix unnecessary now that everything in recline.Backend module.
2012-02-24 19:17:51 +00:00
Rufus Pollock
e3a0615e43
[backend,refactor][s]: split backends in separate files and put in separate module recline.Backend.
2012-02-24 14:12:45 +00:00
Rufus Pollock
1fd337e1d4
[#48,refactor][s]: rename DataTable to DataGrid - fixes #48 .
2012-02-22 21:18:30 +00:00
Rufus Pollock
1abf2769bd
[#48,view/grid][xs]: split out DataTable (soon to be Grid or DataGrid) into its own file.
2012-02-22 21:06:58 +00:00
Rufus Pollock
5b70170ec7
[#40,view][s]: add support for CellRenderer as argument to DataTable and DataTableRow ( fixes #40 ).
2012-02-18 10:30:24 +00:00
Rufus Pollock
4074f380d8
[#25,view,refactor][s]: get views working with new field setup ( fixes #25 ).
...
* One nastiness along the way (30m delay!) that is worth noting: flot graph was a problem because it turned out that a) (re-)render triggered by dataset attributes change and fields only got set *after* core dataset attributes and so info was rendering.
* model.test.js: basic test for Dataset.toTemplateJSON
2012-02-18 09:07:35 +00:00
Rufus Pollock
25c0177097
[#25,backend][s]: update backends to new fields setup.
2012-02-18 08:20:10 +00:00
Rufus Pollock
a75e04701f
[#25,model][xs]: turns out the hack to allow simple arguments to Field ctor does *not* work.
2012-02-18 08:11:38 +00:00
Rufus Pollock
2da6c1a297
[#25,model][xs]: remove artificial field attribute (follow up to penultimate commit cf42e43ff0f32ba24e940455b060ae278025942b).
2012-02-18 07:48:14 +00:00
Rufus Pollock
cf42e43ff0
[#25,model][s]: introduce new Field Model and FieldList collection and attach to Dataset.
...
* NB: no refactoring elsewhere yet to take account of this
* model.test.js: tests for Field (first proper model tests!)
2012-02-18 07:33:15 +00:00
Rufus Pollock
437dbfc80b
[refactor][xs]: Dataset -> Backend in module name in backend tests.
2012-02-18 07:30:31 +00:00
Rufus Pollock
702b030b70
[rename][xs]: rename model.test.js to backend.test.js to better reflect its function.
2012-02-18 07:05:31 +00:00
Rufus Pollock
3ea18aa715
[#25,refactor][s]: rename header(s) -> field(s) throughout.
2012-02-17 23:43:27 +00:00
Rufus Pollock
866ad12a15
[#49,query][s]: introduce Query model object and use it in Dataset.
...
* tests: refactor Memory backend tests so that tests are independent (to avoid issues of carry over of query state)
* TODO: use query stuff in views - NB sorting seems broken in DataTable.
2012-02-17 23:05:34 +00:00
Rufus Pollock
ed3d20b20f
[#42,flot-graph][s]: reinstate configuration of graph from routing info lost in penultimate commit a9cfd4412c8a4b9645e100997a4d1898620b0290.
...
* view.js: bunch of utility functions for parsing and composing query strings for hash routing (plus tests).
2012-02-17 21:47:51 +00:00
Rufus Pollock
23e46e9c6f
[#41,view,refactor][s]: merge DataTable and DataExplorer views back into view.js.
...
* Also improve docs for views a little bit (better use or markdown)
2012-02-17 12:40:25 +00:00
Rufus Pollock
87fa752908
[#43,backend][s]: GDocs backend working (and has improved docs).
2012-02-17 09:16:02 +00:00
Rufus Pollock
7f923d3ccf
[backend][s]: Webstore and DataProxy now passing tests again.
2012-02-17 09:10:24 +00:00
Rufus Pollock
2d4e6a2ecc
[#43,model][m]: refactor Dataset and BackendMemory to the new setup approach.
...
* NB: other model tests broken as a result.
2012-02-17 08:53:36 +00:00
Rufus Pollock
57effa02aa
[whitespace][xs]: correct indentation issues introduced in b3a71e82cca77bfe24c93290dd321174c85ab3b7.
2012-02-16 19:51:05 +00:00
Rufus Pollock
b9a9e9efd4
[test][xs]: include new view files in test index.html (fixes brokenness).
2012-02-16 19:34:44 +00:00
Rufus Pollock
21173b6acf
[#35,all][m]: crude error catching for backends based on timeouts (best we can do with JSONP) - fixes #35 .
...
* Show errors in UI
* required some extensive refactoring to use done/fail on promise rather than then
2012-02-10 03:16:49 +00:00
Rufus Pollock
1491ae5bcc
[#34,query][m]: start on proper query support (move to query and sort support in BackendMemory).
2012-02-09 18:05:37 +00:00
Rufus Pollock
1539169e21
[#35,refactor][l]: fixes #35 , major refactor to have datasets intialized with backend and endpoint information.
...
* Backbone.sync now switches on type of backend set for a dataset (allowing simultaneous use of multiple datasets with different backends)
* Datasets are initialized with backend config (see docs and code)
2012-02-08 09:27:56 +00:00
Rufus Pollock
7b496fc276
[refactor][s]: split out backends from model.js to backend.js.
...
* And do some slight improvement of the model and backend docco docs by using some markdown formatting.
2012-02-07 12:20:48 +00:00
James Casbon
b3a71e82cc
correct indents on model.js with gg=G
2012-01-29 16:20:51 +00:00
James Casbon
9eeb4ab97a
google spreadsheet backend
2012-01-28 19:44:07 +00:00
Rufus Pollock
76b05eb846
[#31,backends][m]: add BackendDataProxy, fixes #31 .
2012-01-26 11:07:27 +00:00
Rufus Pollock
32a74949cc
[vendor][s]: remove deps-min.js and explicitly linked to required vendor libraries.
...
* Why: it is then explicitly clear in demos what vendor libs are needed and make its easier to use those demos as a template for integration elsewhere.
2012-01-23 10:01:05 +00:00
Rufus Pollock
6d32ac2b27
[refactor][s]: rename getRows to getDocuments (thereby removing outstanding TODO).
2012-01-06 12:08:55 +00:00
Rufus Pollock
250f931c36
[refactor][s]: rename rowCount to docCount and remove getLength method as can just use dataset.docCount.
2012-01-06 11:43:17 +00:00
Rufus Pollock
e65bc74a88
[#14,#6,backend,view][m]: delete row in data table now working via Backbone with backend memory.
...
* #6 : BackendMemory now supports delete for Documents.
2012-01-05 12:26:13 +00:00
Rufus Pollock
ce076a2eac
[model/backend,#6][s]: BackendMemory now supports saving of Documents.
2012-01-05 01:39:31 +00:00
Rufus Pollock
97f50c5bf5
[test/model][s]: update webstore backend test to have ajax fully mocked so tests work fully when offline.
2012-01-05 01:36:53 +00:00