]> git.openstreetmap.org Git - rails.git/log
rails.git
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

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

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

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

2 weeks agoRename directions close button listener
Anton Khorev [Wed, 9 Apr 2025 15:39:00 +0000 (18:39 +0300)]
Rename directions close button listener

2 weeks agoReplace deprecated hover listener by mouseenter/leave
Anton Khorev [Wed, 9 Apr 2025 15:36:23 +0000 (18:36 +0300)]
Replace deprecated hover listener by mouseenter/leave

2 weeks agoMove directions route output to its own module
Anton Khorev [Wed, 9 Apr 2025 15:31:58 +0000 (18:31 +0300)]
Move directions route output to its own module

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

2 weeks agoSupport unwrapped bbox values in changeset history queries
Anton Khorev [Sun, 5 Jan 2025 11:10:20 +0000 (14:10 +0300)]
Support unwrapped bbox values in changeset history queries

2 weeks agoRefactor map base layer initialization
Marwin Hochfelsner [Fri, 21 Mar 2025 06:20:03 +0000 (07:20 +0100)]
Refactor map base layer initialization

2 weeks agoMerge remote-tracking branch 'upstream/pull/5911'
Tom Hughes [Wed, 9 Apr 2025 17:23:15 +0000 (18:23 +0100)]
Merge remote-tracking branch 'upstream/pull/5911'

2 weeks agoMerge remote-tracking branch 'upstream/pull/5912'
Tom Hughes [Wed, 9 Apr 2025 17:17:54 +0000 (18:17 +0100)]
Merge remote-tracking branch 'upstream/pull/5912'

2 weeks agoUse for loop to write directions table
Anton Khorev [Wed, 9 Apr 2025 14:39:27 +0000 (17:39 +0300)]
Use for loop to write directions table

Reverts part of 2af72b2e6f4e4c1c0775f16f102f50a59bdeb0c3

2 weeks agoUpdate to iD v2.33.0
Martin Raifer [Wed, 9 Apr 2025 14:10:06 +0000 (16:10 +0200)]
Update to iD v2.33.0

2 weeks agoAdd transient bbox attribute to changesets factory
Anton Khorev [Tue, 8 Apr 2025 08:04:19 +0000 (11:04 +0300)]
Add transient bbox attribute to changesets factory

2 weeks agoChange empty changeset to be inside the requested bbox
Anton Khorev [Tue, 8 Apr 2025 07:16:44 +0000 (10:16 +0300)]
Change empty changeset to be inside the requested bbox

Otherwise it's testing the same condition as _elsewhere_changeset.

2 weeks agoMake reverse geocoding request with zoom using 'Where is this?'
Anton Khorev [Wed, 9 Apr 2025 09:15:49 +0000 (12:15 +0300)]
Make reverse geocoding request with zoom using 'Where is this?'

2 weeks agoMerge remote-tracking branch 'upstream/pull/5907'
Tom Hughes [Tue, 8 Apr 2025 16:08:51 +0000 (17:08 +0100)]
Merge remote-tracking branch 'upstream/pull/5907'

2 weeks agoUpdate bundle
Tom Hughes [Tue, 8 Apr 2025 16:03:34 +0000 (17:03 +0100)]
Update bundle

2 weeks agoOrder issue comments by id
Anton Khorev [Tue, 8 Apr 2025 10:02:52 +0000 (13:02 +0300)]
Order issue comments by id

2 weeks agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 7 Apr 2025 12:16:14 +0000 (14:16 +0200)]
Localisation updates from https://translatewiki.net.

2 weeks agoMerge remote-tracking branch 'upstream/pull/5901'
Tom Hughes [Sun, 6 Apr 2025 21:27:52 +0000 (22:27 +0100)]
Merge remote-tracking branch 'upstream/pull/5901'

2 weeks agoUse shorthand property names
Marwin Hochfelsner [Sun, 6 Apr 2025 17:14:17 +0000 (19:14 +0200)]
Use shorthand property names

2 weeks agoSimplify step mapping function
Marwin Hochfelsner [Sun, 6 Apr 2025 17:05:29 +0000 (19:05 +0200)]
Simplify step mapping function

2 weeks agoDerive popup location from lineseg
Marwin Hochfelsner [Sun, 6 Apr 2025 16:50:58 +0000 (18:50 +0200)]
Derive popup location from lineseg

2 weeks agoReturn OSRM instText individually
Marwin Hochfelsner [Sun, 6 Apr 2025 16:45:23 +0000 (18:45 +0200)]
Return OSRM instText individually