153 Commits

Author SHA1 Message Date
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
Rufus Pollock
617d3440f0 [#154, backend/elasticsearch][s]: backend errors now reported up the stack (implement deferred reject when call to backend fails). 2012-06-16 12:59:01 +01:00
Rufus Pollock
8fe04ddd4f [#111,filter/geo][m]: geo filter support - filter editor working though not sure actual query is working (!).
* Extensive refactoring of Model.Query and View.FilterEditor to do this cleanly (geo_distance and term treated similarly now)
2012-06-15 10:51:13 +01:00
Rufus Pollock
75cd2fb94d [#141,view/map][s]: support for all of elasticsearch geo_point / location objects - fixes #141.
* [lon, lat]
* "lat,lon"
* Bonus (non-ES): "(lat,lon)"

Also (accidentally included):

* upgrade to qunit 1.5.0 (much better stack traces!)
2012-06-11 22:00:32 +01:00
Rufus Pollock
d2ce46cc42 [#152,timeline][xs]: handle null or undefined dates properly. 2012-06-10 14:23:03 +01:00
Rufus Pollock
75a6bbd80a [#152,view/timeline][s]: more robust data parsing with tests - fixes #152.
* Also discover and fix "bug" re momentjs timezone calculation and toDate.
2012-06-10 12:35:39 +01:00
Rufus Pollock
9b583b8397 [#147,widget/filtereditor][s]: setting of term filter value and removal of filter working again (and tested!) - fixes #147. 2012-06-07 00:18:08 +01:00
Rufus Pollock
26350fec06 [#147,widget/filtereditor][m]: add filter support in filter widget plus move to sidebar and tidy up.
* model.js: xsmall tweak to set value of term filter to empty string rather than null.
2012-06-06 23:59:09 +01:00
Rufus Pollock
1a8375ff85 [test,bugfix][xs]: addendum fix to rename of label to title in demo in f1e2f7c4aee1deb1c24724b1e0266e0742b83380. 2012-06-06 17:17:24 +01:00
Rufus Pollock
f1e2f7c4ae [test/fixtures][xs]: rename label to title so we have a nicer demo. 2012-06-06 15:22:13 +01:00
Rufus Pollock
ef74f13163 [#145,view/refactor][m]: switch to a proper sidebar setup where views can have both a main element and a sidebar element and this added to central sidebar.
* this fixes functional and visual bugs with current (new) setup where fields where in separate in RHS sidebar
* Refactored map and graph view to put menu/controls in the sidebar (this is quite nice!)
2012-06-06 15:19:00 +01:00
Rufus Pollock
e73be69499 [refactor][s]: standardize naming of files to use '.' rather than '-' as separator. 2012-06-06 10:40:22 +01:00
Rufus Pollock
58cac002dc [#145,widget/fields,model][m]: working fields widget with field summary data generated by Dataset.getFieldsSummary function.
* Layout is still not right -- need to put widget in sidebar (though looks a lot better)
* Datset.getFieldsSummary to compute facets for fields
* Remove facet usage in the demo
2012-06-04 23:57:24 +01:00
Rufus Pollock
a7b6a6ac5d [#145,widget/fields][m]: add new fields widget view which lists all fields with field info and replace facet widget in multiview with it.
* widget is very incomplete and does not yet show anything of great value (plan is to have summary info).
2012-06-04 23:47:05 +01:00
Rufus Pollock
e425106022 [ux,view/multiview][s]: turn view chooser menu and controls (filters/facets) menu into button groups and make filters/facets section toggle correctly. 2012-06-03 09:49:21 +01:00
Rufus Pollock
00052bba0f [view/slickgrid][s]: slickgrid supports renderers/formatters correctly and does not escape html. 2012-06-02 22:42:34 +01:00
Rufus Pollock
a6dff8ce28 [backend/memory][xs]: rename DataWrapper to Store. 2012-06-02 20:02:10 +01:00
Rufus Pollock
170f10268c [#141,view/map][s]: support for location objects with form {lon: ..., lat: ...}. 2012-06-02 19:02:55 +01:00
Rufus Pollock
86fbe6d191 [#140,refactor,widget/pager][s]: split out pager from query editor into separate widget and display in different place in multiview - fixes #140. 2012-06-02 14:45:16 +01:00
Rufus Pollock
b63f4daad8 [#124,test][xs]: missing change to test - should have been in 4bfcb3c02742b5a0a4649512320ac0e071ae374e. 2012-06-01 14:40:55 +01:00
Rufus Pollock
4bfcb3c027 [#124,refactor][s]: merge util.js into view.multiview.js as only utilities are query string parsing utilities and that is where they are used. 2012-05-31 21:54:13 +01:00
Rufus Pollock
03ab0da72d [#124,refactor][s]: addendum to last commit (forgot to split out filtereditor and delete from multiview). 2012-05-31 21:49:06 +01:00
Rufus Pollock
53327a7a1e [#124,refactor,view][s]: ([m] in effect) rename DataExplorer view to MultiView and split contents view.js into separate files - fixes #124. 2012-05-31 21:36:52 +01:00
Rufus Pollock
c1c1881660 [#129,refactor][l]: ([s] in effort) rename Document to Record - fixes #129. 2012-05-31 21:08:00 +01:00
Rufus Pollock
faad3e2329 [#135,app,test][xs]: reference momentjs - should have been in e1a7a659da7d9d653540b7c8e85b1deec5ccb643. 2012-05-30 23:34:00 +01:00
amercader
1cffd8fffb [#131,slickgrid] Support renderers and derivers 2012-05-30 11:03:10 +01:00
Rufus Pollock
d339fea2d9 [#119,view/slickgrid][m]: first pass implementation of slickgrid view courtesy of @amercader.
New setup supports:

* Column hiding
* Column reordering
* Column sorting
* Column resizing
* Fit columns to the div width

All these options are stored on the view state and applied when initializing the view if necessary.

Now also utilize slickgrid view as default grid view.
2012-05-27 23:31:42 +01:00
Rufus Pollock
c6d4116cba [#79,refactor][s]: switch from (old) jquery.mustache to latest mustache.js - fixes #79.
* This mustache has support for nested values e.g. {{sub.x.y}}
* Specifically mustache.js as of Fri Feb 24 09:58:31 2012 +0100 2f135e2e15dcc3c61385212261faaf00597bae10
2012-05-27 01:27:26 +01:00
Rufus Pollock
bc8e47c6cf [#128,test][xs]: file renames in test/index.html to match csv rename in ed4f315a97995056c2fd9bf81268063259b76956. 2012-05-27 01:25:00 +01:00
Rufus Pollock
13d1a9e0bd [#128,state][s]: move to simpler state serialization for backend/dataset in which we just store url attribute of dataset (if present). 2012-05-26 22:51:50 +01:00
Rufus Pollock
ed4f315a97 [#128,backend/csv][s]: rename localcsv to csv and make into a module recline.Backend.CSv. 2012-05-26 19:00:39 +01:00
Rufus Pollock
feaaf78639 [#128,backend/gdocs][s]: minor refactoring to make cleaner and have it actually work. 2012-05-26 18:07:36 +01:00
Rufus Pollock
e9d1b8a55a [#128,backend/gdoc][s]: refactor gdocs to standard backend setup. 2012-05-26 17:46:51 +01:00
Rufus Pollock
5890007c59 [#128,backend/dataproxy][s]: refactor to new setup. 2012-05-26 16:20:18 +01:00
Rufus Pollock
fae1496eb2 [test,refactor][xs]: rename memory test to memory.test.js. 2012-05-26 16:06:14 +01:00
Rufus Pollock
1bc8c77098 [#128,backend/elasticsearch][m]: rework elasticsearch model to new cleaner setup. 2012-05-26 15:53:59 +01:00
Rufus Pollock
23b32dff1c [#128,backend/memory,misc][l]: commence major backend refactor by converting recline.Backend.Memory to module and splitting existing code into BackboneSyncer and DataWrapper.
* Lots of other changes to having passing tests (note some actual functionality is likely a little broken esp around state serialization and the app)
2012-05-26 14:26:01 +01:00
Rufus Pollock
39c72aef13 [test,refactor][xs]: move backend tests to test/backend/memory.js. 2012-05-25 21:26:35 +01:00
Rufus Pollock
e2b1b9f545 [#73,view/timeline][m]: many improvements to timeline - now pretty functional.
* reload data on query updates
* attempting to guess start date and end date fields.
* avoid initting multiple times
* refactor to be cleaner
2012-05-24 21:53:04 +01:00
Rufus Pollock
b4255ef18f [model][s]: default string renderer will linkify http://... links. 2012-05-24 00:30:35 +01:00
Rufus Pollock
61b1482d99 [#73,view/timeline][l]: functioning timeline view using VeriteCo Timeline library.
* *Much* still to do such as auto-selection of date field, checking for end date, parsing of dates, generation of summary text etc
2012-05-22 16:57:17 +01:00
Rufus Pollock
62a790ceb9 [view/map,bugfix,refactor][s]: correct bug due to misinterpretation (?) of Backbone reset and refactor so we redraw on initialize.
* Bug: dataset.currentDocuments.reset was being interpreted as empty rather than a re-fill of new documents and was therefore not re-adding currentDocuments items to the list of features. Fixed this.
* Discovered bug during a refactor. Refactor removed listener for query:done as this will be covered by currentDocuments.reset or similar. This also means we can initialize the view with a dataset already containing data and it will render w/o need to call query() again.
2012-05-20 13:43:33 +01:00
Rufus Pollock
4ceae82a18 [test/base][xs]: micro tweak to test data so we have more interesting graph. 2012-05-07 18:51:10 +01:00
Rufus Pollock
9d084fc46c [addendum][xs]: ... and remove jquery-ui ref from tests. 2012-04-26 22:40:34 +01:00
Rufus Pollock
6d94c89b7c [refactor,util][s]: move query string parsing and manipulation utilities into util.js. 2012-04-26 22:06:11 +01:00
Rufus Pollock
706819e288 [test][xs]: remove element after test. 2012-04-26 16:05:43 +01:00
Rufus Pollock
1df82c3c3d [#75,view/graph][s]: if type of x-axis field is date make flot graph treat it as a datetime - fixes #75.
* TODO / problems: have hard-coded ticks to be yyyy-MMM but that may not work well for all time series (may need to guess this from the resolution of the data or allow user to configure)
2012-04-25 23:23:13 +01:00
Rufus Pollock
82ca51a0b6 [#85,view-graph][m]: graph controls are now correctly configure themselves from loaded state.
* Also heavily refactor to have a cleaner and better code e.g. using templating to add new series.
2012-04-25 22:12:42 +01:00