Commit graph libervia-backend/frontends/src/primitivus
Author SHA1 Message Date
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
Goffi
97420f39d5 primitivus: keep focus position in contacts list on redraw 2012-09-05 00:19:32 +02:00
Goffi
920fe825cd primitivus: fixed display for selected entity in contacts list + added indentation for status message 2012-09-04 13:36:14 +02:00
Goffi
53df2a7130 primitivus: better focused attributes for roster 2012-09-04 13:34:52 +02:00
Goffi
b068c6a536 primitivus: contacts list improvments:
- icon and color are used to show availability (away, do not disturb, etc)
	- status are shown with meta-s (hidden by default)
2012-09-04 01:15:19 +02:00
Goffi
086fefa779 primitivus: added show and status text attributes + show icons 2012-09-04 01:12:52 +02:00
Goffi
5b81146947 primitivus: moved constants in a separate file 2012-09-03 23:43:15 +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
Emmanuel Gil Peyrot
79d32d0c3e frontend: Fix notify import in Primitivus. 2012-04-14 16:26:55 +02:00
Goffi
21dbb4473a copyleft date update 2012-03-06 09:07:24 +01:00
Goffi
9410e81551 Primitivus: fixed redraw on profile change in profile manager 2011-12-04 00:05:41 +01:00
Goffi
2fdaeb1cac primitivus: chat window is not scrolled anymore when user is watching history and a new message is received 2011-11-11 19:50:24 +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
8ac5759a5f Primitivus: Profile Manager: fixed redraw on profile change + use of AdvandedEdit for login field 2011-11-06 15:19:51 +01:00
Goffi
f5f32a0c9f primitivus: profile manager updated to use new asynchronous profile creation 2011-11-02 22:50:06 +01:00
Goffi
a0e3c43ad4 primitivus: fixed screen redraw after plugin profile 2011-11-01 22:55:58 +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