souliane
54e9afe5a3
quick_frontend, primitivus: display the number of alerts for each contact and not only a symbol (*)
2015-11-24 13:31:28 +01:00
Goffi
ba295f1429
quick_frontend: getFeatures is called on profile plug, and saved in host.features
2015-11-23 23:30:41 +01:00
Goffi
4ffbce51c3
primitivus: fixed progress panel
2015-11-20 01:57:18 +01:00
Goffi
51a5b7c56f
quick frontend: added progressIdHandler to managed progress id on action result + ignore meta_* action results
2015-11-20 01:57:16 +01:00
Goffi
fbbb081425
backend, bridge, frontends: actionNew has now a security_limit argument + added some docstring to explain data argument
2015-11-14 19:21:56 +01:00
Goffi
73139e59ba
Primitivus: better popups handling:
...
- widget to remove can now be specified in removePopUp: if it is not the current one, it will be removed from queue
- Primitivus.Alert method is a shortcut to display an Alert which will be removed on "OK" press
- showDialog is now obsolete and removed, if generic dialog creation is needed, XMLUI can be used
2015-11-11 18:32:59 +01:00
souliane
3da283a698
plugin XEP-0277, quick_frontend: rename mbGetLast to mbGet and add it the parameter "item_ids"
2015-09-10 07:39:09 +02:00
Goffi
dd8462f07a
frontends: callback are now always used in QuickApp launchAction (before it was only used if validated is present):
...
- actionManager is used by default (no callback provided)
- in XMLUI, the dialog is closed before calling actionManager
- if keys are not managed in resuling data, an exceptions is raised
2015-08-25 14:41:42 +02:00
Goffi
621221c16e
QuickFrontend: removed old watched stuff as a new plugin now manages it properly
2015-08-20 18:44:39 +02:00
Goffi
3312c3bf97
quick_frontend, primitivus: handling of actionNew signal
2015-08-18 09:01:18 +02:00
Goffi
b747c1b733
quick_frontend (constants, quick_app, quick_contact_list): blogging refactoring (not finished):
...
- adaptation to backend modifications
- moved common blogging parts from Libervia to quick frontend
- QuickApp use a MB_HANDLE class variable to indicated if blogging is managed by the frontend (and avoid waste of resources if not)
- comments are now managed inside parent entry, as a result a tree of comments is now possible
- Entry.level indicate where in the tree we are (-1 mean parent QuickBlog, 0 mean main item, more means comment)
- items + comments are requested in 1 shot, and RTDeferred are used to avoid blocking while waiting for them
- in QuickBlog, id2entries allow to get Entry from it's item id, and node2entries allow to get Entry(ies) hosting a comments node
- QuickBlog.new_message_target tell where a new message will be sent by default
2015-08-16 01:00:54 +02:00
souliane
252bf6bef3
quick_frontend: display over whole alerts counter
2015-07-20 10:23:58 +02:00
souliane
9062b2da02
quick_frontend: add a couple of TODOs
2015-07-13 13:33:54 +02:00
souliane
640537662a
bridge, quick_frontend: the JID that is assigned by the server can differ from the one we asked for (resource)
2015-06-10 18:04:43 +02:00
Goffi
3c6a708966
quick_frontend (quick_app): properly fixed roster loss:
...
commit 6adf1b0be609 which was causing issues in Libervia or when a profile was already connected
2015-05-22 22:31:37 +02:00
souliane
4c25ec71ba
quick_frontend: ask for the roster in connectedHandler instead of in ProfileManager, because we need it also when reconnecting after a disconnection whithout restarting the frontend
2015-04-20 16:46:17 +02:00
souliane
41b549f7ae
core, plugin XEP-0045, frontends: change frontend method "setStatusOnline" for "setPresenceStatus":
...
- remove parameter "online" (can be guess from "presence" value)
- process "statuses" dict in quick_frontend, so this method can get a simple unicode "status"
- add C.PRESENCE_STATUSES_DEFAULT to define the key to use for fallback status
2015-04-20 16:39:38 +02:00
souliane
67ff77e5de
massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
2015-04-16 14:57:57 +02:00
souliane
c1b7c3c027
quick_frontend (contact_list): rename QuickContactList.remove to QuickContactList.removeContact + remove the contact from _roster attribute (and not only from _cache)
2015-04-01 22:07:28 +02:00
Goffi
fbec02d396
2015 copyright dates update
2015-03-30 10:26:26 +02:00
souliane
caf847a1fd
quick_frontend: fixes personalEventHandler signature
2015-03-25 16:10:17 +01:00
souliane
ff0166e95f
quick_frontend, primitivus: various fixes (MUC and cached signals):
...
- actually call the cached signals, everything was there but the call was not done
- display '[]' instead of '[None]' when group message coming from the room (no resource)
- catch the exception when trying to delete an occupant who's not in the room
- do not cache a "main resource" for MUC entities
2015-03-25 15:25:51 +01:00
souliane
9071298061
quick_frontend: better PEP-8 compliance
2015-03-25 15:21:17 +01:00
souliane
78f14091b1
quick_frontend, primitivus: remove QuickChat.updateEntityState and QuickChat.setContactStates, use more general QuickChat.update (also called when joining the room to initialise the occupants list)
2015-03-24 17:31:08 +01:00
souliane
5c1fe63580
quick_frontend, primivitus: remove QuickChat.getUserNick + primivitus ChatText gets the user nick directly from parent Chat instance
2015-03-23 15:38:32 +01:00
souliane
6dc8b211bf
quick_frontend, primitivus: better PEP-8 compliance + remove/rename some (Quick)Chat attributes:
...
- remove QuickChat.id, use QuickChat.target instead
- rename Chat.present_panel to Chat.occupants_panel
- rename Chat.present_wid to Chat.occupants_list
2015-03-22 14:20:19 +01:00
souliane
29ffc8a544
plugin XEP-0085, quick_frontend: fixes chat states
2015-03-20 17:47:48 +01:00
souliane
14f4b4b8ec
quick_frontends, primitivus: move the chat states logic to quick_frontend
2015-03-20 16:28:19 +01:00
souliane
c6419871ac
quick_frontends, primitivus: know who are the MUC occupants from the presence informations:
...
- QuickChat.occupants is now a property using cached information
- some MUC handlers are no more needed, the presence handler is enough
2015-03-20 16:25:38 +01:00
Goffi
76065758df
renamed tools.misc to tools.trigger
2015-03-19 19:44:37 +01:00
Goffi
80e65d5b84
core, quick_frontends: added an "extra" item in getMenus + use of new quick_menus module in QuickApp
2015-03-17 19:33:05 +01:00
Goffi
991a2cbf33
quick_frontends: added "menu" listeners, which is called when a menu is added or removed.
2015-03-17 19:33:04 +01:00
souliane
b76d829249
quick_frontend, primitivus (chat): pass a sorted list to Chat.setPresents
2015-03-11 20:06:13 +01:00
souliane
e597a804d9
frontends (quick_frontend, primitivus): fixes room games:
...
- add quick_frontend.quick_games for registering the signals and registering the UI classes
- rename the signals handlers to fit the convention (e.g.: tarotGameScoreHandler)
- rename card_game to game_tarot, quick_card_game to quick_game_tarot, CardGame to TarotGame
2015-03-11 12:43:48 +01:00
souliane
6336e629c0
quick_frontend: register the 'personalEvent' signal
2015-03-06 14:22:49 +01:00
souliane
728d264136
quick_frontend: replace last occurences of QuickApp.chat_wins with QuickApp.widgets
2015-03-05 13:48:49 +01:00
souliane
16cdbbbe1f
frontends: add listeners 'profilePlugged', 'disconnect' and 'gotMenus' (the last one to be removed when the menus are refactored to quick_app)
2015-03-03 22:17:57 +01:00
souliane
5d1681de93
frontends (QuickApp), tools (TriggerManager): frontends can also use triggers + add those for sending and receiving a message
2015-03-03 15:05:10 +01:00
Goffi
3ed295e7b1
quick frontends: signal cache: if a signal arrives between the beginning of profile plugging, and the when the profile is actually ready, it is cached and replayed when the profile is ready.
2015-02-24 20:29:57 +01:00
Goffi
8f5b116211
quick_frontends, primitivus (contact list): added nick observer + implemented onNickUpdate
2015-02-24 17:14:10 +01:00
Goffi
d1dad92f8c
quick frontends, primitivus: fixed listener calls (kwargs where forgotten) + fixed presence listener + renamed updatePresence to onPresenceUpdate for consistency with oter listeners
2015-02-24 16:52:44 +01:00
Goffi
3d568ab9c8
quick frontends: fixed use of profile for listeners
2015-02-24 14:40:19 +01:00
Goffi
27c26487c3
merged souliane changes
2015-02-23 18:08:22 +01:00
Goffi
288aaca7e8
primitivus, quick_frontends: moved newMessage signal handler to quick_frontend
2015-02-23 18:04:25 +01:00
souliane
b836fef4dd
quick_frontend, primitivus: use a listener to update the contact list when receiving a presence
2015-02-22 21:30:20 +01:00
souliane
8c46a23869
quick_frontend (quick_app): addListener takes a profiles_filter argument to check the profile before calling a listener (profile must be passed right after the event type in callListeners)
2015-02-22 20:39:33 +01:00
souliane
ed8821d54b
quick_frontend: add a 'presence' listener for the 'presenceUpdate' signal
2015-02-22 15:11:29 +01:00
souliane
fa8f119a56
quick_frontend (quick_app): fixes the call to a bridge method that was done with a JID instead of unicode
2015-02-22 13:58:33 +01:00
souliane
b5d70cbe34
core, quick_frontends: fixes one typo and a variable naming issue
2015-02-21 17:22:39 +01:00
souliane
269e2a7c8b
frontends (quick_frontend): fixes a typo (listerner --> listener)
2015-02-20 22:06:13 +01:00