Commit graph libervia-backend/frontends/src
Author SHA1 Message Date
Goffi
ce4e717ea8 core, bridge (params): added asyncGetParamsValuesFromCategory (yes that's a long name!) method to retrive params names and values for a given category 2015-11-14 19:18:10 +01:00
Goffi
bfd143b1e4 bridge, core(params): removed obsolete methods:
- getParams and getParamsForCategory are removed from bridge: XMLUI is now used in place of the old params XML
    - getParamsForCategory has also been removed internaly, as it is now unused, getParams is still used to construct the XMLUI
2015-11-14 19:18:07 +01:00
Goffi
2a3b5ad8e3 primitivus: partly reverted commit 641cfd2faefe :
- showDialog is actually still used and useful
    - updated the code to use the widget argument in removePopup
2015-11-13 16:45: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
Goffi
719a624892 quick_frontend, primitivus (xmlui): removed _xmluiClose from workflow were submit is triggered, as submit launch the callback which close the dialog itself + fixed dialogs _xmluiClose 2015-11-11 18:29:32 +01:00
Goffi
1d647b5761 quick frontend: fixed resources display in quickContactList 2015-11-08 15:16:14 +01:00
Goffi
410c0ce462 jp: renamed “params” command to “param” for consistency with other commands + added a “get” subcommand 2015-11-02 22:02:41 +01:00
Goffi
810a40c51c jp: separate password and connection of profile in --connect and --pwd arguments 2015-11-02 22:02:41 +01:00
Goffi
66ad169227 core: progression handling improvments:
- getProgress has been renamed to progressGet to follown new naming convention
    - new signals: progressStarted, progressFinished and progressError to indicate state of progressing events
    - new method progressGetAll to get all progressing events of all profile (or only one profile)
2015-09-25 19:19:12 +02:00
Goffi
db35bfb674 primitivus (XMLUI): manage message in FileDialog /!\ Urwid SàText need to be updated /!\ 2015-09-25 19:19:12 +02: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
6f1d742645 frontends (xmlui): fixed a bug in xmlui resulting in a bad dialog creation (parameters were lost, including profile) 2015-08-27 17:59:01 +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
fcb658ff2d primitivus (ProfileManager): fixed profile change event callback 2015-08-25 14:22:21 +02:00
souliane
a90bcacfe9 tools, frontends (xmlui): allow to select a tab when adding it 2015-08-21 14:17:41 +02:00
Goffi
0bf9461416 core, bridge: added getFeatures method:
this async method indicate which plugins are activated, and add an additional data dictionary with plugin specific data.
    The result can be general (if profile==C.PROF_KEY_NONE) or specific to profile.
2015-08-21 17:08:26 +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
1fde823a9c primivitus: fixed profile manager exception when nothing is focused 2015-08-20 18:41:06 +02:00
Goffi
9df7cd6d33 frontends, primitivus: JidsList XMLUI widget management /!\ urwid SàText must be updated 2015-08-20 18:36:53 +02:00
Goffi
7f14e1865d core , privmitivus (xmlui): add jidInput handling, with a simple String for now 2015-08-18 10:35:44 +02:00
Goffi
3312c3bf97 quick_frontend, primitivus: handling of actionNew signal 2015-08-18 09:01:18 +02:00
Goffi
1170edc400 quick_frontend: minor fixes 2015-08-16 01:01:34 +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
042e19b812 quick_frontend (quick_chat): QuickChat._get_nick returns "" instead of None for message from the MUC 2015-07-14 16:49:29 +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
souliane
e10070f923 primitivus: fix setting the presence and status 2015-06-10 09:18:34 +02:00
Goffi
2602e4efbb quick frontends (contact list): cache is not cleared anymore on QuickContactList.fill, avoiding the accidental removal of cached values like avatars 2015-05-27 19:08:16 +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
f978524b22 display the resource in the chat dialog when printing a private MUC message 2015-04-24 16:10:46 +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
Goffi
35108bc5ba core, bridge, jp: management of service discovery extensions (XEP-0128) 2015-04-17 22:59:35 +02:00
souliane
2203e6aa52 quick_frontend, primitivus: fixes a couple of issues:
- chat: notification was raising an error when you just entered the room and self.nick is None
    - quick_widget: deleting a widget was modifying a dict while looping on it + unselect widget when it's being deleted
2015-04-16 17:17:28 +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
cc829beac7 quick_frontend, primitivus: move code to remove a new message alert from primitivus to quick_frontend 2015-04-16 13:31:14 +02:00
souliane
bf04fcf780 plugin XEP-0045, quick_frontend, primitivus: replace C.DEFAULT_MUC by bridge method getDefaultMUC (value is defined in plugin XEP-0045 and can be overriden with the config file) 2015-04-09 11:27:13 +02:00
souliane
de9c656e3b primitivus: fixes :search command 2015-04-09 11:24:25 +02:00
Goffi
74334821fc quick_frontends(profile manager): typo 2015-04-06 18:13:32 +02:00
Goffi
0a8918bcef jp (profile): added "profile modify" command 2015-04-06 17:36:53 +02:00
Goffi
84e6b89f2f jp (profile): in "profile create", jid and password arguments are now optional + added a new --xmpp-password option to set XMPP password separately (default to the same password as for profile). 2015-04-06 17:36:21 +02:00
Goffi
1bbe4c6921 jp (profile): fixed "profile info" to use profile, and then manage connection. 2015-04-06 17:32:28 +02:00
Goffi
ffd6afcbb1 jp: fixed crash on commands using profile without "connect" option 2015-04-06 12:11:23 +02:00
souliane
761d3efc8c quick_frontend (constants): set a constant for default MUC service 2015-04-02 00:00:33 +02:00
souliane
9e81f3f8d6 quick_frontend: keep the contact list groups synchronised on contact deletion 2015-04-01 23:59:56 +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
Goffi
e67b4bd9eb jp: fixed bad try/except hidding errors + fixed bad management of jids without node 2015-03-30 10:04:29 +02:00
souliane
caf847a1fd quick_frontend: fixes personalEventHandler signature 2015-03-25 16:10:17 +01:00