Commit graph

4027 commits

Author SHA1 Message Date
Simon Poole
a1f73967a9 Add trademark information to copyright page
Added some minimal text to the copyright page wrt trademarks, currently
pointing to the LWG, one day it should refer to a formal policy.
2015-05-19 13:57:39 +01:00
Tom Hughes
ca213b873f More improvements to mediawiki fragment escaping
It turns out that the PHP urlencode encodes more characters than
the ruby URI.encode does by default, so specify our own characters
to encode based on http://php.net/manual/en/function.urlencode.php
with the extra exclusion of colon, which the mediawiki code reverses
after the encoding is done.

Fixes #967
2015-05-15 15:34:12 +01:00
Simon Poole
8c37f47244 Add IRC and switch2osm to help page, slight language improvement 2015-05-15 11:24:35 +01:00
Tom Hughes
b40353b9b0 Escape fragment identifiers in wikipedia URLs
Fixes #967
2015-05-14 20:34:25 +01:00
nebulon42
b2784c4d2d add browse symbols of openstreetmap-carto 2.30.0 2015-05-14 20:03:48 +02:00
Tom Hughes
b4caac4d49 Improve handling of HTTP errors in search
Fixes #969
2015-05-14 09:21:19 +01:00
Simon Poole
5552ae3de2 Add "Legal" paragraph on the "About" page 2015-05-05 17:59:01 +01:00
Simon Poole
dcaefd0d6f Add links to the Beginners' guide, mailing lists and forums to the help page
From a pure design and content view (where the content is factual) a link
to learnosm.org would really be better. Potentially learnosm could be forked
and a version hosted on OSMF infrastructure with the marketing verbiage
for HOTs view of the world removed.
2015-05-05 17:56:38 +01:00
nebulon42
a33b85d29f update browse symbols changed in osm-carto 2.29.0 2015-04-17 23:13:36 +02:00
Tom Hughes
dd4e766788 Redirect to the login page if auth failure has no origin 2015-04-16 11:16:18 +01:00
Tom Hughes
2111ace158 Prefer username/password to openid_url if both are set 2015-04-16 11:14:57 +01:00
Tom Hughes
eeb9866d50 Add support for Google OAuth2 authentication
This replaces OpenID authentication, which is going away soon, but
provides an upgrade path where we can migrate users that already have
a Google OpenID setup to the new system transparently.
2015-04-14 10:08:07 +01:00
Tom Hughes
2af0840ff3 Fix style issues found by new rubocop version 2015-04-14 09:38:24 +01:00
Štefan Baebler
080b12330b Added information about sources for Slovenia 2015-04-07 22:26:52 +01:00
Tom Hughes
650adc10b2 Allow space as a language separator
The separator is supposed to be comma, so technically having
space instead is user error, but it seems to be very common.

Fixes #942
2015-03-31 20:53:51 +01:00
Tom Hughes
e2aef40437 URI encode the X-Page-Title header
Browsers's are inconsistent in how they interpret the encoding
of a response header in an XHR request, so URI encode it so that
it simple ASCII we can then decode it again in the browser.
2015-03-17 18:49:39 +00:00
Tom Hughes
05caad1a5d Fix some validation issues 2015-03-16 20:49:14 +00:00
Tom Hughes
d73a4efef0 Remove inline styling 2015-03-16 20:29:40 +00:00
Tom Hughes
6d9d688080 Simplify close icon for routing panel and fix validation error 2015-03-16 20:26:59 +00:00
Tom Hughes
ac37b89859 Attach labels to fields on the login page 2015-03-12 18:21:07 +00:00
Tom Hughes
db66e48847 Display tooltips on the right for RTL languages
Fixes #925
2015-03-09 22:29:18 +00:00
Tom Hughes
6feea89e7b Style site status notices 2015-03-09 21:01:10 +00:00
Tom Hughes
ce3eabc203 Remove unreachable code 2015-03-09 00:17:08 +00:00
Tom Hughes
23f568cf3a A few more edge cases 2015-03-08 23:02:04 +00:00
Tom Hughes
51c5be98f7 Test some missing cases in the way controller 2015-03-08 18:01:19 +00:00
Tom Hughes
f8de0c1811 Ever more tests... 2015-03-08 16:47:35 +00:00
Florian Schäfer
3cd38b8b80 Change cursor to 'move' when hovering routing markers 2015-03-08 00:53:21 +00:00
Tom Hughes
7fef0353f2 More test work 2015-03-08 00:48:13 +00:00
Tom Hughes
93fb360a08 Add a few more tests 2015-03-07 00:50:35 +00:00
Tom Hughes
11af851248 Remove duplicate search handlers
Fixes #922
2015-03-05 00:34:06 +00:00
Tom Hughes
21d60e359a Tests! 2015-03-04 21:49:43 +00:00
Tom Hughes
c0e4394a48 Add extra tests for API and redaction controllers 2015-03-03 00:55:19 +00:00
Tom Hughes
15b550182c Yet more tests... 2015-03-02 21:20:01 +00:00
Tom Hughes
dfc85f089a Test changeset and note comment notification emails 2015-03-02 00:43:07 +00:00
Tom Hughes
e2609b9758 Remove unused code 2015-03-02 00:07:13 +00:00
Tom Hughes
1891efef06 Testing, testing, testing... 2015-03-01 23:05:32 +00:00
Tom Hughes
33790824d6 Use Faraday in place of Net::HTTP so we can mock responses 2015-03-01 19:22:46 +00:00
Tom Hughes
fd588cd715 The test train rolls ever onwards... 2015-03-01 17:04:39 +00:00
Tom Hughes
66efc5f1ec Remove unused method 2015-03-01 16:17:08 +00:00
Tom Hughes
9fb8f5a84b Drop the old output_compression plugin
The production servers all have mod_deflate enabled anyway, which
almost certainly does a better job of compression than this.
2015-03-01 10:52:28 +00:00
Tom Hughes
bc056a5e98 More test coverage improvements 2015-03-01 00:44:32 +00:00
Tom Hughes
d6bbcae9db Make sure we give iD uncompressed XML for a trace
See #745
2015-02-28 15:53:32 +00:00
Tom Hughes
857f0f460b More work on test coverage 2015-02-28 00:45:56 +00:00
Tom Hughes
9ec625e352 Fix typo
Fixed #916
2015-02-27 17:02:53 +00:00
Tom Hughes
fa3ccdfd49 Fix OSRM directions issues
Don't rely on trailing spaces in translation strings as they
aren't reliably preserved, and make "exit" translatable.

Fixes #915
2015-02-27 17:00:28 +00:00
Tom Hughes
cd3db7df4d Fix validation failures for trace tags
Fixes #914
2015-02-27 10:04:40 +00:00
Tom Hughes
f04211b172 Improve test coverage 2015-02-27 00:40:37 +00:00
Tom Hughes
4254a1f291 Cancel any outstanding route when starting a new one
Fixes #913
2015-02-26 18:39:31 +00:00
Tom Hughes
4b2c64fbed Set an explicit image when dragging from the routing panel
This may help with #912 but at the very least it gives us a full size
image consistent with dragging marker that is already on the map.
2015-02-26 14:06:25 +00:00
Peter Karich
7bf86b7c4e GraphHopper directions updates
Add support for roundabouts in directions, update the URL for the
documenation and explicitly excludes elevation data (which requires
a custom polyline decoder) from the results.
2015-02-26 13:25:33 +00:00