bblwq
f2f2a2cf72
View toggle labels
2020-07-14 14:45:16 -04:00
Rufus Pollock
2a14e10f13
Merge pull request #509 from NuCivic/error_508_compliance_civic_4733
...
Error 508 compliance civic 4733
2017-01-06 17:43:15 +00:00
Teofilo Sibileau
98753e427e
Fixes _setupMap reference of undefined class property
2016-12-30 12:40:02 -03:00
Janette Day
e23266e100
Fix Geometry field (GeoJSON) field
2016-12-30 12:27:44 -03:00
Janette Day
60bcfc087c
Update fields for 508 compliance
2016-12-30 12:27:44 -03:00
Herpiko Dwi Aguno
cf3797cc6a
Fix the underscore's template usage.
2016-09-13 00:34:16 +07: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
Frédéric Rodrigo
3df0c2a2bb
Replace discontinued MapQuest Open tiles by OpenStreetMap.org tiles #500
2016-07-08 09:41:22 +02:00
Motornyuk Sergey
24388b7e6c
[ #465 ] Sanitize header name on SlickGrid view
...
Change logic of sanitizing. Previously either original value
or content of element with matching selector was used as column
header.
After this change original value with applied encoding of
html entities will be used
2016-04-05 12:54:43 +03:00
Mariano Carballal
bb0d41a2e4
Issue #475 : Fix to be able to graph columns with percentage values
2015-04-01 14:38:59 -03:00
Mariano Carballal
2527753db7
Fix #473 . Javascript error when dataset column names includes special chars
2015-03-24 11:48:03 -03:00
Janette Day
469d9479a4
Updating recline-slickgrid form labels to pass accessibility test
2015-03-11 12:08:55 -07:00
Sol Villar
cd45465b0d
[ #427 ] Fixed bug in search and style in footer.
2015-03-05 11:25:43 -03:00
Sol Villar
af84ece6cf
[ #427 ] Fixed marking of nav buttons as active.
2015-03-05 03:47:57 -03:00
Sol Villar
dff3557c8a
[ #427 ] Fixed map in multiview.
2015-03-05 03:46:17 -03:00
Sol Villar
bbb4e63cb7
[ #427 ] Fixed styles in selects.
2015-03-05 03:43:11 -03:00
Sol Villar
79141e94a9
[ #427 ] Fixed graph styles in multiview.
2015-03-05 03:40:11 -03:00
Sol Villar
6fdd1fbe32
[ #427 ] Fixed graph alert in multiview.
2015-03-05 03:34:24 -03:00
Sol Villar
ec421103ec
[ #427 ] Fixed styles in filters widget.
2015-03-05 03:31:37 -03:00
Sol Villar
b1655fcc71
[ #427 ] Fixed styles in fields view.
2015-03-05 03:19:39 -03:00
Sol Villar
dbc099808a
[ #427 ] Fixed styles in paginator.
2015-03-05 02:43:14 -03:00
Sol Villar
30ad0ad111
[ #427 ] Fixed columns, buttons and general styles.
2015-03-05 01:14:49 -03:00
Rufus Pollock
5b28edf072
Merge pull request #466 from okfn/sanitize-slickgrid-field-name
...
Sanitize header name on SlickGrid view. Fixes #465
2015-02-25 17:31:44 +00:00
amercader
0990dce8ed
Sanitize header name on SlickGrid view. Fixes #465
...
SlickGrid will use `$.html`[1] to render the header cell contents.
This means that if you are loading an external dodgy CSV like the
following one, scripts will be evaluated:
```
field1,field2<script>alert(123)</script>,field3
data1,data2,data3
data1,data2,data3
```
This fix sanitizes the label when initializing SlickGrid removing all
that isn't text.
[1] e6e2f88f83/slick.grid.js (L563)
2015-02-25 13:26:03 +00:00
amercader
e15a3b61d2
Fix visibility check on map view. Fixes #463
...
The following check was failing on the first load, so autozoom didn't
work:
3f4a30e054/src/view.map.js (L232)
2015-02-24 09:22:01 +00:00
aliounedia
3f4a30e054
(http) not figured on recline.view.map , so this cause probleme on FireFox plugin , FireFox will automatically add source:// when it does not find http, so this should be Fixed , see https://github.com/okfn/mozilla-csv-viewer
2014-10-15 20:06:28 +02:00
Rufus Pollock
fffccef123
Merge branch 'master' of github.com:okfn/recline
2014-09-14 00:20:10 +01:00
Rufus Pollock
80bb0dd937
[view/slickgrid][s]: refactor to move row reordering setup into separate function.
...
* Plus we do not set up row reordering unless enableReOrderRow is set in options
2014-09-14 00:18:42 +01:00
Rufus Pollock
e6c2d48400
[view/slickgrid][s]: tidy up e.g. whitespace (no substance to change).
2014-09-14 00:13:23 +01:00
陳信屹
1625f93329
enable timeline tag support.
2014-08-20 14:04:00 +08: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
Rufus Pollock
673748d4cf
Merge pull request #441 from mattfullerton/master
...
Minor corrections for docs
2014-08-13 11:15:48 +01:00
Matt Fullerton
a59c32e116
Minor corrections for docs
2014-08-13 12:11:48 +02:00
Matt Fullerton
0cbb1016df
Typo
2014-08-13 06:39:12 +02:00
Matt Fullerton
9e1ce06ec2
Change setup code example
2014-08-12 19:26:50 +02: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
aliounedia
50b8ab46e0
[ #407 ] support for row reordering in grid
2014-04-28 18:48:32 +02:00
aliounedia
7c01e628ba
[ #407 support for row reordering in sclickgrid]
2014-04-28 17:49:12 +02:00
aliounedia
49282b59f7
[ #407 support for row reordering in sclickgrid]
2014-04-28 17:44:39 +02:00
aliounedia
9a69799d04
[ #407 ] support row reordering in sclickGrid
2014-04-28 16:10:58 +02:00
aliounedia
0e62d91f57
[ #407 ] support for row reordering in slickGrid
2014-04-28 15:15:30 +02:00
aliounedia
d94da32187
[ #396 Support row reordering in slickgrid grid]
2014-04-28 15:10:36 +02:00
aliounedia
8bf518c0e2
recline support for row reordering grid
2014-04-28 15:10:35 +02:00
Max Méndez
3fcde1cb2f
Fix problem with graph rendering when has initial state
2014-04-22 08:31:22 -06:00
Janette Day
a8d6bbb9a3
Update widget.queryeditor.js and widget.queryeditor.js
...
To be 508 compliant all form input fields need to have a label.
Reference: http://wac.osu.edu/tutorials/section508/forms.htm
Added css modification as well for the labels to remain hidden.
2014-04-15 14:10:19 -03:00
Rufus Pollock
c38e1aacdc
[#384,ux][s]: tweak look of delete row buttons in slickgrid.
2014-03-04 21:07:53 +00:00
aliounedia
9ddd9e0522
[ #392 ] preventDefault on grid after row deletion
2014-02-17 23:48:02 +01:00