Commit graph libervia-backend/src/bridge/DBus.py
Author SHA1 Message Date
souliane
2bf3694fd0 core: added the security_limit to setParam
- params with a security greater than security_limit can not be modified
- special value: security_limit < 0 disable the check (all params can be modified)
2013-09-07 02:03:17 +02:00
souliane
9cb7071e89 plugin XEP-0085: Chat State Notifications
- new "options" parameter to send chat states
    - plugin command export: messages without body are now delivered (since all the chat states other than "active" need them)
2013-09-05 20:48:47 +02:00
souliane
7652fd3a15 core: security attribute added to the parameters
- getParams, getParamsUI and getParamsForCategory have a security_limit parameter to filter
- parameters with security = 0 can be retrieved/modified from Libervia
2013-09-05 20:28:44 +02:00
Goffi
8e2f394b5b core, bridge, jp, quick_frontend: SàT stop more gracefully if bridge can't be initialised:
- new BridgeInitError and BridgeExceptionNoService are in core.exceptions
    - D-Bus NotSupported is catched in bridge, and launch a BridgeInitError
    - BridgeInitError stop SàT core, jp, and quick_frontends with an explanation message.
fix bug 27
2013-06-21 02:00:37 +02:00
Goffi
1cd98e8dea fixed licences in docstrings (they are now in comments) 2013-03-08 00:36:22 +01:00
Emmanuel Gil Peyrot
60f648fdf4 Fix pep8 support in src/bridge. 2013-01-18 17:55:35 +01:00
Emmanuel Gil Peyrot
27b3592e16 Remove trailing whitespaces. 2013-01-18 17:55:34 +01:00
Goffi
def79e44cd dates update 2013-01-07 23:30:13 +01:00
Goffi
75bb00a0d4 core, bridge: waiting confirmation management (new getWaitingConf method) 2012-11-14 20:24:28 +01:00
Goffi
fa38394401 core, frontends, bridgen plugins: fixed methods which were unproperly managing multi-profiles
- added profile argument to askConfirmation, actionResult, actionResultExt, entityDataUpdated, confirmationAnswer, getProgress
    - core, frontends: fixed calls/signals according to new bridge API
    - user of proper profile namespace for progression indicators and dialogs
    - memory: getParam* now return bool when param type is bool
    - memory: added getStringParam* to return string instead of typed value
    - core, memory, storage, quick_frontend: getHistory now manage properly multi-profiles
    - plugins XEP-0047, XEP-0054, XEP-0065, XEP-0077, XEP-0096; multi-profiles proper handling
2012-11-10 16:38:16 +01:00
Goffi
65103362a6 core, quick_frontend, primitivus, wixi, bridge: fixed delayed message timestamp:
- new "extra" parameter in newMessage signal
2012-10-20 17:23:56 +02:00
Goffi
fef2b1a620 core, bridge, quick_frontend: MUC private messages history management:
- history now store message type
    - sqlite3 storage: fixed resource management in getHistory
    - bridge: added message type in getHistory return value
    - quick_chats: (ugly) hacks to manage private history filtering/nickname printing
2012-10-17 00:35:48 +02:00
Goffi
0f6de78a3b core, quick frontend, plugin xep-0054, bridge: use of memory's entities data for vcard:
- bridge: new bridge method getEntityData and signal entityDataUpdated
	- core: entityDataUpdated signal sent on new string data
	- quick frontend: fixed avatars/vcard infos, fixed _replace in quick_contact_list
	- plugin xep-0054: dropped updatedValue signal, use entities data instead
2012-09-26 01:23:56 +02:00
Goffi
b44412ec0d core, quick_frontend, primitivus, wix: Contacts List refactoring phase 1:
- QuickContactManagement is not used anymore and will be removed, ContactList + Core are used instead
	- disconnected contacts are now displayed in Primitivus (M-d to show/hide them)
	- avatars are temporary unavailable in wix
	- new bridge method: getContactsFromGroup
2012-09-25 00:58:34 +02:00
Goffi
c5a930b627 Licence modification: the full project is now under AGPL v3+ instead of GPL v3+ 2012-08-01 22:53:02 +02:00
Goffi
357374bcd2 plugin groupblog: subscriptions/notifications 2012-06-25 00:08:16 +02:00
Goffi
bb0f290924 D-Bus bridge: fixed getRoomsSubjects call + fixed dynamic addition of methods + added getLastGroupBlogs method 2012-04-01 19:45:35 +02:00
Goffi
3ed55081f6 D-Bus Bridge: use inspection to name attribute + fix asynchronous calls for dynamically added method, it now use deferred return value instead of callback/errback attributes 2012-03-30 09:23:23 +02:00
Goffi
21dbb4473a copyleft date update 2012-03-06 09:07:24 +01:00
Goffi
53f1b5fcce core: - history management improved
- better timestamp precision for history
bridge + core: history signature change (now return a list instead of a dict, and timestamp is now float)
quick_frontend: - use of new history API
				- removed deprecated keep_last argument in getHistory (was only used by Sortilège)
