Tom Hughes
339d8e46ff
Sanitise parameters used in URL generation
2017-06-04 20:24:53 +01:00
Tom Hughes
03a9df9288
Replace render :nothing with head
2017-06-04 20:24:53 +01:00
Tom Hughes
8412ed0bed
Replace deprecated Mime::XXX with Mime[:xxx]
2017-06-03 17:33:13 +01:00
Tom Hughes
2357118c46
Avoid using format as a URL parameter name
...
This prevents rails confusing it with the builtin format
parameter derived from the URL extension.
2017-06-03 12:08:35 +01:00
Tom Hughes
3b2d1886eb
Make delete button translatable
2017-06-03 12:04:00 +01:00
Hamel Desai
fa7b3022a8
Add delete button to message view
...
Fixes #1504
Closes #1557
2017-06-02 20:31:59 +01:00
Tom Hughes
80d27a7fae
Sanitise parameters used in URL generation
2017-06-02 20:27:07 +01:00
Tom Hughes
4ef7b2c651
Remove duplicate size specification for user image
...
Either the size or the width and height can be passed but passing
both doesn't make any sense and in rails 5.0 will error.
2017-06-02 20:27:07 +01:00
Tom Hughes
ff97501ed0
Remove all use of the :text option to render
...
It doesn't actually do what it says, as it sets the content type
to text/html not text/plain so is just confusing and as a result
has been deprecated in newer rails versions.
2017-06-02 19:12:05 +01:00
Tom Hughes
9b89d4eefe
Remove conditions from delete_all
...
Passing conditions directory to delete_all is deprecated
in rails 5.0 so use a separate where instead.
2017-06-02 16:33:48 +01:00
Tom Hughes
5b33f3f8e3
Fix rubocop warnings
2017-06-02 00:08:30 +01:00
Andy Allan
060230fb94
Ensure closed changesets appear in the feed, and update some misleading comments.
2017-06-01 15:43:51 +01:00
Peter Karich
0531091fd1
Include car profile for GraphHopper routing
...
Closes #1547
2017-05-24 21:17:22 +01:00
Tom Hughes
6e5240e198
Merge remote-tracking branch 'openstreetmap/pull/1521'
2017-05-17 20:37:01 +01:00
Tom Hughes
cb79ce2833
Parse asset map JSON before passing it to iD
2017-05-10 09:14:09 +01:00
Tom Hughes
3a16b68368
Use POST when editing GPX trace details
...
Fixes #1533
2017-05-01 16:56:02 +01:00
daganzdaanda
8b68acec3e
Move list of containing relations to top of browse views
...
Moves the list of containing relations to above the list of
members for ways and relations - nodes have no equivalent list
so no change is needed there.
Fixes #794
Closes #1501
2017-04-24 20:25:22 +01:00
Matt Amos
c7391595d8
Credit the whole of UCL, rather than just the Bartlett / VR centre.
2017-04-22 11:47:12 +01:00
Dan Stowell
5f35d37fee
Remember user's choice of directions engine
2017-04-11 19:42:37 +01:00
Herve Saint-Amand
2ae479e3f3
Fix indentation in email template
...
The plain text templates had nice indentation in the source however that
got reflected in the output, which was visibly and needlessly indented.
Closes #1512
2017-04-08 16:36:40 +01:00
Tom Hughes
3d6a3a6de3
Merge remote-tracking branch 'openstreetmap/pull/1508'
2017-03-30 15:45:37 +01:00
Andy Allan
4afedb07a2
Update mapzen directions credit link
...
Rather than pointing at a redirect, point at the target of the
redirect. Refs #1388
2017-03-30 15:18:16 +01:00
Andy Allan
4fb775d6d5
Format latitudes and longitudes as %7f in XML output
...
This matches the double formatting in XML from cgimap. Fixes #341 .
2017-03-30 14:30:54 +01:00
Tom Hughes
1b9ea430d1
Make the publisher URL configurable, with no default
2017-03-22 18:42:58 +00:00
Tom Hughes
24271b75bd
Use canonical-rails gem to generate canonical URLs
2017-03-22 18:16:53 +00:00
Tom Hughes
419edf951d
Add a canonical URL to the head
2017-03-22 17:14:55 +00:00
Tom Hughes
7c9229fbfc
Throw an exception if adding a note comment fails
2017-03-13 14:49:16 +00:00
Christian Stadelmann
cd922a99f8
Make search use HTTPS automatically
...
Currently users end up having a HTTP search function even if they
install it to their browsers from the HTTPS site. This is a unexpected
reduction in privacy.
Since search requests are private data they should be sent via HTTPS.
Closes #936
2017-03-13 11:22:19 +00:00
Simon Poole
9606e440bc
Return maximum size of bounding box for note retrieval
2017-03-13 08:53:49 +01:00
Tom Hughes
4ac9ed6f14
Improve styling of flash messages on the front page
2017-03-10 16:46:29 +00:00
Tom Hughes
5cdb835de3
Show offline/readonly messages as normal flash messages
2017-03-10 16:30:04 +00:00
Tom Hughes
33669daefb
Do more preloading in browse controller methods
...
Fixes #1476
2017-03-07 09:10:24 +00:00
Tom Hughes
88d16deadd
Detect a timeout encapsulated in ActionView::Template::Error
...
Fixes #1476
2017-03-06 17:50:09 +00:00
Tom Hughes
6c0501d62a
Fix hiding of sidebar loading indicator
...
Fixes #1475
2017-03-06 12:22:14 +00:00
Tom Hughes
dff0eef787
Remove inline styles
2017-03-05 19:51:01 +00:00
Han Chao
49a7921ec8
Use local api to export map.osm
...
Closes #1282
2017-03-05 10:37:25 +00:00
Tom Hughes
b954416a70
Merge remote-tracking branch 'openstreetmap/pull/1437'
2017-03-05 10:34:23 +00:00
Tom Hughes
d3b9987bb8
Silence remaining jshint warnings
2017-03-02 10:44:18 +00:00
Tom Hughes
427f5457d9
Fix some jshint warnings
2017-03-02 10:20:51 +00:00
Tom Hughes
c5ef6404f5
Improve the content security policy
2017-03-01 22:38:24 +00:00
Tom Hughes
d7b4f88d5e
Remove inline javascript from page header
2017-03-01 21:19:32 +00:00
Tom Hughes
293fb99467
Remove inline javascript from id views
2017-03-01 18:07:22 +00:00
Tom Hughes
fe159b2417
Correct name of zoom argument for Potlatch 2
...
Fixes #1471
2017-03-01 14:06:05 +00:00
Tom Hughes
1b21b8a209
Remove inline javascript from potlatch2 view
2017-03-01 00:12:42 +00:00
Tom Hughes
8c3d16ecc4
Remove inline javascript from potlatch view
2017-02-28 20:41:22 +00:00
Tom Hughes
56e96d856c
Merge remote-tracking branch 'openstreetmap/pull/1469'
2017-02-28 00:21:23 +00:00
Tom Hughes
d13348c0ea
Remove inline javascript from user views
2017-02-27 22:51:03 +00:00
Herve Saint-Amand
b69e8b5c42
Included greeting string in changeset_comment_notification email
2017-02-27 22:36:09 +00:00
Tom Hughes
57443546f8
Revert "Update iD frame parameters if the parent URL changes"
...
This reverts commit a6fa8cc273
.
2017-02-27 14:31:56 +00:00
Tom Hughes
a6fa8cc273
Update iD frame parameters if the parent URL changes
...
Fixes #1468
2017-02-27 13:23:27 +00:00