]> git.openstreetmap.org Git - rails.git/log
rails.git
26 hours agoMerge remote-tracking branch 'upstream/pull/5882' master live
Tom Hughes [Tue, 22 Apr 2025 18:04:46 +0000 (19:04 +0100)]
Merge remote-tracking branch 'upstream/pull/5882'

26 hours agoMerge remote-tracking branch 'upstream/pull/5942'
Tom Hughes [Tue, 22 Apr 2025 17:38:08 +0000 (18:38 +0100)]
Merge remote-tracking branch 'upstream/pull/5942'

27 hours agoMerge remote-tracking branch 'upstream/pull/5944'
Tom Hughes [Tue, 22 Apr 2025 17:20:28 +0000 (18:20 +0100)]
Merge remote-tracking branch 'upstream/pull/5944'

27 hours agoFix new rubocop warnings
Tom Hughes [Tue, 22 Apr 2025 17:06:38 +0000 (18:06 +0100)]
Fix new rubocop warnings

27 hours agoUpdate bundle
Tom Hughes [Tue, 22 Apr 2025 17:05:36 +0000 (18:05 +0100)]
Update bundle

44 hours agoBump eslint from 9.25.0 to 9.25.1
dependabot[bot] [Mon, 21 Apr 2025 23:59:46 +0000 (23:59 +0000)]
Bump eslint from 9.25.0 to 9.25.1

Bumps [eslint](https://github.com/eslint/eslint) from 9.25.0 to 9.25.1.
- [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.25.0...v9.25.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 days agoUpdate robots.txt to reflect changes to browse URLs
Tom Hughes [Mon, 21 Apr 2025 19:43:28 +0000 (20:43 +0100)]
Update robots.txt to reflect changes to browse URLs

This reflects changes made in 3cd5f45e08d97 nearly twelve years ago.

2 days agoMake teaspoon UI usable
Marwin Hochfelsner [Mon, 21 Apr 2025 18:24:03 +0000 (20:24 +0200)]
Make teaspoon UI usable

2 days agoMerge remote-tracking branch 'upstream/pull/5940'
Tom Hughes [Mon, 21 Apr 2025 18:07:21 +0000 (19:07 +0100)]
Merge remote-tracking branch 'upstream/pull/5940'

2 days agoMerge remote-tracking branch 'upstream/pull/5868'
Tom Hughes [Mon, 21 Apr 2025 17:50:34 +0000 (18:50 +0100)]
Merge remote-tracking branch 'upstream/pull/5868'

2 days agoMerge remote-tracking branch 'upstream/pull/5939'
Tom Hughes [Mon, 21 Apr 2025 17:25:13 +0000 (18:25 +0100)]
Merge remote-tracking branch 'upstream/pull/5939'

2 days agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 21 Apr 2025 12:17:56 +0000 (14:17 +0200)]
Localisation updates from https://translatewiki.net.

3 days agoRename "OSM Nominatim" to "Nominatim" in search headings
Anton Khorev [Sun, 20 Apr 2025 13:25:43 +0000 (16:25 +0300)]
Rename "OSM Nominatim" to "Nominatim" in search headings

3 days agoReplace geocoder with search resource
Anton Khorev [Mon, 31 Mar 2025 02:51:07 +0000 (05:51 +0300)]
Replace geocoder with search resource

3 days agoClean up geocoder after moving out queries
Anton Khorev [Mon, 31 Mar 2025 02:32:49 +0000 (05:32 +0300)]
Clean up geocoder after moving out queries

3 days agoCreate nominatim reverse search query resource
Anton Khorev [Mon, 31 Mar 2025 02:28:40 +0000 (05:28 +0300)]
Create nominatim reverse search query resource

3 days agoCreate nominatim search query resource
Anton Khorev [Mon, 31 Mar 2025 02:02:29 +0000 (05:02 +0300)]
Create nominatim search query resource

3 days agoCreate latlon search query resource
Anton Khorev [Mon, 31 Mar 2025 00:07:41 +0000 (03:07 +0300)]
Create latlon search query resource

3 days agoCreate search query base class
Anton Khorev [Sun, 30 Mar 2025 23:57:51 +0000 (02:57 +0300)]
Create search query base class

3 days agoMove search query templates
Anton Khorev [Sun, 30 Mar 2025 23:40:18 +0000 (02:40 +0300)]
Move search query templates

3 days agoMove nominatim url methods to concerns
Anton Khorev [Mon, 31 Mar 2025 01:25:40 +0000 (04:25 +0300)]
Move nominatim url methods to concerns

3 days agoRemove escape_query method from geocoder
Anton Khorev [Mon, 31 Mar 2025 01:07:56 +0000 (04:07 +0300)]
Remove escape_query method from geocoder

3 days agoMerge search params with regexp captures property
Anton Khorev [Sun, 30 Mar 2025 22:29:14 +0000 (01:29 +0300)]
Merge search params with regexp captures property

3 days agoRemove RuboCop AssignmentInCondition exclusion for search
Anton Khorev [Sun, 30 Mar 2025 22:27:33 +0000 (01:27 +0300)]
Remove RuboCop AssignmentInCondition exclusion for search

4 days agoReplace changeset highlight state/style with highlight sublayer
Anton Khorev [Sat, 19 Apr 2025 15:52:10 +0000 (18:52 +0300)]
Replace changeset highlight state/style with highlight sublayer

4 days agoAdd _getSidebarRelativeClassName helper method
Anton Khorev [Sat, 19 Apr 2025 15:30:34 +0000 (18:30 +0300)]
Add _getSidebarRelativeClassName helper method

To be used in multiple _get*Style() methods later.

4 days agoMove bboxes to sublayer of history changesets layer
Anton Khorev [Sat, 19 Apr 2025 15:24:21 +0000 (18:24 +0300)]
Move bboxes to sublayer of history changesets layer

4 days agoDon't update style from setChangesetSidebarRelativePosition()
Anton Khorev [Sat, 19 Apr 2025 15:17:38 +0000 (18:17 +0300)]
Don't update style from setChangesetSidebarRelativePosition()

Style is updated later on all changesets in reorderChangesets().

4 days agoMove changesets layer properties init to init hook
Anton Khorev [Sat, 19 Apr 2025 15:35:26 +0000 (18:35 +0300)]
Move changesets layer properties init to init hook

4 days agoIgnore changeset highlight changes mid-zoom
Anton Khorev [Sat, 19 Apr 2025 14:38:21 +0000 (17:38 +0300)]
Ignore changeset highlight changes mid-zoom

Otherwise, if highlights are implemented as new Leaflet layers, these layers may appear at unexpected locations.

4 days agoBump eslint from 9.24.0 to 9.25.0
dependabot[bot] [Fri, 18 Apr 2025 23:39:38 +0000 (23:39 +0000)]
Bump eslint from 9.24.0 to 9.25.0

Bumps [eslint](https://github.com/eslint/eslint) from 9.24.0 to 9.25.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.24.0...v9.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
5 days agoMerge remote-tracking branch 'upstream/pull/5930'
Anton Khorev [Fri, 18 Apr 2025 16:01:18 +0000 (19:01 +0300)]
Merge remote-tracking branch 'upstream/pull/5930'

5 days agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Fri, 18 Apr 2025 14:14:19 +0000 (16:14 +0200)]
Localisation updates from https://translatewiki.net.

6 days agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 17 Apr 2025 12:15:45 +0000 (14:15 +0200)]
Localisation updates from https://translatewiki.net.

