Commit graph libervia-backend/frontends/src/bridge
Author SHA1 Message Date
souliane
6f58566118 bridge, memory: added the parameter security_limit to asyncGetParamA so it can be used from libervia. refactorization in memory.py are related to that. 2013-10-02 20:25:19 +02:00
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
d3f91b62e9 bridge: generic plugin methods handling for frontend side in D-Bus Bridge \o/ 2013-01-07 01:01:10 +01:00
Goffi
181d08f2e4 core, plugin XEP-0054: avatar upload:
- plugin XEP-0054: new setAvatar bridge method
    - new "presence_available" trigger
    - new DataError
2012-12-28 01:00:31 +01:00
Goffi
297b439369 frontends: incoming files transfer management:
- quick app: getWaitingConf is used on profile connexion
    - primitivus: askConfirmation is now managed, use new 'dir' style of FileDialog
2012-11-14 20:37:15 +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
20815b3ec5 bridge: fixed D-Bus warning in frontend side of bridge 2012-11-01 19:52:59 +01: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
fc5f9fde20 bridge: updated D-Bus frontend 2012-08-17 03:14:20 +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
52b00f6d6f core: exceptions moved to core
plugin group blog: group blog now manage public microblogs
2012-04-04 00:06:44 +02:00
Goffi
723b468fcc plugin groupblog, D-Bus frontend: added getLastGroupBlogs and getMassiveLastGroupBlogs 2012-04-01 19:48:31 +02:00
Goffi
21dbb4473a copyleft date update 2012-03-06 09:07:24 +01:00
Goffi
d2235e1a63 plugin RadioCol: basic functionnality working approximately 2012-01-23 00:14:33 +01:00
Goffi
1d9e3b4fb2 plugins: radio collective first draft 2012-01-05 00:21:30 +01:00
Goffi
d1f74ae9e4 bridge: removed default profile_key in dbus_frontend_template to avoid difficult to find bugs 2011-12-12 22:24:50 +01:00
Goffi
a88559442a plugin XEP-0054: cache now use storage
bridge: getCardCache updated to manage profile
2011-11-20 15:56:51 +01:00
Goffi
f1966d9692 backend, bridge: asynchronous history
quick_frontend: use of asynchronous history
2011-11-08 01:08:11 +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
f5f32a0c9f primitivus: profile manager updated to use new asynchronous profile creation 2011-11-02 22:50:06 +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
b7b7c60e33 MUC update to follow wokkel's MUC branch update
- bridge methods have been updated (API change)
- plugin XEP-0045 has been updated
2011-10-08 18:43:17 +02:00
Goffi
2531f966f6 jp roster name manegement + Pipe transfer
- added experimental pipe transfer protocol (based on xep-0096)
- jp now manage roster name to jid conversion (if an argument correspond to a roster name, it replace it with the corresponding jid)
- jp now add last known resource of when a resource is needed but we have a bare jid (e.g. for file or pipe transfer)
2011-10-07 00:25:15 +02: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
ad29111416 core: plugins refactored according to bridge + updatedValue now use profile 2011-07-06 01:06:18 +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
bb255b7a3d Quiz game: buzzer, timer, answer management 2011-06-12 22:34:15 +02:00
Goffi
fb41ecbbf5 Quizz game: first draft 2011-06-12 16:28:33 +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
af4545070b plugin Tarot: added a launch method to automatically create a new room, invite players and create the game
- xep-0249 (direct MUC invitation) is used with a custom attribute to invite other users
- bridge: added tarotGameLaunch in frontend side
2011-05-06 15:42:26 +02:00
Goffi
25b9a1d32f bridge: removed debug info in generated frontend bridge 2011-05-02 16:44:11 +02:00
Goffi
0450772d2e Group blog first draft
- blog can now be sent, node are automatically created
2011-04-07 22:23:48 +02:00
Goffi
9361e8fdcc microblog sending
- Bridge: added sendPersonalEvent to DBus frontend
- plugin XEP_0277: * fixed unicode issue
				   * node options are now changed instead of node being deleted/recreated for setMicroblogAccess
- xml_tools: fixed unicode issue
2011-03-26 17:51:19 +01:00
Goffi
7f918c4c52 plugin XEP_0277: microblog access model can now be changed
plugin XEP_0060: added some method to manage pubsub nodes
2011-03-24 21:15:26 +01:00
Goffi
894e276dec bridge, bridge constructor: fixed mix stuff 2011-01-30 22:54:58 +01:00
Goffi
adc4ad3321 bridge: core & frontend sides of bridge are now generated 2011-01-24 22:05:04 +01:00