]> git.openstreetmap.org Git - rails.git/log
rails.git
10 months agoRename key variable to legend
Marwin Hochfelsner [Tue, 17 Jun 2025 04:48:06 +0000 (06:48 +0200)]
Rename key variable to legend

10 months agoRename key_svg_tag to legend_svg_tag in svg_helper
Marwin Hochfelsner [Tue, 17 Jun 2025 04:42:34 +0000 (06:42 +0200)]
Rename key_svg_tag to legend_svg_tag in svg_helper

10 months agoRename map key control icon path to legend
Marwin Hochfelsner [Tue, 17 Jun 2025 04:35:44 +0000 (06:35 +0200)]
Rename map key control icon path to legend

10 months agoRename key.yml to legend.yml
Marwin Hochfelsner [Tue, 17 Jun 2025 04:31:30 +0000 (06:31 +0200)]
Rename key.yml to legend.yml

10 months agoRename map key js to legend
Marwin Hochfelsner [Tue, 17 Jun 2025 04:30:53 +0000 (06:30 +0200)]
Rename map key js to legend

10 months agoRename map key element to legend
Marwin Hochfelsner [Tue, 17 Jun 2025 03:52:26 +0000 (05:52 +0200)]
Rename map key element to legend

10 months agoRename map key controller to legend pane
Marwin Hochfelsner [Tue, 17 Jun 2025 02:58:40 +0000 (04:58 +0200)]
Rename map key controller to legend pane

Switch the terminology from "map key" to "legend pane".
The change to the synonym is made for clarity, the
inclusion of "pane" helps to clarify the context
and purpose of the component.

10 months agoDrop temporary rubocop configuration rule
Tom Hughes [Tue, 17 Jun 2025 16:44:56 +0000 (17:44 +0100)]
Drop temporary rubocop configuration rule

10 months agoFix new rubocop warnings
Tom Hughes [Tue, 17 Jun 2025 16:43:58 +0000 (17:43 +0100)]
Fix new rubocop warnings

10 months agoUpdate bundle
Tom Hughes [Tue, 17 Jun 2025 16:42:32 +0000 (17:42 +0100)]
Update bundle

10 months agoMerge remote-tracking branch 'upstream/pull/6109'
Anton Khorev [Mon, 16 Jun 2025 15:17:33 +0000 (18:17 +0300)]
Merge remote-tracking branch 'upstream/pull/6109'

10 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 16 Jun 2025 12:14:55 +0000 (14:14 +0200)]
Localisation updates from https://translatewiki.net.

10 months agoMerge remote-tracking branch 'upstream/pull/6108'
Anton Khorev [Mon, 16 Jun 2025 08:52:48 +0000 (11:52 +0300)]
Merge remote-tracking branch 'upstream/pull/6108'

10 months agoFix antimeridian bounds size
Marwin Hochfelsner [Mon, 16 Jun 2025 05:00:34 +0000 (07:00 +0200)]
Fix antimeridian bounds size

10 months agoMake ARIA labels on diary cards translatable
Tom Hughes [Sun, 15 Jun 2025 20:46:00 +0000 (21:46 +0100)]
Make ARIA labels on diary cards translatable

10 months agoMerge remote-tracking branch 'upstream/pull/6101'
Tom Hughes [Sun, 15 Jun 2025 13:34:47 +0000 (14:34 +0100)]
Merge remote-tracking branch 'upstream/pull/6101'

10 months agoAdd miles-yards distance units
Anton Khorev [Sun, 15 Jun 2025 12:56:56 +0000 (15:56 +0300)]
Add miles-yards distance units

10 months agoPrepare for extra miles subunit
Anton Khorev [Sun, 15 Jun 2025 12:53:17 +0000 (15:53 +0300)]
Prepare for extra miles subunit

10 months agoAdd units buttons collapse toggle
Anton Khorev [Sun, 15 Jun 2025 12:41:21 +0000 (15:41 +0300)]
Add units buttons collapse toggle

Toggle icon from:
https://icons.getbootstrap.com/icons/gear/

10 months agoMove distance/time output inside the table
Anton Khorev [Sun, 15 Jun 2025 12:35:11 +0000 (15:35 +0300)]
Move distance/time output inside the table

10 months agoRemove event listener duplication on units buttons
Anton Khorev [Sun, 15 Jun 2025 12:33:09 +0000 (15:33 +0300)]
Remove event listener duplication on units buttons

