]> git.openstreetmap.org Git - rails.git/log
rails.git
11 months agoAdd new note marker to root map layer instead of noteLayer
Anton Khorev [Wed, 25 Dec 2024 01:15:34 +0000 (04:15 +0300)]
Add new note marker to root map layer instead of noteLayer

We want the new note marker in the same layer with its halo. Also we don't want to put anything in noteLayer because it clears its contents on certain zoom levels.

11 months agoRemove unused return value of addCreatedNoteMarker()
Anton Khorev [Wed, 25 Dec 2024 00:43:54 +0000 (03:43 +0300)]
Remove unused return value of addCreatedNoteMarker()

This function adds a marker to notes layer. This controller doesn't need to do anything with markers of existing notes.

11 months agoRename updateMarker() to addCreatedNoteMarker()
Anton Khorev [Wed, 25 Dec 2024 00:38:30 +0000 (03:38 +0300)]
Rename updateMarker() to addCreatedNoteMarker()

This function doesn't update any existing marker.

11 months agoPass location instead of marker to createNote()
Anton Khorev [Tue, 31 Dec 2024 20:42:40 +0000 (23:42 +0300)]
Pass location instead of marker to createNote()

11 months agoMove create note callback to button click handler
Anton Khorev [Tue, 31 Dec 2024 20:37:34 +0000 (23:37 +0300)]
Move create note callback to button click handler

11 months agoDon't pass url to createNote()
Anton Khorev [Tue, 31 Dec 2024 20:25:11 +0000 (23:25 +0300)]
Don't pass url to createNote()

11 months agoPass text instead of form to createNote()
Anton Khorev [Tue, 31 Dec 2024 20:07:49 +0000 (23:07 +0300)]
Pass text instead of form to createNote()

11 months agoDisable new note submit button in click handler
Anton Khorev [Tue, 31 Dec 2024 20:02:47 +0000 (23:02 +0300)]
Disable new note submit button in click handler

11 months agoRename newNote to newNoteMarker
Anton Khorev [Wed, 25 Dec 2024 00:17:51 +0000 (03:17 +0300)]
Rename newNote to newNoteMarker

11 months agoMerge remote-tracking branch 'upstream/pull/5440'
Tom Hughes [Mon, 30 Dec 2024 12:40:11 +0000 (12:40 +0000)]
Merge remote-tracking branch 'upstream/pull/5440'

11 months agoUpdate leaflet-osm to latest upstream version
Tom Hughes [Mon, 30 Dec 2024 12:19:34 +0000 (12:19 +0000)]
Update leaflet-osm to latest upstream version

11 months agoMerge remote-tracking branch 'upstream/pull/5448'
Tom Hughes [Sun, 29 Dec 2024 19:11:13 +0000 (19:11 +0000)]
Merge remote-tracking branch 'upstream/pull/5448'

11 months agoMerge remote-tracking branch 'upstream/pull/5447'
Tom Hughes [Sun, 29 Dec 2024 19:00:23 +0000 (19:00 +0000)]
Merge remote-tracking branch 'upstream/pull/5447'

11 months agoMerge remote-tracking branch 'upstream/pull/5446'
Tom Hughes [Sun, 29 Dec 2024 18:55:54 +0000 (18:55 +0000)]
Merge remote-tracking branch 'upstream/pull/5446'

11 months agoMerge remote-tracking branch 'upstream/pull/5442'
Tom Hughes [Sun, 29 Dec 2024 18:43:29 +0000 (18:43 +0000)]
Merge remote-tracking branch 'upstream/pull/5442'

11 months agoUse resourceful routes for web mailboxes
Anton Khorev [Sun, 29 Dec 2024 05:27:09 +0000 (08:27 +0300)]
Use resourceful routes for web mailboxes

11 months agoReplace resent confirmation link with button
Anton Khorev [Sun, 29 Dec 2024 03:10:07 +0000 (06:10 +0300)]
Replace resent confirmation link with button

11 months agoMove code that runs after user save from save_new_user to create method
Anton Khorev [Sun, 29 Dec 2024 01:43:18 +0000 (04:43 +0300)]
Move code that runs after user save from save_new_user to create method

11 months agoTest signup with confirmation email
Anton Khorev [Sun, 29 Dec 2024 01:09:42 +0000 (04:09 +0300)]
Test signup with confirmation email

11 months agoAdd within_content_body system test helper
Anton Khorev [Sun, 29 Dec 2024 00:25:44 +0000 (03:25 +0300)]
Add within_content_body system test helper

