Task #566
Use ID instead of hostname for servers as key in config
Status: | Closed | Start: | 02/20/2011 | |
Priority: | Normal | Due date: | ||
Assigned to: | Mirco 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
[Engine(-XMPP), Frontend-GNOME] Use ServerModel.ServerID instead of Hostname as config key (closes: #553, #566)
History
Updated by Mirco Bauer 4377 days ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset b8f7a9cffd65a33a559c355768ee2f3ca1c65040.
Updated by Mirco Bauer 4377 days ago
- Target version set to 0.8.11