10 months agoWiden units buttons
Anton Khorev [Sun, 15 Jun 2025 12:26:33 +0000 (15:26 +0300)]
Widen units buttons

10 months agoUse unabbreviated labels in units buttons
Anton Khorev [Sun, 15 Jun 2025 12:24:44 +0000 (15:24 +0300)]
Use unabbreviated labels in units buttons

10 months agoMove units buttons above distance/time outputs
Anton Khorev [Sun, 15 Jun 2025 12:22:14 +0000 (15:22 +0300)]
Move units buttons above distance/time outputs

10 months agoLoad map key only once from sidebar-pane
Marwin Hochfelsner [Sun, 15 Jun 2025 07:06:31 +0000 (09:06 +0200)]
Load map key only once from sidebar-pane

10 months agoMerge remote-tracking branch 'upstream/pull/6102'
Tom Hughes [Sun, 15 Jun 2025 11:35:14 +0000 (12:35 +0100)]
Merge remote-tracking branch 'upstream/pull/6102'

10 months agoRevert "Refactor directions output rendering and unit handling"
Anton Khorev [Sun, 15 Jun 2025 10:07:16 +0000 (13:07 +0300)]
Revert "Refactor directions output rendering and unit handling"

This reverts commit 699aefa5239d9de79574a907c26b856360809346.

10 months agoEnsure Overpass bounds compatibility
Marwin Hochfelsner [Sun, 15 Jun 2025 09:28:36 +0000 (11:28 +0200)]
Ensure Overpass bounds compatibility

10 months agoUse combined latlng parameter
Marwin Hochfelsner [Sun, 15 Jun 2025 09:14:44 +0000 (11:14 +0200)]
Use combined latlng parameter

10 months agoSimplify overpass query building
Marwin Hochfelsner [Thu, 5 Jun 2025 02:16:56 +0000 (04:16 +0200)]
Simplify overpass query building

10 months agoInline latlng variable
Marwin Hochfelsner [Sun, 15 Jun 2025 09:08:44 +0000 (11:08 +0200)]
Inline latlng variable

10 months agoRemove unused runQuery parameters
Marwin Hochfelsner [Thu, 5 Jun 2025 02:17:14 +0000 (04:17 +0200)]
Remove unused runQuery parameters

10 months agoClean up overpass merge function
Marwin Hochfelsner [Thu, 5 Jun 2025 02:13:50 +0000 (04:13 +0200)]
Clean up overpass merge function

10 months agoRestructure featureGeometry for clarity
Marwin Hochfelsner [Thu, 5 Jun 2025 01:46:02 +0000 (03:46 +0200)]
Restructure featureGeometry for clarity

10 months agoDrop unnecessary custom wrap function
Marwin Hochfelsner [Tue, 3 Jun 2025 15:37:35 +0000 (17:37 +0200)]
Drop unnecessary custom wrap function

10 months agoRemove unused distance function and its tests
Marwin Hochfelsner [Tue, 3 Jun 2025 03:27:33 +0000 (05:27 +0200)]
Remove unused distance function and its tests

10 months agoFix bounding box coordinates in OSM.location test
Marwin Hochfelsner [Tue, 3 Jun 2025 04:04:57 +0000 (06:04 +0200)]
Fix bounding box coordinates in OSM.location test

10 months agoReuse error printing
Marwin Hochfelsner [Sun, 1 Jun 2025 18:41:10 +0000 (20:41 +0200)]
Reuse error printing

10 months agoAdd padding class in erb
Marwin Hochfelsner [Sun, 15 Jun 2025 06:57:42 +0000 (08:57 +0200)]
Add padding class in erb

10 months agoMerge remote-tracking branch 'upstream/pull/5201'
Tom Hughes [Sat, 14 Jun 2025 11:18:00 +0000 (12:18 +0100)]
Merge remote-tracking branch 'upstream/pull/5201'

10 months agoMerge remote-tracking branch 'upstream/pull/6097'
Tom Hughes [Sat, 14 Jun 2025 11:03:31 +0000 (12:03 +0100)]
Merge remote-tracking branch 'upstream/pull/6097'

10 months agoBump eslint from 9.28.0 to 9.29.0
dependabot[bot] [Fri, 13 Jun 2025 23:21:15 +0000 (23:21 +0000)]
Bump eslint from 9.28.0 to 9.29.0