7 days agoMerge remote-tracking branch 'upstream/pull/5121'
Tom Hughes [Wed, 16 Apr 2025 17:14:47 +0000 (18:14 +0100)]
Merge remote-tracking branch 'upstream/pull/5121'

7 days agoMerge remote-tracking branch 'upstream/pull/5936'
Tom Hughes [Wed, 16 Apr 2025 17:03:24 +0000 (18:03 +0100)]
Merge remote-tracking branch 'upstream/pull/5936'

7 days agoMerge remote-tracking branch 'upstream/pull/5935'
Tom Hughes [Wed, 16 Apr 2025 17:01:00 +0000 (18:01 +0100)]
Merge remote-tracking branch 'upstream/pull/5935'

7 days agoChange highlighted bbox border width to 4px on history pages
Anton Khorev [Wed, 16 Apr 2025 12:03:45 +0000 (15:03 +0300)]
Change highlighted bbox border width to 4px on history pages

That makes the border an even number, with width/2 an integer. This produces a sharper edge when rendering on 1x pixel density devices.

7 days agoProvide a truncated view of recent diaries
nertc [Wed, 16 Apr 2025 11:33:26 +0000 (15:33 +0400)]
Provide a truncated view of recent diaries

7 days agoFix marking changesets outside of viewport on history pages
Anton Khorev [Wed, 16 Apr 2025 10:53:06 +0000 (13:53 +0300)]
Fix marking changesets outside of viewport on history pages

The previous method relied on intersection events for all changeset list items that go from below the viewport to above the viewport or in the opposite direction. But that required the items to enter the viewport in between. This is not guaranteed to happen if the sidebar contents is scrolled fast enough, for example by dragging the scrollbar or pressing Home/End keys. If an item goes from below straight to above without ever being inside the viewport, no intersection event is generated and the changeset is left in an invalid state with wrong color.

