Modify

Opened 8 months ago

Last modified 5 months ago

#18712 new enhancement

Extend offline mode to disallow downloads to third party sites

Reported by: stoecker Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: network offline Cc:

Description (last modified by stoecker)

Currently offline mode allows to prevent OSM wiki and JOSM server access

It should allow as well at least these

  • third party ressources
  • remote links from inside the software (taginfo, wikipedia, ...)
  • map images
  • cache-refreshs

Attachments (0)

Change History (11)

comment:1 Changed 8 months ago by stoecker

Summary: Extend offline mode to allow downloads to third party sitesExtend offline mode to disallow downloads to third party sites

comment:2 Changed 8 months ago by stoecker

Description: modified (diff)

comment:3 Changed 8 months ago by simon04

Keywords: network offline added

comment:4 in reply to:  description Changed 8 months ago by simon04

Replying to stoecker:

  • cache-refreshs

Relates to #18162

comment:5 Changed 8 months ago by Don-vip

Milestone: 20.03

comment:6 Changed 5 months ago by simon04

In 16426/josm:

see #18712 - Add NetworkManager.isOffline(String) to test offline status of given URL

Deprecates OnlineResource.checkOfflineAccess(String, String)

comment:7 Changed 5 months ago by simon04

In 16427/josm:

see #18712 - Add OfflineAccessException.forResource(String)

comment:8 Changed 5 months ago by simon04

In 16428/josm:

see #18712 - CachedFile: report offline mode

comment:9 Changed 5 months ago by simon04

In 16429/josm:

see #18712 - MainApplication: report localized resource names for offline mode

comment:10 Changed 5 months ago by simon04

In 16430/josm:

fix #18162, see #18712 - Add --offline=CACHE_UPDATES to disable updates of CachedFiles

This includes imagery index, custom styles, presets.

comment:11 in reply to:  description Changed 5 months ago by simon04

Replying to stoecker:

  • third party ressources
  • remote links from inside the software (taginfo, wikipedia, ...)
  • map images

For those resources I have troubles imagining a good use-case (speaking of JOSM core). We do not fetch third party resources, call the Taginfo API, fetch from Wikipedia at all (only open browser windows). The display of map images always requires a receding user action (maybe unless opening a OSM session file).

Perhaps are you imagining more like a permission granting system? – "Do you authorize JOSM fetching stuff from www.example.com?" or "Do you authorize JOSM connecting to www.example.com?"

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to stoecker
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.