71 Commits

Author SHA1 Message Date
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
Rufus Pollock
60b7f19f71 [vendor,refactor][xs]: lay vendor directory in consistent way ({lib}/{version}/{js-file}). 2012-04-17 12:53:11 +01:00
Rufus Pollock
927bc32647 [#88,view][s]: DataExplorer boots Grid, Graph and Map view by default instead of just Grid.
* This makes DataExplorer.restore substantially more useful.
2012-04-15 23:26:57 +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
Rufus Pollock
4ede229b7b [refactor][s]: rename view-flot-graph to view-graph and FlotGraph to Graph. 2012-04-15 16:03:08 +01:00
Rufus Pollock
4281801120 [#88,refactor/state,api-change][m]: FlotGraph now uses state plus DataExplorer takes care of parsing state from Hash.
* First test for FlotGraph view (#45)
* Move convenience functions for testing present of elements to test/base.js from view-grid.test.js
2012-04-15 15:03:02 +01:00
Rufus Pollock
05293cbb6f [#45,test/view][s]: start on some basic tests for data explorer view. 2012-04-14 11:37:52 +01:00