]>
git.openstreetmap.org Git - rails.git/log
Tom Hughes [Tue, 22 Apr 2025 18:04:46 +0000 (19:04 +0100)]
Merge remote-tracking branch 'upstream/pull/5882'
Tom Hughes [Tue, 22 Apr 2025 17:38:08 +0000 (18:38 +0100)]
Merge remote-tracking branch 'upstream/pull/5942'
Tom Hughes [Tue, 22 Apr 2025 17:20:28 +0000 (18:20 +0100)]
Merge remote-tracking branch 'upstream/pull/5944'
Tom Hughes [Tue, 22 Apr 2025 17:06:38 +0000 (18:06 +0100)]
Fix new rubocop warnings
Tom Hughes [Tue, 22 Apr 2025 17:05:36 +0000 (18:05 +0100)]
Update bundle
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>
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.
Marwin Hochfelsner [Mon, 21 Apr 2025 18:24:03 +0000 (20:24 +0200)]
Make teaspoon UI usable
Tom Hughes [Mon, 21 Apr 2025 18:07:21 +0000 (19:07 +0100)]
Merge remote-tracking branch 'upstream/pull/5940'
Tom Hughes [Mon, 21 Apr 2025 17:50:34 +0000 (18:50 +0100)]
Merge remote-tracking branch 'upstream/pull/5868'
Tom Hughes [Mon, 21 Apr 2025 17:25:13 +0000 (18:25 +0100)]
Merge remote-tracking branch 'upstream/pull/5939'
translatewiki.net [Mon, 21 Apr 2025 12:17:56 +0000 (14:17 +0200)]
Localisation updates from https://translatewiki.net.
Anton Khorev [Sun, 20 Apr 2025 13:25:43 +0000 (16:25 +0300)]
Rename "OSM Nominatim" to "Nominatim" in search headings
Anton Khorev [Mon, 31 Mar 2025 02:51:07 +0000 (05:51 +0300)]
Replace geocoder with search resource
Anton Khorev [Mon, 31 Mar 2025 02:32:49 +0000 (05:32 +0300)]
Clean up geocoder after moving out queries
Anton Khorev [Mon, 31 Mar 2025 02:28:40 +0000 (05:28 +0300)]
Create nominatim reverse search query resource
Anton Khorev [Mon, 31 Mar 2025 02:02:29 +0000 (05:02 +0300)]
Create nominatim search query resource
Anton Khorev [Mon, 31 Mar 2025 00:07:41 +0000 (03:07 +0300)]
Create latlon search query resource
Anton Khorev [Sun, 30 Mar 2025 23:57:51 +0000 (02:57 +0300)]
Create search query base class
Anton Khorev [Sun, 30 Mar 2025 23:40:18 +0000 (02:40 +0300)]
Move search query templates
Anton Khorev [Mon, 31 Mar 2025 01:25:40 +0000 (04:25 +0300)]
Move nominatim url methods to concerns
Anton Khorev [Mon, 31 Mar 2025 01:07:56 +0000 (04:07 +0300)]
Remove escape_query method from geocoder
Anton Khorev [Sun, 30 Mar 2025 22:29:14 +0000 (01:29 +0300)]
Merge search params with regexp captures property
Anton Khorev [Sun, 30 Mar 2025 22:27:33 +0000 (01:27 +0300)]
Remove RuboCop AssignmentInCondition exclusion for search
Anton Khorev [Sat, 19 Apr 2025 15:52:10 +0000 (18:52 +0300)]
Replace changeset highlight state/style with highlight sublayer
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.
Anton Khorev [Sat, 19 Apr 2025 15:24:21 +0000 (18:24 +0300)]
Move bboxes to sublayer of history changesets layer
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().
Anton Khorev [Sat, 19 Apr 2025 15:35:26 +0000 (18:35 +0300)]
Move changesets layer properties init to init hook
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.
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>
Anton Khorev [Fri, 18 Apr 2025 16:01:18 +0000 (19:01 +0300)]
Merge remote-tracking branch 'upstream/pull/5930'
translatewiki.net [Fri, 18 Apr 2025 14:14:19 +0000 (16:14 +0200)]
Localisation updates from https://translatewiki.net.
translatewiki.net [Thu, 17 Apr 2025 12:15:45 +0000 (14:15 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Wed, 16 Apr 2025 17:14:47 +0000 (18:14 +0100)]
Merge remote-tracking branch 'upstream/pull/5121'
Tom Hughes [Wed, 16 Apr 2025 17:03:24 +0000 (18:03 +0100)]
Merge remote-tracking branch 'upstream/pull/5936'
Tom Hughes [Wed, 16 Apr 2025 17:01:00 +0000 (18:01 +0100)]
Merge remote-tracking branch 'upstream/pull/5935'
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.
nertc [Wed, 16 Apr 2025 11:33:26 +0000 (15:33 +0400)]
Provide a truncated view of recent diaries
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.
Anton Khorev [Wed, 16 Apr 2025 09:32:21 +0000 (12:32 +0300)]
Merge remote-tracking branch 'upstream/pull/5923'
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
Tom Hughes [Sun, 13 Apr 2025 19:24:38 +0000 (20:24 +0100)]
Use pre-computed content type in trace#xml_file
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.
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
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.
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.
Tom Hughes [Fri, 11 Apr 2025 23:05:37 +0000 (00:05 +0100)]
Update to omniauth 2.1, puma 6 and rack 3
Tom Hughes [Tue, 15 Apr 2025 17:11:35 +0000 (18:11 +0100)]
Merge remote-tracking branch 'upstream/pull/5902'
Tom Hughes [Tue, 15 Apr 2025 17:04:58 +0000 (18:04 +0100)]
Merge remote-tracking branch 'upstream/pull/5924'
Tom Hughes [Tue, 15 Apr 2025 16:54:25 +0000 (17:54 +0100)]
Merge remote-tracking branch 'upstream/pull/5933'
Tom Hughes [Tue, 15 Apr 2025 16:46:12 +0000 (17:46 +0100)]
Update bundle
Anton Khorev [Tue, 15 Apr 2025 13:34:48 +0000 (16:34 +0300)]
Replace CC by-sa license link with ODbL in history feeds
Anton Khorev [Sat, 12 Apr 2025 01:14:17 +0000 (04:14 +0300)]
Add color hint bars around changesets list
Anton Khorev [Fri, 11 Apr 2025 23:59:50 +0000 (02:59 +0300)]
Take viewport intersection into account when sorting changesets
Anton Khorev [Fri, 11 Apr 2025 23:44:26 +0000 (02:44 +0300)]
Change colors of bboxes when they enter/exit the viewport
Anton Khorev [Sun, 13 Apr 2025 15:11:25 +0000 (18:11 +0300)]
Move changeset colors to css
translatewiki.net [Mon, 14 Apr 2025 12:15:42 +0000 (14:15 +0200)]
Localisation updates from https://translatewiki.net.
Robert Koeze [Mon, 7 Apr 2025 02:45:14 +0000 (22:45 -0400)]
Be explicit about filepaths
Robert Koeze [Sun, 6 Apr 2025 03:32:49 +0000 (23:32 -0400)]
Add new files to .dockerignore
Anton Khorev [Fri, 11 Apr 2025 23:33:00 +0000 (02:33 +0300)]
Maintain highlight states in history changesets layer
Anton Khorev [Fri, 11 Apr 2025 23:28:53 +0000 (02:28 +0300)]
Convert changeset (un)highlight to toggle function
Anton Khorev [Fri, 11 Apr 2025 22:57:06 +0000 (01:57 +0300)]
Store changesets of history changesets layer in map
Tom Hughes [Sun, 13 Apr 2025 14:26:43 +0000 (15:26 +0100)]
Merge remote-tracking branch 'upstream/pull/5929'
Tom Hughes [Sun, 13 Apr 2025 14:26:12 +0000 (15:26 +0100)]
Merge remote-tracking branch 'upstream/pull/5928'
Tom Hughes [Sun, 13 Apr 2025 14:25:28 +0000 (15:25 +0100)]
Merge remote-tracking branch 'upstream/pull/5927'
Anton Khorev [Sun, 13 Apr 2025 12:43:28 +0000 (15:43 +0300)]
Remove custom position and margin css from .content-inner
Anton Khorev [Sun, 13 Apr 2025 12:31:26 +0000 (15:31 +0300)]
Change 'search more' spinner hiding css to hidden attribute
Anton Khorev [Sun, 13 Apr 2025 11:28:54 +0000 (14:28 +0300)]
Wait for changeset link before clicking the map
Tom Hughes [Sun, 13 Apr 2025 10:16:19 +0000 (11:16 +0100)]
Merge 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'
Marwin Hochfelsner [Sat, 12 Apr 2025 14:33:19 +0000 (16:33 +0200)]
Add OSRM ferry support
Tom Hughes [Sun, 13 Apr 2025 09:49:03 +0000 (10:49 +0100)]
Merge remote-tracking branch 'upstream/pull/5926'
Tom Hughes [Sun, 13 Apr 2025 09:38:39 +0000 (10:38 +0100)]
Merge remote-tracking branch 'upstream/pull/5921'
Tom Hughes [Sun, 13 Apr 2025 09:38:09 +0000 (10:38 +0100)]
Merge remote-tracking branch 'upstream/pull/5920'
Anton Khorev [Sat, 12 Apr 2025 16:23:56 +0000 (19:23 +0300)]
Add local 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
Anton Khorev [Sat, 12 Apr 2025 15:58:11 +0000 (18:58 +0300)]
Add national 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
Anton Khorev [Sat, 12 Apr 2025 16:59:52 +0000 (19:59 +0300)]
Rename "cycleways" that are routes to "bike routes" in map key
Anton Khorev [Sat, 12 Apr 2025 17:15:36 +0000 (20:15 +0300)]
Change test layer without map key from CyclOSM to HOT
Anton Khorev [Sat, 12 Apr 2025 14:50:39 +0000 (17:50 +0300)]
Merge remote-tracking branch 'upstream/pull/5918'
Marwin Hochfelsner [Sat, 12 Apr 2025 14:33:19 +0000 (16:33 +0200)]
Add OSRM ferry support
Marwin Hochfelsner [Thu, 10 Apr 2025 18:52:59 +0000 (20:52 +0200)]
Put map key presence in js layer definitions
Anton Khorev [Fri, 11 Apr 2025 14:55:34 +0000 (17:55 +0300)]
Test if history shows changesets at expected locations
Anton Khorev [Fri, 11 Apr 2025 14:19:38 +0000 (17:19 +0300)]
Test if 'Show address' includes zoom parameter
Tom Hughes [Thu, 10 Apr 2025 18:22:36 +0000 (19:22 +0100)]
Merge remote-tracking branch 'upstream/pull/5917'
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).
Tom Hughes [Thu, 10 Apr 2025 16:12:53 +0000 (17:12 +0100)]
Merge remote-tracking branch 'upstream/pull/5916'
Tom Hughes [Thu, 10 Apr 2025 16:09:05 +0000 (17:09 +0100)]
Merge remote-tracking branch 'upstream/pull/5832'
Anton Khorev [Thu, 10 Apr 2025 15:49:42 +0000 (18:49 +0300)]
Add zoom parameter to 'Show address' in context menu
translatewiki.net [Thu, 10 Apr 2025 12:15:52 +0000 (14:15 +0200)]
Localisation updates from https://translatewiki.net.
Anton Khorev [Thu, 10 Apr 2025 11:09:50 +0000 (14:09 +0300)]
Merge remote-tracking branch 'upstream/pull/5914'
Marwin Hochfelsner [Wed, 9 Apr 2025 20:08:29 +0000 (22:08 +0200)]
Attach routing credit to route
Tom Hughes [Wed, 9 Apr 2025 19:57:15 +0000 (20:57 +0100)]
Merge 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'
Anton Khorev [Mon, 7 Apr 2025 12:26:44 +0000 (15:26 +0300)]
Render changesets at locations closest to map view center
Anton Khorev [Mon, 7 Apr 2025 10:34:06 +0000 (13:34 +0300)]
Rename map listeners on history page
Anton Khorev [Mon, 7 Apr 2025 10:30:09 +0000 (13:30 +0300)]
Rename changesets layer constant
Anton Khorev [Mon, 7 Apr 2025 10:27:13 +0000 (13:27 +0300)]
Add history changesets layer module