This fix updates changesets below/above based on changesets inside the viewport.

7 days agoMerge remote-tracking branch 'upstream/pull/5923'
Anton Khorev [Wed, 16 Apr 2025 09:32:21 +0000 (12:32 +0300)]
Merge remote-tracking branch 'upstream/pull/5923'

8 days agoWorkaround bug in file 5.46
Tom Hughes [Sun, 13 Apr 2025 19:26:01 +0000 (20:26 +0100)]
Workaround bug in file 5.46

The 5.46 release of file has a bug that means when the -z switch
is used on a zip file it tries and fails to decompress it so make
sure to only use -z on things we know are compressed.

https://bugs.astron.com/view.php?id=643

8 days agoUse pre-computed content type in trace#xml_file
Tom Hughes [Sun, 13 Apr 2025 19:24:38 +0000 (20:24 +0100)]
Use pre-computed content type in trace#xml_file

8 days agoDrop custom CORS rack module
Tom Hughes [Tue, 15 Apr 2025 17:24:59 +0000 (18:24 +0100)]
Drop custom CORS rack module

Rack::Cors has handled caching properly for some time now by
adding a Vary header so we no longer need out custom module.

8 days agoMonkey patch Rack::Server until a new teaspoon is released
Tom Hughes [Sat, 12 Apr 2025 00:00:47 +0000 (01:00 +0100)]
Monkey patch Rack::Server until a new teaspoon is released

https://github.com/jejacks0n/teaspoon/pull/604

8 days agoPass correct headers to requests
Tom Hughes [Fri, 11 Apr 2025 23:09:27 +0000 (00:09 +0100)]
Pass correct headers to requests

Let rack convert to the internal names instead of using them
directly and bypassing some of the internals.

8 days agoAvoid trying to rewind the request body
Tom Hughes [Fri, 11 Apr 2025 23:06:30 +0000 (00:06 +0100)]
Avoid trying to rewind the request body

Rack 3 no longer guarantees that the body is rewindable and
in any case according the Apache bug just closing the stream is
enough and avoid wasting time reading the body.

8 days agoUpdate to omniauth 2.1, puma 6 and rack 3
Tom Hughes [Fri, 11 Apr 2025 23:05:37 +0000 (00:05 +0100)]
Update to omniauth 2.1, puma 6 and rack 3

8 days agoMerge remote-tracking branch 'upstream/pull/5902'
Tom Hughes [Tue, 15 Apr 2025 17:11:35 +0000 (18:11 +0100)]
Merge remote-tracking branch 'upstream/pull/5902'

8 days agoMerge remote-tracking branch 'upstream/pull/5924'
Tom Hughes [Tue, 15 Apr 2025 17:04:58 +0000 (18:04 +0100)]
Merge remote-tracking branch 'upstream/pull/5924'

8 days agoMerge remote-tracking branch 'upstream/pull/5933'
Tom Hughes [Tue, 15 Apr 2025 16:54:25 +0000 (17:54 +0100)]
Merge remote-tracking branch 'upstream/pull/5933'

8 days agoUpdate bundle
Tom Hughes [Tue, 15 Apr 2025 16:46:12 +0000 (17:46 +0100)]
Update bundle

8 days agoReplace CC by-sa license link with ODbL in history feeds
Anton Khorev [Tue, 15 Apr 2025 13:34:48 +0000 (16:34 +0300)]
Replace CC by-sa license link with ODbL in history feeds

9 days agoAdd color hint bars around changesets list
Anton Khorev [Sat, 12 Apr 2025 01:14:17 +0000 (04:14 +0300)]
Add color hint bars around changesets list

9 days agoTake viewport intersection into account when sorting changesets
Anton Khorev [Fri, 11 Apr 2025 23:59:50 +0000 (02:59 +0300)]
Take viewport intersection into account when sorting changesets

9 days agoChange colors of bboxes when they enter/exit the viewport
Anton Khorev [Fri, 11 Apr 2025 23:44:26 +0000 (02:44 +0300)]
Change colors of bboxes when they enter/exit the viewport

9 days agoMove changeset colors to css
Anton Khorev [Sun, 13 Apr 2025 15:11:25 +0000 (18:11 +0300)]
Move changeset colors to css

9 days agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 14 Apr 2025 12:15:42 +0000 (14:15 +0200)]
Localisation updates from https://translatewiki.net.

