]> git.openstreetmap.org Git - rails.git/log
rails.git
8 weeks agoMerge remote-tracking branch 'upstream/pull/5465'
Tom Hughes [Sun, 5 Jan 2025 16:09:32 +0000 (16:09 +0000)]
Merge remote-tracking branch 'upstream/pull/5465'

8 weeks agoUse details attribute to render changeset bounding box
Anton Khorev [Sun, 5 Jan 2025 14:59:47 +0000 (17:59 +0300)]
Use details attribute to render changeset bounding box

Do this instead of using L.OSM.DataLayer. DataLayer makes an extra request just to get the bbox. Also it expects bbox to always exist, which is not true for some changesets.

8 weeks agoWrite details attribute to changeset page
Anton Khorev [Sun, 5 Jan 2025 14:57:31 +0000 (17:57 +0300)]
Write details attribute to changeset page

8 weeks agoMove changeset data to a helper
Anton Khorev [Sun, 5 Jan 2025 14:35:37 +0000 (17:35 +0300)]
Move changeset data to a helper

8 weeks agoRemove 'center' argument of addChangeset()
Anton Khorev [Sun, 5 Jan 2025 14:28:36 +0000 (17:28 +0300)]
Remove 'center' argument of addChangeset()

It is always set to true.

8 weeks agoRemove zoomend listener on history unload
Anton Khorev [Sun, 5 Jan 2025 12:02:25 +0000 (15:02 +0300)]
Remove zoomend listener on history unload

8 weeks agoAllow thirdparty images on failed diary comment saves
Anton Khorev [Sun, 5 Jan 2025 06:55:48 +0000 (09:55 +0300)]
Allow thirdparty images on failed diary comment saves

2 months agoFix options passed by allow_thirdparty_images
Anton Khorev [Sat, 4 Jan 2025 15:47:51 +0000 (18:47 +0300)]
Fix options passed by allow_thirdparty_images

2 months agoShow outbox after sending new message
Anton Khorev [Sat, 4 Jan 2025 15:09:27 +0000 (18:09 +0300)]
Show outbox after sending new message

2 months agoMove redacted version locale strings to old_elements
Anton Khorev [Sat, 4 Jan 2025 14:41:29 +0000 (17:41 +0300)]
Move redacted version locale strings to old_elements

2 months agoMove history_title_html locale string to old_elements
Anton Khorev [Sat, 4 Jan 2025 14:35:05 +0000 (17:35 +0300)]
Move history_title_html locale string to old_elements

2 months agoMove browse history template to old elements directory
Anton Khorev [Sat, 4 Jan 2025 14:22:38 +0000 (17:22 +0300)]
Move browse history template to old elements directory

2 months agoMove element version actions template to old elements directory
Anton Khorev [Sat, 4 Jan 2025 14:11:48 +0000 (17:11 +0300)]
Move element version actions template to old elements directory

2 months agoAdd OldElementsController base class
Anton Khorev [Sat, 4 Jan 2025 14:00:43 +0000 (17:00 +0300)]
Add OldElementsController base class

2 months agoMerge remote-tracking branch 'upstream/pull/5461'
Tom Hughes [Fri, 3 Jan 2025 19:32:42 +0000 (19:32 +0000)]
Merge remote-tracking branch 'upstream/pull/5461'

2 months agoMerge remote-tracking branch 'upstream/pull/5460'
Tom Hughes [Fri, 3 Jan 2025 19:29:28 +0000 (19:29 +0000)]
Merge remote-tracking branch 'upstream/pull/5460'

2 months agoMerge remote-tracking branch 'upstream/pull/5458'
Tom Hughes [Fri, 3 Jan 2025 19:21:29 +0000 (19:21 +0000)]
Merge remote-tracking branch 'upstream/pull/5458'

2 months agoMerge remote-tracking branch 'upstream/pull/5454'
Tom Hughes [Fri, 3 Jan 2025 19:19:52 +0000 (19:19 +0000)]
Merge remote-tracking branch 'upstream/pull/5454'

