[Freeipa-devel] [freeipa PR#327][comment] WebUI: RPC refactoring

2017-01-05 Thread pvoborni
  URL: https://github.com/freeipa/freeipa/pull/327
Title: #327: WebUI: RPC refactoring

pvoborni commented:
"""
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/5a950aeb29963ed22a2c3c1b80723589ac4097de
https://fedorahosted.org/freeipa/changeset/be7865bf4f9b6774a17f31380e96b76d0473f982
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/327#issuecomment-270715304
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#327][comment] WebUI: RPC refactoring

2017-01-05 Thread pvoborni
  URL: https://github.com/freeipa/freeipa/pull/327
Title: #327: WebUI: RPC refactoring

pvoborni commented:
"""
works for me, the travis failure is invalid̈́ - web ui is not related to the 
tests and pylint passes
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/327#issuecomment-270714291
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#327][comment] WebUI: RPC refactoring

2016-12-12 Thread pvomacka
  URL: https://github.com/freeipa/freeipa/pull/327
Title: #327: WebUI: RPC refactoring

pvomacka commented:
"""
Patch 84: Yes, that is really good idea, but as you said - we don't have 
usecase for it right now. But I created a ticket to not forget about it. 
https://fedorahosted.org/freeipa/ticket/6553

Patch 101: I changed the name of event to 'set-activity-event', now it accepts 
one parameter which is new text of activity widget. But it can be extended in 
the future to accept more parameters and set more attributes. 

I think that creating new method "that.set_text" or something similar can lead 
to calling that method instead of using topics (events). That's the reason why 
I left the setting of text in anonymous function (event listener). 
"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/327#issuecomment-266419398
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

[Freeipa-devel] [freeipa PR#327][comment] WebUI: RPC refactoring

2016-12-12 Thread pvomacka
  URL: https://github.com/freeipa/freeipa/pull/327
Title: #327: WebUI: RPC refactoring

pvomacka commented:
"""
The last comment from pvoborni: 
"patch 84:

Looks good, works fine, it just needed rebase(I could provide that).

Idea, but that doesn't have to be implemented, or sometime in future,
right now it is not useful: What about providing the rpc object in the
event, and having unique id for each rpc call so that we could track all
rpc which are executed.


patch 101:

1. It's event name but the property name looks like that it contains a text:
   that.change_text = 'change-activity-text';

Should it be rather: that.change_text_event.

Or even, why does it compare previous text? Does it matter? Wouldn't be
better to have 'set-activity' event. And then the handler would call
something new set_text method:

set_text(new_activity)
  that.dots = 0
  that.text = new_activity
  that.make_step()


-- 
Petr Vobornik"

"""

See the full comment at 
https://github.com/freeipa/freeipa/pull/327#issuecomment-266417734
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code