Commit graph

2374 commits

Author SHA1 Message Date
Tom Hughes
6aded887ee Merge remote-tracking branch 'upstream/pull/5003' 2024-07-18 17:21:28 +01:00
Anton Khorev
64dfb88ddf Fix marking muted messages as read/unread 2024-07-18 18:48:14 +03:00
Anton Khorev
5623967267 Set search input value when searching for coordinates 2024-07-18 14:56:36 +03:00
Anton Khorev
0e3f0fbfd4 Set search input value to 'lat, lon' params if query param is missing 2024-07-17 16:43:52 +03:00
Tom Hughes
28726e5f11 Merge remote-tracking branch 'upstream/pull/4973' 2024-07-16 17:16:45 +01:00
Tom Hughes
0a98d08885 Merge remote-tracking branch 'upstream/pull/4996' 2024-07-16 17:15:47 +01:00
Anton Khorev
067754b766 Simplify hide path helper calls 2024-07-16 17:35:04 +03:00
Anton Khorev
1f4c298f76 Simplify subscribe path helper calls 2024-07-16 17:32:00 +03:00
Anton Khorev
b0e41cf142 Remove name parameter from auth button helpers 2024-07-16 17:12:17 +03:00
nertc
08fa95cbfc When downloading image, allow other map styles 2024-07-15 19:08:49 +04:00
Anton Khorev
0f63f0fd3d Check comment ids instead of factory sequence numbers in changeset feed tests 2024-07-15 17:29:12 +03:00
Tom Hughes
1859728558 Merge remote-tracking branch 'upstream/pull/4984' 2024-07-14 15:40:39 +01:00
Anton Khorev
7917a7db80 Parse lat and lon independently when using dms notation 2024-07-13 17:52:39 +03:00
Anton Khorev
d4ff510b03 Check that fractional part is present after . in geocoder latlon tests 2024-07-13 16:09:08 +03:00
Anton Khorev
392d3d1226 Merge branch 'pull/4961' 2024-07-13 14:48:44 +03:00
Tom Hughes
b5c72bb6d7 Merge remote-tracking branch 'upstream/pull/4978' 2024-07-12 19:25:21 +01:00
Anton Khorev
00c2589374 Move diary comment action to comments controller 2024-07-12 17:58:43 +03:00
Tom Hughes
6d217da3b6 Test that geocoder results are not in scientific form 2024-07-12 14:43:54 +01:00
Tom Hughes
e5057dd57a Use named captures to simplify latlon parsing 2024-07-12 14:43:32 +01:00
Anton Khorev
66140c8d1d Show/hide entire OpenID form 2024-07-12 14:22:11 +03:00
Tom Hughes
f047f86c1d Preserve lat and lon values as entered for reverse searches 2024-07-12 12:04:16 +01:00
Tom Hughes
63f0b9257d Don't try and change the HTTP client user agent
Because we only create the client once we can't override the
server URL for a test to change the user agent as we don't know
which test will create it.
2024-07-10 19:17:09 +01:00
Tom Hughes
6a426a920e Merge remote-tracking branch 'upstream/pull/4974' 2024-07-10 18:33:54 +01:00
Anton Khorev
382e773793 Test Nominatim.describe_location 2024-07-10 17:41:56 +03:00
Anton Khorev
38bfb33c02 Remove single-use OpenID logo helper 2024-07-10 13:50:39 +03:00
Anton Khorev
088a78d83c Remove .d-block classes from auth buttons
Unnecessary on flex items.
2024-07-09 17:51:50 +03:00
Anton Khorev
bacca516f0 Use flex gap instead of margins on auth buttons 2024-07-08 17:28:36 +03:00
nertc
676aef5be6 Order of comments in changeset comments feeds 2024-07-05 19:00:15 +04:00
Tom Hughes
87422e56f9 Merge remote-tracking branch 'upstream/pull/4949' 2024-07-04 18:54:03 +01:00
nertc
c66851f474 Share button unusable on a cell phone 2024-07-04 18:09:48 +04:00
Anton Khorev
81ac29fad8 Change auth provider logo alt texts to indicate that these are logos 2024-07-03 10:53:25 +03:00
nertc
4b593412c2 Accept coordinates with a slash in search 2024-07-02 23:48:55 +04:00
Anton Khorev
adabf84fe6 Set i18n locale before writing "report a problem" on embed page 2024-06-30 04:51:43 +03:00
Tom Hughes
b03eb84bb6 Only the sender of a message should be able to mark it as read/unread 2024-06-29 00:14:42 +01:00
Tom Hughes
5cc0b26bba Merge remote-tracking branch 'upstream/pull/4916' 2024-06-27 17:56:13 +01:00
Tom Hughes
24d535237c Merge remote-tracking branch 'upstream/pull/4917' 2024-06-27 17:47:16 +01:00
Emin Kocan
3dc76a9bc0 style auth buttons using .btn & .btn-light classes 2024-06-27 14:55:28 +02:00
Andy Allan
7f3cb3c624
Merge pull request #4610 from AntonKhorev/no-old-note-api
Remove old note api endpoints
2024-06-26 14:17:39 +01:00
Tom Hughes
271384e683 Simplify handling of geocoder URLs
This avoids having to build them in multiple places and also
ensures we link to what was actually searched rather than some
random string from the locale file.
2024-06-25 17:57:38 +01:00
Tom Hughes
ddc252016a Merge remote-tracking branch 'upstream/pull/4895' 2024-06-25 17:42:52 +01:00
Anton Khorev
06820acc4b Discard fragments from wikimedia_commons tag values 2024-06-22 21:48:42 +03:00
Emin Kocan
b057c7ae5a Arrange button sizes to default size of 36px
As discussed in #4773 there was not any clarification as why auth button sizes were reduced so 36px is now accepted as default. This commit addresses that comment/issue.
2024-06-21 12:08:58 +02:00
Anton Khorev
9f3ac8f5ce Url-encode wikimedia_commons tag values 2024-06-20 22:13:28 +03:00
Nenad Vujicic
839d203d51 Added link to nominatim results in searching results
Fixes #3205. Added caching of nominatim URL query parameters in sources global variable (as parameters parameter) in GeocoderController#search for both direct and reverse geocoding. In app/views/geocoder/search.html.erb added displaying cached URL as forwarding link when clicked on "OpenStreetMap Nominatim" label. Updated GeocoderControllerTest to check only name (latlng, osm_nominatim, osm_nominatim_reverse) parameter of new sources variable.
2024-06-19 15:44:56 +02:00
Andy Allan
d00a0667bc
Merge pull request #4887 from AntonKhorev/full-encode-wikipedia-value
Fully encode wikipedia tag values
2024-06-19 14:41:38 +01:00
Tom Hughes
505dcde52a Add tests for API changeset size limits 2024-06-19 00:46:35 +01:00
Tom Hughes
61c5011813 Update tests to avoid triggering changeset size limits 2024-06-19 00:46:35 +01:00
Tom Hughes
2d09b9408b Merge remote-tracking branch 'upstream/pull/4891' 2024-06-17 17:22:38 +01:00
Anton Khorev
a128b4f585 Move diary comments hide/unhide actions to comments controller 2024-06-17 18:16:31 +03:00
Anton Khorev
b97834f1fd Use default og:image if Addressable::URI fails 2024-06-15 15:57:10 +03:00