]> git.openstreetmap.org Git - rails.git/log
rails.git
7 hours agoMerge pull request #7469 from tomhughes/invalid-images master
Andy Allan [Thu, 8 Oct 2026 08:46:50 +0000 (09:46 +0100)]
Merge pull request #7469 from tomhughes/invalid-images

Improve handling of invalid user avatars

10 hours agoUpdate lockfile
Tom Hughes [Thu, 8 Oct 2026 06:19:15 +0000 (07:19 +0100)]
Update lockfile

10 hours agoPin google-protobuf to stop sass-embedded upgrading
Tom Hughes [Thu, 8 Oct 2026 06:16:34 +0000 (07:16 +0100)]
Pin google-protobuf to stop sass-embedded upgrading

16 hours agoMerge remote-tracking branch 'upstream/pull/7479'
Tom Hughes [Wed, 7 Oct 2026 23:48:50 +0000 (00:48 +0100)]
Merge remote-tracking branch 'upstream/pull/7479'

17 hours agoPin dartsass-sprockets to avoid sass-embedded upgrade
Tom Hughes [Wed, 7 Oct 2026 23:42:32 +0000 (00:42 +0100)]
Pin dartsass-sprockets to avoid sass-embedded upgrade

17 hours agoBump source-map-js from 1.2.1 to 1.2.2
dependabot[bot] [Wed, 7 Oct 2026 23:29:56 +0000 (23:29 +0000)]
Bump source-map-js from 1.2.1 to 1.2.2

Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/7rulnik/source-map-js/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
17 hours agoMerge remote-tracking branch 'upstream/pull/7477'
Tom Hughes [Wed, 7 Oct 2026 23:28:05 +0000 (00:28 +0100)]
Merge remote-tracking branch 'upstream/pull/7477'

17 hours agoMerge remote-tracking branch 'upstream/pull/7476'
Tom Hughes [Wed, 7 Oct 2026 23:27:59 +0000 (00:27 +0100)]
Merge remote-tracking branch 'upstream/pull/7476'

17 hours agoBump the dependencies group with 3 updates
dependabot[bot] [Wed, 7 Oct 2026 23:13:16 +0000 (23:13 +0000)]
Bump the dependencies group with 3 updates

