amercader
9e284dc8b7
Fix test for older ES versions
2016-08-12 11:30:17 +01:00
amercader
50b33f3ccf
Change default tiles for map view, allow customization
...
After the MapQuest debacle, there was a patch merged that replaced the
MapQuest tiles with the OpenStreetMap ones (#501 ). IMO these are not a
good default choice because while they might be fine for a small Recline
project, heavy usage of them goes against their Terms of Use:
http://wiki.openstreetmap.org/wiki/Tile_usage_policy
More specifically:
> Heavy use (e.g. distributing an app that uses tiles from openstreetmap.org)
> is forbidden without prior permission from the System Administrators
Popular CKAN instances that use Recline are likely to fall in this
category.
And also:
> Highly Recommended: Do not hardcode any URL at tile.openstreetmap.org
> into an app.
This patch replaces the tiles with the Terrain tileset from Stamen
(http://maps.stamen.com ), which have more liberal terms.
But more crucially, as this is something that different people will have
different views on, it allows you to configure the tiles used by passing
custom options to the view constructor, eg:
view = new recline.View.Map({
model: dataset,
mapTilesURL: '//{s}.tiles.mapbox.com/v4/mapbox.mapbox-streets-v7/{z}/{x}/{y}.png?access_token=pk.XXXX',
mapTilesAttribution: '© MapBox etc..',
mapTilesSubdomains: 'ab'
})
So everybody (and apps integrating Recline like CKAN) can configure the tiles
as they want.
2016-08-03 10:52:01 +01:00
Matt Fullerton
48fa4d845d
Update tests for new SlickGrid
2015-05-12 17:23:27 +02:00
Matt Fullerton
a9adae2055
Minor correction
2015-05-11 21:30:08 +02:00
Matt Fullerton
8c1dc0836c
Update for new (and only new!) SlickGrid
2015-05-11 21:19:05 +02:00
Teofilo Sibileau
19f12b1c82
Issue #475 : Percentage data in flot graphs tests
...
+ base.js fixtures now include percentage data
+ slickgrid tests updated to hide p field in fixtures
+ added test scenario for percentage data in tests for flot view
2015-04-01 14:39:24 -03:00
Sol Villar
b00a530bc2
[ #427 ] Fixed tests.
2015-03-05 11:41:27 -03:00
Sol Villar
9ac51793cd
[ #427 ] Fixed styles in navbar and changed Boostrap version to 3.2.0.
2015-03-05 01:00:00 -03:00
Sol Villar
f9351ab84c
[ #427 ] Added Bootstrap 3.3.2 and modified references.
2015-03-05 00:12:08 -03:00
aliounedia
cf3904d6f0
TimeLineJs test fail , Fixed , all test pass now
2014-10-15 20:02:54 +02:00
Rufus Pollock
fffccef123
Merge branch 'master' of github.com:okfn/recline
2014-09-14 00:20:10 +01:00
Rufus Pollock
a30c09e35b
[test][xs]: remove reference to removed csv backend test from test/index.html.
2014-09-14 00:03:47 +01:00
Rufus Pollock
0d3a2c0d7e
Merge pull request #431 from hychen/feature/fix-#428
...
[!,leaflet][m]: Updated Leaflet to latest version 0.7.3 (fixes #428 ) - thanks to @hychen.
2014-08-18 10:04:41 +01:00
Rufus Pollock
b7f9d01f3e
[test,add][xs]: addendum to last commit 095f64e1f3cca2f036d82f614928415217198aaf to fix tests.
2014-08-18 10:00:13 +01:00
陳信屹
e453c5b01b
Merge branch 'master' into feature/fix-#428
2014-08-17 12:49:07 +08:00
Rufus Pollock
095f64e1f3
[fixes #444,csv][s]: remove csv backend as now in own repo.
...
* Moved to https://github.com/okfn/csv.js in Feb and been improving since
* Updated the docs to reflect the removal (plus did some other improvements to backend docs at same time)
2014-08-16 18:12:18 +01:00
陳信屹
abbab59ce5
Updated Leaflet to latest version 0.7.3 ( #428 )
2014-06-09 16:02:51 +08:00
Rufus Pollock
ae8f51bf05
[#429,map,bugfix][s]: parse negative lat/lon strings correctly - fixes #429 .
2014-06-01 19:58:45 +01:00
Vitor Baptista
b26f270ffa
[ #425 ] Fix Dataset.query() when called with Query model
...
The problem is that Backbone >= 0.9.9 doesn't accept updating models with:
model.set(otherModel);
That needs to be changed to:
model.set(otherModel.attributes);
Dataset.query() accepts both regular JS objects and Query models, so we need to
check the parameter type to support both.
2014-05-14 15:51:11 -03:00
Vitor Baptista
f1b652e54b
Upgrade Bootstrap to 2.3.2
2014-05-05 20:26:26 -03:00
aliounedia
49282b59f7
[ #407 support for row reordering in sclickgrid]
2014-04-28 17:44:39 +02:00
aliounedia
0e62d91f57
[ #407 ] support for row reordering in slickGrid
2014-04-28 15:15:30 +02:00
aliounedia
8bf518c0e2
recline support for row reordering grid
2014-04-28 15:10:35 +02:00
Rufus Pollock
cfc7498b95
Merge pull request #390 from kielni/pager-widget
...
update what changing from/to inputs does
2014-02-07 10:57:43 +00:00
kielni
93f0dcae78
pager: changing from: value updates to: but keeps size; changing to: value updates size and from:
2014-02-06 13:48:30 -08:00
Rufus Pollock
2ccc162814
Merge pull request #389 from kielni/terms-filter
...
add support for terms filter
2014-02-05 10:06:10 +00:00
kielni
c275684ee9
add support for terms filter; related to 32f5977ac39df3df832b6b6b56152261a6ad7cd9
2014-02-04 13:48:53 -08:00
Rufus Pollock
ba62ee4fb8
Merge pull request #385 from aliounedia/master
...
[#384 ] add validator to validate user input.
2014-01-22 00:54:13 -08:00
aliounedia
a046861c4a
[ #384 , slickgrid][s]: slickgrid add support for row-add and row-delete
2014-01-20 23:33:34 +01:00
kielni
8c1a1359db
modify pager widget to handle boundary conditions; now takes a Dataset instead of a Query so that it has access to the record count; add tests
2014-01-17 13:07:41 -08:00
kielni
964a593106
fix variable hiding when finding filter to replace
2014-01-06 14:56:31 -08:00
Suz
27627c45d9
Corrected syntax of new mapping test cases
2013-12-20 17:01:18 -08:00
Suz
a35edd8815
added test data for Edmonton and Rio de Janerio in DMS format
2013-12-18 17:59:39 -08:00
kielni
03c3afbb51
update filtereditor to use from/to instead of start/stop
2013-10-29 12:17:58 -07:00
kielni
b550b2801b
make backend memory store work with from/to filters
2013-10-25 10:17:41 -07:00
kielni
f7f010ea33
add new methods for facets: removeFacet, clearFacets, and refreshFacets
2013-09-06 13:51:17 -07:00
kielni
95fab060c3
add options to addFacet for size and silent
2013-09-06 11:58:23 -07:00
kielni
ef1064b888
add method to replace a filter
2013-09-06 11:40:31 -07:00
Rufus Pollock
c8f7ab56ff
[#316,timeline][s]: complete upgrade to v2.25 of timelinejs with support for BC dates <= 10k BC.
2013-08-24 13:25:28 +01:00
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
35a5f32163
[#362,view/map][s]: disable auto-turn on of map clustering above a certain number of points - fixes #362 .
2013-06-22 18:14:50 +01:00
Rufus Pollock
323f5febdd
[test][xs]: add marker css to test index.html.
2013-06-22 18:03:03 +01:00
Rufus Pollock
5d24fd474d
[csv,bugfix][s]: fix to csv backend to correct issue with header row appearing in data in case where fields passed explicitly.
...
* The bug was triggered by change in 4d128af797546e5174537d8ed530a243e444eeab to use model fields if explicitly provided
* model.test.js illustrated issue (that new test was failing prior to changes to csv backend in this commit)
* Issue was that CSV backend did not pass back fields option. Previously, if no fields provided from backend we extracted fields from first row of the returned records. With change in 4d128af797546e5174537d8ed530a243e444eeab to use model fields if provided we had an issue as we no longer removed first row for fields.
* Fixed by having CSV backend explicitly extract fields and pass them back
2013-06-15 12:12:15 +01:00
Rufus Pollock
4d128af797
[model,bugfix][s]: if explicitly passed field info to a dataset use that over any field info derived from backend.
2013-06-02 20:04:09 +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
31e25cf51b
Enable travis-ci
2013-05-15 12:40:38 +01:00
Dan Wilson
b2c5c7f0e0
Misc test suite fixes for IE8. Fixes #323 .
2013-05-14 18:45:43 +01:00