11 months agoWrap diary entry location coordinates
Anton Khorev [Tue, 24 Dec 2024 21:55:36 +0000 (00:55 +0300)]
Wrap diary entry location coordinates

12 months agoAdd revoke all actions to received blocks resource
Anton Khorev [Tue, 24 Dec 2024 04:50:29 +0000 (07:50 +0300)]
Add revoke all actions to received blocks resource

12 months agoCreate received blocks resource
Anton Khorev [Tue, 24 Dec 2024 03:07:59 +0000 (06:07 +0300)]
Create received blocks resource

12 months agoCreate issued blocks resource
Anton Khorev [Mon, 23 Dec 2024 23:51:45 +0000 (02:51 +0300)]
Create issued blocks resource

12 months agoCreate blocks table test helper module
Anton Khorev [Mon, 23 Dec 2024 23:47:19 +0000 (02:47 +0300)]
Create blocks table test helper module

12 months agoDeclare new block path on resources
Anton Khorev [Mon, 23 Dec 2024 21:58:57 +0000 (00:58 +0300)]
Declare new block path on resources

12 months agoTest active nav tabs on blocks_on/by pages
Anton Khorev [Tue, 24 Dec 2024 03:44:00 +0000 (06:44 +0300)]
Test active nav tabs on blocks_on/by pages

12 months agoMerge remote-tracking branch 'upstream/pull/5435'
Tom Hughes [Mon, 23 Dec 2024 10:26:39 +0000 (10:26 +0000)]
Merge remote-tracking branch 'upstream/pull/5435'

12 months agoRemove check_api_readable from api messages controller
Anton Khorev [Mon, 23 Dec 2024 01:10:05 +0000 (04:10 +0300)]
Remove check_api_readable from api messages controller

12 months agoMerge remote-tracking branch 'upstream/pull/5434'
Tom Hughes [Sun, 22 Dec 2024 11:13:17 +0000 (11:13 +0000)]
Merge remote-tracking branch 'upstream/pull/5434'

12 months agoUse resourceful routes for api messages in/outbox
Anton Khorev [Sun, 22 Dec 2024 03:57:39 +0000 (06:57 +0300)]
Use resourceful routes for api messages in/outbox

12 months agoMerge branch 'pull/5428'
Anton Khorev [Fri, 20 Dec 2024 16:06:16 +0000 (19:06 +0300)]
Merge branch 'pull/5428'

12 months agoMerge remote-tracking branch 'upstream/pull/5429'
Tom Hughes [Fri, 20 Dec 2024 15:51:04 +0000 (15:51 +0000)]
Merge remote-tracking branch 'upstream/pull/5429'

12 months agoMerge ApiCapability class into ApiAbility
Anton Khorev [Fri, 20 Dec 2024 14:46:45 +0000 (17:46 +0300)]
Merge ApiCapability class into ApiAbility

12 months agoDon't map multiple paths in a single route
Tom Hughes [Fri, 20 Dec 2024 09:27:48 +0000 (09:27 +0000)]
Don't map multiple paths in a single route

This is deprecated in rails 8.0 and 8.1 will remove it.

12 months agoMerge remote-tracking branch 'upstream/pull/5427'
Tom Hughes [Fri, 20 Dec 2024 13:45:23 +0000 (13:45 +0000)]
Merge remote-tracking branch 'upstream/pull/5427'

12 months agoUpdate stringio
Tom Hughes [Fri, 20 Dec 2024 13:43:30 +0000 (13:43 +0000)]
Update stringio

12 months agoRemove code that added now-unused field_with_errors css class
Anton Khorev [Fri, 20 Dec 2024 13:10:40 +0000 (16:10 +0300)]
Remove code that added now-unused field_with_errors css class

12 months agoUpdate bundle
Tom Hughes [Fri, 20 Dec 2024 08:58:26 +0000 (08:58 +0000)]
Update bundle

12 months agoMerge remote-tracking branch 'upstream/pull/5425'
Tom Hughes [Fri, 20 Dec 2024 08:39:16 +0000 (08:39 +0000)]
Merge remote-tracking branch 'upstream/pull/5425'

12 months agoMerge remote-tracking branch 'upstream/pull/5424'
Tom Hughes [Fri, 20 Dec 2024 08:38:28 +0000 (08:38 +0000)]
Merge remote-tracking branch 'upstream/pull/5424'

12 months agoMerge remote-tracking branch 'upstream/pull/5423'
Tom Hughes [Fri, 20 Dec 2024 08:37:42 +0000 (08:37 +0000)]
Merge remote-tracking branch 'upstream/pull/5423'

