Modify

Opened 5 months ago

Closed 5 months ago

Last modified 5 months 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:

Description

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.

Background:
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.

Patch:
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 5 months ago.

Download all attachments as: .zip

Change History (4)

Changed 5 months ago by george-hopkins

Attachment: confirmations.patch added

comment:1 Changed 5 months ago by Don-vip

Milestone: 17.12

It seems simple enough, good idea :)

comment:2 Changed 5 months 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 5 months ago by Don-vip

In 13245/josm:

see #15694 - fix PMD issue

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.