Commit graph

4051 commits

Author SHA1 Message Date
Emersion
4e64291839 Adds rail 2015-07-11 14:55:31 +02:00
Emersion
f2c955a96a Adds toilets 2015-07-11 14:51:40 +02:00
Emersion
e8a1ea18fc Adds bicycle shop & parking 2015-07-11 14:46:55 +02:00
Emersion
09f3cfda34 Adds footway and common 2015-07-11 14:37:39 +02:00
Emersion
5c6707ac4f Adds forest 2015-07-11 14:24:42 +02:00
Emersion
37e48911e0 Adds cycleways and tracks 2015-07-11 14:16:28 +02:00
Emersion
56316e17ad Adds first try to add key to cyclemap 2015-07-11 12:56:20 +02:00
Tom Hughes
d28ae2ad0a Change direction string ids to force retranslation 2015-07-08 20:38:28 +01:00
Tom Hughes
1729a680ac Improve formatting of OSRM directions
Fixes #904
2015-07-01 21:03:54 +01:00
Tom Hughes
9e2db4513e Change donation drive panel to a thank you
Closes #1001
2015-06-30 22:01:44 +01:00
Michael Glanznig
601f1609ab Add browse symbols for openstreetmap-carto 2.31.0 2015-06-28 00:11:34 +01:00
Eric Theise
6403cb9b08 Add a Geo URI link to the share panel
Fixes #799
2015-06-25 17:56:03 +01:00
Tom Hughes
4676179879 Improve display of user block timestamps
Display the creation time, as a friendly date with a tooltip for
the exact time, and add a tooltip to the expiry time.

Fixes #923 and #996
2015-06-25 17:44:20 +01:00
Tom Hughes
a22c3525e4 Add HTML version of friend notification email
Fixes #995
2015-06-25 00:16:15 +01:00
Simon Poole
cf8a20962b Add a paragraph on the rules in OSM or the lack of them 2015-06-16 18:41:43 +01:00
Tom Hughes
876d5614da Add advert for donation drive 2015-06-16 10:38:29 +01:00
Tom Hughes
e2eb8c9186 Remove unused images 2015-06-16 10:37:11 +01:00
Matt Amos
cf6a5c17ee Fix bug allowing created elements to reference deleted ones
The bug allows a newly-created element to refer to a deleted one
if the transactions for both overlap. Precisely, the issue is that
the check that an element exists does not prevent a concurrent
transaction from altering that row.

Because "deleting" an element in the OSM database does not remove
the row, we cannot rely on FK constraints to ensure the correct
behaviour. Instead, this fix relies on manually locking referenced
elements.

Note that this "fix" is suboptimal, as it does not allow any
updates to the referenced elements. Updates which do not delete
the row could safely be done, but will be prevented.

Also, it's not clear what the negative performance impact of this
change will be.
2015-06-13 10:59:57 +01:00
Tom Hughes
891ec3d75c More favicon tweaks 2015-06-11 22:25:26 +01:00
Tom Hughes
edfbbf7336 Improve favicons
Following http://stackoverflow.com/questions/2268204/favicon-dimensions
advice on the best range of icons to offer, and using the site linked
there to generate everything.
2015-06-11 21:18:31 +01:00
Tom Hughes
957d75295b Fix warnings from rubocop update 2015-06-08 15:59:17 +01:00
Tom Hughes
835eff6346 Only apply data browser CSS rules in the data browser 2015-05-26 17:43:07 +01:00
Tom Hughes
2b2264ddab Add support for Windows Live authentication 2015-05-19 14:04:09 +01:00
Tom Hughes
c9893e186b Add support for Facebook authentication 2015-05-19 14:04:08 +01:00
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