Commit graph libervia-backend/frontends
Author SHA1 Message Date
souliane
8aec15cecf primitivus (chat): duplicate message check is actually not needed when retrieving local MUC history is disabled 2015-12-16 13:29:24 +01:00
souliane
99785755e1 quick_frontend: restore printing the day change while displaying history 2015-12-15 20:05:27 +01:00
souliane
77c0656c85 frontends: small message refactorisation:
- factorize some treatments that were done both in Primitivus and Libervia
    - the way it was done, especially with QuickChat.printMessage returning a tuple, was quite disturbing
    - FIXME: we can probably remove some arguments and do a deeper factorization e.g with QuickChatText
2015-12-12 12:18:54 +01:00
souliane
9e0b24a4a5 memory (params): parameter jids_list values are specified with <jid>...</jid> 2015-12-15 14:12:19 +01:00
Goffi
26b892c622 reverted patch 58ecc0e2e6fc as it may hide an other issue 2015-12-15 14:25:26 +01:00
souliane
17476b420c quick_frontend: catch an exception that can occurs when using a concurrent client 2015-12-10 10:44:04 +01:00
souliane
8a1e54b194 primitivus and plugins: renamed a few menus:
- display all menu with the first letter in upper case
    - moved Search directory from Service to Contacts
    - moved "Join room" from Communication to Groups
    - moved Bookmarks from Communication to Groups
2015-12-01 12:45:14 +01:00
souliane
030f20f7d8 jp (profile): fixed creating profile with given JID and XMPP password 2015-11-30 09:25:23 +01:00
Goffi
a03b45c7f6 primitivus (profile manager): session is started for newly create profiles 2015-11-27 16:58:16 +01:00
Goffi
e652a2e86f jp (profile): fixed profile/modify command:
- profile modify was resetting profile password if the option was not used
     - str types where used instead of unicode decoder
     - a new option allow to disable profile password (mutually exclusive with --password)
     - XMPP password was broken in a similar way as profile password
2015-11-26 15:49:58 +01:00
Goffi
42b64871a8 primitivus: a warning is loggued when trying to remove an unknown popup, instead of an error raised 2015-11-25 13:03:44 +01:00
Goffi
57d47b8e61 jp (pipe): pipe commands now use the new CommandAnswering API (with actionNew) 2015-11-25 02:06:44 +01:00
souliane
fb6b1e5377 quick_frontend (quick_blog): remove tags2mbdata which is replaced by common.iter2dict 2015-11-24 23:42:49 +01:00
Goffi
44ad744c63 quick frontend (blog): replaced mbdata2tags and tags2mbdata by sat.tools.common.dict2iter and iter2dict 2015-11-24 23:28:11 +01:00
Goffi
da0c8ec0ba quick_frontend(blog): groups blog sending is handled 2015-11-24 16:21:18 +01:00
souliane
b68d6ec6e9 primitivus: fixes joining a MUC room 2015-11-24 14:43:49 +01:00
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
8e9ef84243 quick frontend (blog): fixed group blog panels (displaying only, sending is not working yet) 2015-11-23 16:21:32 +01:00
Goffi
45d6db1063 jp (file): new file/upload command 2015-11-22 17:37:47 +01:00
Goffi
11d7dfa8fe jp (base): progressStarted signals are cached until progress_id is known, this avoid missing the progression if we have the signal before the id. 2015-11-22 17:37:19 +01:00
Goffi
698dcc2415 jp (base): fixed verbose option + there is a new line on ProgressErrorHandler only if the progress bar is actually displayed 2015-11-22 17:35:32 +01:00
souliane
323006d216 quick_frontend (quick_blog): retrieve and set the tags from/to microblog data 2015-11-21 13:58:30 +01:00
Goffi
435a3fcb90 primivitus: fixed crash when self.target is a full jid 2015-11-20 11:46:26 +01:00
Goffi
4ffbce51c3 primitivus: fixed progress panel 2015-11-20 01:57:18 +01:00
Goffi
fc9b4fb02c primitivus: removed all file menu + temporary workaround to send full jid on C.MENU_SINGLE menu action. 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
1c86c2b9b4 primitivus: fixed showDialog 2015-11-19 22:31:06 +01:00
Goffi
7c340bb518 jp (base, file): use of new progress API. Progress callbacks are managed through CommandBase.onProgress* method instead of host attributes. 2015-11-19 18:13:26 +01:00
Goffi
55c75bc304 core, plugins file, XEP-0234, bridge: progression api enhancement:
- progressStarted have a new metadata parameter, useful to know the kind of progression, direction, etc. Check bridge doc
    - progressGetAllMetadata can be used to retrieve this data and discover on currently running progressions
    - progressFinished also have a new metadata parameter, used to e.g. indicate that hash is checked
    - core: fixed progressGetAll
    - file, XEP-0234: implemented the API modifications,  hash is returned on progressFinished
    - file: SatFile.checkSize allows to check size independently of close (be sure that all the data have been transfered though)
