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

14 months 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

14 months 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.

14 months 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

14 months 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.

14 months 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.

14 months 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

14 months 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'

14 months 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'

14 months 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'

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

14 months 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

14 months 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

14 months 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

14 months 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

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

14 months 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.

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

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

14 months 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

14 months 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

14 months 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

14 months 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'

14 months 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'

14 months 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'

14 months 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

14 months 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

14 months 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

14 months 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'

14 months 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'

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

14 months 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'

14 months 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'

14 months 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'

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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

14 months 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'

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

14 months 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

14 months agoEnable km/mi switching in directions
Anton Khorev [Fri, 11 Apr 2025 12:36:47 +0000 (15:36 +0300)]
Enable km/mi switching in directions

14 months agoPrepare distance formatting for unit translations
Anton Khorev [Fri, 11 Apr 2025 12:22:18 +0000 (15:22 +0300)]
Prepare distance formatting for unit translations

14 months 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

14 months 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

14 months agoRemove unnecessary string conversions in distance formatting
Anton Khorev [Fri, 11 Apr 2025 12:19:06 +0000 (15:19 +0300)]
Remove unnecessary string conversions in distance formatting

14 months agoMove distance in units translations into their own scope
Anton Khorev [Fri, 11 Apr 2025 10:25:28 +0000 (13:25 +0300)]
Move distance in units translations into their own scope

14 months agoAdd km/mi buttons to directions
Anton Khorev [Thu, 10 Apr 2025 12:33:22 +0000 (15:33 +0300)]
Add km/mi buttons to directions

14 months agoMove directions template strings out of javascript
Anton Khorev [Thu, 10 Apr 2025 12:05:08 +0000 (15:05 +0300)]
Move directions template strings out of javascript

14 months agoWrite most of route html using erb template
Anton Khorev [Thu, 10 Apr 2025 11:49:38 +0000 (14:49 +0300)]
Write most of route html using erb template

14 months agoUse different divs for directions error and route outputs
Anton Khorev [Thu, 10 Apr 2025 09:54:20 +0000 (12:54 +0300)]
Use different divs for directions error and route outputs

14 months agoShow/hide directions spinner instead of copying
Anton Khorev [Thu, 10 Apr 2025 09:36:27 +0000 (12:36 +0300)]
Show/hide directions spinner instead of copying

14 months 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'

14 months 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).

14 months 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'

14 months 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'

14 months 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

14 months 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.

14 months 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'

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

14 months 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'

14 months 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'

14 months 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

14 months 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

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

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

14 months 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'

14 months 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'

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

14 months 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

14 months 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

14 months 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

14 months 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

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

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

14 months 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

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

14 months 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'

14 months 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'

14 months 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

14 months 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

14 months 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

14 months 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.

14 months 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?'

14 months 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'

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

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

14 months 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.

14 months 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'

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

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

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

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

14 months agoSplit off OSRM getInstructionText function
Marwin Hochfelsner [Sun, 6 Apr 2025 16:40:26 +0000 (18:40 +0200)]
Split off OSRM getInstructionText function

14 months agoRemove unneeded coordinate reformatting
Marwin Hochfelsner [Sun, 6 Apr 2025 16:06:43 +0000 (18:06 +0200)]
Remove unneeded coordinate reformatting

14 months agoRemove unused multi-leg logic
Marwin Hochfelsner [Sun, 6 Apr 2025 15:55:42 +0000 (17:55 +0200)]
Remove unused multi-leg logic

14 months agoAppend all turn-by-turn rows together
Marwin Hochfelsner [Sun, 6 Apr 2025 17:41:11 +0000 (19:41 +0200)]
Append all turn-by-turn rows together

14 months agoAdd instruction index to popup
Marwin Hochfelsner [Sun, 6 Apr 2025 17:43:17 +0000 (19:43 +0200)]
Add instruction index to popup