Commit graph

14311 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
translatewiki.net
c94e55f72a
Localisation updates from https://translatewiki.net. 2024-06-27 14:16:29 +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
Andy Allan
9702bb997e
Merge pull request #4922 from tomhughes/geocoder-urls
Simplify handling of geocoder URLs
2024-06-26 14:12:02 +01:00
Tom Hughes
869345199b Drop compromised polyfill.io from upstream vendors 2024-06-26 08:36:14 +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
Tom Hughes
f6da3fa07e Merge remote-tracking branch 'upstream/pull/4921' 2024-06-25 17:32:46 +01:00
Tom Hughes
d61a7ffdf7 Update bundle 2024-06-25 17:21:32 +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
0c4c3cfcd4 Merge branch 'pull/4799' 2024-06-24 18:35:55 +03:00
translatewiki.net
7cd900eca0
Localisation updates from https://translatewiki.net. 2024-06-24 14:17:31 +02: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
Tom Hughes
5aa4d49281 Merge remote-tracking branch 'upstream/pull/4913' 2024-06-19 20:41:20 +01:00
Andy Allan
f1fc31d485 Disable Rails/BulkChangeTable cop
If you have multiple alter commands in a migration (like adding two
columns to an existing table) this cop will suggest combining them using
`change_table :foo, :bulk => true`.

However, Strong Migrations can't inspect `change_table` blocks, and
therefore suggests using `safety_assured`, which mostly defeats the
purpose of using strong_migrations in the first place.

Instead, we should stick with the individual alter commands. Since
postgres runs DDL changes in a transaction anyway, there is not enough
benefit from the `change_table` approach to be worth losing the
safety net of the Strong Migrations checks.
2024-06-19 17:44:20 +01: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
Tom Hughes
8f551d64ca Merge remote-tracking branch 'upstream/pull/4911' 2024-06-19 15:17:24 +01:00
Andy Allan
a951776372 Add Anton as a maintainer 2024-06-19 15:02:51 +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
ad6b856208
Merge pull request #4909 from matkoniecz/patch-1
start STOTMEU banner now
2024-06-19 13:54:22 +01:00
Mateusz Konieczny
4b6b50ab62
start STOTMEU banner now
note that start date was mandatory in initial per https://github.com/openstreetmap/openstreetmap-website/blob/master/FAQ.md#how-do-i-create-a-banner-to-promote-my-openstreetmap-event

> The pull request must indicate when the banner should start being shown, which must be at least 7 days after the pull request was created.
2024-06-19 12:34:36 +02:00
Andy Allan
a89e86285f
Merge pull request #4906 from matkoniecz/sotmeu-banner
SOTMEU 2024 banner
2024-06-19 10:32:49 +01:00
Andy Allan
36bd711c52
Merge pull request #4908 from tomhughes/changeset-size-limit
Add the ability to limit changeset size
2024-06-19 10:01:23 +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
c38e3d6144 Enforce changeset size limit for API calls which make changes 2024-06-19 00:46:34 +01:00
Tom Hughes
f61ac2586f Add support for per-user limits on the size of changes that can be made 2024-06-19 00:46:34 +01:00
Tom Hughes
80ccf1d4c2 Update bundle 2024-06-18 18:15:41 +01:00
Tom Hughes
2d09b9408b Merge remote-tracking branch 'upstream/pull/4891' 2024-06-17 17:22:38 +01:00
Tom Hughes
eab4eec59e Merge remote-tracking branch 'upstream/pull/4905' 2024-06-17 17:15:16 +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
translatewiki.net
1a5adb2a4a
Localisation updates from https://translatewiki.net. 2024-06-17 14:16:52 +02:00
Tom Hughes
6f8fc2b7a7 Merge remote-tracking branch 'upstream/pull/4902' 2024-06-16 18:53:00 +01:00
Tom Hughes
430f458923 Merge remote-tracking branch 'upstream/pull/4899' 2024-06-16 18:50:05 +01: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
dependabot[bot]
3659f6dc57
Bump eslint from 9.4.0 to 9.5.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.4.0 to 9.5.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.4.0...v9.5.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 23:12:34 +00:00
Tom Hughes
84aa7f455a Merge remote-tracking branch 'upstream/pull/4897' 2024-06-14 18:02:50 +01:00
Tom Hughes
18631fa401 Merge remote-tracking branch 'upstream/pull/4896' 2024-06-14 18:02:11 +01:00
Anton Khorev
6c3c4f2751 Use .is-invalid to highlight routing inputs with failed geocode lookups 2024-06-14 19:42:45 +03:00