Changes between Version 46 and Version 56 of Help/Preferences/Connection


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • Help/Preferences/Connection

    v46 v56  
    1 [[TranslatedPages(outdated=Page needs rework and better structure. Screenshot is outdated.)]]
     1[[TranslatedPages(outdated=Page needs rework and better structure. Some screenshots are outdated.)]]
    22
    33= Preferences > OSM Server =
     
    88Connection Settings for the OSM server
    99
    10 == Downloading and uploading to the default server == #ApiUrl
     10== Downloading and uploading to the default server ==#ApiUrl
    1111[[Image(use-default-api-url.png,link=)]]
    1212
     
    4444You are recommended to [osmwww:user/new?referer=%2F create an OSM user account]. By using [osmwww:user/new?referer=%2F this form] you can choose an **OSM username** and an **OSM password** both of which you will use below.
    4545
    46 
    4746=== Basic authentication ===
    4847Basic authentication is the basic mechanism to authenticate yourself at the OSM server.
     
    5049Here's a screenshot of the preferences panel for basic authentication:
    5150
    52 [[Image(basic-authentication.png,link=)]]
     51[[Image(basic-authentication.2.png,link=)]]
    5352
    5453To use Basic Authentication
     
    58571. Enter your OSM username and your OSM password
    5958
    60 === OAuth based authentication ===
    61 [https://oauth.net/ OAuth] is an open protocol to allow secure API authorization  in a simple and standard method from desktop and web applications. The OSM server supports OAuth in addition to basic authentication.
     59=== OAuth 2.0 based authentication ===#oauth2
     60[https://oauth.net/2 OAuth 2.0] is an open protocol to allow secure API authorization in a simple and standard method from desktop and web applications. The OSM server supports OAuth 2.0 in addition to basic authentication.
    6261
    6362OAuth has two major advantages over basic authentication:
     
    65641. Your OSM password has to be transferred encrypted **only once** over the Internet, in contrast to basic authentication where your OSM password is transferred unencrypted as part of every request sent from JOSM to the OSM server.
    6665
    67 Information about the use of OAuth is [wikitr:/Help/Dialog/OAuthAuthorisationWizard here]
     66OAuth 2.0 uses [wikitr:/Help/Preferences/RemoteControl Remote Control] to receive the token from the OAuth server. If Remote Control is disabled in preferences (default setting) it is temporally enabled to receive the token and then disabled again.
     67**Note**: If you have issues authenticating, you can disable remote control in other running instances of JOSM and disable ''then'' re-enable it in the JOSM instance you are trying to authenticate.
    6868
    6969Once initialized the access token is represented with the following options:
    7070
    71 [[Image(oauth-authentication.png,500,link=)]]
     71[[Image(oauth-2-authentication.png,500,link=)]]
    7272
    7373* Deselect the checkbox **Save to preferences** if you don't want to save the Access Token in the JOSM preferences. If you don't save it the Access Token will be lost when you close JOSM. If you later startup JOSM again you will have to retrieve a new Access Token to work with OAuth based authentication again.
    7474* Click on **Test Access Token** to submit a test request with the token to the OSM server. JOSM will analyze whether this token is authorized to access the OSM server.
    75 * Click on **New Access Token** to generate a new Access Token.
    76 * Selecting the checkbox "Display advanced OAuth parameters" to get the [wikitr:/Help/Dialog/OAuthAuthorisationWizard#AdvancedOAuthparameters advanced OAuth parameters] displayed.
     75* Click on **Remove token** to remove the current token. The `Authorise now` button will reappear.
     76* Selecting the checkbox "Display Advanced OAuth Parameters" to get the [wikitr:/Help/Dialog/OAuthAuthorisationWizard#AdvancedOAuthparameters advanced OAuth parameters] displayed.
    7777
    7878
    79 == New OSM account messages ==
    80 At the bottom there are settings for new osm account messages and [wikitr:/Help/Dialog/Notes Notes].
     79== New OSM account messages and max age of closed OSM Notes ==
     80=== New OSM account messages ===
     81JOSM, by default, periodically checks for unread OSM account messages. Unchecking ''**Periodically check for new messages**'' will disable the check (''advanced preference'': `message.notifier.enabled`). Below the checkbox the interval in minutes can be set (''advanced preference'': `message.notifier.interval`). The default value is `5` minutes.
    8182
    82 == Overpass server == #OverpassServer
    83 Configure the Overpass API instance used for downloading OSM data (for instance in [wikitr:/Help/Action/Download#DownloadfromOverpassAPI Download from Overpass API]). See [osmwiki:Overpass_API#Public_Overpass_API_instances for a list of servers].
     83=== Max age of closed OSM Notes ===#OSMNotes
     84The maximum age in days of closed [wikitr:/Help/Dialog/Notes OSM Notes] can be set (''advanced preference'': `osm.notes.daysClosed`). The default value is `7` days. See [wikitr:/Help/Dialog/Notes#AdvancedPreferences Advanced preferences for notes] for details.
     85
     86
     87== Overpass server ==#OverpassServer
     88''**([wikitr:/Help/ExpertMode Expert mode] only)**'' \\
     89Configure the Overpass API instance used for downloading OSM data (for instance in [wikitr:/Help/Action/Download#DownloadfromOverpassAPI Download from Overpass API]) (''advanced preference'': `download.overpass.server`). See [osmwiki:Overpass_API#Public_Overpass_API_instances for a list of servers]. \\
     90With a checked ''**Use Overpass server for object downloads**'' the overpass server is used for all actions which request to download specified objects like [wikitr:/Help/Action/DownloadObject Download Object], [wikitr:/Help/Action/DownloadParentWaysAndRelation Download parent ways/relations …] or downloading (incomplete) members of relations (''advanced preference'': `download.overpass.for-multi-fetch`).
    8491
    8592----