Task #566

avatar

Use ID instead of hostname for servers as key in config

Added by Mirco Bauer 5058 days ago. Updated 4380 days ago.

Status:Closed Start:02/20/2011
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Engine
Target version:0.8.11
Complexity:

Medium

Votes: 0

Description

The config is using the hostname as key for servers. This means each server can only be saved once and also doesn't preserve a custom order.
If the key would be an ID then multiple servers with the same name but different ports could be added and the server order could be specified. Important is the upgrade path, on start it has to check if the keys are not numbers and replace them with numbers.


Related issues

blocks Smuxi - Bug #553 can’t add second server with same hostname Closed 12/13/2010
blocks Smuxi - Feature #565 Reorder server list New

Associated revisions

Revision b8f7a9cffd65a33a559c355768ee2f3ca1c65040
Added by Mirco Bauer 4380 days ago

[Engine(-XMPP), Frontend-GNOME] Use ServerModel.ServerID instead of Hostname as config key (closes: #553, #566)

History

Updated by Mirco Bauer 4380 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Updated by Mirco Bauer 4380 days ago

avatar
  • Target version set to 0.8.11

Also available in: Atom PDF