Commit graph libervia-backend/frontends/src/primitivus
Author SHA1 Message Date
souliane
f3abbcb467 primivitus: do not notify when an empty message is received 2013-11-25 12:36:49 +01:00
souliane
3dc0d6ac39 primitivus: save the input history when "esc" is pressed 2013-11-25 12:29:14 +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
d7d411d6ef frontends tools: moved src/tools/frontends to frontends/src/tools 2013-11-21 18:57:10 +01:00
souliane
36cea6fc91 tools: renamed tools.jid.JID attribute "short" to "bare" 2013-10-29 16:26:55 +01:00
souliane
a154d9acbb primitivus card_game: bug fix and improvement
- changeset 56f8a9c99194 introduced a bug because it connected all the list widgets to the parameter change callback. This is not OK because the Tarot is using a list form that is not a parameter.
- some list processing was raising an error when the data is not initialized
- display the "choose contrat" dialog with valign='top' to allow the user see his hand while taking the decision.
2013-10-28 19:04:49 +01:00
souliane
bc2d308c3e plugin card_game: better PEP-8 compliance 2013-10-28 18:49:01 +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
ba4c9158ea tools: moved src/tools/games.py to src/tools/frontends/ 2013-10-18 11:58:42 +02:00
souliane
2df401dc44 primitivus, wix: fixed bridge methods calls for plugins radiocol and card game 2013-10-22 16:24:11 +02:00
souliane
23d8b52f5b wix, misc: use picture of dimension 32x32 for tray icon + better PEP-8 compliance 2013-10-22 09:41:27 +02:00
souliane
ed7fd60e98 primitivus: code factorization for user notification 2013-10-21 15:52:28 +02:00
Goffi
a96a957bfb moved sat.tools.frontend to sat.tools.frontends 2013-11-08 16:35:51 +01:00
souliane
7b4fa64df8 frontend, primitivus: added input history (mode-wise) 2013-11-07 16:58:20 +01:00
Goffi
a96bbad148 primitivus: fixed crash on private messages 2013-10-15 23:10:31 +02:00
souliane
010e305d53 core, primitivus: better support for parameter of type list 2013-10-02 17:38:29 +02:00
Goffi
e3286d5554 primitivus: disconnected contact crash fix
fix IndexError when selecting a contact and hiding disconnected ones
fix bug 47
2013-09-22 01:49: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
f9bd9dd9b2 misc: a few "cosmetic" changes (PEP 8...) 2013-09-05 20:57:00 +02:00
souliane
41375e7bde primitivus: chat state implementation
for now chat states are displayed in primitivus surrended text (after the contact's name)
2013-09-08 19:13:02 +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
f265c51b49 primitivus: menu to search directory (using XEP-0055) 2013-09-08 18:05:19 +02:00
Goffi
7f612cb9e1 primitivus: really basic implementation of advanced list.
Advanced list are here to allow complex lists, with columns, ordering, customization à la amarok 2. This implementation is just a first draft which show the text version of items in a List.
2013-09-08 18:05:19 +02:00
Goffi
fc74cc35d0 Primitivus: fixed xmlui/chat bad contents change 2013-03-10 20:54:45 +01:00
Goffi
1cd98e8dea fixed licences in docstrings (they are now in comments) 2013-03-08 00:36:22 +01:00
Goffi
0f8ebb4c8a Primitivus: fixed contacts list (un)hidding
fix bug 17
2013-02-24 15:29:31 +01:00
Goffi
05c53bf2d6 primitivus: fixed urwid issues with recent urwid versions
fix bug 18
2013-02-24 13:57:37 +01:00
Goffi
3be801d4ee core: fixed sendMessage 2013-02-23 12:25:34 +01:00
Emmanuel Gil Peyrot
88074cd284 Remove every old-style class. 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
d66412cb72 primitivus, wix: fixed bad defaults values for XMLUI class 2012-12-09 23:25:51 +01:00
Goffi
ced79bca8d primitivus: fixed actionResult call (fix gateways management) 2012-11-14 21:31:38 +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
9351b96cdb primitivus: fixed info messages timestamp 2012-10-28 17:59:24 +01:00
Goffi
58c9328742 primitivus: fixed edit bar's captions encoding (could cause crashes) 2012-10-28 17:58:47 +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
7b62c7eef1 primitivus: fixed double messages discarding 2012-10-21 13:23:21 +02:00
Goffi
7c6c829ea5 primitivus: better chat text insertion in chat window 2012-10-21 12:55:47 +02:00
Goffi
031bd3134f primitivus: fixed messages order in chat window 2012-10-21 12:03:29 +02:00
Goffi
920931ce8b Primitivus: avoid double messages in case of backlog/history conflict 2012-10-20 17:24:30 +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
d5fac19b9e Primitivus: present contacts in groups chat can now be clicked
- updated GenericList/List signals to manage change/click fix in urwid-satext
    - a click on a nick in a group chat create a private conversation with her, and select this conversation
    /!\ history in backend doesn't manage correctly yet the private conversations /!\
2012-10-16 01:22:40 +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
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