Goffi
3fc2e256f2
core (memory): added __iter__ to PersistentDict
2014-04-07 16:22:33 +02:00
Goffi
e2e1bb50c2
plugin XEP-0115: minor logs improvment
2014-04-07 16:22:18 +02:00
souliane
38eb876e94
tools, frontends (xmlui): add Widget.setInternalCallback:
...
- to add UI callback not communication with the bridge
- a list of predefined actions can be used to copy, move, select values
- extra data can be passed within the 'internal_data' element
TODO: frontend side operation to retrieve the data from node to data structure should be generic
2014-04-03 14:56:16 +02:00
souliane
35d66de820
frontends (xmlui): add setter methods + fixes:
...
- add _xmluiSetValue for all widgets + _xmluiAddValues for ListWidget
- fix popup dialog OK button + _xmluiOnClick for ButtonWidget
2014-04-03 14:49:05 +02:00
souliane
ec579aff81
reverted changeset 5c7707c958d8 (revision 969)
2014-04-03 14:38:48 +02:00
Goffi
87fea26537
jp (info/disco): fixed disco loop when --connect is used
2014-04-02 12:37:32 +02:00
Goffi
0368522356
core (disco): findFeaturesSet and findServiceEntities don't use inlineCallbacks anymore, that allow a better error management (no more anonying debugger raise when discoInfo fails in debug mode)
2014-04-02 12:31:23 +02:00
Goffi
44d8f99b7d
core: better plugin initialisation sequence:
...
- profileConnected are now executed in a deferredList, instead of one after the other
- failure are collected, and a global message show which plugins failed and the failure message
2014-04-02 12:31:23 +02:00
Goffi
ec08d50aba
jp: "disco" subcommand, moved into a new "info" subcommand + added "version" subcommand which get software version
2014-04-02 12:31:15 +02:00
Goffi
647487fc1d
jp: using C.APP_URL for application url
2014-04-02 12:11:07 +02:00
souliane
6608eafb9f
tools, frontends (xmlui): add setter methods for widgets + new widget InternalButton to process UI operations
2014-04-01 21:30:21 +02:00
souliane
608e2ba9fa
tools, frontends, memory: param definition and XMLUI handle multi-selection for list widgets:
...
- we need to update urwid_satext to revision 79
- no more "value" attribute value in the "list" element, use
HTML-style "select" attribute in the "option" elements instead
- /!\ param saving do not handle multiple values yet!
2014-04-01 21:21:13 +02:00
souliane
8fa0b7b8c2
core, frontends (constants): frontends Const inheritates from core Const
2014-04-01 16:27:59 +02:00
Goffi
57d26c8377
jp: added disco subcommand
2014-04-01 21:16:39 +02:00
Goffi
ba2bed39ab
jp: fixed jid unicode decoding
2014-04-01 21:16:02 +02:00
Goffi
a0d69ae187
jp: fixed missing import
2014-04-01 21:15:35 +02:00
Goffi
e95d04b69e
core (disco): added discoInfos and discoItems bridge methods
2014-04-01 21:14:57 +02:00
Goffi
9d24e951d3
plugin XEP-0115: fixed bad disco_infos construction
2014-03-31 20:19:34 +02:00
souliane
b1fbfe3292
memory (disco): bug fix in findFeaturesSet
2014-03-31 17:50:07 +02:00
Goffi
43657dcb15
core (XMPP): typo again
2014-03-31 17:12:09 +02:00
Goffi
3dd3af254d
core (XMPP): fixed typo
2014-03-31 17:10:10 +02:00
Goffi
0fa3105b23
core (XMPP): added warning when a contact ins roster is not subscribed from or to
2014-03-31 17:07:25 +02:00
Goffi
a8d12fb6de
plulgin XEP-0115: fixed caps_optimize init
2014-03-31 16:57:02 +02:00
Goffi
bbb546402f
plugin XEP-0065: fixed initialisation sequence
2014-03-31 16:08:15 +02:00
Goffi
7aa7895208
quick frontends: first connection fixes
2014-03-31 15:22:35 +02:00
Goffi
3f0482e523
plugin account: reverted patch abd3a75d629c
2014-03-31 12:35:59 +02:00
Goffi
e488c674a9
plugin xep-0115: caps optimisation
2014-03-31 12:24:20 +02:00
Goffi
c6884f14d5
plugin XEP-0092: use of checkFeature instead of hasFeature + timeout + message adapted to failure if software version is not available
2014-03-31 12:23:13 +02:00
Goffi
c0105db63c
core (disco): added checkFeature method + fixed hasFeature test
2014-03-31 12:23:13 +02:00
Goffi
d454d9a66e
plugin XEP-0045: profileConnected return the deferred, so muc service presence is checked before the end of initialisation
2014-03-31 12:23:13 +02:00
Goffi
83959c7c96
core: fixed bad closure in connection intialisation sequence (profileConnected in plugins were not called correctly)
2014-03-31 12:23:13 +02:00
Goffi
9f5df82f1e
plugin account: prosody gid is used to spawn prosodyctl process
2014-03-31 12:23:10 +02:00
Goffi
c69c9e95de
core (XMPP): fix status in presence
2014-03-28 19:19:11 +01:00
Goffi
56ed5f13a5
core(memory): fixed last resource
2014-03-28 19:11:00 +01:00
Goffi
5d634df2f7
plugin XEP-0092: feature check before requesting version
2014-03-28 18:19:29 +01:00
Goffi
95678d7967
core, plugin XEP-0115: discovery refactoring:
...
- hashing algorithm of XEP-0115 has been including in core
- our own hash is still calculated by XEP-0115 and can be regenerated with XEP_0115.recalculateHash
- old discovery methods have been removed. Now the following methods are used:
- hasFeature: tell if a feature is available for an entity
- getDiscoInfos: self explaining
- getDiscoItems: self explaining
- findServiceEntities: return all available items of an entity which given (category, type)
- findFeaturesSet: search for a set of features in entity + entity's items
all these methods are asynchronous, and manage cache automatically
- XEP-0115 manage in a better way hashes, and now use a trigger for presence instead of monkey patch
- new FeatureNotFound exception, when we want to do something which is not available
- refactored client initialisation sequence, removed client.initialized Deferred
- added constant APP_URL
- test_plugin_xep_0033.py has been temporarly deactivated, the time to adapt it
- lot of cleaning
2014-03-28 18:07:22 +01:00
Goffi
382d49a628
core (memory): entities cache improvments:
...
- entities cache is no more limited to bare jid
- resources are now automatically updated in bare jid cache
2014-03-28 18:07:17 +01:00
Goffi
2dcca42c19
core: more organisation in constants.py
2014-03-28 18:07:13 +01:00
Goffi
a6897c76e0
core, plugins: host.getClient now raise an exception instead of returning None when no profile is found, plugins have been adapted consequently and a bit cleaned
2014-03-28 18:07:02 +01:00
Goffi
ed9df2984d
misc: precisions about pyjamas in README4PACKAGERS
2014-03-28 18:06:51 +01:00
Goffi
0ff17993f2
wix: fixed onShowProfile
2014-03-27 10:36:20 +01:00
souliane
f6673e0725
plugin account, groupblog: user can erase all their microblogs at once
2014-03-27 02:24:20 +01:00
souliane
13586ac57b
primitivus: do not display the presence/status dialog if the profile is not connected
2014-03-25 17:26:31 +01:00
souliane
fceb06836f
memory: be sure that local_dir exists before creating a new database
2014-03-25 14:57:38 +01:00
souliane
1066fdb4eb
memory: bug fix the current local_dir after sat.conf is auto-updated
2014-03-24 16:43:08 +01:00
souliane
03d4dcf029
plugin account: bug fix profile deletion from the database + unsubscribe the contacts
2014-03-24 16:21:14 +01:00
souliane
10aa504a7a
core: presence stanzas were sent twice
2014-03-24 10:16:07 +01:00
souliane
a8b4e2593f
misc: updated setup.py and README4PACKAGERS
2014-03-23 22:34:24 +01:00
souliane
1002e60f6f
misc: sat stop would not kill all sat instances anymore
2014-03-23 22:44:49 +01:00
souliane
3075585d9d
core, memory: use XDG recommended paths as the defaults for the config and local directories
2014-03-23 22:43:43 +01:00