77 Commits

Author SHA1 Message Date
Rufus Pollock
191dd5796f [timeline][xs]: micro followup to upgrade of timeline in ccf60d00f09473d244b5efaf83e423d833c25b39.
* tweak to test
* update tutorial to reference right vendor libs
2013-08-23 10:03:44 +01:00
Rufus Pollock
ccf60d00f0 [#316,timeline][m]: timeline now handles BC dates and has a switch to support non US dates dd/dd/dddd - fixes #316.
* upgrade timeine view to latest TimelineJS (note vendor code went in in last commit as needed to patch in this one)
  * Minor fix to TimelineJS timeline.js code (actual bug I think)
* BC (-ve years) support is provided by latest TimelineJS (raw vendor code in last commit)
* Strip out use of momentjs and just use timelinejs date parsing (various changes and tests around this)
* state option nonUSDates: true to parse dd/mm/yyyy properly
2013-08-14 22:23:46 +01:00
Rufus Pollock
d1b04a4d10 [#314,backend][s]: remove gdocs backend - now in separate repo. 2013-06-30 22:08:36 +01:00
Rufus Pollock
e4adc0c34a [#314,backends][m]: remove elasticsearch backend - now in own repo https://github.com/okfn/elasticsearch.js. 2013-06-30 21:51:39 +01:00
Rufus Pollock
323f5febdd [test][xs]: add marker css to test index.html. 2013-06-22 18:03:03 +01:00
Rufus Pollock
eb682d673f [#359,view/flot][m]: much better time series support by using flot time plugin - fixes #359.
* Note you still need to set the type of the field to time for this to work properly (i.e. we do not attempt to guess a column is dates as that is very error-prone).
2013-06-02 18:42:17 +01:00
Dan Wilson
cf700f4ac0 Bumped qunit and sinon. Added qunit-assert-html. 2013-05-14 17:20:16 +01:00
Dan Wilson
325eaf8c34 Bumped Moment to 2.0.0 (required by next commit) 2013-05-14 16:26:34 +01:00
Dan Wilson
080188286a Bumped backbone to 1.0.0. Issue #351. 2013-05-14 10:12:24 +01:00
Dan Wilson
6c8d9ec50a Bumped underscore to 1.4.4 2013-05-13 21:48:22 +01:00
Rufus Pollock
49daa84ad9 [#314,test][xs]: forgot to commit changes to test index.html. 2013-05-05 19:04:01 +01:00
Rufus Pollock
caf0c84e97 [#314,be/ckan][s]: remove ckan backend from core as now in own repo https://github.com/okfn/recline.backend.ckan. 2013-05-05 18:03:52 +01:00
Rufus Pollock
fc79518ba5 [#349,transform][s]: remove transform view and associated code - fixes #349. 2013-05-04 22:13:27 +01:00
John Glover
457e39dc1e [#336] Add tests for valuefilter widget 2013-04-02 17:24:37 +02:00
Rufus Pollock
6f82c4c5cc [#314,be/solr][s]: remove solr backend from core as in separate repo [1].
[1]: https://github.com/Recline/backend.solr
2013-02-10 17:05:30 +00:00
Rufus Pollock
242bcc7a14 [#287,view/graph][s]: move current view.graph.js to view.flotr2.js and setup recline.View.Graph to point to recline.View.Flot. 2013-02-09 16:18:37 +00:00
Rufus Pollock
723d128d13 [#313,backend][s]: use jquery deferred if available - fixes #313. 2013-02-08 13:31:03 +00:00
John Glover
789086b290 [#287] Add flot view tests.
Same as view.graph.js tests (flotr2).
2013-01-10 09:41:57 +01:00
Rufus Pollock
965bf6e9bb [#172,refactor][s]: switch everything to use underscore.deferred rather than jQuery.Deferred - fixes #172.
* In addition reduced pattern of passing in $ to backend modules - instead just use jQuery explicitly (this should make it easier to mock-out jQuery if you waned to
2013-01-04 20:13:16 +00:00
John Glover
c6a8a33d32 [284] Add json2.js which defines JSON for older browsers (IE7). Fixes filters and 6 test failures with IE7. 2012-12-10 15:20:02 +01:00
Rufus Pollock
59c90df391 Merge branch 'master' into 120-solr-backend 2012-10-16 21:14:09 +01:00
Frederick Ros
01d59a8b6b Moved to backbone 0.9.2 and underscoe 1.4.2 2012-10-11 17:23:20 +02: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
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
03c147cee1 [#120,backend/solr][s]: start on a solr backend (read-only, basic testing and no proper query support yet!). 2012-08-18 02:46:31 +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
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
Rufus Pollock
1c3dbaacc8 [#114,transform][s]: first set of tests for costco code. 2012-07-15 00:39:05 +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
bda4797ed8 [test/refactor][xs]: dataproxy and gdocs tests now in own files. 2012-06-23 18:07:00 +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
e73be69499 [refactor][s]: standardize naming of files to use '.' rather than '-' as separator. 2012-06-06 10:40:22 +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
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
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
faad3e2329 [#135,app,test][xs]: reference momentjs - should have been in e1a7a659da7d9d653540b7c8e85b1deec5ccb643. 2012-05-30 23:34:00 +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
fae1496eb2 [test,refactor][xs]: rename memory test to memory.test.js. 2012-05-26 16:06:14 +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
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
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
amercader
6749e38b07 [view/map,tests] Add tests for the Map view 2012-04-24 18:34:36 +01:00