Bumps the dependencies group with 3 updates: [terra-draw](https://github.com/JamesLMilner/terra-draw), [eslint](https://github.com/eslint/eslint) and [globals](https://github.com/sindresorhus/globals).

Updates `terra-draw` from 1.35.0 to 1.36.0
- [Release notes](https://github.com/JamesLMilner/terra-draw/releases)
- [Changelog](https://github.com/JamesLMilner/terra-draw/blob/main/release.js)
- [Commits](https://github.com/JamesLMilner/terra-draw/compare/terra-draw@1.35.0...terra-draw@1.36.0)

Updates `eslint` from 10.11.0 to 10.12.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.11.0...v10.12.0)

Updates `globals` from 17.12.0 to 17.13.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v17.12.0...v17.13.0)

---
updated-dependencies:
- dependency-name: terra-draw
  dependency-version: 1.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: eslint
  dependency-version: 10.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: globals
  dependency-version: 17.13.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
17 hours agoBump rubocop-minitest from 0.40.0 to 0.41.0 in the rubocop group
dependabot[bot] [Wed, 7 Oct 2026 23:12:44 +0000 (23:12 +0000)]
Bump rubocop-minitest from 0.40.0 to 0.41.0 in the rubocop group

Bumps the rubocop group with 1 update: [rubocop-minitest](https://github.com/rubocop/rubocop-minitest).

Updates `rubocop-minitest` from 0.40.0 to 0.41.0
- [Release notes](https://github.com/rubocop/rubocop-minitest/releases)
- [Changelog](https://github.com/rubocop/rubocop-minitest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-minitest/compare/v0.40.0...v0.41.0)

---
updated-dependencies:
- dependency-name: rubocop-minitest
  dependency-version: 0.41.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
...

Signed-off-by: dependabot[bot] <support@github.com>
19 hours agoAdd a task to remove invalid user avatars
Tom Hughes [Tue, 6 Oct 2026 17:37:36 +0000 (18:37 +0100)]
Add a task to remove invalid user avatars

19 hours agoAdd test for using an invalid avatar image
Tom Hughes [Tue, 6 Oct 2026 17:20:11 +0000 (18:20 +0100)]
Add test for using an invalid avatar image

19 hours agoRequire use avatars to be valid images
Tom Hughes [Mon, 5 Oct 2026 19:37:04 +0000 (20:37 +0100)]
Require use avatars to be valid images

19 hours agoRevert any avatar change if we fail to save the new image
Tom Hughes [Mon, 5 Oct 2026 19:35:47 +0000 (20:35 +0100)]
Revert any avatar change if we fail to save the new image

23 hours agoMerge remote-tracking branch 'upstream/pull/7473' live
Tom Hughes [Wed, 7 Oct 2026 17:27:42 +0000 (18:27 +0100)]
Merge remote-tracking branch 'upstream/pull/7473'

23 hours agoMerge remote-tracking branch 'upstream/pull/7475'
Tom Hughes [Wed, 7 Oct 2026 17:17:51 +0000 (18:17 +0100)]
Merge remote-tracking branch 'upstream/pull/7475'

23 hours agoMerge remote-tracking branch 'upstream/pull/7474'
Tom Hughes [Wed, 7 Oct 2026 17:14:08 +0000 (18:14 +0100)]
Merge remote-tracking branch 'upstream/pull/7474'

Fixes #7472

24 hours agoRender way node refs from way_nodes instead of loading nodes
Andy Allan [Wed, 7 Oct 2026 15:50:22 +0000 (16:50 +0100)]
Render way node refs from way_nodes instead of loading nodes

Given that we only need the node ids, we only need to preload the
way_nodes and use the ids from there.

25 hours agoReplace OSM.MapLibre.defaultHomeZoom with defaultHomeZoom
Marwin Hochfelsner [Wed, 7 Oct 2026 15:42:03 +0000 (17:42 +0200)]
Replace OSM.MapLibre.defaultHomeZoom with defaultHomeZoom

25 hours agoFix crashes in mailers due to missing record
Pablo Brasero [Wed, 7 Oct 2026 14:50:10 +0000 (15:50 +0100)]
Fix crashes in mailers due to missing record

26 hours agoMerge pull request #7470 from tomhughes/prosopite-fixes
Andy Allan [Wed, 7 Oct 2026 14:30:49 +0000 (15:30 +0100)]
Merge pull request #7470 from tomhughes/prosopite-fixes

More N+1 query fixes

42 hours agoFix N+1 queries in issues view
Tom Hughes [Tue, 6 Oct 2026 21:56:48 +0000 (22:56 +0100)]
Fix N+1 queries in issues view

43 hours agoFix N+1 queries in node/way/relation api views
Tom Hughes [Tue, 6 Oct 2026 21:19:34 +0000 (22:19 +0100)]
Fix N+1 queries in node/way/relation api views

3 days agoMerge pull request #7466 from openstreetmap/translatewiki
Marwin Hochfelsner [Mon, 5 Oct 2026 13:53:46 +0000 (15:53 +0200)]
Merge pull request #7466 from openstreetmap/translatewiki

Localisation updates from https://translatewiki.net.

3 days agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 5 Oct 2026 12:03:25 +0000 (14:03 +0200)]
Localisation updates from https://translatewiki.net.

3 days agoMerge pull request #7465 from tomhughes/prosopite-fixes
Andy Allan [Mon, 5 Oct 2026 08:59:52 +0000 (09:59 +0100)]
Merge pull request #7465 from tomhughes/prosopite-fixes

Fix some N+1 queries

3 days agoFix N+1 queries with user block views
Tom Hughes [Sun, 4 Oct 2026 21:44:24 +0000 (22:44 +0100)]
Fix N+1 queries with user block views

3 days agoFix N+1 queries with trace views
Tom Hughes [Sun, 4 Oct 2026 21:38:43 +0000 (22:38 +0100)]
Fix N+1 queries with trace views

3 days agoFix N+1 queries in user blocks controller
Tom Hughes [Sun, 4 Oct 2026 18:44:06 +0000 (19:44 +0100)]
Fix N+1 queries in user blocks controller

3 days agoFix N+1 queries with moderation zones
Tom Hughes [Sun, 4 Oct 2026 18:33:59 +0000 (19:33 +0100)]
Fix N+1 queries with moderation zones

3 days agoFix N+1 queries in messages controller
Tom Hughes [Sun, 4 Oct 2026 18:06:42 +0000 (19:06 +0100)]
Fix N+1 queries in messages controller

5 days agoMerge remote-tracking branch 'upstream/pull/7459'
Tom Hughes [Fri, 2 Oct 2026 18:13:42 +0000 (19:13 +0100)]
Merge remote-tracking branch 'upstream/pull/7459'

5 days agoMerge remote-tracking branch 'upstream/pull/7458'
Tom Hughes [Fri, 2 Oct 2026 18:13:39 +0000 (19:13 +0100)]
Merge remote-tracking branch 'upstream/pull/7458'

5 days agoMerge pull request #7460 from tomhughes/validate-note-params
Andy Allan [Fri, 2 Oct 2026 18:05:40 +0000 (19:05 +0100)]
Merge pull request #7460 from tomhughes/validate-note-params

Validate status parameter to notes#index

5 days agoValidate status parameter to notes#index
Tom Hughes [Fri, 2 Oct 2026 17:14:38 +0000 (18:14 +0100)]
Validate status parameter to notes#index

6 days agoFix N+1 queries for comment authors in the notes API
Andy Allan [Thu, 1 Oct 2026 12:40:54 +0000 (13:40 +0100)]
Fix N+1 queries for comment authors in the notes API

Preload the authors of note comments, and of the notes themselves for
the RSS feeds, when rendering notes from the API.

The tests now use notes with comments by at least three different
users, as prosopite doesn't always detect an N+1 query with only two
records - the first query in a process can have a different call stack
while the association's statement cache is built.

6 days agoDetect N+1 queries in tests using prosopite
Andy Allan [Thu, 1 Oct 2026 10:50:57 +0000 (11:50 +0100)]
Detect N+1 queries in tests using prosopite

Each request handled by the tests (controllers, integration and system)
is scanned separately for N+1 queries using prosopite's rack middleware,
as is each job performed outside of a request. The test fails if any are found.

Jobs performed during a request aren't scanned, as their queries would
otherwise count towards the request's. That would make a request that triggers
three email notifications look like an N+1 query, whereas in reality each job
is performed separately.

Existing N+1 queries are allowed when any of the files listed in
test/prosopite_todo.yml are in the call stack. This means we can work
through that list, but avoid adding new N+1 queries in other parts of our code.

6 days agoMerge remote-tracking branch 'upstream/pull/7456'
Tom Hughes [Thu, 1 Oct 2026 17:10:11 +0000 (18:10 +0100)]
Merge remote-tracking branch 'upstream/pull/7456'

7 days agoMerge pull request #7457 from tomhughes/json-3
Andy Allan [Thu, 1 Oct 2026 15:35:59 +0000 (16:35 +0100)]
Merge pull request #7457 from tomhughes/json-3

Drop lock on json version now that rails supports json 3

7 days agoDrop lock on json version now that rails supports json 3
Tom Hughes [Thu, 1 Oct 2026 14:33:53 +0000 (15:33 +0100)]
Drop lock on json version now that rails supports json 3

7 days agoMerge remote-tracking branch 'upstream/pull/7453'
Tom Hughes [Thu, 1 Oct 2026 14:28:51 +0000 (15:28 +0100)]
Merge remote-tracking branch 'upstream/pull/7453'

7 days agoBump the dependencies group across 1 directory with 10 updates
dependabot[bot] [Thu, 1 Oct 2026 14:08:41 +0000 (14:08 +0000)]
Bump the dependencies group across 1 directory with 10 updates

Bumps the dependencies group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [activerecord-postgis](https://github.com/seuros/activerecord-postgis) | `0.6.0` | `0.6.1` |
| [actionpack-page_caching](https://github.com/rails/actionpack-page_caching) | `1.2.4` | `1.2.5` |
| [doorkeeper](https://github.com/doorkeeper-gem/doorkeeper) | `5.9.7` | `5.9.9` |
| [doorkeeper-openid_connect](https://github.com/doorkeeper-gem/doorkeeper-openid_connect) | `1.10.5` | `2.0.0` |
| [dalli](https://github.com/petergoldstein/dalli) | `5.1.0` | `5.1.1` |
| [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) | `1.232.1` | `1.232.2` |
| [herb](https://github.com/marcoroth/herb) | `0.10.4` | `0.11.0` |
| [database_consistency](https://github.com/djezzzl/database_consistency) | `3.0.12` | `3.0.13` |
| [aws-partitions](https://github.com/aws/aws-sdk-ruby) | `1.1289.0` | `1.1291.0` |
| [bindata](https://github.com/dmendel/bindata) | `3.0.0` | `3.0.1` |

Updates `activerecord-postgis` from 0.6.0 to 0.6.1
- [Release notes](https://github.com/seuros/activerecord-postgis/releases)
- [Changelog](https://github.com/seuros/activerecord-postgis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seuros/activerecord-postgis/compare/activerecord-postgis/v0.6.0...activerecord-postgis/v0.6.1)

Updates `actionpack-page_caching` from 1.2.4 to 1.2.5
- [Release notes](https://github.com/rails/actionpack-page_caching/releases)
- [Changelog](https://github.com/rails/actionpack-page_caching/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/actionpack-page_caching/compare/v1.2.4...v1.2.5)

Updates `doorkeeper` from 5.9.7 to 5.9.9
- [Release notes](https://github.com/doorkeeper-gem/doorkeeper/releases)
- [Changelog](https://github.com/doorkeeper-gem/doorkeeper/blob/main/CHANGELOG.md)
- [Commits](https://github.com/doorkeeper-gem/doorkeeper/compare/v5.9.7...v5.9.9)

Updates `doorkeeper-openid_connect` from 1.10.5 to 2.0.0
- [Release notes](https://github.com/doorkeeper-gem/doorkeeper-openid_connect/releases)
- [Changelog](https://github.com/doorkeeper-gem/doorkeeper-openid_connect/blob/master/CHANGELOG.md)
- [Commits](https://github.com/doorkeeper-gem/doorkeeper-openid_connect/compare/v1.10.5...v2.0.0)

Updates `dalli` from 5.1.0 to 5.1.1
- [Release notes](https://github.com/petergoldstein/dalli/releases)
- [Changelog](https://github.com/petergoldstein/dalli/blob/main/CHANGELOG.md)
- [Commits](https://github.com/petergoldstein/dalli/compare/v5.1.0...v5.1.1)

Updates `aws-sdk-s3` from 1.232.1 to 1.232.2
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

Updates `herb` from 0.10.4 to 0.11.0
- [Release notes](https://github.com/marcoroth/herb/releases)
- [Commits](https://github.com/marcoroth/herb/compare/v0.10.4...v0.11.0)

Updates `database_consistency` from 3.0.12 to 3.0.13
- [Changelog](https://github.com/djezzzl/database_consistency/blob/master/CHANGELOG.md)
- [Commits](https://github.com/djezzzl/database_consistency/compare/v3.0.12...v3.0.13)

Updates `aws-partitions` from 1.1289.0 to 1.1291.0
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-partitions/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

Updates `bindata` from 3.0.0 to 3.0.1
- [Changelog](https://github.com/dmendel/bindata/blob/master/ChangeLog.rdoc)
- [Commits](https://github.com/dmendel/bindata/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: actionpack-page_caching
  dependency-version: 1.2.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: activerecord-postgis
  dependency-version: 0.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: aws-partitions
  dependency-version: 1.1291.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: aws-sdk-s3
  dependency-version: 1.232.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: bindata
  dependency-version: 3.0.1
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: dalli
  dependency-version: 5.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: database_consistency
  dependency-version: 3.0.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: doorkeeper
  dependency-version: 5.9.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: doorkeeper-openid_connect
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: herb
  dependency-version: 0.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
7 days agoMerge pull request #7454 from tomhughes/doorkeeper-authorize
Andy Allan [Thu, 1 Oct 2026 13:44:33 +0000 (14:44 +0100)]
Merge pull request #7454 from tomhughes/doorkeeper-authorize

Complete authorization before doorkeeper sees the request

7 days agoMerge pull request #7455 from openstreetmap/translatewiki
Andy Allan [Thu, 1 Oct 2026 13:43:20 +0000 (14:43 +0100)]
Merge pull request #7455 from openstreetmap/translatewiki

Localisation updates from https://translatewiki.net.

7 days agoReplace SotM 2026 banner with 31 Day OSM Challenge
Eugene Alvin Villar [Thu, 1 Oct 2026 13:00:12 +0000 (21:00 +0800)]
Replace SotM 2026 banner with 31 Day OSM Challenge

7 days agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 1 Oct 2026 12:03:03 +0000 (14:03 +0200)]
Localisation updates from https://translatewiki.net.

7 days agoComplete authorization before doorkeeper sees the request
Tom Hughes [Thu, 1 Oct 2026 11:58:22 +0000 (12:58 +0100)]
Complete authorization before doorkeeper sees the request

7 days agoMerge remote-tracking branch 'upstream/pull/7444'
Tom Hughes [Thu, 1 Oct 2026 10:53:44 +0000 (11:53 +0100)]
Merge remote-tracking branch 'upstream/pull/7444'

7 days agoBump rails from 8.1.3.1 to 8.1.4 in the rails group across 1 directory
dependabot[bot] [Thu, 1 Oct 2026 10:39:38 +0000 (10:39 +0000)]
Bump rails from 8.1.3.1 to 8.1.4 in the rails group across 1 directory

Bumps the rails group with 1 update in the / directory: [rails](https://github.com/rails/rails).

Updates `rails` from 8.1.3.1 to 8.1.4
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v8.1.3.1...v8.1.4)

---
updated-dependencies:
- dependency-name: rails
  dependency-version: 8.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rails
...

Signed-off-by: dependabot[bot] <support@github.com>
7 days agoUpdate simplecov to 1.3.2 for rails 8.1.4 support
Tom Hughes [Thu, 1 Oct 2026 10:37:32 +0000 (11:37 +0100)]
Update simplecov to 1.3.2 for rails 8.1.4 support

7 days agoMerge pull request #7448 from tomhughes/old-tag-tests
Andy Allan [Thu, 1 Oct 2026 10:09:35 +0000 (11:09 +0100)]
Merge pull request #7448 from tomhughes/old-tag-tests

Avoid trying to detach a record connected by a composite key

7 days agoMerge pull request #7449 from tomhughes/dependabot-rails
Andy Allan [Thu, 1 Oct 2026 10:07:45 +0000 (11:07 +0100)]
Merge pull request #7449 from tomhughes/dependabot-rails

Exclude all rails gems from the main dependabot group

7 days agoExclude all rails gems from the main dependabot group
Tom Hughes [Thu, 1 Oct 2026 07:19:55 +0000 (08:19 +0100)]
Exclude all rails gems from the main dependabot group

7 days agoSet attributes during record build where possible
Tom Hughes [Thu, 1 Oct 2026 07:07:12 +0000 (08:07 +0100)]
Set attributes during record build where possible

7 days agoAvoid persisting test records unecessarily
Tom Hughes [Thu, 1 Oct 2026 07:03:30 +0000 (08:03 +0100)]
Avoid persisting test records unecessarily

7 days agoMerge pull request #7442 from tomhughes/email-restricted-chars
Andy Allan [Thu, 1 Oct 2026 06:06:06 +0000 (07:06 +0100)]
Merge pull request #7442 from tomhughes/email-restricted-chars

Prevent percent characters being used in email addresses

7 days agoMerge remote-tracking branch 'upstream/pull/7447'
Tom Hughes [Wed, 30 Sep 2026 23:53:51 +0000 (00:53 +0100)]
Merge remote-tracking branch 'upstream/pull/7447'

7 days agoBump brace-expansion from 5.0.8 to 5.0.12
dependabot[bot] [Wed, 30 Sep 2026 23:52:12 +0000 (23:52 +0000)]
Bump brace-expansion from 5.0.8 to 5.0.12

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.8 to 5.0.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.8...v5.0.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
7 days agoMerge remote-tracking branch 'upstream/pull/7445'
Tom Hughes [Wed, 30 Sep 2026 23:50:14 +0000 (00:50 +0100)]
Merge remote-tracking branch 'upstream/pull/7445'

7 days agoMerge remote-tracking branch 'upstream/pull/7443'
Tom Hughes [Wed, 30 Sep 2026 23:50:08 +0000 (00:50 +0100)]
Merge remote-tracking branch 'upstream/pull/7443'

7 days agoBump the dependencies group with 2 updates
dependabot[bot] [Wed, 30 Sep 2026 23:13:10 +0000 (23:13 +0000)]
Bump the dependencies group with 2 updates

Bumps the dependencies group with 2 updates: [tag2link](https://github.com/JOSM/tag2link) and [@herb-tools/linter](https://github.com/marcoroth/herb/tree/HEAD/javascript/packages/linter).

Updates `tag2link` from 2026.8.21 to 2026.9.21
- [Release notes](https://github.com/JOSM/tag2link/releases)
- [Commits](https://github.com/JOSM/tag2link/compare/2026.8.21...2026.9.21)

Updates `@herb-tools/linter` from 0.10.4 to 0.11.0
- [Release notes](https://github.com/marcoroth/herb/releases)
- [Commits](https://github.com/marcoroth/herb/commits/v0.11.0/javascript/packages/linter)

---
updated-dependencies:
- dependency-name: tag2link
  dependency-version: 2026.9.21
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: "@herb-tools/linter"
  dependency-version: 0.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
7 days agoBump ruby/setup-ruby from 1.324.0 to 1.327.0 in the dependencies group
dependabot[bot] [Wed, 30 Sep 2026 23:12:38 +0000 (23:12 +0000)]
Bump ruby/setup-ruby from 1.324.0 to 1.327.0 in the dependencies group

Bumps the dependencies group with 1 update: [ruby/setup-ruby](https://github.com/ruby/setup-ruby).

Updates `ruby/setup-ruby` from 1.324.0 to 1.327.0
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](https://github.com/ruby/setup-ruby/compare/a0102e0972be65f351c307e2d64b9314a57c8073...14594264cd68ce8a2345dd349bc3d138a4ef85c8)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-version: 1.327.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
7 days agoPrevent percent characters being used in email addresses
Tom Hughes [Wed, 30 Sep 2026 21:47:59 +0000 (22:47 +0100)]
Prevent percent characters being used in email addresses

8 days agoMerge pull request #7425 from tomhughes/invalid-email
Marwin Hochfelsner [Tue, 29 Sep 2026 20:33:16 +0000 (22:33 +0200)]
Merge pull request #7425 from tomhughes/invalid-email

Validate the user record before trying to check the email

8 days agoTest creating an account with an invalid email
Pablo Brasero [Tue, 29 Sep 2026 09:42:08 +0000 (10:42 +0100)]
Test creating an account with an invalid email

Co-Authored-By: Tom Hughes <tom@compton.nu>
8 days agoValidate the user record before trying to check the email
Tom Hughes [Thu, 24 Sep 2026 17:33:37 +0000 (18:33 +0100)]
Validate the user record before trying to check the email

8 days agoRework the rate limiter API to improve test coverage
Pablo Brasero [Tue, 29 Sep 2026 09:42:08 +0000 (10:42 +0100)]
Rework the rate limiter API to improve test coverage

Co-Authored-By: Tom Hughes <tom@compton.nu>
8 days agoMerge remote-tracking branch 'upstream/pull/7434'
Tom Hughes [Tue, 29 Sep 2026 17:29:39 +0000 (18:29 +0100)]
Merge remote-tracking branch 'upstream/pull/7434'

8 days agoMerge remote-tracking branch 'upstream/pull/7439'
Tom Hughes [Tue, 29 Sep 2026 17:27:30 +0000 (18:27 +0100)]
Merge remote-tracking branch 'upstream/pull/7439'

9 days agoSeparate `current_user` from @user
Pablo Brasero [Mon, 28 Sep 2026 08:24:41 +0000 (09:24 +0100)]
Separate `current_user` from @user

9 days agoMerge remote-tracking branch 'upstream/pull/7436'
Tom Hughes [Mon, 28 Sep 2026 21:36:53 +0000 (22:36 +0100)]
Merge remote-tracking branch 'upstream/pull/7436'

9 days agoMerge remote-tracking branch 'upstream/pull/7428'
Tom Hughes [Mon, 28 Sep 2026 18:10:57 +0000 (19:10 +0100)]
Merge remote-tracking branch 'upstream/pull/7428'

9 days agorerun script/misc/update-wiki-pages
Mateusz Konieczny [Mon, 28 Sep 2026 17:01:33 +0000 (19:01 +0200)]
rerun script/misc/update-wiki-pages

10 days agoMerge pull request #7435 from openstreetmap/translatewiki
Marwin Hochfelsner [Mon, 28 Sep 2026 13:33:56 +0000 (15:33 +0200)]
Merge pull request #7435 from openstreetmap/translatewiki

Localisation updates from https://translatewiki.net.

10 days agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 28 Sep 2026 12:03:51 +0000 (14:03 +0200)]
Localisation updates from https://translatewiki.net.

10 days agoDon't break when a notification record goes missing
Pablo Brasero [Mon, 28 Sep 2026 10:25:37 +0000 (11:25 +0100)]
Don't break when a notification record goes missing

13 days agoMerge pull request #7424 from tomhughes/validate-editor
Andy Allan [Fri, 25 Sep 2026 06:31:04 +0000 (07:31 +0100)]
Merge pull request #7424 from tomhughes/validate-editor

Validate any explicitly requested editor name

13 days agoMerge pull request #7423 from tomhughes/test-reverse-json
Andy Allan [Fri, 25 Sep 2026 06:29:56 +0000 (07:29 +0100)]
Merge pull request #7423 from tomhughes/test-reverse-json

Test json responses to nominatim reverse searches

13 days agoMerge remote-tracking branch 'upstream/pull/7426'
Tom Hughes [Thu, 24 Sep 2026 21:40:08 +0000 (22:40 +0100)]
Merge remote-tracking branch 'upstream/pull/7426'

13 days agoKeep auth provider logos styleable after SVG optimisation
Kai Michael Poppe [Thu, 24 Sep 2026 21:20:41 +0000 (23:20 +0200)]
Keep auth provider logos styleable after SVG optimisation

Give the Apple and GitHub logo background/foreground svgo-stable bg/fg
classes and style those instead of rect/path, and drop the svg
width/height from apple, github and microsoft so their viewBox survives.

13 days agoValidate any explicitly requested editor name
Tom Hughes [Thu, 24 Sep 2026 17:21:20 +0000 (18:21 +0100)]
Validate any explicitly requested editor name

2 weeks agoTest json responses to nominatim reverse searches
Tom Hughes [Fri, 18 Sep 2026 19:25:16 +0000 (20:25 +0100)]
Test json responses to nominatim reverse searches

2 weeks agoMerge remote-tracking branch 'upstream/pull/7416'
Tom Hughes [Thu, 24 Sep 2026 16:37:46 +0000 (17:37 +0100)]
Merge remote-tracking branch 'upstream/pull/7416'

2 weeks agoMerge remote-tracking branch 'upstream/pull/7410'
Tom Hughes [Thu, 24 Sep 2026 16:24:04 +0000 (17:24 +0100)]
Merge remote-tracking branch 'upstream/pull/7410'

2 weeks agoMerge pull request #7422 from openstreetmap/translatewiki
Marwin Hochfelsner [Thu, 24 Sep 2026 12:58:33 +0000 (14:58 +0200)]
Merge pull request #7422 from openstreetmap/translatewiki

Localisation updates from https://translatewiki.net.

2 weeks agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 24 Sep 2026 12:04:02 +0000 (14:04 +0200)]
Localisation updates from https://translatewiki.net.

2 weeks agoAvoid regexp not supported in old browsers
Pablo Brasero [Tue, 22 Sep 2026 12:30:14 +0000 (13:30 +0100)]
Avoid regexp not supported in old browsers

This comes after a user reported that the slippy map doesn't work on iOS 15,
which we have been able to reproduce with an old iPhone.

MapLibre's translation string keys are in CapitalisedCamelCase, as opposed to
our usual snake_case. This also conflicts with Leaflet's keys which are
also in snake_case. This creates a weird scenario where a translation key
is duplicated: `GeolocateControl` for MapLibre and `geolocate_control` for
leaflet.

The original translation strings can be seen at:
- https://github.com/maplibre/maplibre-gl-js/blob/8ebe6a085e934f1b136ead624a92abdf6399f7e2/src/ui/default_locale.ts
- https://github.com/domoritz/leaflet-locatecontrol/blob/a122fb1bfe1ad39d20382e1545eaa8cb367c48fd/src/L.Control.Locate.js

2 weeks agoUpdate model annotations
Tom Hughes [Wed, 23 Sep 2026 23:35:25 +0000 (00:35 +0100)]
Update model annotations

2 weeks agoMerge remote-tracking branch 'upstream/pull/7421'
Tom Hughes [Wed, 23 Sep 2026 23:33:57 +0000 (00:33 +0100)]
Merge remote-tracking branch 'upstream/pull/7421'

2 weeks agoMerge remote-tracking branch 'upstream/pull/7418'
Tom Hughes [Wed, 23 Sep 2026 23:26:59 +0000 (00:26 +0100)]
Merge remote-tracking branch 'upstream/pull/7418'

2 weeks agoMerge remote-tracking branch 'upstream/pull/7419'
Tom Hughes [Wed, 23 Sep 2026 23:26:40 +0000 (00:26 +0100)]
Merge remote-tracking branch 'upstream/pull/7419'

2 weeks agoMerge remote-tracking branch 'upstream/pull/7420'
Tom Hughes [Wed, 23 Sep 2026 23:26:12 +0000 (00:26 +0100)]
Merge remote-tracking branch 'upstream/pull/7420'

2 weeks agoBump the dependencies group with 13 updates
dependabot[bot] [Wed, 23 Sep 2026 23:23:49 +0000 (23:23 +0000)]
Bump the dependencies group with 13 updates

Bumps the dependencies group with 13 updates:

| Package | From | To |
| --- | --- | --- |
| [faraday](https://github.com/lostisland/faraday) | `2.14.3` | `2.14.4` |
| [opentelemetry-sdk](https://github.com/open-telemetry/opentelemetry-ruby) | `1.13.0` | `1.13.1` |
| [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) | `1.232.0` | `1.232.1` |
| [unicode-display_width](https://github.com/janlelis/unicode-display_width) | `3.2.0` | `3.3.0` |
| [annotaterb](https://github.com/drwl/annotaterb) | `4.24.0` | `4.25.0` |
| [database_consistency](https://github.com/djezzzl/database_consistency) | `3.0.11` | `3.0.12` |
| [aws-partitions](https://github.com/aws/aws-sdk-ruby) | `1.1287.0` | `1.1289.0` |
| [faraday-http-cache](https://github.com/plataformatec/faraday-http-cache) | `2.7.0` | `2.8.0` |
| [io-console](https://github.com/ruby/io-console) | `0.9.3` | `0.9.4` |
| [net-protocol](https://github.com/ruby/net-protocol) | `0.3.0` | `0.4.0` |
| [opentelemetry-instrumentation-net_http](https://github.com/open-telemetry/opentelemetry-ruby-contrib) | `0.29.0` | `0.29.1` |
| [rubyzip](https://github.com/rubyzip/rubyzip) | `3.6.0` | `3.7.0` |
| [unicode-emoji](https://github.com/janlelis/unicode-emoji) | `4.2.0` | `4.3.0` |

Updates `faraday` from 2.14.3 to 2.14.4
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v2.14.3...v2.14.4)

Updates `opentelemetry-sdk` from 1.13.0 to 1.13.1
- [Release notes](https://github.com/open-telemetry/opentelemetry-ruby/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-ruby/compare/opentelemetry-sdk/v1.13.0...opentelemetry-sdk/v1.13.1)

Updates `aws-sdk-s3` from 1.232.0 to 1.232.1
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

Updates `unicode-display_width` from 3.2.0 to 3.3.0
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v3.2.0...v3.3.0)

Updates `annotaterb` from 4.24.0 to 4.25.0
- [Changelog](https://github.com/drwl/annotaterb/blob/main/CHANGELOG.md)
- [Commits](https://github.com/drwl/annotaterb/compare/v4.24.0...v4.25.0)

Updates `database_consistency` from 3.0.11 to 3.0.12
- [Changelog](https://github.com/djezzzl/database_consistency/blob/master/CHANGELOG.md)
- [Commits](https://github.com/djezzzl/database_consistency/compare/v3.0.11...v3.0.12)

Updates `aws-partitions` from 1.1287.0 to 1.1289.0
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-partitions/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

Updates `faraday-http-cache` from 2.7.0 to 2.8.0
- [Release notes](https://github.com/plataformatec/faraday-http-cache/releases)
- [Changelog](https://github.com/sourcelevel/faraday-http-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/plataformatec/faraday-http-cache/compare/v2.7.0...v2.8.0)

Updates `io-console` from 0.9.3 to 0.9.4
- [Release notes](https://github.com/ruby/io-console/releases)
- [Commits](https://github.com/ruby/io-console/compare/v0.9.3...v0.9.4)

Updates `net-protocol` from 0.3.0 to 0.4.0
- [Release notes](https://github.com/ruby/net-protocol/releases)
- [Commits](https://github.com/ruby/net-protocol/compare/v0.3.0...v0.4.0)

Updates `opentelemetry-instrumentation-net_http` from 0.29.0 to 0.29.1
- [Release notes](https://github.com/open-telemetry/opentelemetry-ruby-contrib/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-ruby-contrib/compare/opentelemetry-instrumentation-net_http/v0.29.0...opentelemetry-instrumentation-net_http/v0.29.1)

Updates `rubyzip` from 3.6.0 to 3.7.0
- [Release notes](https://github.com/rubyzip/rubyzip/releases)
- [Changelog](https://github.com/rubyzip/rubyzip/blob/main/Changelog.md)
- [Commits](https://github.com/rubyzip/rubyzip/compare/v3.6.0...v3.7.0)

Updates `unicode-emoji` from 4.2.0 to 4.3.0
- [Changelog](https://github.com/janlelis/unicode-emoji/blob/main/CHANGELOG.md)
- [Commits](https://github.com/janlelis/unicode-emoji/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: faraday
  dependency-version: 2.14.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: opentelemetry-sdk
  dependency-version: 1.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: aws-sdk-s3
  dependency-version: 1.232.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: unicode-display_width
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: annotaterb
  dependency-version: 4.25.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: database_consistency
  dependency-version: 3.0.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: aws-partitions
  dependency-version: 1.1289.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: faraday-http-cache
  dependency-version: 2.8.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: io-console
  dependency-version: 0.9.4
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: net-protocol
  dependency-version: 0.4.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: opentelemetry-instrumentation-net_http
  dependency-version: 0.29.1
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: rubyzip
  dependency-version: 3.7.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: unicode-emoji
  dependency-version: 4.3.0
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agoBump the dependencies group with 2 updates
dependabot[bot] [Wed, 23 Sep 2026 23:13:08 +0000 (23:13 +0000)]
Bump the dependencies group with 2 updates

Bumps the dependencies group with 2 updates: [terra-draw](https://github.com/JamesLMilner/terra-draw) and [eslint](https://github.com/eslint/eslint).

Updates `terra-draw` from 1.33.0 to 1.35.0
- [Release notes](https://github.com/JamesLMilner/terra-draw/releases)
- [Changelog](https://github.com/JamesLMilner/terra-draw/blob/main/release.js)
- [Commits](https://github.com/JamesLMilner/terra-draw/compare/terra-draw@1.33.0...terra-draw@1.35.0)

Updates `eslint` from 10.10.0 to 10.11.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.10.0...v10.11.0)

---
updated-dependencies:
- dependency-name: terra-draw
  dependency-version: 1.35.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: eslint
  dependency-version: 10.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agoBump rubocop-rails from 2.37.0 to 2.38.0 in the rubocop group
dependabot[bot] [Wed, 23 Sep 2026 23:12:50 +0000 (23:12 +0000)]
Bump rubocop-rails from 2.37.0 to 2.38.0 in the rubocop group

Bumps the rubocop group with 1 update: [rubocop-rails](https://github.com/rubocop/rubocop-rails).

Updates `rubocop-rails` from 2.37.0 to 2.38.0
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.37.0...v2.38.0)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-version: 2.38.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: rubocop
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agoBump ruby/setup-ruby from 1.321.0 to 1.324.0 in the dependencies group
dependabot[bot] [Wed, 23 Sep 2026 23:12:39 +0000 (23:12 +0000)]
Bump ruby/setup-ruby from 1.321.0 to 1.324.0 in the dependencies group

Bumps the dependencies group with 1 update: [ruby/setup-ruby](https://github.com/ruby/setup-ruby).

Updates `ruby/setup-ruby` from 1.321.0 to 1.324.0
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](https://github.com/ruby/setup-ruby/compare/95ef2b042f9d7a56d8268cba8559e2842e2ad01b...a0102e0972be65f351c307e2d64b9314a57c8073)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-version: 1.324.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2 weeks agoMerge remote-tracking branch 'upstream/pull/7413'
Tom Hughes [Wed, 23 Sep 2026 16:46:22 +0000 (17:46 +0100)]
Merge remote-tracking branch 'upstream/pull/7413'

2 weeks agoValidate the bbox parameters when exporting
Andy Allan [Wed, 23 Sep 2026 14:43:59 +0000 (15:43 +0100)]
Validate the bbox parameters when exporting

A missing parameter raised OSM::APIBadUserInput, which isn't handled
by web controllers and so resulted in a 500 error, and a non-numeric
one was silently treated as zero. Validate them with param! instead
so that both get a bad request response.

2 weeks agoReturn a JSON error when reverse geocoding fails for a JSON request
Andy Allan [Wed, 23 Sep 2026 15:19:55 +0000 (16:19 +0100)]
Return a JSON error when reverse geocoding fails for a JSON request

There is no JSON error template, so a nominatim error resulted in a
missing template exception. Return the error as JSON instead, and
ignore error responses when setting the home location name so that
the existing name is kept.

2 weeks agoMerge remote-tracking branch 'upstream/pull/7414'
Tom Hughes [Wed, 23 Sep 2026 16:03:02 +0000 (17:03 +0100)]
Merge remote-tracking branch 'upstream/pull/7414'