2011-12-04 16:18:56 +01:00
Goffi
f1966d9692 backend, bridge: asynchronous history
quick_frontend: use of asynchronous history
2011-11-08 01:08:11 +01:00
Goffi
88d0fceb2a bridge: added check that synchronous method does not return a deferred 2011-11-07 22:27:07 +01:00
Goffi
19232e8a6b backend: - bridge async D-Bus method now automatically manage callback and errback, we just have to return a deferred
- getParams, getParamsForCategory and getParamsUI are now asynchronous
primitivus: management of asynchronous getParamsUI
2011-11-07 00:09:22 +01:00
Goffi
407ae30ffb bridge: added generic D-Bus exception management + asyncCreateProfile method 2011-11-02 22:47:59 +01:00
Goffi
554299aa91 core: - individual parameters managed through sqlite
- new asyncGetParamA method, which allow to get parameter for a not connected profile
	  	==> individual parameters are cached in memory when the profile is connected, but must be accessed
		    though sqlite else, and that must be done asynchronously
primitivus:
	  - profile manager updated to use asyncGetParamA

/!\ still broken, need more work before being able to run again
2011-11-01 20:39:22 +01:00
Goffi
5380b684cd core: added getLastResource method 2011-10-06 21:16:03 +02:00
Goffi
6005b00583 frontends, bridge: sendFile method signature change + jid parameters in bridge now use _jid suffix 2011-09-29 12:13:22 +02:00
Goffi
b3322dabae bridge refactoring: categories are now core and plugin instead of communication and request 2011-07-06 01:04:24 +02:00
Goffi
7f1a741caa core: local_dir moved to config file
- ~/.sat.conf added to potential config file location
- removed useless profile param from getConfig
2011-06-18 17:56:59 +02:00
Goffi
1da78d1301 core: configuration file
SàT's main options can now be put in a configuration file which can be in different locations
Bridge: new getConfig option
2011-06-18 16:22:50 +02:00
Goffi
32a4841507 bridge: regenerated DBus bridge 2011-06-06 21:55:59 +02:00
Goffi
de678c626c Bridge: added updateContact method 2011-05-28 20:24:02 +02:00
Goffi
7130c89a7e bridge: async callback managed in bridge_constructor + misc
- the new flag async make the method asynchronous
- new method asyncConnect (connect which return when the user is connected)
- setMicroblogAccess added to DBus frontend
2011-05-26 16:47:09 +02:00
Goffi
138f0b26da core: added email in registerNewAccount 2011-05-25 17:18:05 +02:00
Goffi
3baae43808 DBus bridge: using new generated bridge 2011-02-21 01:35:39 +01:00
Goffi
c3a0773f17 dbus bridge: added doc parameter, unmanaged yet 2011-02-20 17:21:03 +01:00
Goffi
b200e5f8de dbus bridge: fixed introspection for dynamically added methods and signals 2011-02-04 00:13:41 +01:00
Goffi
cf5ee72a52 Bridge: rename connection_error to connectionError for function name consistency 2011-01-25 15:24:31 +01:00
Goffi
adc4ad3321 bridge: core & frontend sides of bridge are now generated 2011-01-24 22:05:04 +01:00
Goffi
3b2fd57724 Bridge constructor:
- moved constructor files in src/bridge/bridge_constructor
- frontend side can now be generated
2011-01-24 21:19:11 +01:00
Goffi
793e6d6c3d bridge: constructor and template improved, documentation added 2011-01-24 17:47:45 +01:00
Goffi
a0a70750c6 Added management of connection error
- core: connection_error signal is sent if it's impossible to connect
- bridge: added connection_error signal
- quick_frontend: an error_message is shown when a connection_error is received
2011-01-22 15:53:56 +01:00
Goffi
59d6090e73 Added SMTP server plugin, for sending messages from classic MUA \o/
- added subject managing in sendMessage
2011-01-18 03:59:59 +01:00
Goffi
02509cdeb1 2011 copyright upgrade 2011-01-05 18:52:38 +01:00
Goffi
0a72186117 files reorganisation 2011-01-04 19:30:27 +01:00
Renamed from src/sat/bridge/DBus.py (Previous history)