2015-11-19 18:13:26 +01:00
souliane
9b2055bd3f quick_frontend: add quick_list_manager.py and the QuickTagList class 2015-11-19 11:15:06 +01:00
Goffi
09619e6723 jp: use the new actionsGet method 2015-11-17 21:29:03 +01:00
Goffi
a42452ff57 core, bridge: actionsGet:
- added a new mechanism to keep actions until they are answered (or timeout-ed)
    - keep_id must be explicitly used on actionNew
    - actionsGet is used to retrive these actions
    - the mechanism is used in deferXMLUI
2015-11-17 21:28:58 +01:00
Goffi
c0b1f1a86e jp (file): print a message and quit if progress_id is not received 2015-11-17 20:18:51 +01:00
Goffi
706b814e3f quick_frontend(profile manager): fixed alert messages 2015-11-17 12:39:38 +01:00
Goffi
e847a9f001 primitivus: fixed showDialog and XMLUI message dialog 2015-11-17 12:28:45 +01:00
Goffi
fd271b69ba primitivus (xmlui): fixed closing on popup panel "OK" button press 2015-11-16 09:25:05 +01:00
Goffi
909a54995e primitivus: fixed alert case + alert in profileManager 2015-11-16 08:57:36 +01:00
Goffi
5226e6ef6b frontends (xmlui): fixed widget closing on submit 2015-11-16 08:57:02 +01:00
Goffi
6d2df889a1 jp (base, file): file command and progress fixes and adaptation to new API:
- progress use new API, and signals to monitor progression and avoid use of progressGet before progress is actually started
    - progress behaviour on event is managed by callbacks which are Jp attributes
    - progress with unknown or 0 size don't show the progress bar
    - better handling of errors
    - CommandAnswering is update to manage actions instead of the deprecated askConfirmation
    - managed actions use callback easy to associate with an action type.
    - file command is updated to manage these changes and the recent changes in backend behaviour
    - verbosity is used to display more or less message when sending/receiving a file
    - destination path can be specified in file receive
    - file receive doesn't stop yet, still need some work in the backend
2015-11-15 23:42:21 +01:00
Goffi
4233150d7b jp (base): added a self.disp method which manage verbosity and stderr + verbosity property 2015-11-15 23:25:58 +01:00
Goffi
8477d22012 jp (base): added quitFromSignal method to quit from signal handler with errcode without traceback, and addOnQuitCallback to manage cleaning callbacks 2015-11-15 23:16:54 +01:00
Goffi
891a4c33af jp: added a --verbose command 2015-11-14 19:54:27 +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
4826320188 jp: added profile/connect command 2015-11-14 19:19:04 +01:00
Goffi
1aecdcf2e9 jp: better profile commands:
- new "profile/default" command
    - info doesn't show password anymore by default, need to be explicitly requested
    - info and modify don't need to connect anymore
    - modify can now set default profile. As use_profile is set, at least a profile session need to be started when it would not be mandatory technicaly (if just setting the profile as default is needed). But this option should not be used often, and it's not a big side effect, so I don't feel the need to create a new dedicated command, or to do complicated checks to avoid the session start.
2015-11-14 19:18:10 +01:00
Goffi
182f192703 core, bridge: added a profileSetDefault method 2015-11-14 19:18:10 +01:00
Goffi
22696ec80b jp: profile session can now be started without connection:
- a new need_connect option is used when during BaseCommand init
    - if need_connect is True, profile connection is necessary, so use_profile must be True too
    - if need_connect if False, session can be started without connection, use_profile must be True
    - if need_connect is None, use_profile can be True (need_connect will be set to True) or False (need_connect is not used)
    - if need_connect is False (and so use_profile is True), a new --start-session option is usable
    - param get and set are the first commands to use this option, so parameters can be changed if connection is not working
2015-11-14 19:18:10 +01:00
Goffi
c377237add jp: added param/set command 2015-11-14 19:18:10 +01:00
Goffi
d620805fc7 bridge: new core method profileStartSession to start a session without connecting the profile 2015-11-14 19:18:10 +01:00