2 months agoRename Account module to Accounts
Anton Khorev [Fri, 3 Jan 2025 12:40:59 +0000 (15:40 +0300)]
Rename Account module to Accounts

2 months agoConvert Auth.providers into array
Anton Khorev [Fri, 3 Jan 2025 11:09:53 +0000 (14:09 +0300)]
Convert Auth.providers into array

2 months agoUse resourceful routes for user new/create actions
Anton Khorev [Thu, 2 Jan 2025 10:10:24 +0000 (13:10 +0300)]
Use resourceful routes for user new/create actions

2 months agoRemove "expired unread" short block status
Anton Khorev [Thu, 2 Jan 2025 05:44:34 +0000 (08:44 +0300)]
Remove "expired unread" short block status

It was supposed to mean that the block is past its end date but still wasn't read by the user. That turned out to be confusing because although it said "expired", such blocks were active.

2 months agoUse resourceful route for message reply
Anton Khorev [Thu, 2 Jan 2025 08:41:43 +0000 (11:41 +0300)]
Use resourceful route for message reply

2 months agoMerge remote-tracking branch 'upstream/pull/5457'
Tom Hughes [Thu, 2 Jan 2025 18:50:39 +0000 (18:50 +0000)]
Merge remote-tracking branch 'upstream/pull/5457'

2 months agoMerge remote-tracking branch 'upstream/pull/5456'
Tom Hughes [Thu, 2 Jan 2025 18:49:04 +0000 (18:49 +0000)]
Merge remote-tracking branch 'upstream/pull/5456'

2 months agoMerge remote-tracking branch 'upstream/pull/5455'
Tom Hughes [Thu, 2 Jan 2025 18:44:56 +0000 (18:44 +0000)]
Merge remote-tracking branch 'upstream/pull/5455'

2 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 2 Jan 2025 12:15:49 +0000 (13:15 +0100)]
Localisation updates from https://translatewiki.net.

2 months agoUse resourceful route for new message
Anton Khorev [Thu, 2 Jan 2025 07:28:03 +0000 (10:28 +0300)]
Use resourceful route for new message

2 months agoRemove test_logout_removes_session_token
Anton Khorev [Thu, 2 Jan 2025 07:00:21 +0000 (10:00 +0300)]
Remove test_logout_removes_session_token

2 months agoRemove commit parameter from diary controller test
Anton Khorev [Thu, 2 Jan 2025 06:15:24 +0000 (09:15 +0300)]
Remove commit parameter from diary controller test

2 months agoMerge remote-tracking branch 'upstream/pull/5451'
Tom Hughes [Wed, 1 Jan 2025 13:34:16 +0000 (13:34 +0000)]
Merge remote-tracking branch 'upstream/pull/5451'

2 months agoMerge remote-tracking branch 'upstream/pull/5443'
Tom Hughes [Wed, 1 Jan 2025 11:37:53 +0000 (11:37 +0000)]
Merge remote-tracking branch 'upstream/pull/5443'

2 months agoMove new note marker to click location
Anton Khorev [Wed, 25 Dec 2024 22:57:27 +0000 (01:57 +0300)]
Move new note marker to click location

If not done, it's possible to lose the marker when starting from low zooms.

2 months agoDecrease new note marker opacity when zoomed out
Anton Khorev [Wed, 25 Dec 2024 22:11:39 +0000 (01:11 +0300)]
Decrease new note marker opacity when zoomed out

2 months agoLet page.load proceed when zoomed out, disabling submit
Anton Khorev [Wed, 25 Dec 2024 21:43:40 +0000 (00:43 +0300)]
Let page.load proceed when zoomed out, disabling submit

Note that addNoteButton.hasClass("active") check in page.load is useless because page.unload removes this class.

