Commit graph

4176 commits

Author SHA1 Message Date
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
Tom Hughes
0ff7a928e4 Fix query tool to get correct bounds for enclosing ways
The bounding box returned by overpass for geom output is only
the bounds for the clipped geometry, so fetch the geometry and
the bounding box separately and merge them client side.

Fixes #1156
2016-03-06 20:42:04 +00:00
Tom Hughes
9f9ba18baa Correct URL of Mapzen metro extracts 2016-03-04 20:28:07 +00:00
Bryan Housel
47881add28 Add traffico icons to vendor/assets/iD and asset pipeline precompile list 2016-03-03 16:27:40 -05:00
Bryan Housel
2d7a678772 Update to iD v1.9.0 2016-03-01 17:19:05 -05:00
Tom Hughes
f0fa701563 Treeat user as logged in after a password reset
Fixes #1160
2016-02-26 16:30:32 +00:00
Tom Hughes
480c17be58 Preserve username and "remember me" when login fails
Fixes #1159
2016-02-26 15:32:40 +00:00
Aditya Prakash
80c46f54d4 Create new translation string for deleted user 2016-02-15 22:37:54 +05:30
Aditya Prakash
341f6cd9fe Do not hyperlink profiles of deleted users 2016-02-15 20:47:53 +05:30
Tom Hughes
be624d64f3 Avoid using Rails.application.assets as it no longer set in production 2016-02-11 10:15:19 +00:00
Tom Hughes
5d3ecffa28 Fix new rubocop warnings 2016-02-05 13:35:26 +00:00
Tom Hughes
77c25dca8c Validate characters in changeset comments
Fixes #1135
Closes #1139
2016-01-19 09:51:24 +00:00
Tom Hughes
8fe1899596 Fix rubocop warnings 2016-01-19 09:51:24 +00:00
Tom Hughes
e128e78408 Move routing API endpoint addresses to config file 2016-01-11 19:03:47 +00:00
Tom Hughes
4028f4cdb9 Rework locale selection
Implement our own matching algorithm rather than trying to
patch the http_accept_language one and make sure everything is
using it in a consistent way.

Fixes #1125
2016-01-06 18:43:25 +00:00