Commit graph

4250 commits

Author SHA1 Message Date
Tom Hughes
31c81f108d Set all cookies on the root path 2016-08-17 10:04:57 +01:00
Tom Hughes
fb9afd32db Make banner cookies expire after one year
This avoids having lots of cookies stick around forever and
we shouldn't ever have a banner up for that long.
2016-08-17 10:02:50 +01:00
Simon Poole
90b7101cc3 Add tests for change of gravatar use depending on email 2016-08-16 22:09:11 +02:00
Simon Poole
05cd781b25 Remove default enabling of gravatar, check on initial confirmation of e-mail address and on any changes afterward if
a gravatar exists and enable then if the user hasn't uploaded a picture.
2016-08-16 21:42:02 +02:00
Tom Hughes
47e6637f18 Fix rubocop warnings 2016-08-16 19:27:14 +01:00
Tom Hughes
778659a78c Merge remote-tracking branch 'openstreetmap/pull/788' 2016-08-16 19:11:35 +01:00
Simon Legner
94f02270c1 Pan to first Nominatim search result
Fixes #919
Closes #1041
2016-08-15 20:58:07 +01:00
Tom Hughes
dae3dcf87e Merge remote-tracking branch 'openstreetmap/pull/1004' 2016-08-15 20:20:37 +01:00
Tom Hughes
13c2ac5cdb Reorder auth_success handlers
Only treat auth_success as a possible login attempt if we're not
in the middle of validating a new user, or a change to a user.

Also validate the uniqueness of external auth credentials at the
rails level rather than just at the database level, and make sure
any errors are properly reported.

Fixes #1265
2016-08-14 18:30:13 +01:00
Tom Hughes
078dc1a526 Correct icon mappings for non OSRM routers 2016-08-05 18:59:21 +01:00
Patrick Niklaus
311acad0c4 Add support for OSRM 5.0 API and new instruction types
Add support for the new API in OSRM 5.x including new icon sprites
for the new instruction types.
2016-08-05 18:55:16 +01:00
Eugene Alvin Villar
c4c99bf413 Add State of the Map Asia 2016 2016-07-31 10:08:30 +01:00
Tom Hughes
24ddb8657d Revert "Don't pass the locale to the Mapzen routing engine"
This reverts commit 38180c56c9.
2016-07-26 18:36:56 +01:00
Florian Schäfer
3251cdf5d6 Added fixes for rubocop complaints 2016-07-14 15:22:52 +02:00
Florian M. Schäfer
10cde3bb92 Link the prefixed wikidata-tags to wikidata.org
With this commit, the prefixed wikidata-tags get linked to the
corresponding wikidata.org-page in the current interface-language.

Multiple semicolon-separated wikidata-IDs are shown as multiple
semicolon-separated links to wikidata.