Bumps [eslint](https://github.com/eslint/eslint) from 9.28.0 to 9.29.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.28.0...v9.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
10 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 12 Jun 2025 12:18:01 +0000 (14:18 +0200)]
Localisation updates from https://translatewiki.net.

10 months agoAdd locale selector
nertc [Wed, 11 Jun 2025 09:46:21 +0000 (13:46 +0400)]
Add locale selector

10 months agoFix test for change to field name
Tom Hughes [Tue, 10 Jun 2025 18:01:43 +0000 (19:01 +0100)]
Fix test for change to field name

10 months agoFix new rubocop warnings
Tom Hughes [Tue, 10 Jun 2025 17:54:51 +0000 (18:54 +0100)]
Fix new rubocop warnings

10 months agoUpdate bundle
Tom Hughes [Tue, 10 Jun 2025 17:19:52 +0000 (18:19 +0100)]
Update bundle

11 months agoAdd translated name for user.home_location_name
Tom Hughes [Mon, 9 Jun 2025 13:44:10 +0000 (14:44 +0100)]
Add translated name for user.home_location_name

11 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 9 Jun 2025 12:16:56 +0000 (14:16 +0200)]
Localisation updates from https://translatewiki.net.

11 months agoMerge remote-tracking branch 'upstream/pull/6087'
Tom Hughes [Thu, 5 Jun 2025 16:18:53 +0000 (17:18 +0100)]
Merge remote-tracking branch 'upstream/pull/6087'

11 months agoMerge remote-tracking branch 'upstream/pull/6083'
Tom Hughes [Thu, 5 Jun 2025 16:11:27 +0000 (17:11 +0100)]
Merge remote-tracking branch 'upstream/pull/6083'

11 months agoMerge remote-tracking branch 'upstream/pull/6088'
Tom Hughes [Thu, 5 Jun 2025 16:10:45 +0000 (17:10 +0100)]
Merge remote-tracking branch 'upstream/pull/6088'

11 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 5 Jun 2025 12:21:11 +0000 (14:21 +0200)]
Localisation updates from https://translatewiki.net.

11 months agomake sure iD's iframe is focused on startup
Martin Raifer [Tue, 3 Jun 2025 11:19:01 +0000 (13:19 +0200)]
make sure iD's iframe is focused on startup

to allow it to accept keyboard shortcuts directly after loading

fixes https://github.com/openstreetmap/iD/issues/9828

also fix the annoying false-positive exception on iD startup, see https://github.com/openstreetmap/openstreetmap-website/pull/5823#discussion_r2035464188

11 months agoBump rack from 3.1.15 to 3.1.16
dependabot[bot] [Thu, 5 Jun 2025 05:35:06 +0000 (05:35 +0000)]
Bump rack from 3.1.15 to 3.1.16

Bumps [rack](https://github.com/rack/rack) from 3.1.15 to 3.1.16.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.1.15...v3.1.16)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.1.16
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
11 months agoBump @stylistic/eslint-plugin-js from 4.4.0 to 4.4.1
dependabot[bot] [Wed, 4 Jun 2025 23:16:14 +0000 (23:16 +0000)]
Bump @stylistic/eslint-plugin-js from 4.4.0 to 4.4.1

Bumps [@stylistic/eslint-plugin-js](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin-js) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases)
- [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/v4.4.1/CHANGELOG.md)
- [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v4.4.1/packages/eslint-plugin-js)

---
updated-dependencies:
- dependency-name: "@stylistic/eslint-plugin-js"
  dependency-version: 4.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
11 months agoMerge remote-tracking branch 'upstream/pull/6071'
Tom Hughes [Wed, 4 Jun 2025 17:33:10 +0000 (18:33 +0100)]
Merge remote-tracking branch 'upstream/pull/6071'

11 months agoMerge remote-tracking branch 'upstream/pull/6085'
Tom Hughes [Tue, 3 Jun 2025 21:19:01 +0000 (22:19 +0100)]
Merge remote-tracking branch 'upstream/pull/6085'

11 months agoUpdate to iD v2.34.1
Martin Raifer [Tue, 3 Jun 2025 19:26:43 +0000 (21:26 +0200)]
Update to iD v2.34.1

11 months agoMerge remote-tracking branch 'upstream/pull/6081'
Tom Hughes [Tue, 3 Jun 2025 16:19:38 +0000 (17:19 +0100)]
Merge remote-tracking branch 'upstream/pull/6081'