10 days agoBe explicit about filepaths
Robert Koeze [Mon, 7 Apr 2025 02:45:14 +0000 (22:45 -0400)]
Be explicit about filepaths

10 days agoAdd new files to .dockerignore
Robert Koeze [Sun, 6 Apr 2025 03:32:49 +0000 (23:32 -0400)]
Add new files to .dockerignore

10 days agoMaintain highlight states in history changesets layer
Anton Khorev [Fri, 11 Apr 2025 23:33:00 +0000 (02:33 +0300)]
Maintain highlight states in history changesets layer

10 days agoConvert changeset (un)highlight to toggle function
Anton Khorev [Fri, 11 Apr 2025 23:28:53 +0000 (02:28 +0300)]
Convert changeset (un)highlight to toggle function

10 days agoStore changesets of history changesets layer in map
Anton Khorev [Fri, 11 Apr 2025 22:57:06 +0000 (01:57 +0300)]
Store changesets of history changesets layer in map

10 days agoMerge remote-tracking branch 'upstream/pull/5929'
Tom Hughes [Sun, 13 Apr 2025 14:26:43 +0000 (15:26 +0100)]
Merge remote-tracking branch 'upstream/pull/5929'

10 days agoMerge remote-tracking branch 'upstream/pull/5928'
Tom Hughes [Sun, 13 Apr 2025 14:26:12 +0000 (15:26 +0100)]
Merge remote-tracking branch 'upstream/pull/5928'

10 days agoMerge remote-tracking branch 'upstream/pull/5927'
Tom Hughes [Sun, 13 Apr 2025 14:25:28 +0000 (15:25 +0100)]
Merge remote-tracking branch 'upstream/pull/5927'

10 days agoRemove custom position and margin css from .content-inner
Anton Khorev [Sun, 13 Apr 2025 12:43:28 +0000 (15:43 +0300)]
Remove custom position and margin css from .content-inner

10 days agoChange 'search more' spinner hiding css to hidden attribute
Anton Khorev [Sun, 13 Apr 2025 12:31:26 +0000 (15:31 +0300)]
Change 'search more' spinner hiding css to hidden attribute

10 days agoWait for changeset link before clicking the map
Anton Khorev [Sun, 13 Apr 2025 11:28:54 +0000 (14:28 +0300)]
Wait for changeset link before clicking the map

10 days agoMerge remote-tracking branch 'upstream/pull/5925'
Tom Hughes [Sun, 13 Apr 2025 10:16:19 +0000 (11:16 +0100)]
Merge remote-tracking branch 'upstream/pull/5925'

10 days agoMerge remote-tracking branch 'upstream/pull/5925'
Tom Hughes [Sun, 13 Apr 2025 10:12:14 +0000 (11:12 +0100)]
Merge remote-tracking branch 'upstream/pull/5925'

10 days agoAdd OSRM ferry support
Marwin Hochfelsner [Sat, 12 Apr 2025 14:33:19 +0000 (16:33 +0200)]
Add OSRM ferry support

10 days agoMerge remote-tracking branch 'upstream/pull/5926'
Tom Hughes [Sun, 13 Apr 2025 09:49:03 +0000 (10:49 +0100)]
Merge remote-tracking branch 'upstream/pull/5926'

10 days agoMerge remote-tracking branch 'upstream/pull/5921'
Tom Hughes [Sun, 13 Apr 2025 09:38:39 +0000 (10:38 +0100)]
Merge remote-tracking branch 'upstream/pull/5921'

10 days agoMerge remote-tracking branch 'upstream/pull/5920'
Tom Hughes [Sun, 13 Apr 2025 09:38:09 +0000 (10:38 +0100)]
Merge remote-tracking branch 'upstream/pull/5920'

11 days agoAdd local bike route map key for CyclOSM
Anton Khorev [Sat, 12 Apr 2025 16:23:56 +0000 (19:23 +0300)]
Add local bike route map key for CyclOSM

11 days agoAdd regional bike route map key for CyclOSM
Anton Khorev [Sat, 12 Apr 2025 16:07:56 +0000 (19:07 +0300)]
Add regional bike route map key for CyclOSM

11 days agoAdd national bike route map key for CyclOSM
Anton Khorev [Sat, 12 Apr 2025 15:58:11 +0000 (18:58 +0300)]
Add national bike route map key for CyclOSM

11 days agoAdd international bike route map key for CyclOSM
Anton Khorev [Sat, 12 Apr 2025 15:41:59 +0000 (18:41 +0300)]
Add international bike route map key for CyclOSM

11 days agoRename "cycleways" that are routes to "bike routes" in map key
Anton Khorev [Sat, 12 Apr 2025 16:59:52 +0000 (19:59 +0300)]
Rename "cycleways" that are routes to "bike routes" in map key

