37 Commits

Author SHA1 Message Date
amercader
7def51b573 [backend/localcsv] Add support for defining the text delimiter on CSV files 2012-04-23 18:23:44 +01:00
Rufus Pollock
a577866932 [#61,backend/elasticearch][s]: refactor plus support for setting request headers (e.g. Authorization) plus can set backend url on initialization.
* support for headers went into new _makeRequest method on backend base class
* support for setting backend url on initialization (rather than depending on it being on Dataset/Document objects)
* move upsert and delete methods out into distinct methods from being inside backbone sync

The two last of these pave the way for use of ElasticSearch backend standalone (both independent from Recline and independent of Backbone)
2012-04-23 02:30:16 +01:00
Rufus Pollock
1bf64c5f94 [#61,backend/elasticsearch][m]: create, update and delete support in elasticsearch backend -- fixes #61. 2012-04-22 22:17:47 +01:00
Rufus Pollock
31d829f53f [#17,backend][s]: add readonly attribute on backends indicating whether they are 'read-only'. 2012-04-22 00:03:59 +01:00
Rufus Pollock
92ec8d5b3e [backend/memory,bugfix][xs]: fix error on memory filtering when field value is null (cannot call toString). 2012-04-21 22:48:33 +01:00
Rufus Pollock
7743534eac [#88,backend][s]: add __type__ attribute to all backends to identify them and provide a more robust and generic way to load backends from a string identifier such as that __type__ field.
* Also remove recline.Model.backends registry as can be replaced with this more generic solution.
* This refactoring is necessitated by our need to serialize backend info for save/reload of a dataset and explorer state in #88.
2012-04-15 22:19:43 +01:00
Pedro Markun
6a352f9c44 Added encoding selecting options 2012-04-14 14:39:41 -03:00
Pedro Markun
c16fc1204e Support for separator specification in CSV now in frontend 2012-04-14 14:26:26 -03:00
Pedro Markun
e695924149 CSV file loading supports file separator 2012-04-14 14:14:15 -03:00
Rufus Pollock
de185c25b8 [whitespace][xs]: . 2012-04-14 18:01:48 +01:00
Rufus Pollock
b0bf06c52e [#34,query,backend/memory][s]: memory backend support query string (q parameter). 2012-04-14 10:00:17 +01:00
Rufus Pollock
3c9a18ba88 [#78,jshint][s]: cleaning up backends as per jshint instructions. 2012-04-10 12:19:39 +01:00
Rufus Pollock
5a73ced225 [#66,filters,elasticsearch][s]: elasticsearch support for filters (addTermFilter on Query). 2012-04-02 21:05:56 +01:00
Rufus Pollock
36548ceffc [#66,filters][s]: memory backend support for filters. 2012-04-02 21:05:28 +01:00
Rufus Pollock
f51450ef7b [#62,facets,backend][xs]: limit facet on memory backend to 10 by default. 2012-04-01 18:22:01 +01:00
Rufus Pollock
7a95302760 [#62,facets,backend/memory][m]: add faceting support to memory backend. 2012-04-01 16:31:36 +01:00
Rufus Pollock
6ba8c82408 [#62,facets][s]: partially working faceting with elasticsearch. 2012-04-01 13:51:15 +01:00
Rufus Pollock
157d77ebb1 [#57,backend,model][m]: switch to having backend query methods return a QueryResult object - fixes #57. 2012-04-01 11:45:42 +01:00
Rufus Pollock
e5e24f72de [#52,doc,refactor][s]: move instructions re creating a backend into backend/base source docs and tidy doc page a bit. 2012-04-01 11:11:38 +01:00
Rufus Pollock
767f9a23d6 [#57,backend,refactor][s]: create a recline.Backend.Base model which other backends inherit from.
* At the moment this added little other than a cleaner structure but will help with change for #57.
2012-04-01 10:49:22 +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
5fc486d808 [#51,bugfix][s]: fix for pulling fields from first row of data if no fields are provided (addendum to cb81fe87aff266e148428fbb5895552c4e66769f). 2012-03-29 08:22:57 +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
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
fc979023e6 [view,backend/dataproxy][s]: handle errors from dataproxy better and notify errors better in view. 2012-02-29 22:01:37 +00:00
Rufus Pollock
e6ce2ca533 [backend/dataproxy][s]: simplify by not bothering to query proxy on Dataset fetch and instead just set fields as part of query. 2012-02-29 21:59:47 +00:00
Rufus Pollock
57978c324b [docs,build][m]: build latest version of the docs doing some tidying of the docs along the way. 2012-02-28 22:58:20 +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
519274113e [backend,refactor][xs]: remove stuff from memory backend that should have gone in last commit. 2012-02-24 14:14:20 +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