12 months agoMerge remote-tracking branch 'upstream/pull/5422'
Tom Hughes [Fri, 20 Dec 2024 08:35:38 +0000 (08:35 +0000)]
Merge remote-tracking branch 'upstream/pull/5422'

12 months agoSimplify calls to user block path helpers
Anton Khorev [Fri, 20 Dec 2024 03:30:21 +0000 (06:30 +0300)]
Simplify calls to user block path helpers

12 months agoSimplify calls to api_message_path helper
Anton Khorev [Fri, 20 Dec 2024 03:11:05 +0000 (06:11 +0300)]
Simplify calls to api_message_path helper

12 months agoMove user preferences routes to api namespace
Anton Khorev [Fri, 20 Dec 2024 03:00:54 +0000 (06:00 +0300)]
Move user preferences routes to api namespace

12 months agoReplace show and index abilities with read ability
Anton Khorev [Fri, 20 Dec 2024 02:21:06 +0000 (05:21 +0300)]
Replace show and index abilities with read ability

12 months agoMerge remote-tracking branch 'upstream/pull/5420'
Tom Hughes [Thu, 19 Dec 2024 16:09:14 +0000 (16:09 +0000)]
Merge remote-tracking branch 'upstream/pull/5420'

12 months agoMerge remote-tracking branch 'upstream/pull/5416'
Tom Hughes [Thu, 19 Dec 2024 16:06:40 +0000 (16:06 +0000)]
Merge remote-tracking branch 'upstream/pull/5416'

12 months agoChange image download warning message to a list
Anton Khorev [Wed, 18 Dec 2024 16:55:45 +0000 (19:55 +0300)]
Change image download warning message to a list

12 months agoAdd 'canDownloadImage' layer option
Anton Khorev [Wed, 18 Dec 2024 16:41:25 +0000 (19:41 +0300)]
Add 'canDownloadImage' layer option

12 months agoTest share textarea not to leak into note text on hiding resolved notes
Anton Khorev [Thu, 19 Dec 2024 14:59:44 +0000 (17:59 +0300)]
Test share textarea not to leak into note text on hiding resolved notes

12 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 19 Dec 2024 12:15:39 +0000 (13:15 +0100)]
Localisation updates from https://translatewiki.net.

12 months agoMerge pull request #5417 from tomhughes/social-share-helper
Andy Allan [Thu, 19 Dec 2024 10:28:13 +0000 (10:28 +0000)]
Merge pull request #5417 from tomhughes/social-share-helper

Refactor social sharing helper

12 months agoMerge remote-tracking branch 'upstream/pull/5419'
Tom Hughes [Thu, 19 Dec 2024 08:42:02 +0000 (08:42 +0000)]
Merge remote-tracking branch 'upstream/pull/5419'

12 months agoMerge remote-tracking branch 'upstream/pull/5418'
Tom Hughes [Thu, 19 Dec 2024 08:22:57 +0000 (08:22 +0000)]
Merge remote-tracking branch 'upstream/pull/5418'

12 months agoImprove testing of social sharing buttons
Tom Hughes [Wed, 18 Dec 2024 17:24:18 +0000 (17:24 +0000)]
Improve testing of social sharing buttons

12 months agoUse safe_join to join social sharing buttons
Tom Hughes [Wed, 18 Dec 2024 17:08:04 +0000 (17:08 +0000)]
Use safe_join to join social sharing buttons

12 months agoDrop unused options from social_share_buttons
Tom Hughes [Wed, 18 Dec 2024 16:57:08 +0000 (16:57 +0000)]
Drop unused options from social_share_buttons

12 months agoDrop unused ability to filter social sharing sites
Tom Hughes [Wed, 18 Dec 2024 16:45:42 +0000 (16:45 +0000)]
Drop unused ability to filter social sharing sites

12 months agoDrop render prefix from social_share_buttons function
Tom Hughes [Wed, 18 Dec 2024 16:42:56 +0000 (16:42 +0000)]
Drop render prefix from social_share_buttons function

12 months agoUse within_sidebar in CreateNoteTest
Anton Khorev [Thu, 19 Dec 2024 02:26:45 +0000 (05:26 +0300)]
Use within_sidebar in CreateNoteTest

12 months agoMove blocked resolve/reactivate tests to ResolveNoteTest
Anton Khorev [Thu, 19 Dec 2024 02:25:23 +0000 (05:25 +0300)]
Move blocked resolve/reactivate tests to ResolveNoteTest

