Commit graph libervia-backend/frontends/src/quick_frontend/quick_app.py
Author SHA1 Message Date
souliane
67d15eb488 primitivus: display chat states (with symbols) for MUC participants 2014-03-17 13:24:55 +01:00
souliane
73b374f6fc quick_app: better PEP-8 compliance 2014-03-16 21:25:49 +01:00
Goffi
2ca6efd8cc dates update 2014-02-04 18:32:49 +01:00
Goffi
fc003ecf77 frontends: fixed sendMessage calls, sendMessage is now async so callback and errback need to be specified + redraw in PrimivitusApp.notify 2014-01-03 21:25:07 +01:00
Goffi
5a00dc9503 core: i18n refactoring:
- _() is no more installed in __builtin__
    - instead, there is a new sat.core.i18n module
    - added D_() method for deferred translation
    - languageSwitch method allow to dynamically change translation language
    - import gettext is tested against ImportError, and dummy methods are used when not available (mainly useful for Libervia)
2013-12-29 17:06:01 +01:00
souliane
74fc11535c quick_frontend: fix presence/status update (do not share between different resources) 2013-12-18 09:55:02 +01:00
souliane
4d393d47c0 frontends: set and retrieve your own presence and status 2013-11-25 01:56:07 +01:00
souliane
f5dd3f2265 frontends: define the constants with classes and inheritance instance of using __builtin__ 2013-11-23 10:21:40 +01:00
souliane
b824f9c2ce frontends: presence update in quick app:
- bug fix "s/type/show/g"
- better PEP8 compliance
- all "show" value different then "unavailable" mean (more or less) "online"
2013-11-24 11:22:20 +01:00
Goffi
9d42c269db core: sendMessage's options parameter has been renamed to extra to be consistent with newMessage 2013-11-13 13:58:10 +01:00
souliane
36cea6fc91 tools: renamed tools.jid.JID attribute "short" to "bare" 2013-10-29 16:26:55 +01:00
souliane
cac3cd810f primitivus, wix: auto-display MUC dialog after it has been joined:
- a patch will follow to add a parameter for the user to choose between "always open", "never open" and "ask each time".
2013-10-28 18:29:34 +01:00
souliane
9378880e62 plugin XEP-0085: renamed category and parameter 2013-09-07 19:50:12 +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
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
Thomas Preud'homme
1005013314 quick frontend, jp: fix locales 2013-04-07 22:54:47 +02:00
Goffi
1cd98e8dea fixed licences in docstrings (they are now in comments) 2013-03-08 00:36:22 +01:00
Emmanuel Gil Peyrot
27b3592e16 Remove trailing whitespaces. 2013-01-18 17:55:34 +01:00
Emmanuel Gil Peyrot
6216bf7642 Remove useless trailing semicolons. 2013-01-18 17:53:08 +01:00
Goffi
def79e44cd dates update 2013-01-07 23:30:13 +01:00
Goffi
faac62cfd2 quick frontend: asyncConnect is now used, to be sure that roster is available before continuing profile plugging 2012-12-19 23:22:10 +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
4e1905c238 primitivus: Primitivus is now modal (vi-like behaviour):
- there are currently 3 modes: NORMAL, INSERTION and COMMAND
    - when a chat window is selected, INSERTION mode is set if possible
    - completion is managed according to mode. Currently only INSERTION mode do something
    - first command implementation: :quit
2012-10-21 16:40:19 +02: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
8ad8ca1933 quick frontend, primitivus, wix: MUC private messages management
/!\ not fully finished, backend part is not done yet /!\
    - as resources are discarded to manage chat windows lists, a pretty dirty hack is done to work around this:
      full jid is escaped using a prefix (it becomes invalid and resource is preserved).
    - new quick_utils module, with helper methods. escapePrivate and unescapePrivate implementations
    - MUC private messages are not managed in Wix yet
2012-10-11 00:48:35 +02:00
Goffi
c520325941 frontends, core, plugin XEP-0045: leave implementation + better nick change
- memory: individual entity cache can be deleted
	- plugin XEP-0045: nick change are now detected and userChangedNick signal is sent instead of joined/left
	- plugin XEP-0045: leave implementation
	- frontends: userChangedNick signal management
	- Primitivus: an alert is shown in notification bar in case of error in sendMessage
2012-09-28 00:26:24 +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
27b2eed139 Primitivus: new entities are added to contact list if they send messages + QuickFrontend: names fixes 2012-09-26 00:38:41 +02:00
Goffi
80faa0976c QuickFrontend, Primitivus, Wix: special entities management:
- MUC rooms are special entities
	- Primitivus: special entities are shown at the top of the contacts list above a divider,
	 		      presence updates are temporary ignored for them
2012-09-25 23:10:22 +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
a6f194cbe8 quickapp: fixed typo 2012-06-25 23:58:28 +02:00
Goffi
21dbb4473a copyleft date update 2012-03-06 09:07:24 +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
f1089aa515 Quick frontend: use of asyncGetParamA when pluging profile 2011-11-01 22:52:36 +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
ad29111416 core: plugins refactored according to bridge + updatedValue now use profile 2011-07-06 01:06:18 +02:00
Goffi
796eb4bd6a wix: updated paths to use media_dir 2011-06-18 22:51:33 +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
279f173624 core: contact deletion from roster if we have no subscription to it (behaviour may change in futur)
quick frontend: groups is updated in contactList in case of roster push
2011-05-29 16:12:08 +02:00
Goffi
c618164643 quickapp: fixed contact removing bug 2011-05-28 20:23:41 +02: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
793e6d6c3d bridge: constructor and template improved, documentation added 2011-01-24 17:47:45 +01:00
Goffi
5686c14a64 added "please" in password error message 2011-01-23 12:56:09 +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
57adcfbd92 quick_frontend: fixed bad string type with DBus by converting them to unicode
bug 1
2011-01-13 19:44:58 +01:00
Goffi
02509cdeb1 2011 copyright upgrade 2011-01-05 18:52:38 +01:00