Commit Graph

47 Commits

Author SHA1 Message Date
Yann Leboulanger f1e6e9245e ability to restart adhoc process from every stage 2010-08-10 17:03:29 +02:00
Yann Leboulanger 61b26858d5 check jid-single and jid-multi fields when filling ad-hoc commands. Fixes #5829 2010-08-10 16:08:06 +02:00
Yann Leboulanger 875840d212 use setattr insted of __dict__ 2010-07-22 17:55:52 +02:00
Yann Leboulanger c7abc6872c Add finish button in ad hoc window. Fixes #5811 2010-07-21 20:15:47 +02:00
Yann Leboulanger fc5e91a039 [eMerzh and me] ability to restart a new adhoc command without closing / reopening the window. Fixes #5698 2010-05-12 10:18:52 +02:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Éric Araujo 357d7db07d fixed some whitespace thanks to 2to3 -f ws_comma 2010-02-10 19:24:11 +01:00
Yann Leboulanger 77e4e6e45f fix line width and some pylint errors 2010-02-10 15:29:50 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger 956accf010 Bye bye glade, Hi gtk builder. Fixes #4945 2010-01-22 19:57:59 +01:00
Alexander Cherniuk 0ee0ade03a More doc-string refactoring 2009-11-25 15:52:32 +02:00
Yann Leboulanger a29a00178e prevent traceback when we get malformed data in adhoc process. 2009-06-19 07:23:08 +02:00
Yann Leboulanger 610a747c79 really execute ad hoc command when clicking on Execute command in disco window 2009-06-05 21:26:23 +02:00
Stephan Erb d8a2d8f447 Backport a few XMPPPY upstream changes.
* Use namespace instead of attrs={} for addChild
 * Unplug SASL module on auth failure (we currently disconnect so don't really need it)
2008-12-28 14:53:20 +00:00
Yann Leboulanger e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger 62fe4b1874 fix command requesting XML 2008-09-26 13:03:25 +00:00
Julien Pivotto 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
Yann Leboulanger 3184cb24d0 make ad-hoc cancel warning dialog non-blocking. It was the last blocking dialog ! Fixes #4147 2008-08-11 08:38:35 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Yann Leboulanger ecfde88bac Make some strings translatable in adhoc commands, Warn user when session id changes in the middle of a session. fixes #3432 2008-02-15 10:38:52 +00:00
Stephan Erb 55eed6bda6 Revert r9252 for now. E2E was affected and task is shifted to next releas anyway. See #3694 2008-01-20 23:24:03 +00:00
Stephan Erb 9e74881ed6 Merge xmpp.py 4.1 simplexml.py
See #3694


 * WARNING! Incompartible change! Now newtag=n.T.newtag do not creates new tag
but only returns existing one (if possible). If you need to create tag use
either .NT. method or attribute set (i.e. n.T.newtag=something).

 * Added CDATA extracting method to xml node.

 * added xmlns safety check

 * Fixed node attribute deletion with "del node[attr]" syntax.

 * Ordering fix for when addChild and addData are used on the same node (may increase memory usage, might need to watch for that)

 * Fixes for children node fetching, still not perfect, but much better
2008-01-18 20:55:18 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger cd99628a94 get command list only if server answer with commands namespace. fixes #3460 2007-09-25 10:46:41 +00:00
Yann Leboulanger 4ff34b58e5 ad-hoc commands: update sessionid each time we get a reply in case it has changed 2007-09-07 15:34:36 +00:00
Yann Leboulanger 21a53f70ad [elghinn] code cleanup 2007-06-03 13:57:42 +00:00
Yann Leboulanger 7f3e29f964 [elghinn] typo. fixes #3200 2007-06-03 13:55:46 +00:00
Yann Leboulanger 83a5805c97 [elghinn] ask confirmation when we close the ad hoc window in the middle of a command 2007-06-03 13:54:13 +00:00
Yann Leboulanger 61949ac74d in adhoc commands, use the node name provided by the entity (It can change) 2007-03-19 21:02:35 +00:00
Yann Leboulanger 290154189f prevent other client's bug. fixes #2910 2007-01-22 18:05:59 +00:00
Yann Leboulanger 2f857047d3 check if connection is active before sending something. 2007-01-11 19:58:51 +00:00
Tomasz Melcer dea9879dfa Commands: dataforms sent have type="submit"; commands' window show form title 2007-01-06 19:05:45 +00:00
Nikos Kouremenos 708977f0c0 HIG to adhod glade file; TODO-> FIXME and better header for the corresponding py 2006-12-16 17:44:59 +00:00
Tomasz Melcer 35a7f7bc32 Show general error desc if the stanza doesn't have error code. 2006-11-27 20:28:24 +00:00
Tomasz Melcer 73461bdb21 Cancel and close buttons merged into one. 2006-11-20 22:33:08 +00:00
Tomasz Melcer 755964c3f1 Invoking commands works... at least those from psi 0.11. 2006-11-18 20:10:37 +00:00
Tomasz Melcer f91d9192e5 Initial support for multiple-records dataforms - displaying data. 2006-09-15 08:38:01 +00:00
Tomasz Melcer 5824d3b873 Dataforms widget moved to another file, some ui tweaks. 2006-09-13 16:07:51 +00:00
Tomasz Melcer 3b08d054be Error handling when receiving commands. 2006-08-01 15:45:42 +00:00
Tomasz Melcer db089f103d Jid-multi almost works. 2006-07-12 14:19:58 +00:00
Tomasz Melcer aed92d21b7 Some fixes in common/dataforms, new field types...
Now only jid-multi isn't handled.
2006-07-09 17:55:56 +00:00
Tomasz Melcer c75bdcb63c Ad-Hoc commands window now uses new dataform wrapper. /me dances 2006-07-07 15:49:44 +00:00
Tomasz Melcer ecc0403981 Invoking commands works. It will be a long way to finish it, though...
As long as the responder uses only text-single, list-single and
boolean fields, it is possible to invoke and complete a command.
Other field types are not implemented now in dataforms.py.
2006-06-25 17:03:59 +00:00
Tomasz Melcer ce9cbe6f21 Reporting errors and no-commands-exposed. 2006-06-23 18:13:35 +00:00
Tomasz Melcer 145cdbbf40 Fetching command list from entity now works.
If the entity has at least one command exposed, it will be displayed as
a radio button. Other changes: run python interpreter without optimalizations,
otherwise asserts doesn't work. Names of widgets in the glade file were
changed a bit.
2006-06-23 14:38:54 +00:00
Tomasz Melcer 23fa0bf8e6 First version of commands window.
Added: glade file for commands window, src/adhoc_commands.py with a class
to create/manage the window. For now, progressbar bounces :-).
2006-06-22 22:49:39 +00:00