12 months agoGet note text only from textarea within left sidebar
Anton Khorev [Thu, 19 Dec 2024 02:22:54 +0000 (05:22 +0300)]
Get note text only from textarea within left sidebar

12 months agoTest share textarea not to leak into note text on reactivation
Anton Khorev [Thu, 19 Dec 2024 02:14:15 +0000 (05:14 +0300)]
Test share textarea not to leak into note text on reactivation

12 months agoCenter share popup inside the browser window
Anton Khorev [Thu, 19 Dec 2024 01:09:31 +0000 (04:09 +0300)]
Center share popup inside the browser window

12 months agoMerge pull request #5388 from AntonKhorev/map-layer-can-embed
Andy Allan [Wed, 18 Dec 2024 16:03:10 +0000 (16:03 +0000)]
Merge pull request #5388 from AntonKhorev/map-layer-can-embed

Add 'canEmbed' layer option

12 months agoAdd 'canEmbed' layer option
Anton Khorev [Wed, 18 Dec 2024 15:36:44 +0000 (18:36 +0300)]
Add 'canEmbed' layer option

12 months agoAdd map.getMapBaseLayer()
Anton Khorev [Mon, 9 Dec 2024 21:31:59 +0000 (00:31 +0300)]
Add map.getMapBaseLayer()

12 months agoRename return values of getMapBaseLayerId() to layerId
Anton Khorev [Wed, 18 Dec 2024 15:28:18 +0000 (18:28 +0300)]
Rename return values of getMapBaseLayerId() to layerId

12 months agoMerge pull request #5413 from tomhughes/social-share-helper
Andy Allan [Wed, 18 Dec 2024 15:17:25 +0000 (15:17 +0000)]
Merge pull request #5413 from tomhughes/social-share-helper

Convert social share helper library into a real helper

12 months agoConvert social share helper library into a real helper
Tom Hughes [Wed, 18 Dec 2024 15:05:10 +0000 (15:05 +0000)]
Convert social share helper library into a real helper

12 months agoMerge pull request #5411 from tomhughes/bluesky-sharing
Andy Allan [Wed, 18 Dec 2024 15:06:18 +0000 (15:06 +0000)]
Merge pull request #5411 from tomhughes/bluesky-sharing

Add Bluesky to social sharing buttons

12 months agoMerge pull request #5412 from tomhughes/facebook-sharing
Andy Allan [Wed, 18 Dec 2024 15:05:09 +0000 (15:05 +0000)]
Merge pull request #5412 from tomhughes/facebook-sharing

Pass correct URL to Facebook sharing

12 months agoPass correct URL to Facebook sharing
Tom Hughes [Wed, 18 Dec 2024 14:50:49 +0000 (14:50 +0000)]
Pass correct URL to Facebook sharing

12 months agoAdd Bluesky to social sharing buttons
Tom Hughes [Wed, 18 Dec 2024 14:44:29 +0000 (14:44 +0000)]
Add Bluesky to social sharing buttons

12 months agoMerge remote-tracking branch 'upstream/pull/5391'
Tom Hughes [Wed, 18 Dec 2024 14:11:51 +0000 (14:11 +0000)]
Merge remote-tracking branch 'upstream/pull/5391'

12 months agoMerge remote-tracking branch 'upstream/pull/5410'
Tom Hughes [Wed, 18 Dec 2024 13:54:12 +0000 (13:54 +0000)]
Merge remote-tracking branch 'upstream/pull/5410'

12 months agoMerge branch 'pull/4985'
Anton Khorev [Wed, 18 Dec 2024 13:35:01 +0000 (16:35 +0300)]
Merge branch 'pull/4985'

12 months agoAdd social sharing functionality
Emin Kocan [Sat, 13 Jul 2024 19:54:39 +0000 (21:54 +0200)]
Add social sharing functionality

12 months agoMerge remote-tracking branch 'upstream/pull/5408'
Tom Hughes [Tue, 17 Dec 2024 19:12:49 +0000 (19:12 +0000)]
Merge remote-tracking branch 'upstream/pull/5408'

12 months agoMerge remote-tracking branch 'upstream/pull/5401'
Tom Hughes [Tue, 17 Dec 2024 19:10:06 +0000 (19:10 +0000)]
Merge remote-tracking branch 'upstream/pull/5401'

12 months agoMerge remote-tracking branch 'upstream/pull/5405'
Tom Hughes [Tue, 17 Dec 2024 19:08:52 +0000 (19:08 +0000)]
Merge remote-tracking branch 'upstream/pull/5405'