11 days agoChange test layer without map key from CyclOSM to HOT
Anton Khorev [Sat, 12 Apr 2025 17:15:36 +0000 (20:15 +0300)]
Change test layer without map key from CyclOSM to HOT

11 days agoMerge remote-tracking branch 'upstream/pull/5918'
Anton Khorev [Sat, 12 Apr 2025 14:50:39 +0000 (17:50 +0300)]
Merge remote-tracking branch 'upstream/pull/5918'

11 days agoAdd OSRM ferry support
Marwin Hochfelsner [Sat, 12 Apr 2025 14:33:19 +0000 (16:33 +0200)]
Add OSRM ferry support

11 days agoPut map key presence in js layer definitions
Marwin Hochfelsner [Thu, 10 Apr 2025 18:52:59 +0000 (20:52 +0200)]
Put map key presence in js layer definitions

12 days agoTest if history shows changesets at expected locations
Anton Khorev [Fri, 11 Apr 2025 14:55:34 +0000 (17:55 +0300)]
Test if history shows changesets at expected locations

12 days agoTest if 'Show address' includes zoom parameter
Anton Khorev [Fri, 11 Apr 2025 14:19:38 +0000 (17:19 +0300)]
Test if 'Show address' includes zoom parameter

13 days agoMerge remote-tracking branch 'upstream/pull/5917'
Tom Hughes [Thu, 10 Apr 2025 18:22:36 +0000 (19:22 +0100)]
Merge remote-tracking branch 'upstream/pull/5917'

13 days agoUpdate history.js - Correct function name for updating changeset locations
danieldegroot2 [Thu, 10 Apr 2025 17:53:06 +0000 (19:53 +0200)]
Update history.js - Correct function name for updating changeset locations

Fixes regression from https://github.com/openstreetmap/openstreetmap-website/commit/f11b38709b6cdf6b837d822f4c1e04f06d65ca71
where changeset highlights disappear after automatically zooming in, do not load at all or are incorrectly scaled when manually zooming (invalid function name).

13 days agoMerge remote-tracking branch 'upstream/pull/5916'
Tom Hughes [Thu, 10 Apr 2025 16:12:53 +0000 (17:12 +0100)]
Merge remote-tracking branch 'upstream/pull/5916'

13 days agoMerge remote-tracking branch 'upstream/pull/5832'
Tom Hughes [Thu, 10 Apr 2025 16:09:05 +0000 (17:09 +0100)]
Merge remote-tracking branch 'upstream/pull/5832'

13 days agoAdd zoom parameter to 'Show address' in context menu
Anton Khorev [Thu, 10 Apr 2025 15:49:42 +0000 (18:49 +0300)]
Add zoom parameter to 'Show address' in context menu

13 days agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 10 Apr 2025 12:15:52 +0000 (14:15 +0200)]
Localisation updates from https://translatewiki.net.

13 days agoMerge remote-tracking branch 'upstream/pull/5914'
Anton Khorev [Thu, 10 Apr 2025 11:09:50 +0000 (14:09 +0300)]
Merge remote-tracking branch 'upstream/pull/5914'

13 days agoAttach routing credit to route
Marwin Hochfelsner [Wed, 9 Apr 2025 20:08:29 +0000 (22:08 +0200)]
Attach routing credit to route

2 weeks agoMerge remote-tracking branch 'upstream/pull/5903'
Tom Hughes [Wed, 9 Apr 2025 19:57:15 +0000 (20:57 +0100)]
Merge remote-tracking branch 'upstream/pull/5903'

2 weeks agoMerge remote-tracking branch 'upstream/pull/5903'
Tom Hughes [Wed, 9 Apr 2025 19:45:29 +0000 (20:45 +0100)]
Merge remote-tracking branch 'upstream/pull/5903'

2 weeks agoRender changesets at locations closest to map view center
Anton Khorev [Mon, 7 Apr 2025 12:26:44 +0000 (15:26 +0300)]
Render changesets at locations closest to map view center

2 weeks agoRename map listeners on history page
Anton Khorev [Mon, 7 Apr 2025 10:34:06 +0000 (13:34 +0300)]
Rename map listeners on history page

2 weeks agoRename changesets layer constant
Anton Khorev [Mon, 7 Apr 2025 10:30:09 +0000 (13:30 +0300)]
Rename changesets layer constant

2 weeks agoAdd history changesets layer module
Anton Khorev [Mon, 7 Apr 2025 10:27:13 +0000 (13:27 +0300)]
Add history changesets layer module