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
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
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
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
Tom Hughes
f258af223b
Fix user settings form
...
Fixes #1601
2017-08-01 19:25:07 +01:00
Tom Hughes
ebeea34670
Replace @user with @current_user
...
This ensures that that we will find any more hidden references
to @user that might be hanging around...
2017-07-27 19:44:14 +01:00
Tom Hughes
24fc94944b
Change user forms to use current user instead of @user
2017-07-27 19:40:20 +01:00
Tom Hughes
2c9c427587
Convert @user to current_user in helpers
2017-07-27 19:27:17 +01:00
Tom Hughes
555a821c3e
Merge remote-tracking branch 'upstream/pull/1595'
2017-07-27 19:18:31 +01:00
Andy Allan
09ba878519
Convert @user to current_user
2017-07-27 10:31:31 +01:00
Andy Allan
c819bec8b7
Use a current_user helper for accessing the logged in user in all views.
2017-07-27 10:07:51 +01:00
Andy Allan
41000078b9
Convert remaining controller code to use current_user
...
The `self.current_user` is important when assigning to the current user,
to avoid creating a local variable called `current_user`
2017-07-27 10:07:51 +01:00
Nick Doiron
de3e02d41a
use no-r2 comment to block RTL gem from changing sprites
2017-07-26 09:15:07 -10:00
Tom Hughes
4874219ab8
Mark account suspended flash message as HTML safe
...
Fixes #1590
2017-07-19 00:31:03 +01:00
Benoît
90325dc5d5
new png file for banner with square 350x350
2017-07-17 15:26:03 +02:00
Benoît
1d49b0d71d
Delete sotmlatam-2016.jpg
2017-07-17 13:35:41 +02:00
Benoît
18fb0f8461
Delete sotmasia-2016.jpg
2017-07-17 13:35:29 +02:00
Benoît
e0163b5803
Delete donate-2016.jpg
2017-07-17 13:35:19 +02:00
Benoît
eb1db9dcff
image with proper width 350px
2017-07-17 13:34:48 +02:00
Benoît
9b37228097
add png file with background
2017-07-17 13:13:11 +02:00
Andy Allan
6f89da05d1
Use current_user to represent the currently logged in user.
...
This is already used by the oauth plugin, and is a general rails convention.
2017-07-12 16:10:50 +01:00
Bryan Housel
3ab39f48ba
Add iD walkthrough autostart parameter
2017-07-07 17:58:02 -04:00
Tom Hughes
d4a461dc26
Merge remote-tracking branch 'upstream/pull/1575'
2017-07-06 19:15:55 +01:00
Tom Hughes
87a7829eb8
Add some tests for the user helper
2017-07-06 19:11:21 +01:00
Andy Allan
cbf71f04c2
Hide contributor terms details, unless the user hasn't agreed
...
It's no longer important to show when users agreed to the contributor terms.
For users that haven't agreed, we still show their status on their profile.
Logic was also re-written to avoid lots of `if not` things, and tests added.
2017-07-05 12:39:52 +01:00
Tom Hughes
5d740d8733
Don't disable search submission buttons on form submission
2017-06-30 10:01:22 +01:00
Tom Hughes
fe1e28b4f4
Fix more parameter sanitisation issues and add tests
2017-06-29 20:52:57 +01:00
Tom Hughes
3763cbc7d4
Disable forgery protection for notes API methods
...
Fixes #1571
2017-06-29 19:14:55 +01:00
Tom Hughes
117f0e8226
Sanitize parameters for various paged views
2017-06-29 10:55:53 +01:00
Tom Hughes
3893fd72a9
Fix some tests for changes in rails 5
2017-06-27 08:26:44 +01:00
Tom Hughes
81deb35331
Update to rails 5.0.4
2017-06-27 08:26:44 +01:00
Andy Allan
396f2e28dd
Rework coordinates to avoid scientific formatting of small numbers. Fixes #1509
2017-06-23 14:03:57 +01:00
Tom Hughes
ea9a4c2aa2
Convert XML document to a string when returning it
...
Otherwise the Rak::ETag module will throw an exception when it
tries to test if the response is empty.
2017-06-13 12:55:13 +01:00