11 months agoUpdate bundle
Tom Hughes [Tue, 3 Jun 2025 16:14:32 +0000 (17:14 +0100)]
Update bundle

11 months agoFix template rendered on profile update failure
Anton Khorev [Tue, 3 Jun 2025 01:39:05 +0000 (04:39 +0300)]
Fix template rendered on profile update failure

11 months agoMerge remote-tracking branch 'upstream/pull/6078'
Tom Hughes [Mon, 2 Jun 2025 16:08:13 +0000 (17:08 +0100)]
Merge remote-tracking branch 'upstream/pull/6078'

11 months agoMerge remote-tracking branch 'upstream/pull/6080'
Tom Hughes [Mon, 2 Jun 2025 16:03:53 +0000 (17:03 +0100)]
Merge remote-tracking branch 'upstream/pull/6080'

11 months agoRemove "preferences updated" flash fallback to old message
Anton Khorev [Mon, 2 Jun 2025 13:15:46 +0000 (16:15 +0300)]
Remove "preferences updated" flash fallback to old message

The fallback was added in f15f8aad1eb088f2553e096b584778f56d9778f6.
It was necessary for tests relying on the old French message before getting an update from Translatewiki.

11 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 2 Jun 2025 12:19:12 +0000 (14:19 +0200)]
Localisation updates from https://translatewiki.net.

11 months agoTest sorting multiple enclosing features across antimeridian
Anton Khorev [Mon, 2 Jun 2025 00:43:19 +0000 (03:43 +0300)]
Test sorting multiple enclosing features across antimeridian

11 months agoMerge remote-tracking branch 'upstream/pull/6077'
Anton Khorev [Sun, 1 Jun 2025 23:25:26 +0000 (02:25 +0300)]
Merge remote-tracking branch 'upstream/pull/6077'

11 months agoProtect I18n.locale around tests which may change it
Tom Hughes [Sun, 1 Jun 2025 19:33:04 +0000 (20:33 +0100)]
Protect I18n.locale around tests which may change it

Fixes #6075.

11 months agoMerge remote-tracking branch 'upstream/pull/6069'
Tom Hughes [Sun, 1 Jun 2025 17:42:37 +0000 (18:42 +0100)]
Merge remote-tracking branch 'upstream/pull/6069'

11 months agoMerge remote-tracking branch 'upstream/pull/6074'
Tom Hughes [Sun, 1 Jun 2025 17:38:31 +0000 (18:38 +0100)]
Merge remote-tracking branch 'upstream/pull/6074'

11 months agoTest overpass query enclosing features sorting
Anton Khorev [Fri, 30 May 2025 15:23:25 +0000 (18:23 +0300)]
Test overpass query enclosing features sorting

11 months agoRemove unnecessary consts in overpass query js controller
Anton Khorev [Fri, 30 May 2025 13:35:06 +0000 (16:35 +0300)]
Remove unnecessary consts in overpass query js controller

11 months agoFix overpass query feature areas for bounds including antimeridian
Anton Khorev [Fri, 30 May 2025 13:25:50 +0000 (16:25 +0300)]
Fix overpass query feature areas for bounds including antimeridian

11 months agoRedraw OpenGeofiction social icon
Anton Khorev [Sun, 1 Jun 2025 14:12:32 +0000 (17:12 +0300)]
Redraw OpenGeofiction social icon

- remove semi-transparent areas
- use 1px strokes for main lines
- use the same stroke color as other social icons
- try to align stroke edges with pixel boundaries, sometimes only for 200% zoom

11 months agoMerge remote-tracking branch 'upstream/pull/6024'
Tom Hughes [Sun, 1 Jun 2025 14:56:21 +0000 (15:56 +0100)]
Merge remote-tracking branch 'upstream/pull/6024'

11 months agoMerge remote-tracking branch 'upstream/pull/6068'
Tom Hughes [Sun, 1 Jun 2025 14:21:46 +0000 (15:21 +0100)]
Merge remote-tracking branch 'upstream/pull/6068'

11 months agoMerge remote-tracking branch 'upstream/pull/6070'
Tom Hughes [Sun, 1 Jun 2025 14:18:29 +0000 (15:18 +0100)]
Merge remote-tracking branch 'upstream/pull/6070'

11 months agoAllow word separator to consist of multiple spaces
Anton Khorev [Sat, 31 May 2025 15:53:10 +0000 (18:53 +0300)]
Allow word separator to consist of multiple spaces

