Mercurial > libervia-backend
comparison src/core/sat_main.py @ 2146:1bb9bf1b4150
core, frontends: getProfilesList renamed to profilesGetList + behaviour change:
- profilesGetList now handles clients and components boolean arguments, to filter profiles
- jp: added --clients and --components options to profile/list
- profilesGetList now returns sorted profiles
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Feb 2017 19:08:52 +0100 |
parents | 1d3f73e065e1 |
children | bca699faf416 |
comparison
equal
deleted
inserted
replaced
2145:33c8c4973743 | 2146:1bb9bf1b4150 |
---|---|
74 sys.exit(1) | 74 sys.exit(1) |
75 self.bridge.register_method("getReady", lambda: self.initialised) | 75 self.bridge.register_method("getReady", lambda: self.initialised) |
76 self.bridge.register_method("getVersion", lambda: self.full_version) | 76 self.bridge.register_method("getVersion", lambda: self.full_version) |
77 self.bridge.register_method("getFeatures", self.getFeatures) | 77 self.bridge.register_method("getFeatures", self.getFeatures) |
78 self.bridge.register_method("getProfileName", self.memory.getProfileName) | 78 self.bridge.register_method("getProfileName", self.memory.getProfileName) |
79 self.bridge.register_method("getProfilesList", self.memory.getProfilesList) | 79 self.bridge.register_method("profilesListGet", self.memory.getProfilesList) |
80 self.bridge.register_method("getEntityData", lambda jid_, keys, profile: self.memory.getEntityData(jid.JID(jid_), keys, profile)) | 80 self.bridge.register_method("getEntityData", lambda jid_, keys, profile: self.memory.getEntityData(jid.JID(jid_), keys, profile)) |
81 self.bridge.register_method("getEntitiesData", self.memory._getEntitiesData) | 81 self.bridge.register_method("getEntitiesData", self.memory._getEntitiesData) |
82 self.bridge.register_method("profileCreate", self.memory.createProfile) | 82 self.bridge.register_method("profileCreate", self.memory.createProfile) |
83 self.bridge.register_method("asyncDeleteProfile", self.memory.asyncDeleteProfile) | 83 self.bridge.register_method("asyncDeleteProfile", self.memory.asyncDeleteProfile) |
84 self.bridge.register_method("profileStartSession", self.memory.startSession) | 84 self.bridge.register_method("profileStartSession", self.memory.startSession) |