Commit graph

4667 commits

Author SHA1 Message Date
Tom Hughes
e813a31d7a Make context menu use from/to for directions
This ensures that the router will try to geocode the values rather
than assuming that they are latitude/longitude pairs.

Fixes #1684
2017-11-19 19:49:39 +00:00
Tom Hughes
7ce94ad0ec Add openstreetcam.org to security policy for iD 2017-11-16 10:17:22 +00:00
Bryan Housel
2168c2867c Add iD disable_features parameter 2017-11-10 15:57:37 -05:00
Tom Hughes
5846e39a36 Disable keyboard controls for layer switcher maps
Fixes #1673
2017-11-09 14:29:17 +00:00
Tom Hughes
7346c5a024 Update site to use jQuery 3 2017-11-03 20:40:48 +00:00
Tom Hughes
b6b9d543ac Fix rubocop warnings 2017-10-29 19:43:02 +00:00
Tom Hughes
1c77d2432e Avoid using rinku's auto_link helper
It's currently broken (https://github.com/vmg/rinku/issues/70) and
in case our own linkify has some additional customisations.
2017-10-27 19:45:32 +01:00
Tom Hughes
cea455d390 Update for ActionView::Template::Error change 2017-10-27 19:25:49 +01:00
Tom Hughes
38640e0253 Merge remote-tracking branch 'upstream/pull/1652' 2017-10-25 08:16:33 +01:00
Tom Hughes
f0b2ed9bb6 Merge remote-tracking branch 'upstream/pull/1659' 2017-10-24 20:19:46 +01:00
Andy Allan
b2a8df0bd7 Add annotate gem and associated rake task. Annotate models. 2017-10-22 22:18:26 +01:00
Andy Allan
d581f17665 Avoid using or comparing explicit model ids
The code is easier to read using higher-level concepts.
2017-10-22 21:58:09 +01:00
Holger Jeromin
2a21c82185 Removes DOM difference in location button (main map) 2017-10-18 19:51:05 +02:00
Holger Jeromin
833579778a Removes DOM difference in location button 2017-10-18 15:05:11 +02:00
Tom Hughes
f773f67958 Update to rails 5.1.4 2017-10-17 18:49:55 +01:00
Bryan Housel
a938b2a17e Add banner for OSMF Membership Drive 2017-10-16 01:07:07 -04:00
Tom Hughes
f02c753cc4 Use send_data for GPX traces intead of monkey patching send_file 2017-10-09 20:38:08 +01:00
Tom Hughes
0b0ff1bcc5 Remove reference to large screen stylesheet
The separate large screen stylesheet was removed in 4dceacdeb but
we are still referencing it on Internet Explorer.
2017-10-09 13:47:48 +01:00
Tom Hughes
6e0ca57e2f Fix typo that means fe0f4543c1 has never worked 2017-10-09 08:39:14 +01:00
Tom Hughes
e16311125e Use Hash#dig to simplify code 2017-10-05 20:22:24 +01:00
Tom Hughes
8dae890a76 Fix rubocop warnings 2017-10-05 19:18:38 +01:00
Tom Hughes
6209a9be78 Drop geocoder.us from search engines
Fixes #1633
2017-09-25 22:52:03 +01:00
Ian Dees
429641bd90 Add banner-sotmus2017.png 2017-09-14 14:43:22 -05:00
Ian Dees
a19a7f2bae Delete banner-sotm-2017.png 2017-09-14 14:42:05 -05:00
Tom Hughes
47d33ed98e Defer measuring of header elements to a timeout
Chrome 60 and later seem to fire the "ready" callback before the DOM is
fully ready causing us to measure the wrong sizes for the header elements
so we use a 0ms timeout to defer the measurement slightly as a workaround.

Fixes #1639
2017-09-14 20:30:38 +01:00
Andy Allan
dd619fbe73 Remove some more of the structured-details stuff 2017-09-13 16:20:22 +01:00
Andy Allan
8cf16fe78b Create an IssueCommentsController for managing IssueComments 2017-09-13 16:19:16 +01:00
Andy Allan
f0e3a41726 Fix parameter spacing 2017-09-13 16:16:33 +01:00
Andy Allan
7ffec2eb38 Rework the 'issues not found' notice slightly.
Previously it would go into a redirect loop if there were no issues
in the database.
2017-09-13 16:12:36 +01:00
Andy Allan
659270dafe The link is to the list of issues, not of reports, and there's no need for it to be bold. 2017-09-13 16:02:15 +01:00
Andy Allan
33c43ab0af Ensure that issue comments have associated issues and users. 2017-09-13 15:01:36 +01:00
Kshitiz Khanal
715759211a Add banner for State of the Map Asia 2017
Closes #1630
2017-09-08 16:54:39 +01:00
Wille Marcel
a402e811da Add padding between the last diary post and the pagination links
Closes #1634
2017-09-08 16:50:09 +01:00
Andy Allan
c00c515d9d Ensure report details are not blank. 2017-09-06 18:17:54 +01:00
Andy Allan
d7612f42d0 Refactor creating a new report to use a ReportsController
It's really a report that the user is creating, the issue is created indirectly. Similar
refactoring will be required for issue comments.
2017-09-06 18:06:21 +01:00
Andy Allan
948fd8c8fa Use reports_count so that counter_cache works automatically. 2017-09-06 17:57:54 +01:00
Andy Allan
b578cee759 Remove the border around the radio boxes
It looks strange.
2017-09-06 16:27:54 +01:00
Tom Hughes
f1faffd4d1 Merge remote-tracking branch 'upstream/pull/1614' 2017-08-30 21:09:32 +01:00
Andy Allan
b4be5596f5 Rename xml processing methods with an update_ prefix
They behave differently from the other from_xml methods on other models.
2017-08-30 11:40:54 +01:00
Bryan Housel
8d2acb8ef0 Add iD hashtags parameter 2017-08-25 16:24:19 -04:00
Andy Allan
c647aa3d4d Refactor the from_xml methods to act on existing trace objects.
Setting the new tags with the = operator takes care of removing the
old ones, and is the same approach as taken by the tagstring= method.

Fixes #1600
2017-08-18 10:09:50 +01:00
Tom Hughes
a70898be6d Make sure we show errors correctly when resetting a password 2017-08-11 17:45:57 +01:00
mmd-osm
7fd1e55938 Discard empty ways from query result geometries
Fixes #1608
2017-08-10 19:49:50 +01:00
Tom Hughes
85b0098b1c Make sure the account form is POSTed
Fixes #1601
2017-08-02 15:32:13 +01:00
Andy Allan
60f2074bac Merge pull request #1588 from Georeactor/master
Update gem, fix icons on RTL/Arabic pages
2017-08-02 15:15:25 +01:00
Tom Hughes
bc10bc8758 Merge remote-tracking branch 'upstream/pull/1603' 2017-08-02 15:02:39 +01:00
Andy Allan
980422533d Avoid passing the current_user.id when commenting
Doing so doesn't appear to be necessary, and it opens up a spoofing
hole if it's actually used.
2017-08-02 14:58:03 +01:00
Andy Allan
389095df1c Remove unused user save template.
This template isn't used, since all the controller methods redirect
to other views.
2017-08-02 14:48:04 +01:00
Andy Allan
3e4255eb2c Use current_user instead of @user. 2017-08-02 12:21:51 +01:00
Andy Allan
e31376e28d Merge branch 'master' into moderation 2017-08-02 12:12:57 +01:00