Uses negative lookbehind regexp, because .truncate calls .rindex. See ruby String#rindex method for details:

https://ruby-doc.org/3.2.6/String.html#method-i-rindex

11 months agoTruncate rich text descriptions at word boundaries if not too short
Anton Khorev [Sat, 31 May 2025 15:42:04 +0000 (18:42 +0300)]
Truncate rich text descriptions at word boundaries if not too short

11 months agoReplace RichText consts with a shorter symbol in tests
Anton Khorev [Sat, 31 May 2025 15:18:27 +0000 (18:18 +0300)]
Replace RichText consts with a shorter symbol in tests

11 months agoRename DESCRIPTION_MAX_LENGTH
Anton Khorev [Sat, 31 May 2025 15:12:15 +0000 (18:12 +0300)]
Rename DESCRIPTION_MAX_LENGTH

11 months agoAdapt basic language select to update multiple language values
Anton Khorev [Sat, 17 May 2025 15:21:21 +0000 (18:21 +0300)]
Adapt basic language select to update multiple language values

11 months agoAdapt basic language select to update single language value
Anton Khorev [Sat, 17 May 2025 14:41:47 +0000 (17:41 +0300)]
Adapt basic language select to update single language value

11 months agoReplace text input with select for basic language preference
Anton Khorev [Sat, 17 May 2025 13:55:25 +0000 (16:55 +0300)]
Replace text input with select for basic language preference

11 months agoList available ui languages
Anton Khorev [Tue, 13 May 2025 22:19:01 +0000 (01:19 +0300)]
List available ui languages

11 months agoCopy languages input to advanced preferences form
Anton Khorev [Sat, 17 May 2025 12:57:30 +0000 (15:57 +0300)]
Copy languages input to advanced preferences form

11 months agoDefine preferences system tests using test "..."
Anton Khorev [Sat, 17 May 2025 14:05:55 +0000 (17:05 +0300)]
Define preferences system tests using test "..."

11 months agoAdd empty form to advanced preferences page
Anton Khorev [Sat, 17 May 2025 12:45:26 +0000 (15:45 +0300)]
Add empty form to advanced preferences page

11 months agoAdd navigation tabs to preferences pages
Anton Khorev [Sat, 17 May 2025 12:41:59 +0000 (15:41 +0300)]
Add navigation tabs to preferences pages

11 months agoAdd empty advanced preferences page
Anton Khorev [Sat, 17 May 2025 12:28:01 +0000 (15:28 +0300)]
Add empty advanced preferences page

11 months agoCreate parent preferences controller class
Anton Khorev [Sat, 17 May 2025 12:19:01 +0000 (15:19 +0300)]
Create parent preferences controller class

11 months agoMove basic preferences controller to preferences module
Anton Khorev [Sat, 17 May 2025 11:49:23 +0000 (14:49 +0300)]
Move basic preferences controller to preferences module

11 months agoUpdate basic preferences path helpers
Anton Khorev [Sat, 17 May 2025 10:36:28 +0000 (13:36 +0300)]
Update basic preferences path helpers

11 months agoMove change preferences path to preferences/basic
Anton Khorev [Sat, 17 May 2025 10:28:54 +0000 (13:28 +0300)]
Move change preferences path to preferences/basic

11 months agoRefactor "Zoom in to ..." tooltip tests for map control buttons
Anton Khorev [Sat, 31 May 2025 00:04:21 +0000 (03:04 +0300)]
Refactor "Zoom in to ..." tooltip tests for map control buttons

11 months agoUse map control labels in system tests
Anton Khorev [Fri, 30 May 2025 16:40:13 +0000 (19:40 +0300)]
Use map control labels in system tests

11 months agoMake sure that all map control buttons have labels
Anton Khorev [Fri, 30 May 2025 16:18:21 +0000 (19:18 +0300)]
Make sure that all map control buttons have labels

11 months agoDon't use <ul> for overlay layer checkboxes
Anton Khorev [Fri, 30 May 2025 23:28:43 +0000 (02:28 +0300)]
Don't use <ul> for overlay layer checkboxes

<ul> is a little inconvenient because checkboxes are placed in the margin of the list, outside of list items. Hovering over the checkboxes doesn't mean hovering over list items in this case.

11 months agoFix intended asserts in notes layer tooltip test
Anton Khorev [Fri, 30 May 2025 23:19:05 +0000 (02:19 +0300)]
Fix intended asserts in notes layer tooltip test