Modify

Opened 4 years ago

Last modified 4 years 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 by stoecker, 4 years ago

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

comment:2 by stoecker, 4 years ago

Description: modified (diff)

comment:3 by simon04, 4 years ago

Keywords: network offline added

in reply to:  description comment:4 by simon04, 4 years ago

Replying to stoecker:

  • cache-refreshs

Relates to #18162

comment:5 by Don-vip, 4 years ago

Milestone: 20.03

comment:6 by simon04, 4 years ago

In 16426/josm:

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

Deprecates OnlineResource.checkOfflineAccess(String, String)

comment:7 by simon04, 4 years ago

In 16427/josm:

see #18712 - Add OfflineAccessException.forResource(String)

comment:8 by simon04, 4 years ago

In 16428/josm:

see #18712 - CachedFile: report offline mode

comment:9 by simon04, 4 years ago

In 16429/josm:

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

comment:10 by simon04, 4 years ago

In 16430/josm:

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

This includes imagery index, custom styles, presets.

in reply to:  description comment:11 by simon04, 4 years ago

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. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to stoecker.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.