This commit contains also some tests for those links.
2016-07-14 15:22:52 +02:00
Tom Hughes
c70a1fe933 Add support for GitHub authentication 2016-07-14 09:40:45 +01:00
Bryan Housel
9598386ab8 Remove banner for small screens
(closes #1247)
2016-07-03 23:53:21 -04:00
Peter Barth
7da6602527 Add banner for FOSSGIS 2016 conference 2016-06-23 22:58:40 +02:00
Tom Hughes
49edb79711 Rename cookie_id to banner_cookie 2016-06-23 09:04:07 +01:00
Bryan Housel
db40eee333 Don't show banner unless content classed with overlay-sidebar 2016-06-23 00:52:45 -04:00
Bryan Housel
2ada0591b8 Pacify rubocop 2016-06-22 14:05:13 -04:00
Bryan Housel
9e3dc420f3 Load banner config from config/banners.yml 2016-06-22 13:37:57 -04:00
Bryan Housel
3e82a36743 Add end dates to banners 2016-06-22 13:08:27 -04:00
Bryan Housel
e14ec1547e Refactor banner logic into BannerHelper module 2016-06-22 08:19:13 -04:00
Bryan Housel
933335a0ea Set max queuePos high to ensure a banner is shown
Previously it was possible for no banners to fall below max queuePos,
in the situation where several banners get removed from active rotation.
2016-06-21 06:45:22 -04:00
Bryan Housel
40abfdd316 remove debug statement 2016-06-20 19:19:20 -04:00
Bryan Housel
5e27978d3c Add support for rotating banners, add banners for SOTM, SOTMUS 2016-06-20 18:09:55 -04:00
Tom Hughes
16f8acd243 Remove more traces of MapQuest Open layer 2016-06-15 20:38:52 +01:00
Tom Hughes
fb234e2ecb Drop the MapQuest Open layer 2016-06-15 20:24:09 +01:00
Tom Hughes
72e71b9972 Fix rubocop warnings 2016-06-09 22:18:28 +01:00
Bryan Housel
a6b88fe6ce Support passing imagery offset parameter to iD 2016-05-04 01:27:44 -04:00
Tom Hughes
6c4448b9f6 Increase overpass API timeout 2016-03-20 19:41:15 +00:00
Tom Hughes
a95748b168 Handle overpass errors reported as remarks
Not all overpass errors are reported as HTTP errors - some are
reported as HTTP success with a remark in the response.

Fixes #1178
2016-03-20 19:39:51 +00:00
Tom Hughes
6be39fca2f Make support email address configurable 2016-03-20 18:58:50 +00:00
Tom Hughes
945ff7911c Merge remote-tracking branch 'openstreetmap/pull/954' 2016-03-20 18:47:35 +00:00
Alexander Meshcheryakov
2d2334d34b Make list items highligh colour darker
The list highlight colour is currently very subtle and can be
had to spot so make it a little darker.

Closes #1090
2016-03-20 18:31:45 +00:00
Markus Heidelberg
79df0df8c6 Correctly sort the Copyright item in the compact menu
In the default menu it had been moved left by commit bfd11bf79 but
the compact drop-down menu had not been adapted accordingly.

Closes #1185
2016-03-17 10:27:29 +00:00
Tom Hughes
38180c56c9 Don't pass the locale to the Mapzen routing engine
It only supports en-US currently, and passing anything else now
makes it error instead of falling back to en-US.
2016-03-15 10:03:18 +00:00
Tom Hughes
16f5a5ac0c Merge remote-tracking branch 'openstreetmap/pull/954' 2016-03-14 22:11:23 +00:00
Simon Legner
5f495b43d1 Notes: show first comment as marker tooltip 2016-03-14 23:00:45 +01:00
Simon Legner
f3fa97fc63 Wrap user name in bdi to provide a separate RTL context
Fixes #1179
Closes #1183
2016-03-14 21:20:03 +00:00
Simon Legner
5175ee68b0 Add title to changeset feeds
Fixes #1051
Closes #1180
2016-03-14 21:09:53 +00:00
Simon Legner
359d030a5b Only the standard layer can be exported
Fixes #1141
Closes #1182
2016-03-14 21:04:31 +00:00
Florian Schäfer
fbf2b45ecc Make "Report a problem" link in embeddable map translateable 2016-03-09 19:26:59 +00:00
Tom Hughes
544ed36247 Enebale I18n for embedded maps 2016-03-09 19:26:31 +00:00
Florian Schäfer
151a48d7f3 Open new tab/window for "report a problem" link
This avoids closing whatever site the user was looking at when they
spotted he problem, and avoid problems when the embedded map is part
of an iframe as the problem report page denies embedding.
2016-03-09 19:23:03 +00:00
Simon Legner
6f144e8b7d Show ref of object when no name is present 2016-03-09 18:47:54 +00:00
Simon Legner
6c3fd1e053 Consistent blue marker colour for sharing location
Before, when adding a marker, it was coloured blue. After sharing the marker,
it was coloured red.
2016-03-08 23:59:55 +01:00
Tom Hughes
37d65124a6 Improve styling of "signup blocked" page 2016-03-07 12:20:55 +00:00
Tom Hughes
6e154d48c0 Ignore bounds on elements with geometry 2016-03-06 21:37:47 +00:00