12 months agoMerge remote-tracking branch 'upstream/pull/5398'
Tom Hughes [Tue, 17 Dec 2024 19:08:45 +0000 (19:08 +0000)]
Merge remote-tracking branch 'upstream/pull/5398'

12 months agoUpdate bundle
Tom Hughes [Tue, 17 Dec 2024 19:06:26 +0000 (19:06 +0000)]
Update bundle

12 months agoMove api messages resources to api namespace
Anton Khorev [Tue, 17 Dec 2024 14:14:19 +0000 (17:14 +0300)]
Move api messages resources to api namespace

12 months agoAdd patch/put api message update
Anton Khorev [Tue, 17 Dec 2024 14:09:47 +0000 (17:09 +0300)]
Add patch/put api message update

12 months agoMerge pull request #5406 from AntonKhorev/offline-message-oauth
Andy Allan [Tue, 17 Dec 2024 10:39:47 +0000 (10:39 +0000)]
Merge pull request #5406 from AntonKhorev/offline-message-oauth

Check if db is writable on oauth authorization pages

12 months agoShow 'api offline' message on new note page
Anton Khorev [Tue, 17 Dec 2024 00:34:14 +0000 (03:34 +0300)]
Show 'api offline' message on new note page

12 months agoBump osm-community-index from 5.8.0 to 5.9.0
dependabot[bot] [Mon, 16 Dec 2024 23:19:28 +0000 (23:19 +0000)]
Bump osm-community-index from 5.8.0 to 5.9.0

Bumps [osm-community-index](https://github.com/osmlab/osm-community-index) from 5.8.0 to 5.9.0.
- [Release notes](https://github.com/osmlab/osm-community-index/releases)
- [Changelog](https://github.com/osmlab/osm-community-index/blob/main/CHANGELOG.md)
- [Commits](https://github.com/osmlab/osm-community-index/compare/v5.8.0...v5.9.0)

---
updated-dependencies:
- dependency-name: osm-community-index
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
12 months agoCheck if db is writable on oauth authorization pages
Anton Khorev [Mon, 16 Dec 2024 23:18:56 +0000 (02:18 +0300)]
Check if db is writable on oauth authorization pages

12 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 16 Dec 2024 12:15:08 +0000 (13:15 +0100)]
Localisation updates from https://translatewiki.net.

12 months agoadd lock, information and water classes for nominatim terms
Sarah Hoffmann [Mon, 16 Dec 2024 09:05:42 +0000 (10:05 +0100)]
add lock, information and water classes for nominatim terms

12 months agoBump eslint from 9.16.0 to 9.17.0
dependabot[bot] [Fri, 13 Dec 2024 23:58:41 +0000 (23:58 +0000)]
Bump eslint from 9.16.0 to 9.17.0

Bumps [eslint](https://github.com/eslint/eslint) from 9.16.0 to 9.17.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.16.0...v9.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
12 months agoMerge remote-tracking branch 'upstream/pull/5394'
Tom Hughes [Thu, 12 Dec 2024 18:14:33 +0000 (18:14 +0000)]
Merge remote-tracking branch 'upstream/pull/5394'

12 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 12 Dec 2024 12:16:15 +0000 (13:16 +0100)]
Localisation updates from https://translatewiki.net.

12 months agoMerge remote-tracking branch 'upstream/pull/5387'
Tom Hughes [Wed, 11 Dec 2024 17:09:07 +0000 (17:09 +0000)]
Merge remote-tracking branch 'upstream/pull/5387'

12 months agoMerge pull request #5362 from AntonKhorev/color-mode-preference-map
Andy Allan [Wed, 11 Dec 2024 16:53:15 +0000 (16:53 +0000)]
Merge pull request #5362 from AntonKhorev/color-mode-preference-map

Map color mode preference

12 months agoMerge pull request #5390 from AntonKhorev/trace-resourceful-routes
Andy Allan [Wed, 11 Dec 2024 14:04:19 +0000 (14:04 +0000)]
Merge pull request #5390 from AntonKhorev/trace-resourceful-routes

Resourceful routes for traces API

12 months agoiD: listen to manual hashchanges from iframe parent
Martin Raifer [Wed, 11 Dec 2024 13:59:02 +0000 (14:59 +0100)]
iD: listen to  manual hashchanges from iframe parent

Pan to the new `map` location when the hash change was not not triggered by map interaction from inside iD itself.

This mirrors the behaviour when manually editing the `map` hash parameter on osm.org outside of iD.

This also fixes https://github.com/openstreetmap/iD/issues/10592 (error in js console when iD is opened outside of an iframe by directly navigating to osm.org/id).