Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#15694 closed enhancement (fixed)

[PATCH] Remember confirmations of command actions

Reported by: george-hopkins Owned by: team
Priority: normal Milestone: 17.12
Component: Core remotecontrol Version:
Keywords: Cc:


Currently, there is no way to allow command handlers for a certain site/referrer. This limitation forces users to either globally allow most commands for all sites (if an action is used by at least one application) or confirm every command manually.

I often use a local application (which needs open_file) and other web apps (such as Osmose) in parallel. I'm a bit worried about leaving JOSM open to the whole web.

The attached patch allows a user to confirm an action for a particular site until JOSM is closed. I'm not sure whether this is the right approach to the problem. Please feel free to suggest an other implementation.

Attachments (1)

confirmations.patch (3.8 KB) - added by george-hopkins 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by george-hopkins

Attachment: confirmations.patch added

comment:1 Changed 4 years ago by Don-vip

Milestone: 17.12

It seems simple enough, good idea :)

comment:2 Changed 4 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 13241/josm:

fix #15694 - Remember confirmations of command actions (patch by george-hopkins, minor changes)

comment:3 Changed 4 years ago by Don-vip

In 13245/josm:

see #15694 - fix PMD issue

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.