]> git.openstreetmap.org Git - rails.git/log
rails.git
12 months agoMerge remote-tracking branch 'upstream/pull/6116'
Tom Hughes [Thu, 19 Jun 2025 16:03:22 +0000 (17:03 +0100)]
Merge remote-tracking branch 'upstream/pull/6116'

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

12 months agoUpdate element versions list using Turbo streams
Anton Khorev [Thu, 19 Jun 2025 00:09:04 +0000 (03:09 +0300)]
Update element versions list using Turbo streams

12 months agoAdd before/after params to version history links
Anton Khorev [Wed, 18 Jun 2025 22:44:48 +0000 (01:44 +0300)]
Add before/after params to version history links

12 months agoAdd older/newer element versions buttons
Anton Khorev [Wed, 18 Jun 2025 22:07:04 +0000 (01:07 +0300)]
Add older/newer element versions buttons

12 months agoAllow to specify cursor column in get_page_items
Anton Khorev [Wed, 18 Jun 2025 21:40:13 +0000 (00:40 +0300)]
Allow to specify cursor column in get_page_items

12 months agoMake flash alerts dismissable
Anton Khorev [Wed, 18 Jun 2025 14:17:15 +0000 (17:17 +0300)]
Make flash alerts dismissable

12 months agoMove user list javascript to its own file
Anton Khorev [Wed, 18 Jun 2025 17:07:39 +0000 (20:07 +0300)]
Move user list javascript to its own file

12 months agoMove legend js translations
Marwin Hochfelsner [Tue, 17 Jun 2025 05:16:54 +0000 (07:16 +0200)]
Move legend js translations

12 months agoMove legend images from key
Marwin Hochfelsner [Tue, 17 Jun 2025 05:08:25 +0000 (07:08 +0200)]
Move legend images from key

12 months agoMove /key to /panes/legend
Marwin Hochfelsner [Tue, 17 Jun 2025 04:57:32 +0000 (06:57 +0200)]
Move /key to /panes/legend

12 months agoRename key variable to legend
Marwin Hochfelsner [Tue, 17 Jun 2025 04:48:06 +0000 (06:48 +0200)]
Rename key variable to legend

12 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

12 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

12 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

12 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

12 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

12 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.

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

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

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

12 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'

12 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.

12 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'

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

12 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

12 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'

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

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

12 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/

12 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

12 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

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

12 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

12 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

12 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

12 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'

12 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.

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

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

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

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

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

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

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

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

12 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

12 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

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

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

12 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'

12 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'

12 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>
13 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.

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

13 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

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

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

13 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

13 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.

13 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'

13 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'

13 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'

13 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.

13 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

13 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>
13 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>
13 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'

13 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'

13 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

13 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'

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

13 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

13 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'

13 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'

13 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.

13 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.

13 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

13 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'

13 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.

13 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'

13 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'

13 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

13 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

13 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

13 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

13 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'

13 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'

13 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'

13 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

13 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

13 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

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

13 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

13 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

13 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

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

13 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

13 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 "..."

13 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