2 months agoRemove active class from addNoteButton only in page.unload()
Anton Khorev [Wed, 25 Dec 2024 02:08:44 +0000 (05:08 +0300)]
Remove active class from addNoteButton only in page.unload()

Same reasons as in the previous commit.

2 months agoCall removeNewNoteMarker() only from page.unload()
Anton Khorev [Wed, 25 Dec 2024 02:04:43 +0000 (05:04 +0300)]
Call removeNewNoteMarker() only from page.unload()

It was also called from noteCreated() but that triggered page.unload() via OSM.router.route().

2 months agoAdd addNewNoteMarker() and removeNewNoteMarker() functions
Anton Khorev [Wed, 25 Dec 2024 01:56:59 +0000 (04:56 +0300)]
Add addNewNoteMarker() and removeNewNoteMarker() functions

This ensures that marker is always added/removed together with its halo.

2 months agoConvert newHalo() to addHalo() and removeHalo()
Anton Khorev [Wed, 25 Dec 2024 01:38:23 +0000 (04:38 +0300)]
Convert newHalo() to addHalo() and removeHalo()

newHalo() wasn't always creating new halos. It had an event type argument that was checked against drag event. Depending on this check, newHalo() could remove the halo.

2 months agoMove new note page.pushstate/popstate next to page.load
Anton Khorev [Wed, 25 Dec 2024 01:19:19 +0000 (04:19 +0300)]
Move new note page.pushstate/popstate next to page.load

2 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.

2 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.

2 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.

2 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()

2 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

2 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()

2 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()

2 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

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

2 months agoUpdate bundle
Tom Hughes [Tue, 31 Dec 2024 17:12:12 +0000 (17:12 +0000)]
Update bundle

2 months agoBump leaflet.locatecontrol from 0.82.0 to 0.83.0
dependabot[bot] [Mon, 30 Dec 2024 23:11:07 +0000 (23:11 +0000)]
Bump leaflet.locatecontrol from 0.82.0 to 0.83.0

Bumps [leaflet.locatecontrol](https://github.com/domoritz/leaflet-locatecontrol) from 0.82.0 to 0.83.0.
- [Changelog](https://github.com/domoritz/leaflet-locatecontrol/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/domoritz/leaflet-locatecontrol/compare/v0.82.0...v0.83.0)

---
updated-dependencies:
- dependency-name: leaflet.locatecontrol
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 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'

2 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

2 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'

2 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'

2 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'

2 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'

2 months agoMake preferences page editable without clicking 'Edit Preferences'
Anton Khorev [Sun, 29 Dec 2024 17:08:17 +0000 (20:08 +0300)]
Make preferences page editable without clicking 'Edit Preferences'

2 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

2 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

2 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

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

2 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

2 months agoTest api user traces failing without necessary scope
Anton Khorev [Sat, 21 Dec 2024 02:19:12 +0000 (05:19 +0300)]
Test api user traces failing without necessary scope

2 months agoCreate user traces resource in api namespace
Anton Khorev [Sat, 21 Dec 2024 02:11:13 +0000 (05:11 +0300)]
Create user traces resource in api namespace

2 months agoMove user details route to api namespace
Anton Khorev [Fri, 27 Dec 2024 02:34:19 +0000 (05:34 +0300)]
Move user details route to api namespace

2 months agoMove user show route to api namespace
Anton Khorev [Fri, 20 Dec 2024 23:28:06 +0000 (02:28 +0300)]
Move user show route to api namespace

2 months agoMove users index route to api namespace
Anton Khorev [Fri, 20 Dec 2024 23:24:17 +0000 (02:24 +0300)]
Move users index route to api namespace

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

2 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

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

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

2 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

2 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

2 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

2 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'

2 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

2 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'

2 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

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

2 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'

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

2 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.

2 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'

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

2 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

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

2 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'

2 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'

2 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'

2 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'

2 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

2 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

2 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

2 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

2 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'

2 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'

2 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

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

2 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