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