summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
authorPavel Vomacka <pvomacka@redhat.com>2016-07-28 15:29:23 +0200
committerPetr Vobornik <pvoborni@redhat.com>2017-01-05 19:13:37 +0100
commit5a950aeb29963ed22a2c3c1b80723589ac4097de (patch)
treef085153f63bf433017c75bf9e8eb6d72d2cd552a /ipapython
parent18425dbbe7b7c311cf947074d505225b235df769 (diff)
downloadfreeipa-5a950aeb29963ed22a2c3c1b80723589ac4097de.tar.gz
freeipa-5a950aeb29963ed22a2c3c1b80723589ac4097de.tar.xz
freeipa-5a950aeb29963ed22a2c3c1b80723589ac4097de.zip
Refactoring of rpc module
The rpc module is now separated from display layer. There are two new global topics: - 'rpc-start' for showing the widget which indicates execution of rpc calls - 'rpc-end' for hiding the widget which indicates execution of rpc calls. These two global topics replace the original methods IPA.display_activity_icon() and IPA.hide_activity_icon(). There is also new property of a command (notify_globally), which allows to turn off the widget which indicates network activity. Instead of classic activity indicator there can be called custom function at the beginning and at the end of network activity. There are also changes in internal communication in rpc.js module. There are four new events, two for calling on_success and on_error methods and two for calling custom functions at the beginning and at the end of network activity. https://fedorahosted.org/freeipa/ticket/6144 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipapython')
0 files changed, 0 insertions, 0 deletions