Commit graph

7391 commits

Author SHA1 Message Date
Tom Hughes
1c179621d2 Use SVG for OpenID icon on the login screen 2024-06-27 17:51:32 +01:00
Tom Hughes
24d535237c Merge remote-tracking branch 'upstream/pull/4917' 2024-06-27 17:47:16 +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
Tom Hughes
4c6e9de1ad Merge remote-tracking branch 'upstream/pull/4915' 2024-06-25 17:35:26 +01:00
Anton Khorev
403d86c7d3 Move reverse directions button to the right of from/to inputs 2024-06-25 03:11:36 +03:00
Anton Khorev
06820acc4b Discard fragments from wikimedia_commons tag values 2024-06-22 21:48:42 +03:00
Hidde Wieringa
18628b6f38
OSM icon to SVG
whitespace

Revert og:image tags

Add original design OSM logo in assets/

Update _header.html.erb
2024-06-21 20:22:05 +02: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
Andy Allan
d57dd1f4da
Merge pull request #4813 from AntonKhorev/no-fst-italic
Use font size instead of italic for changeset/trace descriptions
2024-06-19 15:34:14 +01:00
Andy Allan
54aa89a4bf
Merge pull request #4884 from AntonKhorev/copyright-page-title
Add title to copyright page
2024-06-19 15:26:21 +01: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
Andy Allan
a89e86285f
Merge pull request #4906 from matkoniecz/sotmeu-banner
SOTMEU 2024 banner
2024-06-19 10:32:49 +01:00
Tom Hughes
c38e3d6144 Enforce changeset size limit for API calls which make changes 2024-06-19 00:46:34 +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
Mateusz Konieczny
d7dfb2aff3 SOTMEU 2024 banner 2024-06-17 15:38:26 +02:00
Anton Khorev
b5070d97a9 Introduce geocode event callback for route endpoints
Removes remaining getRoute() call from endpoint objects.
2024-06-15 22:26:23 +03:00
Anton Khorev
d3ab0c9a8a Introduce drag event callback for route endpoints
Avoids calling getRoute() from within endpoint objects.
2024-06-15 21:51:48 +03:00
Anton Khorev
b97834f1fd Use default og:image if Addressable::URI fails 2024-06-15 15:57:10 +03:00
Anton Khorev
c03649355a Join and normalize og:image url using Addressable
Avoids failing on urls that are not strictly rfc2396 URIs.
2024-06-15 15:06:07 +03:00
Tom Hughes
84aa7f455a Merge remote-tracking branch 'upstream/pull/4897' 2024-06-14 18:02:50 +01:00
Anton Khorev
6c3c4f2751 Use .is-invalid to highlight routing inputs with failed geocode lookups 2024-06-14 19:42:45 +03:00
Anton Khorev
5944feb008 Remove global "awaiting geocode" routing state 2024-06-14 19:14:49 +03:00
Anton Khorev
dc134f3897 Show u-turn icons for GraphHopper u-turn instructions 2024-06-12 17:34:41 +03:00
Anton Khorev
2cd1b2e64a Show fork icons for GraphHopper keep right/left instructions 2024-06-12 17:31:02 +03:00
Anton Khorev
6624beff11 Move diary comments index action to comments controller 2024-06-10 16:32:53 +03:00
Tom Hughes
63a323dbe3 Merge remote-tracking branch 'upstream/pull/4883' 2024-06-09 15:37:17 +01:00
Tom Hughes
b02d0b9b22 Merge remote-tracking branch 'upstream/pull/4875' 2024-06-09 14:42:50 +01:00
Tom Hughes
c93aa80fef Merge remote-tracking branch 'upstream/pull/4888' 2024-06-09 11:52:56 +01:00
Anton Khorev
16d355f2b7 Redraw routing sprites 2024-06-08 19:44:24 +03:00
Anton Khorev
ebaae09797 Fully encode wikipedia tag values 2024-06-08 15:59:30 +03:00
Nenad Vujicic
a4d3d324ec Add note and diary comments counts to the user profile
Fixes #1643
2024-06-07 21:20:42 +02:00
Anton Khorev
6048e588ac Don't set width of richtext preview 2024-06-07 18:00:09 +03:00
Anton Khorev
2cf3a52d40 Add title to copyright page 2024-06-07 12:51:38 +03:00
Anton Khorev
eeb7e02f88 Don't add site name to og:title when page title is provided 2024-06-07 11:33:00 +03:00
Tom Hughes
67be6616b0 Merge remote-tracking branch 'upstream/pull/4882' 2024-06-06 19:09:15 +01:00
Nenad Vujicic
c471a16dd6 Add last edited date to user profile
Fixes #3437
2024-06-06 18:33:20 +01:00
Anton Khorev
24c138ac8d Ensure that Open Graph image url is absolute 2024-06-06 18:01:23 +03:00
Anton Khorev
a73e20cd5c Set Open Graph image to first image for diary entries 2024-06-06 17:28:57 +03:00
Tom Hughes
2315885586 Merge remote-tracking branch 'upstream/pull/4877' 2024-06-05 18:37:57 +01:00
Tom Hughes
1b8c7f8bf7 Merge remote-tracking branch 'upstream/pull/4878' 2024-06-05 18:36:30 +01:00
Tom Hughes
68ec92a8d7 Merge remote-tracking branch 'upstream/pull/4876' 2024-06-05 18:34:06 +01:00
Anton Khorev
0cd90e76db Move changeset subscribe/unsubscribe locale strings out of javascripts 2024-06-04 16:34:03 +03:00
Anton Khorev
289c22daa7 Write changeset subscribe/unsubscribe buttons using tag.button 2024-06-04 16:28:26 +03:00
Anton Khorev
0d0a9fc004 Move comment changeset locale string out of javascripts 2024-06-04 16:17:20 +03:00
Anton Khorev
0838549598 Write changeset comment button using tag.button 2024-06-04 16:15:18 +03:00
Anton Khorev
9db1b47c15 Move show/hide changeset comment locale strings out of javascripts 2024-06-04 16:07:25 +03:00